/* ========================================
   Modern ClassAttack Website - Styles
   ======================================== */

:root {
    --primary: #00ff88;
    --primary-dark: #00cc6a;
    --secondary: #6366f1;
    --dark: #0a0e27;
    --dark-lighter: #1a1f3a;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Light Mode - Komplett neu designed */
body.light-mode {
    --dark: #ffffff;
    --dark-lighter: #f8fafc;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(16, 185, 129, 0.2);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --primary: #10b981;
    --primary-dark: #059669;
}

body.light-mode .background {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 50%, #dcfce7 100%) !important;
}

body.light-mode .cube {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.06) 0%, rgba(16, 185, 129, 0.12) 100%) !important;
    border: 1px solid rgba(16, 185, 129, 0.2) !important;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15) !important;
}

/* Navbar */
body.light-mode .navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    border-bottom: 1px solid rgba(16, 185, 129, 0.15) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
    backdrop-filter: blur(20px) !important;
}

body.light-mode .navbar.scrolled {
    background: rgba(255, 255, 255, 1) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1) !important;
}

body.light-mode .nav-link {
    color: #0f172a !important;
    font-weight: 600;
}

body.light-mode .nav-link:hover,
body.light-mode .nav-link.active {
    color: var(--primary) !important;
}

body.light-mode .gradient-text {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* Cards & Sections */
body.light-mode .status-card-hero,
body.light-mode .feature-card,
body.light-mode .map-frame,
body.light-mode .application-form,
body.light-mode .rule-card {
    background: #ffffff !important;
    border: 2px solid rgba(16, 185, 129, 0.2) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08) !important;
    backdrop-filter: blur(20px) !important;
}

body.light-mode .feature-card:hover,
body.light-mode .rule-card:hover {
    border-color: var(--primary) !important;
    box-shadow: 0 15px 50px rgba(16, 185, 129, 0.2) !important;
    transform: translateY(-5px);
}

/* Live Stats */
body.light-mode .stat-item {
    background: #ffffff !important;
    border: 2px solid rgba(16, 185, 129, 0.2) !important;
}

body.light-mode .stat-item:hover {
    background: rgba(16, 185, 129, 0.05) !important;
    border-color: var(--primary) !important;
}

body.light-mode .stat-value {
    color: var(--primary) !important;
    font-weight: 700;
}

body.light-mode .stat-label {
    color: #475569 !important;
    font-weight: 600;
}

/* Players */
body.light-mode .player-item {
    background: #ffffff !important;
    border: 1px solid rgba(16, 185, 129, 0.2) !important;
}

body.light-mode .player-item:hover {
    background: rgba(16, 185, 129, 0.08) !important;
    border-color: var(--primary) !important;
    transform: translateX(5px);
}

body.light-mode .player-name {
    color: #0f172a !important;
    font-weight: 600;
}

body.light-mode .no-players-message {
    background: rgba(16, 185, 129, 0.08) !important;
    border-color: rgba(16, 185, 129, 0.2) !important;
    color: #475569 !important;
}

/* Buttons */
body.light-mode .map-btn,
body.light-mode .open-map-btn,
body.light-mode .submit-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.3) !important;
    border: none !important;
    font-weight: 600;
}

body.light-mode .map-btn:hover,
body.light-mode .open-map-btn:hover,
body.light-mode .submit-btn:hover {
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.4) !important;
    transform: translateY(-2px);
}

body.light-mode .scroll-to-top {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.3) !important;
}

body.light-mode .theme-toggle {
    background: rgba(16, 185, 129, 0.1) !important;
    border-color: rgba(16, 185, 129, 0.25) !important;
}

body.light-mode .theme-toggle:hover {
    background: rgba(16, 185, 129, 0.2) !important;
    border-color: var(--primary) !important;
}

body.light-mode .theme-toggle svg {
    stroke: #0f172a !important;
}

/* Form Elements */
body.light-mode .form-input,
body.light-mode .form-textarea,
body.light-mode input,
body.light-mode textarea,
body.light-mode select {
    background: #ffffff !important;
    border: 2px solid rgba(16, 185, 129, 0.2) !important;
    color: #0f172a !important;
}

