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

:root {
    --primary: #FF7640;
    --primary-dark: #E55A2B;
    --primary-light: #FF9A75;
    --bg-dark: #1A1A1A;
    --bg-medium: #2D2D2D;
    --bg-light: #3D3D3D;
    --text-light: #F5F5F5;
    --text-muted: #B0B0B0;
    --accent-green: #4CAF50;
    --accent-red: #E74C3C;
    --accent-blue: #3498DB;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #2D2D2D 0%, #1A1A1A 100%);
    min-height: 100vh;
    color: var(--text-light);
    line-height: 1.6;
}

/* Header & Navigation */
header {
    background: linear-gradient(90deg, var(--bg-dark) 0%, var(--bg-medium) 100%);
    border-bottom: 3px solid var(--primary);
    box-shadow: 0 4px 20px rgba(255, 118, 64, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.user-nav {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.user-menu,
.auth-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-name {
    font-weight: 600;
    color: var(--text-light);
    font-size: 14px;
}

.btn-logout {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 8px 16px;
    font-size: 13px;
}

.btn-logout:hover {
    background: var(--primary);
    color: white;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 118, 64, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.logo-text {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
    position: relative;
    overflow: hidden;
}

nav a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

nav a:hover::before,
nav a.active::before {
    opacity: 1;
}

nav a:hover,
nav a.active {
    color: white;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 118, 64, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 118, 64, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(255, 118, 64, 0.05) 0%, transparent 30%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero h1 {
    font-size: 64px;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 60px rgba(255, 118, 64, 0.3);
}

.hero-subtitle {
    font-size: 24px;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 40px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 8px 30px rgba(255, 118, 64, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 118, 64, 0.5);
}

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

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

/* Section Styling */
.section {
    padding: 100px 20px;
    max-width: 1400px;
    margin: 0 auto;
    min-height: calc(100vh - 280px);
}

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

.section-header h1 {
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.card {
    background: linear-gradient(145deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid rgba(255, 118, 64, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(255, 118, 64, 0.2);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(255, 118, 64, 0.3);
}

.card h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 15px;
}

.card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Placeholder Content */
.placeholder-content {
    text-align: center;
    padding: 80px 20px;
}

.placeholder-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    margin: 0 auto 30px;
    border: 3px solid rgba(255, 118, 64, 0.3);
}

.placeholder-content h2 {
    font-size: 36px;
    color: var(--text-light);
    margin-bottom: 20px;
    font-weight: 700;
}

.placeholder-content p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* Mechanics List */
.mechanics-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.mechanic-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(145deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 118, 64, 0.15);
    transition: all 0.3s ease;
}

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

.mechanic-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}

.mechanic-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 8px;
}

.mechanic-info p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Footer */
footer {
    background: linear-gradient(90deg, var(--bg-dark) 0%, var(--bg-medium) 100%);
    border-top: 3px solid var(--primary);
    padding: 60px 20px 30px;
    margin-top: auto;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p,
.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    line-height: 1.8;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 118, 64, 0.2);
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
}

.footer-bottom span {
    color: var(--primary);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 15px;
    }

    nav a {
        padding: 8px 12px;
        font-size: 12px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-header h1 {
        font-size: 32px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .mechanics-list {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .server-widget {
        flex-direction: column;
        text-align: center;
    }
}

/* ANIMATED BACKGROUND EFFECTS */
.hero-animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 118, 64, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 118, 64, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
}

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.5;
    animation: float 15s infinite;
    box-shadow: 0 0 10px var(--primary);
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 12s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; animation-duration: 18s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; animation-duration: 14s; }
.particle:nth-child(4) { left: 40%; animation-delay: 1s; animation-duration: 16s; }
.particle:nth-child(5) { left: 50%; animation-delay: 3s; animation-duration: 20s; }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; animation-duration: 13s; }
.particle:nth-child(7) { left: 70%; animation-delay: 2s; animation-duration: 17s; }
.particle:nth-child(8) { left: 80%; animation-delay: 4s; animation-duration: 15s; }
.particle:nth-child(9) { left: 90%; animation-delay: 1s; animation-duration: 19s; }
.particle:nth-child(10) { left: 5%; animation-delay: 3s; animation-duration: 11s; }

@keyframes float {
    0%, 100% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

/* GLOWING TITLE EFFECT */
.hero h1 {
    font-size: 72px;
    font-weight: 900;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, #FFD700 25%, var(--primary) 50%, #FF4500 75%, var(--primary) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 4px;
    animation: gradientShift 4s ease infinite, glowPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(255, 118, 64, 0.6));
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes glowPulse {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(255, 118, 64, 0.4)); }
    50% { filter: drop-shadow(0 0 40px rgba(255, 118, 64, 0.8)); }
}

/* TYPING EFFECT SUBTITLE */
.hero-subtitle {
    font-size: 26px;
    color: var(--text-muted);
    margin-bottom: 30px;
    font-weight: 300;
    position: relative;
    display: inline-block;
}

.hero-subtitle::after {
    content: '|';
    animation: blink 1s infinite;
    color: var(--primary);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ENHANCED BUTTONS WITH SHINE */
.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 8px 30px rgba(255, 118, 64, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 40px rgba(255, 118, 64, 0.6);
}

/* SERVER STATUS WIDGET */
.server-widget {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    background: linear-gradient(145deg, rgba(45, 45, 45, 0.8) 0%, rgba(26, 26, 26, 0.9) 100%);
    border: 2px solid rgba(255, 118, 64, 0.3);
    border-radius: 20px;
    padding: 25px 40px;
    margin: 40px auto;
    max-width: 800px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.server-info {
    text-align: left;
}

.server-ip {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Courier New', monospace;
    letter-spacing: 2px;
}

.server-version {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 5px;
}

.server-status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-indicator {
    width: 12px;
    height: 12px;
    background: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-green);
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0%, 100% { box-shadow: 0 0 10px var(--accent-green); }
    50% { box-shadow: 0 0 20px var(--accent-green), 0 0 30px var(--accent-green); }
}

.status-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-green);
}

.players-count {
    font-size: 14px;
    color: var(--text-muted);
}

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

/* STATS SECTION */
.stats-section {
    background: linear-gradient(180deg, transparent 0%, rgba(255, 118, 64, 0.05) 50%, transparent 100%);
    padding: 80px 20px;
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 118, 64, 0.3), transparent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    justify-content: center;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background: linear-gradient(145deg, rgba(45, 45, 45, 0.6) 0%, rgba(26, 26, 26, 0.8) 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 118, 64, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 118, 64, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(255, 118, 64, 0.2);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-number {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary) 0%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 10px;
}

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

