/**
 * TTT Triple Threat Tactical - Community Website
 * Premium Military Gaming Theme
 */

/* ============================================
   CSS Variables & Root Styles
   ============================================ */
:root {
    --primary: #ff0000;
    --primary-dark: #cc0000;
    --primary-light: #ff3333;
    --secondary: #ffffff;
    --accent: #ff0000;
    
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: #111111;
    --bg-card-hover: #1a1a1a;
    --bg-light: #222222;
    
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    
    --border: #333333;
    --border-light: #444444;
    
    --discord: #5865F2;
    --success: #00ff00;
    --warning: #ffaa00;
    --danger: #ff0000;
    
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-dark: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(255,0,0,0.1) 0%, rgba(0,0,0,0.8) 50%, rgba(0,0,0,0.95) 100%);
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.5);
    --shadow: 0 4px 12px rgba(0,0,0,0.6);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.7);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.8);
    --shadow-glow: 0 0 30px rgba(255,0,0,0.3);
    
    --transition: all 0.3s ease;
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s ease;
    
    --font-display: 'Orbitron', sans-serif;
    --font-heading: 'Teko', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ============================================
   Loading Screen
   ============================================ */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-darker);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
}

.loading-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    animation: pulse 2s infinite;
}

.loading-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 30px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: var(--bg-light);
    border-radius: 2px;
    margin: 0 auto 15px;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: var(--gradient-primary);
    width: 0%;
    animation: loading 2s ease-in-out forwards;
}

.loading-status {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

@keyframes loading {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: var(--shadow);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo img {
    width: 40px;
    height: 40px;
}

.nav-logo span {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary);
}

.nav-menu {
    display: flex;
    gap: 8px;
}

.nav-link {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-secondary);
    border-radius: 4px;
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: rgba(255, 0, 0, 0.1);
}

.nav-actions {
    display: flex;
    gap: 12px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: var(--shadow), 0 0 20px rgba(255, 0, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(255, 0, 0, 0.5);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary);
    color: var(--primary);
}

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

.btn-outline:hover {
    background: var(--text-primary);
    color: var(--bg-dark);
}

.btn-discord {
    background: var(--discord);
    color: #fff;
}

.btn-discord:hover {
    background: #4752c4;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-disabled {
    background: var(--bg-light);
    color: var(--text-muted);
    cursor: not-allowed;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-content {
    text-align: center;
    padding: 0 20px;
    max-width: 1000px;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid var(--primary);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 30px;
    animation: fadeInDown 1s ease;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 700;
    line-height: 0.9;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease 0.2s both;
}

.title-line {
    display: block;
    text-transform: uppercase;
    letter-spacing: 8px;
}

.title-line.accent {
    color: var(--primary);
    text-shadow: 0 0 60px rgba(255, 0, 0, 0.5);
}

.hero-tagline {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 10px;
    color: var(--text-muted);
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
    animation: fadeInUp 1s ease 0.8s both;
}

.hero-stats {
    display: flex;
    gap: 50px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 1s both;
}

.hero-stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 3px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
    margin: 0 auto;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ============================================
   Sections
   ============================================ */
.section {
    padding: 120px 0;
    position: relative;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 15px;
}

.section-title .accent {
    color: var(--primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* ============================================
   About Section
   ============================================ */
.about {
    background: var(--bg-darker);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-features {
    margin-top: 40px;
}

.about-feature {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.about-feature:hover {
    border-color: var(--primary);
    transform: translateX(10px);
}

.feature-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

.about-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.image-frame::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-primary);
    border-radius: 14px;
    z-index: -1;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.image-frame:hover .image-overlay {
    opacity: 1;
}

.play-btn {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   Servers Section
   ============================================ */
.servers {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
}

.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.server-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 25px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.server-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.server-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.server-card:hover::before {
    transform: scaleX(1);
}

.server-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.server-card.featured::before {
    transform: scaleX(1);
}

.server-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.server-status.online {
    background: rgba(0, 255, 0, 0.1);
    color: var(--success);
}

.server-status.maintenance {
    background: rgba(255, 170, 0, 0.1);
    color: var(--warning);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 2s infinite;
}

.server-header {
    margin-bottom: 20px;
}

.server-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.server-map {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.server-info {
    margin-bottom: 20px;
}

.server-players {
    margin-bottom: 15px;
}

.players-bar {
    height: 8px;
    background: var(--bg-light);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.players-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.players-count {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.server-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.detail {
    text-align: center;
}

.detail-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.detail-value {
    font-weight: 600;
    color: var(--text-primary);
}

.server-specs {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px;
}

.server-specs h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.spec {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 8px;
}

.spec-icon {
    font-size: 2rem;
}

.spec-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spec-value {
    font-weight: 600;
    color: var(--text-primary);
}

/* ============================================
   Features Section
   ============================================ */
.features {
    background: var(--bg-darker);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.feature-icon-lg {
    font-size: 3.5rem;
    margin-bottom: 25px;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery {
    background: var(--bg-dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 300px);
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item:not(.large) {
    grid-row: span 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay span {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 1px;
}

/* ============================================
   Join Section
   ============================================ */
.join {
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

.join-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: center;
}

.join-text .section-title {
    text-align: left;
}

.join-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.join-steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.join-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.step-content h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.step-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

.cta-card {
    background: var(--bg-card);
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 50px 40px;
    text-align: center;
    box-shadow: var(--shadow-glow);
}

.cta-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
}

.cta-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.cta-tagline {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
    letter-spacing: 5px;
    margin-bottom: 30px;
}

.cta-members {
    margin-top: 25px;
}

.member-avatars {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.avatar {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border: 2px solid var(--bg-card);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-left: -10px;
}

.avatar:first-child {
    margin-left: 0;
}

.cta-members span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-darker);
    padding: 80px 0 30px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: var(--primary);
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding: 8px 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 5px;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1200px) {
    .about-grid {
        gap: 40px;
    }
    
    .join-content {
        grid-template-columns: 1fr;
    }
    
    .cta-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        padding: 100px 30px 30px;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-actions {
        display: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 200px);
    }
    
    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .servers-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .gallery-item.large {
        grid-column: span 1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .join-step {
        flex-direction: column;
        text-align: center;
    }
}
</style>