body.light-mode .form-input:focus,
body.light-mode .form-textarea:focus,
body.light-mode input:focus,
body.light-mode textarea:focus,
body.light-mode select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15) !important;
}

body.light-mode .form-group label {
    color: #0f172a !important;
    font-weight: 600;
}

/* Status & Indicators */
body.light-mode .status-online .status-dot {
    background: var(--primary) !important;
    box-shadow: 0 0 25px var(--primary) !important;
}

body.light-mode .status-text {
    color: #0f172a !important;
    font-weight: 600;
}

body.light-mode .map-status-badge {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 2px solid rgba(16, 185, 129, 0.2) !important;
    backdrop-filter: blur(15px) !important;
    color: #0f172a !important;
}

/* Footer */
body.light-mode .footer {
    background: rgba(255, 255, 255, 0.98) !important;
    border-top: 1px solid rgba(16, 185, 129, 0.15) !important;
}

body.light-mode .footer-text,
body.light-mode .footer-content p {
    color: #475569 !important;
}

body.light-mode .footer-links a {
    color: #0f172a !important;
    font-weight: 600;
}

body.light-mode .footer-links a:hover {
    color: var(--primary) !important;
}

/* Rules Section */
body.light-mode .rule-number {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3) !important;
    font-weight: 700;
}

body.light-mode .rule-title {
    color: #0f172a !important;
    font-weight: 700;
}

body.light-mode .rule-description {
    color: #475569 !important;
}

/* Section Headers */
body.light-mode .section-title {
    color: #0f172a !important;
    font-weight: 800;
}

body.light-mode .section-description {
    color: #475569 !important;
    font-weight: 500;
}

body.light-mode .hero-subtitle {
    color: #475569 !important;
}

body.light-mode .hero-description {
    color: #64748b !important;
}

/* FAQ Section */
body.light-mode .faq-item {
    background: #ffffff !important;
    border: 2px solid rgba(16, 185, 129, 0.2) !important;
}

body.light-mode .faq-question h3 {
    color: #0f172a !important;
    font-weight: 700;
}

body.light-mode .faq-answer p {
    color: #475569 !important;
}

body.light-mode .faq-icon {
    stroke: var(--primary) !important;
}

/* IP Copy Card */
body.light-mode .server-ip-card {
    background: #ffffff !important;
    border: 2px solid rgba(16, 185, 129, 0.2) !important;
}

body.light-mode .ip-label {
    color: #475569 !important;
    font-weight: 600;
}

body.light-mode .ip-text {
    color: #0f172a !important;
    font-weight: 700;
}

body.light-mode .ip-copy-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    color: #ffffff !important;
}

/* Map Section */
body.light-mode .map-description {
    color: #475569 !important;
}

body.light-mode .map-features li {
    color: #475569 !important;
}

body.light-mode .map-features svg {
    stroke: var(--primary) !important;
}

/* Cookie Banner */
body.light-mode .cookie-banner {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 2px solid rgba(16, 185, 129, 0.2) !important;
}

body.light-mode .cookie-text h3 {
    color: #0f172a !important;
}

body.light-mode .cookie-text p {
    color: #475569 !important;
}

body.light-mode .rules-footer {
    background: rgba(239, 68, 68, 0.08) !important;
    border-color: rgba(239, 68, 68, 0.15) !important;
}

/* Hero Description */
body.light-mode .hero-description {
    color: #4a5568 !important;
}

body.light-mode .section-description {
    color: #4a5568 !important;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ========================================
   Animated Background
   ======================================== */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #0f1729 100%);
    overflow: hidden;
}

.cube {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(0, 255, 136, 0.1);
    transform-style: preserve-3d;
    animation: float 20s infinite ease-in-out;
}

.cube:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 15s;
}