/* ENHANCED CARDS WITH ICON ANIMATION */
.card {
    background: linear-gradient(145deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid rgba(255, 118, 64, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 118, 64, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(255, 118, 64, 0.3);
}

.card:hover::before {
    opacity: 1;
}

.card:hover::after {
    opacity: 1;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 25px;
    box-shadow: 0 8px 25px rgba(255, 118, 64, 0.3);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(255, 118, 64, 0.5);
}

/* DECORATIVE ELEMENTS */
.military-decoration {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(255, 118, 64, 0.1);
    transform: rotate(45deg);
    pointer-events: none;
}

.military-decoration.left {
    left: -50px;
    top: 50%;
}

.military-decoration.right {
    right: -50px;
    top: 50%;
}

/* SHIMMER EFFECT */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* WAVY SEPARATOR */
.wave-separator {
    width: 100%;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23FF7640' fill-opacity='0.05' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,154.7C960,171,1056,181,1152,165.3C1248,149,1344,107,1392,85.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") no-repeat center;
    background-size: cover;
}

/* NEWS SECTION */
.news-section {
    padding: 80px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.news-card {
    background: linear-gradient(145deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 118, 64, 0.2);
    transition: all 0.4s ease;
    position: relative;
}

.news-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(255, 118, 64, 0.2);
}

.news-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    position: relative;
    overflow: hidden;
}

.news-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.news-content {
    padding: 25px;
}

.news-date {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.news-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-excerpt {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* NATIONS SHOWCASE */
.nations-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 118, 64, 0.03) 50%, transparent 100%);
}

.nations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 50px auto 0;
}

.nation-card {
    background: linear-gradient(145deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    border: 2px solid rgba(255, 118, 64, 0.15);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.nation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
}

.nation-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 15px 40px rgba(255, 118, 64, 0.25);
}

.nation-flag {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: 0 8px 25px rgba(255, 118, 64, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.nation-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 8px;
}

.nation-stats {
    font-size: 13px;
    color: var(--text-muted);
}

.nation-stats span {
    color: var(--primary);
    font-weight: 600;
}

/* CTA BANNER */
.cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 60px 0;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 42px;
    font-weight: 800;
    color: white;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 50px;
    background: white;
    color: var(--primary);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.btn-cta:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* TIMELINE SECTION */
.timeline-section {
    padding: 100px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    padding: 25px 30px;
    background: linear-gradient(145deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 118, 64, 0.2);
    transition: all 0.3s ease;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 30px;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--bg-dark);
    box-shadow: 0 0 15px rgba(255, 118, 64, 0.5);
}

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

.timeline-date {
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.timeline-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 8px;
}

.timeline-desc {
    font-size: 14px;
    color: var(--text-muted);
}

/* Responsive for new sections */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .nations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    .nations-grid {
        grid-template-columns: 1fr;
    }
    .cta-title {
        font-size: 28px;
    }
    .hero h1 {
        font-size: 48px;
    }
}

/* 3D CARD EFFECTS */
.card-3d {
    perspective: 1000px;
    transform-style: preserve-3d;
}

.card-3d:hover .card {
    transform: rotateY(5deg) rotateX(5deg) translateY(-10px);
}

/* PARALLAX SECTIONS */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(26, 26, 26, 0.8) 50%, var(--bg-dark) 100%);
}

/* TESTIMONIALS SECTION */
.testimonials-section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: linear-gradient(145deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
    border-radius: 20px;
    padding: 35px;
    border: 1px solid rgba(255, 118, 64, 0.2);
    position: relative;
    transition: all 0.4s ease;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 25px;
    font-size: 80px;
    color: var(--primary);
    opacity: 0.2;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(255, 118, 64, 0.2);
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.author-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 3px;
}

.author-info span {
    font-size: 13px;
    color: var(--primary);
}

/* QUICK START GUIDE */
.quickstart-section {
    padding: 100px 20px;
    background: linear-gradient(135deg, rgba(255, 118, 64, 0.05) 0%, transparent 100%);
}

.steps-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    max-width: 1100px;
    margin: 50px auto 0;
    flex-wrap: nowrap;
}

.step-card {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    background: linear-gradient(145deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 2px solid rgba(255, 118, 64, 0.2);
    position: relative;
    transition: all 0.4s ease;
}

.step-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(255, 118, 64, 0.3);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: white;
    margin: 0 auto 25px;
    box-shadow: 0 8px 25px rgba(255, 118, 64, 0.4);
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.step-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 15px;
}

.step-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ENHANCED ANIMATIONS */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0.5);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

.animate-slide-up {
    animation: slideInUp 0.8s ease forwards;
}

.animate-slide-left {
    animation: slideInLeft 0.8s ease forwards;
}

.animate-slide-right {
    animation: slideInRight 0.8s ease forwards;
}

.animate-scale {
    animation: scaleIn 0.6s ease forwards;
}

.animate-rotate {
    animation: rotateIn 0.8s ease forwards;
}

/* STAGGERED ANIMATION DELAYS */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

/* RIPPLE EFFECT */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.ripple:hover::after {
    width: 300px;
    height: 300px;
}

/* MILITARY CORNER DECORATIONS */
.corner-decoration {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
    opacity: 0.3;
}

.corner-decoration.top-left {
    top: 20px;
    left: 20px;
    border-right: none;
    border-bottom: none;
}

.corner-decoration.top-right {
    top: 20px;
    right: 20px;
    border-left: none;
    border-bottom: none;
}

.corner-decoration.bottom-left {
    bottom: 20px;
    left: 20px;
    border-right: none;
    border-top: none;
}

.corner-decoration.bottom-right {
    bottom: 20px;
    right: 20px;
    border-left: none;
    border-top: none;
}

/* SCANLINE EFFECT */
.scanlines {
    position: relative;
}

.scanlines::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 118, 64, 0.03) 2px,
        rgba(255, 118, 64, 0.03) 4px
    );
    pointer-events: none;
    z-index: 1;
}

/* HOLOGRAPHIC EFFECT */
.holographic {
    background: linear-gradient(
        135deg,
        rgba(255, 118, 64, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 118, 64, 0.1) 100%
    );
    background-size: 200% 200%;
    animation: holographicShift 3s ease infinite;
}

@keyframes holographicShift {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

/* NEON GLOW TEXT */
.neon-text {
    text-shadow: 
        0 0 10px rgba(255, 118, 64, 0.8),
        0 0 20px rgba(255, 118, 64, 0.5),
        0 0 30px rgba(255, 118, 64, 0.3);
}

/* BORDER ANIMATION */
.border-animate {
    position: relative;
}

.border-animate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--primary));
    background-size: 200% 100%;
    animation: borderMove 2s linear infinite;
    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

