/* Rolling Thunder DCS Server Styles */

/* CSS Variables */
:root {
    --primary-color: #ff6b35;
    --secondary-color: #1a1a2e;
    --accent-color: #16213e;
    --text-light: #ffffff;
    --text-dark: #333333;
    --success-color: #00ff41;
    --error-color: #ff073a;
    --warning-color: #ffaa00;
    --background-dark: #0f0f23;
    --background-darker: #0a0a1a;
    --card-background: rgba(26, 26, 46, 0.9);
    --border-color: #444;
    
    --font-primary: 'Cinzel', 'Trajan Pro 3', 'Orbitron', serif;
    --font-secondary: 'Rajdhani', 'Arial', sans-serif;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-secondary);
    background: linear-gradient(135deg, var(--background-darker) 0%, var(--background-dark) 100%);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
}

/* Navigation */
.navbar {
    background: rgba(26, 26, 46, 0.95);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-logo h1 {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
    letter-spacing: 2px;
}

.nav-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.8;
    display: block;
    margin-top: -5px;
    font-weight: 300;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(255, 107, 53, 0.1);
    transform: translateY(-2px);
}

/* Main Content */
.main-content {
    flex: 1;
    padding-top: 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(22, 33, 62, 0.3) 0%, transparent 50%);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 60vh;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--primary-color);
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
    margin-bottom: 0.5rem;
    letter-spacing: 3px;
    line-height: 1.1;
}

.hero-subtitle {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    opacity: 0.9;
    font-weight: 400;
    letter-spacing: 2px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    opacity: 0.8;
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* Status Card */
.status-card {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.status-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    align-items: center;
}

.status-info:last-child {
    margin-bottom: 0;
}

.status-label {
    font-weight: 600;
    color: var(--text-light);
    opacity: 0.8;
    font-size: 0.95rem;
}

.server-status.online {
    color: var(--success-color);
    font-weight: 700;
    text-shadow: 0 0 8px rgba(0, 255, 65, 0.3);
}

.server-status.offline {
    color: var(--error-color);
    font-weight: 700;
    text-shadow: 0 0 8px rgba(255, 7, 58, 0.3);
}

.players-count {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.max-players {
    color: var(--text-light);
    opacity: 0.6;
}

.current-mission {
    color: var(--text-light);
    font-weight: 500;
    font-style: italic;
}

/* Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    font-family: var(--font-secondary);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #ff4500 100%);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px);
}

/* Hero Image */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.aircraft-silhouette {
    text-align: center;
    padding: 2rem;
    border: 2px dashed var(--border-color);
    border-radius: 10px;
    background: rgba(22, 33, 62, 0.2);
}

.ascii-art {
    font-size: 3rem;
    color: var(--primary-color);
    font-family: var(--font-primary);
    white-space: pre;
    text-shadow: 0 0 15px rgba(255, 107, 53, 0.3);
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: rgba(15, 15, 35, 0.5);
}

.section-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-light);
    letter-spacing: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.2);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.feature-card p {
    color: var(--text-light);
    opacity: 0.8;
    line-height: 1.6;
}

/* Info Section */
.quick-info {
    padding: 4rem 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.info-card {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.info-card h3 {
    font-family: var(--font-primary);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.info-card ul {
    list-style: none;
}

.info-card li {
    margin-bottom: 0.8rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(68, 68, 68, 0.3);
    color: var(--text-light);
    opacity: 0.9;
}

.info-card li:last-child {
    border-bottom: none;
}

.info-card strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Footer */
.footer {
    background: var(--secondary-color);
    border-top: 2px solid var(--primary-color);
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    color: var(--text-light);
    opacity: 0.7;
}

.footer-content p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .nav-logo h1 {
        font-size: 1.4rem;
    }
    
    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.8rem;
    }
}

/* Loading Animation */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.loading {
    animation: pulse 2s infinite;
}

/* Glitch Effect for Title */
@keyframes glitch {
    0% { text-shadow: 0 0 20px rgba(255, 107, 53, 0.5); }
    25% { text-shadow: -2px 0 rgba(255, 0, 0, 0.5), 2px 0 rgba(0, 255, 0, 0.5); }
    50% { text-shadow: 0 0 20px rgba(255, 107, 53, 0.5); }
    75% { text-shadow: 2px 0 rgba(0, 0, 255, 0.5), -2px 0 rgba(255, 255, 0, 0.5); }
    100% { text-shadow: 0 0 20px rgba(255, 107, 53, 0.5); }
}

.hero-title:hover {
    animation: glitch 0.5s ease-in-out;
}

/* Enhanced Trajan-style effects */
.hero-title,
.nav-logo h1,
.redflag-title h1,
.section-title {
    font-weight: 600 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase;
    line-height: 1.2 !important;
    font-variant: small-caps;
}

/* Special Trajan effect for Rolling Thunder logo */
.nav-logo h1 {
    font-size: 1.6rem !important;
    letter-spacing: 0.2em !important;
    font-weight: 700 !important;
}

/* RED FLAG special styling */
.redflag-title h1 {
    font-weight: 700 !important;
    letter-spacing: 0.25em !important;
    word-spacing: 0.3em;
}

/* Page titles with Trajan effect */
.page-title {
    font-weight: 600 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase;
}

/* Analytics dashboard title */
.analytics-dashboard .page-title {
    font-weight: 600 !important;
    letter-spacing: 0.2em !important;
}

/* Footer Admin Styles */
.footer-admins {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 107, 53, 0.3);
}

.footer-admins p {
    color: var(--primary-color);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    letter-spacing: 1px;
}

.admin-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
}

.admin-handle {
    color: var(--text-light);
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.3rem 0.8rem;
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 4px;
    transition: all 0.3s ease;
    text-shadow: 0 0 5px rgba(255, 107, 53, 0.2);
}

.admin-handle:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: var(--primary-color);
    transform: translateY(-1px);
    text-shadow: 0 0 8px rgba(255, 107, 53, 0.4);
}

.admin-separator {
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Mobile responsive for admin section */
@media (max-width: 480px) {
    .admin-list {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .admin-separator {
        display: none;
    }
    
    .admin-handle {
        width: 100%;
        text-align: center;
        max-width: 200px;
    }
    
    .footer-admins p {
        font-size: 0.8rem;
    }
}