.cube:nth-child(2) {
    top: 70%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.cube:nth-child(3) {
    top: 40%;
    left: 60%;
    animation-delay: 4s;
    animation-duration: 22s;
}

.cube:nth-child(4) {
    top: 80%;
    left: 20%;
    animation-delay: 1s;
    animation-duration: 16s;
}

.cube:nth-child(5) {
    top: 20%;
    left: 70%;
    animation-delay: 3s;
    animation-duration: 20s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translate(50px, -50px) rotate(90deg);
        opacity: 0.5;
    }
    50% {
        transform: translate(100px, 0) rotate(180deg);
        opacity: 0.3;
    }
    75% {
        transform: translate(50px, 50px) rotate(270deg);
        opacity: 0.5;
    }
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.2rem 0;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

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

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Theme Toggle Button */
.theme-toggle {
    position: relative;
    width: 45px;
    height: 45px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.theme-toggle:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: var(--primary);
    transform: scale(1.05);
}

.theme-toggle svg {
    position: absolute;
    transition: all 0.3s ease;
}

.theme-toggle .sun-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0.5);
}

.theme-toggle .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

body.light-mode .theme-toggle .sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

body.light-mode .theme-toggle .moon-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.5);
}

/* ========================================
   Container
   ======================================== */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    padding-top: 80px;
}

/* Desktop Optimierungen für Chrome */
@media (min-width: 1025px) {
    .container {
        max-width: 1400px;
        padding: 0 3rem;
        padding-top: 80px;
    }
    
    .hero {
        min-height: 85vh;
        padding: 8rem 0 5rem 0;
    }
    
    .hero-content {
        max-width: 900px;
    }
    
    .hero-title {
        font-size: 4.5rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1.2rem;
        margin-bottom: 3rem;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
    
    .section-description {
        font-size: 1.15rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .feature-card {
        padding: 2.5rem;
    }
    
    .feature-icon {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
    }
    
    .feature-title {
        font-size: 1.5rem;
    }
    
    .feature-description {
        font-size: 1rem;
        line-height: 1.8;
    }
    
    .map-content {
        gap: 4rem;
    }
    
    .map-frame {
        height: 500px;
    }
    
    .application-form {
        max-width: 850px;
        padding: 3rem;
    }
    
    .server-ip-card,
    .status-card-hero,
    .online-players-list {
        padding: 2rem;
    }
    
    .ip-text {
        font-size: 1.6rem;
    }
    
    .status-text {
        font-size: 1.3rem;
    }
    
    .player-count {
        font-size: 2rem;
    }
    
    .players-container {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.2rem;
    }
    
    .player-item {
        padding: 0.9rem 1.3rem;
    }
    
    section {
        padding: 5rem 0;
    }
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 0 4rem 0;
}

.hero-content {
    max-width: 900px;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, #00ffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% {
        filter: hue-rotate(0deg);
    }
    50% {
        filter: hue-rotate(20deg);
    }
}

.hero-subtitle {
    font-size: 2.5rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* Server IP Card */
.server-ip-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.ip-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.ip-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--primary);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
    flex-wrap: wrap;
    justify-content: center;
}

.ip-text {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
    min-width: 200px;
    text-align: center;
}

.ip-copy-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: var(--dark);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ip-copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.4);
}

.ip-copy-btn:active {
    transform: translateY(0);
}

/* Status Card Hero */
.status-card-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
    gap: 2rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.status-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--text-secondary);
    animation: pulse 2s infinite;
}

.status-online .status-dot {
    background: var(--primary);
    box-shadow: 0 0 20px var(--primary);
}

.status-offline .status-dot {
    background: #ff4444;
    box-shadow: 0 0 20px #ff4444;
    animation: none;
}

.server-version {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    opacity: 0.8;
    margin-top: 0.5rem;
}

.server-version svg {
    color: var(--primary);
}

.server-ping {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    opacity: 0.8;
    margin-top: 0.5rem;
}

.server-ping svg {
    color: var(--primary);
}

.server-ping.good {
    color: #00ff88;
}

.server-ping.medium {
    color: #ffaa00;
}

.server-ping.bad {
    color: #ff4444;
}

/* Live Stats Grid */
.live-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

@media (max-width: 768px) {
    .live-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .live-stats-grid {
        grid-template-columns: 1fr;
    }
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(0, 255, 136, 0.3));
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
}

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

.status-text {
    font-size: 1.2rem;
    font-weight: 600;
}

.player-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.player-info svg {
    color: var(--primary);
}

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

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

/* Online Players List */
.online-players-list {
    margin-top: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
}

.players-list-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.players-list-title::before {
    content: '👥';
    font-size: 1.5rem;
}