@keyframes borderMove {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

/* ANIMATED COUNTERS */
.counter {
    display: inline-block;
    font-variant-numeric: tabular-nums;
}

.counter.animate {
    animation: countUp 2s ease-out forwards;
}

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

/* LEADERBOARD SECTION */
.leaderboard-section {
    padding: 100px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.leaderboard-container {
    background: linear-gradient(145deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
    border-radius: 24px;
    padding: 40px;
    border: 2px solid rgba(255, 118, 64, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.leaderboard-header {
    display: grid;
    grid-template-columns: 60px 1fr 120px 120px;
    gap: 20px;
    padding: 15px 20px;
    border-bottom: 2px solid rgba(255, 118, 64, 0.2);
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
}

.leaderboard-item {
    display: grid;
    grid-template-columns: 60px 1fr 120px 120px;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 118, 64, 0.1);
    align-items: center;
    transition: all 0.3s ease;
}

.leaderboard-item:hover {
    background: rgba(255, 118, 64, 0.05);
    transform: translateX(10px);
    border-radius: 12px;
}

.leaderboard-item:last-child {
    border-bottom: none;
}

.leaderboard-rank {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-medium) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    color: var(--text-light);
    border: 2px solid rgba(255, 118, 64, 0.2);
}

.leaderboard-rank.top-1 {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.leaderboard-rank.top-2 {
    background: linear-gradient(135deg, #C0C0C0 0%, #A0A0A0 100%);
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(192, 192, 192, 0.4);
}

.leaderboard-rank.top-3 {
    background: linear-gradient(135deg, #CD7F32 0%, #B87333 100%);
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(205, 127, 50, 0.4);
}

.leaderboard-player {
    display: flex;
    align-items: center;
    gap: 15px;
}

.player-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.player-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 3px;
}

.player-info span {
    font-size: 12px;
    color: var(--text-muted);
}

.leaderboard-score {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
}

.leaderboard-nation {
    font-size: 14px;
    color: var(--text-muted);
    text-align: center;
}

/* TOWNS CARDS */
.towns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.town-card {
    background: linear-gradient(145deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
    border-radius: 20px;
    padding: 30px 25px;
    border: 2px solid rgba(255, 118, 64, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.town-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(255, 118, 64, 0.3);
}

.town-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.town-card:hover::before {
    opacity: 1;
}

.town-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgba(255, 118, 64, 0.4);
    transition: all 0.3s ease;
}

.town-card:hover .town-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(255, 118, 64, 0.5);
}

.town-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.town-stats {
    font-size: 14px;
    color: var(--text-muted);
    background: rgba(255, 118, 64, 0.1);
    padding: 10px 18px;
    border-radius: 25px;
    display: inline-block;
    border: 1px solid rgba(255, 118, 64, 0.2);
}

.town-mayor {
    font-size: 15px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
}

.town-residents {
    font-size: 13px;
    color: var(--text-muted);
}

header.glass {
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 118, 64, 0.3);
}

/* FLOATING BADGES */
.floating-badges {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.badge {
    width: 55px;
    height: 55px;
    background: linear-gradient(145deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    border: 2px solid rgba(255, 118, 64, 0.3);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.badge:hover {
    transform: scale(1.15) rotate(5deg);
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(255, 118, 64, 0.4);
}

.badge::after {
    content: attr(data-tooltip);
    position: absolute;
    right: 65px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.badge:hover::after {
    opacity: 1;
    visibility: visible;
    right: 70px;
}

.badge-notification {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: #E74C3C;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* MAGNETIC HOVER EFFECT */
.magnetic {
    transition: transform 0.3s ease;
}

.magnetic:hover {
    transform: scale(1.05);
}

/* TILT EFFECT */
.tilt {
    transform-style: preserve-3d;
    transition: transform 0.1s ease;
}

/* TEXT GLITCH EFFECT */
.glitch {
    position: relative;
    animation: glitch 3s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 0.3s infinite;
    color: #0ff;
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.3s infinite;
    color: #f0f;
    z-index: -2;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

/* PROGRESS BAR */
.progress-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 118, 64, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin: 15px 0;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 4px;
    transition: width 1s ease;
    position: relative;
    overflow: hidden;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: progressShine 2s infinite;
}

@keyframes progressShine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* LOADING SKELETON */
.skeleton {
    background: linear-gradient(90deg, var(--bg-medium) 25%, var(--bg-light) 50%, var(--bg-medium) 75%);
    background-size: 200% 100%;
    animation: skeletonLoading 1.5s infinite;
    border-radius: 8px;
}

@keyframes skeletonLoading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* PARTICLE BURST ON CLICK */
.click-burst {
    position: relative;
}

/* SEASON PROGRESS */
.season-progress {
    background: linear-gradient(145deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
    border-radius: 20px;
    padding: 30px;
    border: 2px solid rgba(255, 118, 64, 0.2);
    margin: 40px auto;
    max-width: 800px;
}

.season-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.season-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-light);
}

.season-time {
    font-size: 14px;
    color: var(--primary);
    font-weight: 600;
}

.season-info {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 10px;
}

/* CUSTOM CURSOR */
.custom-cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease;
    mix-blend-mode: difference;
}

.custom-cursor.hover {
    width: 40px;
    height: 40px;
    background: rgba(255, 118, 64, 0.2);
}

/* AMBIENT GLOW */
.ambient-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 118, 64, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
    transition: all 0.5s ease;
}

/* TEXT GRADIENT ANIMATION */
.text-gradient-animated {
    background: linear-gradient(90deg, var(--primary), #FFD700, var(--primary), #FF4500, var(--primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGradientMove 3s linear infinite;
}

@keyframes textGradientMove {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* PULSE RING EFFECT */
.pulse-ring {
    position: relative;
}

.pulse-ring::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary);
    border-radius: inherit;
    transform: translate(-50%, -50%);
    animation: pulseRing 2s ease-out infinite;
    opacity: 0;
}

@keyframes pulseRing {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
}

/* ENHANCED CARD ICONS */
.card-icon {
    position: relative;
    overflow: hidden;
}

.card-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(255, 255, 255, 0.3), transparent 30%);
    animation: rotate 4s linear infinite;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

/* FOCUS MODE */
.focus-mode {
    position: relative;
}

.focus-mode::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), transparent 100px, rgba(0, 0, 0, 0.8) 300px);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* BREATHING ANIMATION */
.breathing {
    animation: breathing 4s ease-in-out infinite;
}

@keyframes breathing {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* ENHANCED BUTTONS */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::after {
    width: 300px;
    height: 300px;
}

/* DARK MODE TOGGLE */
.theme-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(145deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 3px solid var(--primary);
    box-shadow: 0 8px 30px rgba(255, 118, 64, 0.4);
    z-index: 9999;
    transition: all 0.3s ease;
    font-size: 28px;
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 12px 40px rgba(255, 118, 64, 0.6);
}

/* LIGHT MODE VARIABLES */
body.light-mode {
    --bg-dark: #f5f5f5;
    --bg-medium: #ffffff;
    --bg-light: #e0e0e0;
    --text-light: #1a1a1a;
    --text-muted: #666666;
}

body.light-mode .hero-animated-bg .grid-overlay {
    background-image: 
        linear-gradient(rgba(255, 118, 64, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 118, 64, 0.08) 1px, transparent 1px);
}

/* AUDIO VISUALIZER EFFECT */
.audio-visualizer {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 40px;
}

.visualizer-bar {
    width: 6px;
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 3px;
    animation: visualizer 0.8s ease-in-out infinite;
}

.visualizer-bar:nth-child(1) { height: 20px; animation-delay: 0s; }
.visualizer-bar:nth-child(2) { height: 35px; animation-delay: 0.1s; }
.visualizer-bar:nth-child(3) { height: 25px; animation-delay: 0.2s; }
.visualizer-bar:nth-child(4) { height: 40px; animation-delay: 0.3s; }
.visualizer-bar:nth-child(5) { height: 30px; animation-delay: 0.4s; }

@keyframes visualizer {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.5); }
}

/* ENHANCED SCROLLBAR */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 6px;
    border: 3px solid var(--bg-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* LOADING SCREEN */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

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

.loading-logo {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    font-weight: 800;
    color: white;
    animation: loadingPulse 1.5s ease-in-out infinite;
}

@keyframes loadingPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(255, 118, 64, 0.4); }
    50% { transform: scale(1.1); box-shadow: 0 0 40px rgba(255, 118, 64, 0.8); }
}

/* CONFETTI EFFECT */
.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    pointer-events: none;
    z-index: 10000;
}

.confetti:nth-child(odd) { background: var(--primary); }
.confetti:nth-child(even) { background: #FFD700; }

/* NOTIFICATION TOAST */
.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 10000;
}

.toast {
    background: linear-gradient(145deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
    border-left: 4px solid var(--primary);
    border-radius: 12px;
    padding: 20px 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideInRight 0.4s ease, fadeOut 0.4s ease 4.6s;
    max-width: 350px;
}

.toast-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.toast-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 5px;
}

.toast-content p {
    font-size: 13px;
    color: var(--text-muted);
}

@keyframes fadeOut {
    to { opacity: 0; transform: translateX(100%); }
}

/* INTERACTIVE MAP PREVIEW */
.map-preview {
    width: 100%;
    height: 400px;
    background: linear-gradient(145deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
    border-radius: 20px;
    border: 2px solid rgba(255, 118, 64, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 118, 64, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 118, 64, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
}

.map-point {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 118, 64, 0.8);
    animation: mapPulse 2s infinite;
}

@keyframes mapPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

/* AUTH PAGES STYLES */
.auth-hero {
    background: linear-gradient(135deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
    padding: 80px 20px 50px;
    text-align: center;
    border-bottom: 3px solid var(--primary);
}

.auth-hero h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary) 0%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-hero p {
    font-size: 16px;
    color: var(--text-muted);
}

.auth-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 40px 20px;
}

.auth-box {
    background: linear-gradient(145deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
    border-radius: 24px;
    padding: 40px;
    border: 2px solid rgba(255, 118, 64, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.auth-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.5;
}

.step.active,
.step.completed {
    opacity: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-medium) 100%);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.step.active .step-number {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
}

.step span {
    font-size: 13px;
    font-weight: 600;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-light);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg-dark);
    border: 2px solid rgba(255, 118, 64, 0.2);
    border-radius: 12px;
    padding: 15px 18px;
    color: var(--text-light);
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(255, 118, 64, 0.2);
}

.form-group input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-group small {
    font-size: 12px;
    color: var(--text-muted);
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.form-actions .btn {
    flex: 1;
}

.btn-full {
    width: 100%;
}

.btn-large {
    padding: 18px 40px;
    font-size: 16px;
}

.btn-small {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-danger {
    background: linear-gradient(135deg, #E74C3C 0%, #C0392B 100%);
    border: none;
    color: white;
}

.btn-danger:hover {
    box-shadow: 0 8px 30px rgba(231, 76, 60, 0.4);
}

.auth-footer {
    margin-top: 25px;
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 118, 64, 0.2);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.verification-info {
    text-align: center;
    margin-bottom: 30px;
    padding: 25px;
    background: rgba(255, 118, 64, 0.1);
    border-radius: 16px;
    border: 2px solid rgba(255, 118, 64, 0.2);
}

.verification-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.verification-info p {
    margin-bottom: 10px;
    color: var(--text-muted);
}

.verification-info strong {
    color: var(--primary);
}

/* Alerts */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 25px;
}

.alert-success {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.2) 0%, rgba(46, 204, 113, 0.1) 100%);
    border: 2px solid #2ECC71;
}

.alert-error {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.2) 0%, rgba(231, 76, 60, 0.1) 100%);
    border: 2px solid #E74C3C;
}

.alert-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.alert-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 5px;
}