.players-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.player-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    border: 2px solid var(--glass-border);
    transition: all 0.3s ease;
    animation: slideIn 0.5s ease forwards;
    opacity: 0;
}

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

.player-item:hover {
    border-color: var(--primary);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.2);
}

.player-avatar {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--dark-lighter);
    border: 2px solid var(--primary);
}

.player-avatar img {
    width: 100%;
    height: 100%;
    image-rendering: pixelated;
    display: block;
}

.player-name {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 1rem;
}

.no-players-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

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

.no-players-message svg {
    color: var(--primary-color);
    opacity: 0.6;
    margin-bottom: 1rem;
}

.no-players-message p {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

/* ========================================
   Section Headers
   ======================================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ========================================
   Features Section
   ======================================== */
.features-section {
    padding: 6rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ========================================
   Rules Section
   ======================================== */
.rules-section {
    padding: 6rem 0;
}

.rules-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.rule-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.rule-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.15);
}

.rule-number {
    flex-shrink: 0;
    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: 1.5rem;
    font-weight: 700;
    color: var(--dark);
}

.rule-content {
    flex: 1;
}

.rule-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.rule-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.rules-footer {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.2);
    border-radius: 15px;
    text-align: center;
}

.rules-footer p {
    color: var(--text-secondary);
    margin: 0.5rem 0;
    line-height: 1.6;
}

.rules-footer p:first-child {
    color: #ff6b6b;
    font-weight: 600;
}

@media (max-width: 768px) {
    .rules-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .rule-card {
        padding: 1.5rem;
    }
}

/* ========================================
   FAQ Section
   ======================================== */
.faq-section {
    padding: 6rem 0;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
}

.faq-icon {
    flex-shrink: 0;
    color: var(--primary);
    transition: transform 0.3s ease;
    margin-left: 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 2rem 1.5rem 2rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

.faq-answer strong {
    color: var(--primary);
}

/* ========================================
   Map Section
   ======================================== */
.map-section {
    padding: 6rem 0;
    overflow: hidden;
}

.map-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.map-text {
    padding-right: 2rem;
    padding-left: 1rem;
}

.map-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.map-features {
    list-style: none;
    margin-bottom: 2rem;
    padding: 0;
}

.map-features li {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.2rem 3rem 1.2rem 1rem;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-secondary);
}

.map-features li svg {
    color: var(--primary);
    flex-shrink: 0;
    min-width: 24px;
    width: 24px;
    height: 24px;
}

.map-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: var(--primary);
    color: var(--dark);
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.map-btn:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.4);
}

.map-preview {
    position: relative;
}

.map-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 500px;
    border: 2px solid var(--glass-border);
    box-shadow: var(--shadow);
    background: #000;
}

.map-iframe-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.map-live-preview {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    pointer-events: none; /* Map nicht bedienbar in Vorschau */
}

.map-loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.95) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    z-index: 2;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.map-loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(0, 255, 136, 0.1);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.map-loading-overlay p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.map-fullscreen-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: rgba(0, 255, 136, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.3);
}

.map-fullscreen-btn:hover {
    background: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 255, 136, 0.5);
}

.map-fullscreen-btn svg {
    color: #1a1a2e;
}

.map-iframe-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
}

.map-iframe-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    background: transparent;
}

.map-status-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: rgba(26, 26, 46, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    z-index: 10;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #666;
    animation: pulse 2s ease-in-out infinite;
}

.status-dot.online {
    background: #00ff88;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.status-dot.offline {
    background: #ff4444;
    box-shadow: 0 0 10px rgba(255, 68, 68, 0.5);
}

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

.map-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 255, 136, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    z-index: 1;
}

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

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.map-content-overlay {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 3rem;
    text-align: center;
}

.map-icon {
    color: var(--primary-color);
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.map-content-overlay h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.map-content-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 400px;
    line-height: 1.6;
}

.open-map-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #00cc6a 100%);
    color: #1a1a2e;
    text-decoration: none;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.3);
    cursor: pointer;
}

.open-map-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(0, 255, 136, 0.5);
}

.open-map-btn svg {
    width: 20px;
    height: 20px;
}

.map-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
    pointer-events: none;
    z-index: 1;
}