.alert-success .alert-content h4 { color: #2ECC71; }
.alert-error .alert-content h4 { color: #E74C3C; }

.alert-content p {
    font-size: 14px;
    color: var(--text-light);
}

/* Header user nav */
.user-nav {
    display: flex;
    align-items: center;
}

.user-menu,
.auth-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-name {
    font-weight: 600;
    color: var(--text-light);
}

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

.btn-logout:hover {
    background: var(--primary);
    color: white;
}

/* SUPPORT PAGE STYLES */
.support-hero {
    background: linear-gradient(135deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
    padding: 80px 20px 50px;
    text-align: center;
    border-bottom: 3px solid var(--primary);
}

.support-hero h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary) 0%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.support-hero p {
    font-size: 16px;
    color: var(--text-muted);
}

.support-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.create-ticket-section {
    text-align: center;
    margin-bottom: 40px;
}

.ticket-form-container {
    margin-bottom: 50px;
}

.ticket-form-box {
    background: linear-gradient(145deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
    border-radius: 24px;
    padding: 40px;
    border: 2px solid rgba(255, 118, 64, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.ticket-form-box h2 {
    margin-bottom: 30px;
    text-align: center;
    font-size: 28px;
}

.tickets-section,
.admin-tickets-section {
    margin-bottom: 50px;
}

.tickets-section h2,
.admin-tickets-section h2 {
    font-size: 24px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.empty-tickets {
    text-align: center;
    padding: 60px;
    background: linear-gradient(145deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
    border-radius: 20px;
    border: 2px dashed rgba(255, 118, 64, 0.3);
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.empty-tickets p {
    color: var(--text-muted);
    font-size: 16px;
}

.tickets-list {
    display: grid;
    gap: 20px;
}

.tickets-list.admin {
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.ticket-card {
    background: linear-gradient(145deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
    border-radius: 16px;
    padding: 25px;
    border: 2px solid rgba(255, 118, 64, 0.2);
    transition: all 0.3s ease;
}

.ticket-card:hover {
    border-color: rgba(255, 118, 64, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.ticket-card.closed {
    opacity: 0.7;
    border-color: rgba(255, 255, 255, 0.1);
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.ticket-number {
    font-weight: 700;
    font-size: 16px;
    color: var(--primary);
}

.ticket-status {
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
}

.status-open {
    background: rgba(46, 204, 113, 0.2);
    color: #2ECC71;
}

.status-closed {
    background: rgba(149, 165, 166, 0.2);
    color: #95A5A6;
}

.ticket-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.ticket-purpose {
    font-weight: 600;
    color: var(--text-light);
}

.ticket-date {
    font-size: 13px;
    color: var(--text-muted);
}

.ticket-preview {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.ticket-actions {
    display: flex;
    gap: 10px;
}

.ticket-user {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}

/* TICKET CHAT PAGE */
.ticket-chat-hero {
    background: linear-gradient(135deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
    padding: 60px 20px 40px;
    text-align: center;
    border-bottom: 3px solid var(--primary);
}

.ticket-chat-hero h1 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
}

.ticket-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.ticket-status-badge {
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
}

.ticket-purpose {
    font-size: 16px;
    color: var(--text-muted);
}

.ticket-chat-container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    height: calc(100vh - 200px);
    min-height: 700px;
}

.ticket-info-panel {
    background: linear-gradient(145deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
    border-radius: 20px;
    padding: 30px;
    border: 2px solid rgba(255, 118, 64, 0.2);
    height: fit-content;
}

.ticket-info-panel h3 {
    font-size: 18px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 118, 64, 0.2);
}

.info-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 18px;
}

.info-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-weight: 600;
    color: var(--text-light);
}

.info-value.link {
    color: var(--primary);
    text-decoration: none;
}

.info-description {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 118, 64, 0.2);
}

.info-description h4 {
    font-size: 14px;
    margin-bottom: 15px;
}

.info-description p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
}

.close-ticket-form {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 118, 64, 0.2);
}

.chat-panel {
    background: linear-gradient(145deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
    border-radius: 20px;
    border: 2px solid rgba(255, 118, 64, 0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
    max-height: none;
    min-height: 400px;
}

.empty-chat {
    text-align: center;
    padding: 60px 20px;
}

.message {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    width: 100%;
}

.message-admin {
    flex-direction: row-reverse;
}

.message-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-medium) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.message-admin .message-avatar {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.message-content {
    flex: 0 1 auto;
    max-width: 85%;
    min-width: 300px;
    background: var(--bg-dark);
    border-radius: 16px;
    padding: 25px 30px;
    border: 1px solid rgba(255, 118, 64, 0.2);
}

.message-user .message-content {
    margin-right: auto;
}

.message-admin .message-content {
    margin-left: auto;
}

.message-admin .message-content {
    background: linear-gradient(135deg, rgba(255, 118, 64, 0.1) 0%, rgba(255, 118, 64, 0.05) 100%);
    border-color: rgba(255, 118, 64, 0.3);
}

/* AI Message Styles - Mint-Turquoise Gradient */
.message-ai .message-content {
    background: linear-gradient(135deg, rgba(64, 224, 208, 0.15) 0%, rgba(72, 209, 204, 0.1) 50%, rgba(0, 206, 209, 0.15) 100%);
    border: 2px solid rgba(64, 224, 208, 0.4);
    box-shadow: 0 0 20px rgba(64, 224, 208, 0.1);
}

.message-ai .message-avatar {
    background: linear-gradient(135deg, #40E0D0 0%, #00CED1 100%);
    box-shadow: 0 0 15px rgba(64, 224, 208, 0.4);
}

.message-ai .message-author {
    color: #40E0D0;
    font-weight: 700;
}

.message-ai .message-text {
    color: var(--text-light);
}

/* AI Help Button Styles */
.ai-help-btn {
    background: linear-gradient(135deg, #40E0D0 0%, #00CED1 100%);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.ai-help-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(64, 224, 208, 0.4);
}

.ai-no-help-btn {
    background: transparent;
    border: 2px solid rgba(231, 76, 60, 0.5);
    color: #E74C3C;
    padding: 10px 20px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    margin-left: 10px;
}

.ai-no-help-btn:hover {
    background: rgba(231, 76, 60, 0.1);
    border-color: #E74C3C;
}

/* AI Notice in Support Form */
.ai-info-box {
    background: linear-gradient(135deg, rgba(64, 224, 208, 0.15) 0%, rgba(72, 209, 204, 0.1) 50%, rgba(0, 206, 209, 0.15) 100%);
    border: 2px solid rgba(64, 224, 208, 0.4);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 0 20px rgba(64, 224, 208, 0.1);
}

.ai-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.ai-text strong {
    color: #40E0D0;
    font-size: 16px;
    display: block;
    margin-bottom: 5px;
}

.ai-text p {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.message-author {
    font-weight: 700;
    font-size: 15px;
    color: var(--primary);
}

.message-time {
    font-size: 13px;
    color: var(--text-muted);
    white-space: nowrap;
}

.message-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 15px;
}

.message-attachment {
    padding-top: 15px;
    border-top: 1px solid rgba(255, 118, 64, 0.2);
}

.message-attachment a {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
}

.chat-input-area {
    padding: 20px 30px 30px;
    border-top: 1px solid rgba(255, 118, 64, 0.2);
    background: var(--bg-dark);
}

.chat-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.chat-input-wrapper textarea {
    flex: 1;
    background: var(--bg-medium);
    border: 2px solid rgba(255, 118, 64, 0.2);
    border-radius: 16px;
    padding: 15px 20px;
    color: var(--text-light);
    font-size: 15px;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.chat-input-wrapper textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(255, 118, 64, 0.2);
}

.chat-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.file-upload-btn {
    width: 45px;
    height: 45px;
    background: var(--bg-medium);
    border: 2px solid rgba(255, 118, 64, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-btn:hover {
    border-color: var(--primary);
    background: rgba(255, 118, 64, 0.1);
}

.btn-send {
    width: 45px;
    height: 45px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.btn-delete-message {
    background: none;
    border: none;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 16px;
    opacity: 0.6;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.btn-delete-message:hover {
    opacity: 1;
    background: rgba(231, 76, 60, 0.2);
    transform: scale(1.1);
}

.message-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.delete-message-form {
    display: inline;
    margin: 0;
    padding: 0;
}

.file-name {
    font-size: 13px;
    color: var(--primary);
    font-weight: 500;
}

.account-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 600px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .account-grid {
        grid-template-columns: 1fr 1fr;
        max-width: 1200px;
    }
    
    .account-section:first-child {
        grid-row: span 2;
    }
}

.avatar-display {
    text-align: center;
    margin-bottom: 30px;
}

.avatar-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary);
    box-shadow: 0 8px 30px rgba(255, 118, 64, 0.3);
}

.avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-medium) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    border: 4px solid var(--primary);
    margin: 0 auto;
}

.username-display {
    margin-top: 15px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-light);
}

.avatar-form input[type="file"] {
    width: 100%;
    padding: 15px;
    background: var(--bg-dark);
    border: 2px dashed rgba(255, 118, 64, 0.3);
    border-radius: 12px;
    color: var(--text-light);
    cursor: pointer;
}

.avatar-form input[type="file"]:hover {
    border-color: var(--primary);
}

/* FORUM STYLES */
.forum-hero {
    background: linear-gradient(135deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
    padding: 60px 20px 40px;
    text-align: center;
    border-bottom: 3px solid var(--primary);
}

.forum-hero h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
}

.forum-hero p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.forum-rules {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.forum-rules span {
    background: rgba(255, 118, 64, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    border: 1px solid rgba(255, 118, 64, 0.2);
}

.forum-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.forum-messages {
    background: linear-gradient(145deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
    border-radius: 20px;
    padding: 20px;
    border: 2px solid rgba(255, 118, 64, 0.2);
    max-height: 500px;
    overflow-y: auto;
    margin-bottom: 20px;
}

.forum-message {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid rgba(255, 118, 64, 0.1);
    transition: background 0.3s ease;
}

.forum-message:hover {
    background: rgba(255, 118, 64, 0.05);
}

.forum-message:last-child {
    border-bottom: none;
}

.forum-message .message-avatar {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.forum-message .message-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.admin-badge {
    background: var(--primary);
    color: white;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
}

.forum-input-area {
    background: linear-gradient(145deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
    border-radius: 20px;
    padding: 20px;
    border: 2px solid rgba(255, 118, 64, 0.2);
}

.forum-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.forum-input-wrapper {
    position: relative;
}

.forum-input-wrapper textarea {
    width: 100%;
    background: var(--bg-dark);
    border: 2px solid rgba(255, 118, 64, 0.2);
    border-radius: 16px;
    padding: 15px 20px;
    color: var(--text-light);
    font-size: 15px;
    resize: none;
    font-family: inherit;
}

.forum-input-wrapper textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(255, 118, 64, 0.2);
}

.char-count {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 12px;
    color: var(--text-muted);
}

.btn-send-forum {
    padding: 15px 30px;
    font-size: 16px;
}

.btn-send-forum:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.cooldown {
    font-size: 14px;
    opacity: 0.8;
}

.empty-forum {
    text-align: center;
    padding: 60px;
}

.empty-forum .empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

/* AI Toggle for tickets */
.ai-toggle-section {
    background: linear-gradient(135deg, rgba(255, 118, 64, 0.1) 0%, rgba(255, 118, 64, 0.05) 100%);
    border: 2px solid rgba(255, 118, 64, 0.3);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

.ai-toggle-section h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--primary);
}

.ai-toggle-form {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.ai-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.ai-status.enabled {
    background: rgba(46, 204, 113, 0.2);
    color: #2ECC71;
}

.ai-status.disabled {
    background: rgba(231, 76, 60, 0.2);
    color: #E74C3C;
}

.ticket-closed-notice {
    padding: 30px;
    text-align: center;
    background: rgba(149, 165, 166, 0.1);
    border-top: 1px solid rgba(149, 165, 166, 0.3);
}

.notice-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.ticket-closed-notice p {
    color: var(--text-muted);
    font-size: 14px;
}

.back-link {
    max-width: 1000px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .auth-box,
    .ticket-form-box {
        padding: 25px;
    }
    
    .ticket-chat-container {
        grid-template-columns: 1fr;
    }
    
    .tickets-list.admin {
        grid-template-columns: 1fr;
    }
    
    .chat-input-wrapper {
        flex-direction: column;
        align-items: stretch;
    }
    
    .chat-actions {
        flex-direction: row;
        justify-content: flex-end;
    }
}

.btn-register {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    font-weight: 700;
    font-size: 16px;
    padding: 16px 40px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-register:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 118, 64, 0.5);
}

.btn-icon {
    font-size: 20px;
}

/* Phone Input with Country Selector */
.phone-group {
    width: 100%;
    overflow: visible;
}

.phone-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-light);
}

.phone-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: stretch;
    width: 100%;
}

.country-select {
    background: var(--bg-dark);
    border: 2px solid rgba(255, 118, 64, 0.2);
    border-radius: 12px;
    padding: 15px 12px;
    color: var(--text-light);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
    max-width: 45%;
    flex-shrink: 0;
}

.country-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(255, 118, 64, 0.2);
}

.country-select option {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 8px;
}

#phone {
    flex: 1;
    min-width: 0;
}

.phone-hint {
    display: block;
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 12px;
}

/* Password Row Layout */
.password-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.password-group {
    min-width: 0;
}

.password-group input {
    width: 100%;
}

.password-group label {
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Login Button - Blue color */
.btn-login {
    background: linear-gradient(135deg, #3498DB 0%, #2980B9 100%);
    color: white;
    font-weight: 700;
    font-size: 16px;
    padding: 16px 40px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(52, 152, 219, 0.5);
}

/* Register form specific */
.register-form {
    max-width: 100%;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .phone-input-wrapper {
        flex-direction: column;
    }
    
    .country-select {
        width: 100%;
        max-width: 100%;
    }
    
    .password-row {
        grid-template-columns: 1fr;
    }
    
    .password-group label {
        font-size: 12px;
    }
}

/* Server Widget IPs Display */
.server-ips {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: left;
}

.server-ip-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.ip-label {
    color: var(--text-muted);
    font-weight: 500;
    min-width: 80px;
}

.ip-value {
    color: var(--primary);
    font-weight: 700;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

/* Status indicator states */
.status-indicator.online {
    background: #2ECC71;
    box-shadow: 0 0 10px #2ECC71;
}

.status-indicator.offline {
    background: #E74C3C;
    box-shadow: 0 0 10px #E74C3C;
}

/* Send Button - Center unicode icon */
.btn-send {
    width: 50px;
    height: 50px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
    text-align: center;
    position: relative;
}

.btn-send::before {
    content: "📤";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    line-height: 1;
}

.btn-send span {
    display: none;
}

/* Alternative: if using content directly in button */
.btn-send-content {
    width: 50px;
    height: 50px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
    text-align: center;
}

/* Ticket Tabs */
.tickets-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(255, 118, 64, 0.2);
    padding-bottom: 15px;
}

.tab-btn {
    background: var(--bg-dark);
    border: 2px solid rgba(255, 118, 64, 0.2);
    color: var(--text-muted);
    padding: 12px 25px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    border-color: var(--primary);
    color: var(--text-light);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-color: var(--primary);
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* RULES PAGE STYLES */
.rules-hero {
    background: linear-gradient(135deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
    padding: 100px 20px 60px;
    text-align: center;
    border-bottom: 3px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.rules-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FF7640' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.rules-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.rules-hero h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary) 0%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rules-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.rules-meta {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.rule-badge {
    background: linear-gradient(135deg, rgba(255, 118, 64, 0.2) 0%, rgba(255, 118, 64, 0.1) 100%);
    border: 2px solid var(--primary);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
}

.rule-badge.urgent {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.3) 0%, rgba(231, 76, 60, 0.1) 100%);
    border-color: #E74C3C;
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.4); }
    50% { box-shadow: 0 0 20px 5px rgba(231, 76, 60, 0.2); }
}

/* Rules Container */
.rules-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Rules Section Accordion */
.rules-section {
    background: linear-gradient(145deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
    border-radius: 20px;
    margin-bottom: 25px;
    border: 2px solid rgba(255, 118, 64, 0.2);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.rules-section:hover {
    border-color: rgba(255, 118, 64, 0.4);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.rules-section.active {
    border-color: var(--primary);
}

.section-header-accordion {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px 30px;
    cursor: pointer;
    background: linear-gradient(135deg, rgba(255, 118, 64, 0.1) 0%, transparent 100%);
    transition: all 0.3s ease;
    user-select: none;
}

.section-header-accordion:hover {
    background: linear-gradient(135deg, rgba(255, 118, 64, 0.2) 0%, transparent 100%);
}

.section-icon {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 5px 20px rgba(255, 118, 64, 0.3);
}

.section-header-accordion h2 {
    flex: 1;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-light);
    margin: 0;
}

.section-toggle {
    width: 40px;
    height: 40px;
    background: rgba(255, 118, 64, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    transition: all 0.3s ease;
}

.rules-section.active .section-toggle {
    background: var(--primary);
    color: white;
    transform: rotate(180deg);
}

/* Section Content */
.section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.section-content > .rule-item:first-child {
    padding-top: 30px;
}

/* Rule Item */
.rule-item {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 15px;
    padding: 18px 30px;
    border-bottom: 1px solid rgba(255, 118, 64, 0.1);
    transition: all 0.3s ease;
}

.rule-item:hover {
    background: rgba(255, 118, 64, 0.05);
}

.rule-item:last-child {
    border-bottom: none;
    padding-bottom: 30px;
}

.rule-num {
    min-width: 55px;
    height: 35px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: white;
}

.rule-item p {
    flex: 1;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
}

.rule-item.warning {
    border-left: 4px solid #F39C12;
    background: rgba(243, 156, 18, 0.05);
}

.rule-item.warning .rule-num {
    background: linear-gradient(135deg, #F39C12 0%, #E67E22 100%);
}

.rule-item.danger {
    border-left: 4px solid #E74C3C;
    background: rgba(231, 76, 60, 0.05);
}

.rule-item.danger .rule-num {
    background: linear-gradient(135deg, #E74C3C 0%, #C0392B 100%);
}

.rule-item.info {
    border-left: 4px solid #3498DB;
    background: rgba(52, 152, 219, 0.05);
}

.rule-item.info .rule-num {
    background: linear-gradient(135deg, #3498DB 0%, #2980B9 100%);
}

/* Punishment Badge */
.punishment {
    margin-left: auto;
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.2) 0%, rgba(231, 76, 60, 0.1) 100%);
    border: 2px solid #E74C3C;
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #E74C3C;
    white-space: nowrap;
}

.punishment.reward {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.2) 0%, rgba(46, 204, 113, 0.1) 100%);
    border-color: #2ECC71;
    color: #2ECC71;
}

/* Sub Rules (nested) */
.sub-rules {
    padding-left: 30px;
    background: rgba(0, 0, 0, 0.2);
}

.sub-rules .rule-item {
    padding: 15px 30px 15px 20px;
    border-bottom: 1px solid rgba(255, 118, 64, 0.05);
}

.sub-rules .rule-item:last-child {
    padding-bottom: 15px;
}

.sub-rules .rule-num {
    min-width: 45px;
    height: 30px;
    font-size: 12px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-medium) 100%);
    color: var(--text-light);
}

/* Rule Note */
.rule-note {
    width: 100%;
    margin: 10px 0 0 70px;
    font-size: 13px;
    color: var(--text-muted);
    font-style: italic;
}

/* Rules Footer */
.rules-footer {
    margin-top: 50px;
}

.warning-box {
    background: linear-gradient(145deg, rgba(243, 156, 18, 0.2) 0%, rgba(243, 156, 18, 0.05) 100%);
    border: 3px solid #F39C12;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    gap: 30px;
    align-items: center;
    box-shadow: 0 10px 40px rgba(243, 156, 18, 0.2);
}

.warning-icon {
    font-size: 64px;
    flex-shrink: 0;
}

.warning-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #F39C12;
    margin-bottom: 15px;
}

.warning-content p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 118, 64, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 118, 64, 0.5);
}

/* Responsive Rules */
@media (max-width: 768px) {
    .rules-hero h1 {
        font-size: 32px;
    }
    
    .section-header-accordion {
        padding: 20px;
    }
    
    .section-header-accordion h2 {
        font-size: 18px;
    }
    
    .section-icon {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
    
    .rule-item {
        padding: 15px 20px;
        flex-direction: column;
    }
    
    .punishment {
        margin-left: 70px;
    }
    
    .warning-box {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    
    .sub-rules {
        padding-left: 15px;
    }
}

/* Mobile responsive for auth and user nav */
@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
        height: auto;
        padding: 15px;
        gap: 10px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        order: 3;
        width: 100%;
    }
    
    .user-nav {
        order: 2;
    }
    
    .user-menu,
    .auth-links {
        gap: 10px;
    }
    
    .user-name {
        display: none;
    }
    
    .auth-box,
    .ticket-form-box {
        padding: 25px;
    }
    
    .ticket-chat-container {
        grid-template-columns: 1fr;
    }
    
    .ticket-info-panel {
        order: 2;
    }
    
    .chat-panel {
        order: 1;
    }
    
    .auth-steps {
        gap: 20px;
    }
    
    .step span {
        font-size: 11px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .auth-hero h1,
    .support-hero h1 {
        font-size: 28px;
    }
    
    .ticket-card {
        padding: 20px;
    }
    
    .ticket-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .message {
        gap: 10px;
    }
    
    .message-avatar {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
}

/* ==========================================
   FAQ STYLES - Card Grid
   ========================================== */
.faq-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.faq-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 118, 64, 0.15);
}

.faq-card-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.faq-card h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 15px;
}

.faq-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 15px;
}

.faq-card a {
    color: var(--primary);
    text-decoration: underline;
}

/* ==========================================
   START PAGE STYLES
   ========================================== */
.start-guide {
    max-width: 1200px;
    margin: 0 auto;
}

.guide-intro {
    text-align: center;
    margin-bottom: 50px;
}

.intro-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.guide-intro h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--primary);
}

.guide-intro p {
    font-size: 18px;
    color: var(--text-secondary);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.step-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 35px;
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 25px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 24px;
}

.step-icon {
    font-size: 48px;
    margin-bottom: 20px;
    text-align: center;
}

.step-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--text-primary);
    text-align: center;
}

.step-list {
    list-style: none;
    padding: 0;
}

.step-list li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.step-list li:last-child {
    border-bottom: none;
}

.step-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.town-creation-section {
    background: linear-gradient(135deg, rgba(255, 118, 64, 0.1) 0%, rgba(255, 86, 116, 0.1) 100%);
    border: 2px solid var(--primary);
    border-radius: 24px;
    padding: 50px;
    text-align: center;
}

.town-creation-section .section-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.town-creation-section h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--primary);
}

.section-intro {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.town-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    text-align: left;
}

.town-step {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 25px;
    position: relative;
    padding-left: 70px;
    transition: all 0.3s ease;
}

.town-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.town-step .step-num {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

.town-step p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Code and KBD styles */
code {
    background: rgba(255, 118, 64, 0.15);
    color: var(--primary);
    padding: 3px 10px;
    border-radius: 6px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9em;
}

kbd {
    background: var(--bg-medium);
    border: 2px solid var(--border-color);
    border-radius: 6px;
    padding: 3px 10px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9em;
    box-shadow: 0 2px 0 var(--border-color);
}

/* ==========================================
   MECHANICS PAGE STYLES
   ========================================== */
.mechanics-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.mechanic-item {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.mechanic-item:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 118, 64, 0.15);
}

.mechanic-icon {
    font-size: 40px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-medium);
    border-radius: 12px;
}