.map-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(26, 26, 46, 0.95);
    z-index: 3;
    gap: 1rem;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(0, 255, 136, 0.1);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.map-loading p {
    color: var(--primary-color);
    font-size: 1rem;
    margin: 0;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-preview-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
}

.map-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.map-preview-container:hover .map-preview-image {
    transform: scale(1.05);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.map-preview-container:hover .map-overlay {
    opacity: 1;
}

.map-overlay-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: white;
    text-decoration: none;
    padding: 2rem;
    border-radius: 20px;
    background: rgba(0, 255, 136, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.map-overlay-btn:hover {
    background: rgba(0, 255, 136, 0.2);
    transform: scale(1.1);
}

.map-overlay-btn svg {
    color: var(--primary-color);
}

.map-overlay-btn span {
    font-size: 1.2rem;
    font-weight: 600;
}

.map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 3rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
}

.map-placeholder svg {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.map-placeholder h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.map-placeholder p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    max-width: 400px;
}

/* ========================================
   Application Section
   ======================================== */
.application-section {
    padding: 6rem 0;
}

.application-form {
    max-width: 800px;
    margin: 0 auto;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--dark);
    border: none;
    padding: 1.2rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 255, 136, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-message {
    max-width: 800px;
    margin: 2rem auto 0;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    background: rgba(0, 255, 136, 0.1);
    border: 2px solid var(--primary);
    color: var(--primary);
    display: block;
}

.form-message.error {
    background: rgba(255, 68, 68, 0.1);
    border: 2px solid #ff4444;
    color: #ff4444;
    display: block;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 3rem 3rem;
    margin-top: 6rem;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.footer-left {
    flex: 1;
}

.footer-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

.footer-divider {
    color: var(--text-secondary);
    opacity: 0.5;
}

.footer-right {
    flex: 1;
    text-align: right;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding-left: 0;
}

.footer-right p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding-right: 0;
}

/* ========================================
   Scroll to Top Button
   ======================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top svg {
    width: 28px;
    height: 28px;
    stroke-width: 2.5;
    stroke: #ffffff;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 30px rgba(0, 255, 136, 0.5);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

/* ========================================
   Quick Links
   ======================================== */
.quick-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.quick-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.quick-link-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.quick-link-btn.discord {
    border-color: rgba(88, 101, 242, 0.5);
}

.quick-link-btn.discord:hover {
    background: rgba(88, 101, 242, 0.2);
    border-color: rgba(88, 101, 242, 0.8);
}

.quick-link-btn.wiki {
    border-color: rgba(0, 255, 136, 0.3);
}

.quick-link-btn.wiki:hover {
    background: rgba(0, 255, 136, 0.1);
    border-color: var(--primary-color);
}

.quick-link-btn svg {
    flex-shrink: 0;
}

/* ========================================
   Sticky Navbar
   ======================================== */
.navbar.scrolled {
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ========================================
   Map Modal
   ======================================== */
.map-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.map-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.map-modal-content {
    position: relative;
    width: 95%;
    height: 90%;
    max-width: 1400px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    border: 2px solid var(--glass-border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

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

.map-modal-content h2 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    color: var(--primary-color);
    text-align: center;
    font-size: 1.5rem;
    z-index: 2;
    border-bottom: 2px solid var(--glass-border);
}

.map-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 68, 68, 0.2);
    border: 2px solid rgba(255, 68, 68, 0.5);
    border-radius: 50%;
    color: white;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-modal-close:hover {
    background: rgba(255, 68, 68, 0.4);
    transform: rotate(90deg);
}

.map-modal-content iframe {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100% - 70px);
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .map-content {
        grid-template-columns: 1fr;
    }
    
    .map-preview {
        order: -1;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-subtitle {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
        padding-top: 70px;
    }
    
    .nav-container {
        padding: 0 1.5rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .theme-toggle {
        width: 40px;
        height: 40px;
        margin-left: 0.5rem;
    }
    
    .theme-toggle svg {
        width: 18px;
        height: 18px;
    }
    
    .hero {
        min-height: auto;
        padding: 6rem 0 3rem 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .status-card-hero {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .player-info {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-left,
    .footer-center,
    .footer-right {
        text-align: center;
    }
    
    .footer-center {
        justify-content: center;
    }
    
    .ip-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .ip-text {
        font-size: 1.2rem;
    }
    
    .application-form {
        padding: 2rem;
    }
    
    .map-frame {
        height: 400px;
    }
    
    .players-container {
        grid-template-columns: 1fr;
    }
    
    .online-players-list {
        padding: 1.5rem;
    }
    
    .features-section,
    .map-section,
    .application-section {
        padding: 4rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
        padding-top: 70px;
    }
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-logo {
        font-size: 1.2rem;
    }
    
    .logo-icon {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 4rem 0 2rem 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .server-ip-card,
    .status-card-hero,
    .online-players-list {
        padding: 1.2rem;
    }
    
    .ip-text {
        font-size: 1rem;
    }
    
    .ip-copy-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .status-text {
        font-size: 1rem;
    }
    
    .player-count {
        font-size: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .feature-title {
        font-size: 1.3rem;
    }
    
    .application-form {
        padding: 1.5rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.8rem;
        font-size: 0.95rem;
    }
    
    .submit-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .map-frame {
        height: 300px;
    }
    
    .map-btn {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }
    
    .map-features li {
        font-size: 0.9rem;
    }
    
    .features-section,
    .map-section,
    .application-section {
        padding: 3rem 0;
    }
    
    .footer {
        padding: 2rem 0;
        margin-top: 4rem;
    }
    
    .footer-logo {
        font-size: 1.1rem;
    }
    
    .footer-text,
    .footer-right p {
        font-size: 0.85rem;
    }
}

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

/* Header */
header {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    header {
        padding: 20px;
        gap: 15px;
    }
}

.logo h1 {
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.server-ip-box {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.server-ip-box label {
    font-weight: bold;
    font-size: 1.1em;
}

.ip-display {
    font-family: 'Courier New', monospace;
    font-size: 1.3em;
    font-weight: bold;
    color: #4CAF50;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 15px;
    border-radius: 5px;
}

.copy-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

/* Server Status */
.server-status {
    margin-bottom: 30px;
}

.status-card {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.status-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

.status-online .status-dot {
    background: #4CAF50;
    box-shadow: 0 0 20px #4CAF50;
}

.status-offline .status-dot {
    background: #f44336;
    box-shadow: 0 0 20px #f44336;
    animation: none;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.player-count {
    font-size: 2em;
    font-weight: bold;
    color: #4CAF50;
}

/* Sections */
section {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

section h2 {
    font-size: 2em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

section p {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-color: #4CAF50;
}

.feature h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

/* Map Section */
.map-section {
    text-align: center;
}

.map-btn {
    display: inline-block;
    background: #4CAF50;
    color: white;
    padding: 15px 40px;
    font-size: 1.2em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 10px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.map-btn:hover {
    background: #45a049;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
}

/* Application Form */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 1.1em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1em;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4CAF50;
    background: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group select option {
    background: #1e3c72;
    color: #fff;
}

.submit-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
}

.form-message {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    display: none;
    font-weight: bold;
}

.form-message.success {
    background: rgba(76, 175, 80, 0.3);
    border: 2px solid #4CAF50;
    color: #4CAF50;
    display: block;
}

.form-message.error {
    background: rgba(244, 67, 54, 0.3);
    border: 2px solid #f44336;
    color: #f44336;
    display: block;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px;
    margin-top: 30px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    .logo h1 {
        font-size: 2em;
    }

    .server-ip-box {
        flex-direction: column;
        width: 100%;
    }

    section {
        padding: 25px;
    }

    section h2 {
        font-size: 1.5em;
    }

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

/* ========================================
   Cookie Consent Banner
   ======================================== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 20, 0.98);
    backdrop-filter: blur(20px);
    border-top: 2px solid var(--primary);
    padding: 1.5rem;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.5);
}

.cookie-banner.show {
    transform: translateY(0);
}

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

.cookie-text h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.cookie-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 700px;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.cookie-btn.accept {
    background: linear-gradient(135deg, var(--primary) 0%, #00d4aa 100%);
    color: #0a0a14;
    box-shadow: 0 5px 20px rgba(0, 255, 136, 0.3);
}

.cookie-btn.accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 255, 136, 0.5);
}

.cookie-btn.decline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-btn.decline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .cookie-text p {
        max-width: 100%;
    }
}