.mechanic-info h4 {
    color: var(--text-primary);
    font-size: 20px;
    margin-bottom: 8px;
}

.mechanic-info p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

.mechanic-detail {
    max-width: 1000px;
    margin: 0 auto;
}

.mechanic-description {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 35px;
    margin-bottom: 30px;
}

.mechanic-description p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 16px;
    margin-bottom: 15px;
}

.mechanic-description h3 {
    color: var(--primary);
    font-size: 22px;
    margin: 25px 0 15px;
}

.mechanic-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.mechanic-list li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.mechanic-list li:last-child {
    border-bottom: none;
}

.mechanic-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.steps-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    counter-reset: steps;
}

.steps-list li {
    padding: 15px 0 15px 50px;
    position: relative;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
    counter-increment: steps;
}

.steps-list li:last-child {
    border-bottom: none;
}

.steps-list li::before {
    content: counter(steps);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.info-box {
    background: linear-gradient(135deg, rgba(255, 118, 64, 0.1) 0%, rgba(255, 86, 116, 0.1) 100%);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
    color: var(--text-secondary);
}

.back-link {
    text-align: center;
    margin-top: 30px;
}

.back-link .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Command Grid */
.command-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.command-card {
    background: linear-gradient(135deg, rgba(255, 118, 64, 0.1) 0%, rgba(255, 86, 116, 0.1) 100%);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.command-card code {
    font-size: 16px;
    font-weight: bold;
    background: transparent;
    padding: 0;
}

.command-card span {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Brewery Grid */
.brewery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.brew-item {
    background: var(--bg-medium);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.brew-item:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.brew-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 10px;
}

.brew-item strong {
    display: block;
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 5px;
}

.brew-item p {
    font-size: 14px;
    margin: 0;
}

.brewery-link {
    text-align: center;
    margin-top: 25px;
}

.brewery-link a {
    color: var(--primary);
    text-decoration: underline;
}

/* Shop Tutorial */
.shop-tutorial {
    margin-top: 30px;
}

.shop-image {
    width: 100%;
    max-width: 600px;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    margin-bottom: 25px;
}

.shop-steps {
    background: var(--bg-medium);
    border-radius: 16px;
    padding: 25px;
}

.shop-steps h3 {
    margin-top: 0;
}

.shop-steps ol {
    padding-left: 20px;
}

.shop-steps li {
    margin-bottom: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.shop-steps ul {
    margin-top: 10px;
    padding-left: 20px;
}

.shop-steps ul li {
    margin-bottom: 8px;
}

/* War Section */
.war-intro {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 35px;
}

.war-type {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 35px;
    text-align: center;
}

.war-icon {
    font-size: 56px;
    margin-bottom: 15px;
}

.war-type h3 {
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 10px;
}

.war-type p {
    margin: 0;
}

.war-phases {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.phase {
    background: var(--bg-medium);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    min-width: 200px;
}

.phase-time {
    display: block;
    color: var(--primary);
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 5px;
}

.phase-name {
    display: block;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 5px;
}

.phase-desc {
    display: block;
    color: var(--text-secondary);
    font-size: 14px;
}

.phase-arrow {
    font-size: 30px;
    color: var(--primary);
}

.warface-content {
    background: var(--bg-medium);
    border-radius: 16px;
    padding: 25px;
    margin-top: 25px;
}

.warface-content h3 {
    margin-top: 0;
}

.mechanic-description {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 35px;
    margin-bottom: 30px;
}

.mechanic-description p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 16px;
    margin-bottom: 15px;
}

.mechanic-description h3 {
    color: var(--primary);
    font-size: 22px;
    margin: 25px 0 15px;
}

.mechanic-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.mechanic-list li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.mechanic-list li:last-child {
    border-bottom: none;
}

.mechanic-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Command Grid */
.command-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.command-card {
    background: linear-gradient(135deg, rgba(255, 118, 64, 0.1) 0%, rgba(255, 86, 116, 0.1) 100%);
    border: 2px solid var(--primary);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.command-card code {
    font-size: 16px;
    font-weight: bold;
    background: transparent;
    padding: 0;
}

.command-card span {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Brewery Grid */
.brewery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.brew-item {
    background: var(--bg-medium);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.brew-item:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.brew-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 10px;
}

.brew-item strong {
    display: block;
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 5px;
}

.brew-item p {
    font-size: 14px;
    margin: 0;
}

.brewery-link {
    text-align: center;
    margin-top: 25px;
}

.brewery-link a {
    color: var(--primary);
    text-decoration: underline;
}

/* Shop Tutorial */
.shop-tutorial {
    margin-top: 30px;
}

.shop-image {
    width: 100%;
    max-width: 600px;
    border-radius: 16px;
    border: 2px solid var(--border-color);
    margin-bottom: 25px;
}

.shop-steps {
    background: var(--bg-medium);
    border-radius: 16px;
    padding: 25px;
}

.shop-steps h3 {
    margin-top: 0;
}

.shop-steps ol {
    padding-left: 20px;
}

.shop-steps li {
    margin-bottom: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.shop-steps ul {
    margin-top: 10px;
    padding-left: 20px;
}

.shop-steps ul li {
    margin-bottom: 8px;
}

/* War Section */
.war-intro {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 35px;
}

.war-type {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 35px;
    text-align: center;
}

.war-icon {
    font-size: 56px;
    margin-bottom: 15px;
}

.war-type h3 {
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 10px;
}

.war-type p {
    margin: 0;
}

.war-phases {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.phase {
    background: var(--bg-medium);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    min-width: 200px;
}

.phase-time {
    display: block;
    color: var(--primary);
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 5px;
}

.phase-name {
    display: block;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 5px;
}

.phase-desc {
    display: block;
    color: var(--text-secondary);
    font-size: 14px;
}

.phase-arrow {
    font-size: 30px;
    color: var(--primary);
}

.warface-content {
    background: var(--bg-medium);
    border-radius: 16px;
    padding: 25px;
    margin-top: 25px;
}

.warface-content h3 {
    margin-top: 0;
}

