@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&family=Press+Start+2P&display=swap');

:root {
    --primary-color: #6366F1;
    --primary-light: #818CF8;
    --primary-dark: #4F46E5;
    --secondary-color: #8B5CF6;
    --accent-color: #10B981;
    --accent-orange: #F59E0B;
    --dark-bg: #0B0E1A;
    --darker-bg: #050712;
    --card-bg: #1A1F35;
    --card-bg-light: #242B45;
    --text-primary: #FFFFFF;
    --text-secondary: #E2E8F0;
    --text-muted: #94A3B8;
    --border-color: #2D3548;
    --success-color: #10B981;
    --error-color: #EF4444;
    --hover-color: rgba(99, 102, 241, 0.15);
    --glow-primary: rgba(99, 102, 241, 0.4);
}

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

body {
    font-family: 'Space Grotesk', 'Rajdhani', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, var(--darker-bg) 0%, #0A0D18 50%, var(--darker-bg) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-weight: 400;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    animation: bgMove 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes bgMove {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-5%, -5%) rotate(5deg); }
}

main {
    flex: 1;
    position: relative;
    z-index: 1;
}

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

.site-header {
    background: linear-gradient(180deg, rgba(11, 14, 26, 0.98) 0%, rgba(11, 14, 26, 0.95) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(99, 102, 241, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 20px;
    gap: 2rem;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    height: 48px;
    width: auto;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.5));
    transition: all 0.3s ease;
}

.logo img:hover {
    transform: translateY(-2px) scale(1.05);
    filter: drop-shadow(0 6px 16px rgba(99, 102, 241, 0.7));
}

.main-nav {
    flex: 1;
    display: flex;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.main-nav a,
.main-nav button {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.main-nav a::before,
.main-nav button::before {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 70%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: transform 0.3s ease;
    border-radius: 2px;
}

.main-nav a:hover,
.main-nav button:hover {
    color: var(--text-primary);
    background: var(--hover-color);
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.main-nav a:hover::before,
.main-nav button:hover::before {
    transform: translateX(-50%) scaleX(1);
}

.lang-switcher {
    position: relative;
    flex-shrink: 0;
}

.lang-toggle {
    background: linear-gradient(135deg, var(--card-bg), var(--card-bg-light));
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.7rem;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lang-toggle:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 0 30px var(--glow-primary);
    transform: translateY(-2px);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: linear-gradient(135deg, var(--card-bg), var(--card-bg-light));
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 160px;
    display: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.lang-dropdown.active {
    display: block;
    animation: slideDown 0.3s ease-out;
}

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

.lang-option {
    display: block;
    padding: 0.8rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
}

.lang-option:hover,
.lang-option.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-primary);
    transform: translateX(4px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
    transition: all 0.3s;
}

.hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--dark-bg);
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: blur(3px);
    transform: scale(1.05);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(99, 102, 241, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(139, 92, 246, 0.25) 0%, transparent 50%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, 
                rgba(11, 14, 26, 0.3) 0%, 
                rgba(11, 14, 26, 0.6) 40%,
                rgba(11, 14, 26, 0.85) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 1000px;
    padding: 3rem 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #818CF8 50%, #A78BFA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px rgba(129, 140, 248, 0.3);
    animation: fadeInUp 0.8s ease-out, textGlow 3s ease-in-out infinite;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.3;
}

@keyframes textGlow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(129, 140, 248, 0.4)); }
    50% { filter: drop-shadow(0 0 40px rgba(129, 140, 248, 0.7)); }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 400;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    letter-spacing: 0.02em;
}

.server-status {
    display: inline-block;
    background: linear-gradient(135deg, rgba(26, 31, 53, 0.95) 0%, rgba(36, 43, 69, 0.95) 100%);
    padding: 2.5rem 4rem;
    border-radius: 24px;
    backdrop-filter: blur(20px) saturate(180%);
    animation: fadeInUp 0.8s ease-out 0.4s both;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.server-status::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 24px;
    padding: 3px;
    background: linear-gradient(
        45deg,
        #6366F1, #8B5CF6, #F59E0B, #10B981, 
        #6366F1, #8B5CF6, #F59E0B, #10B981
    );
    background-size: 300% 300%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: rotatingBorder 4s linear infinite, borderPulse 2s ease-in-out infinite;
    pointer-events: none;
}

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

@keyframes borderPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.server-status::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transform: rotate(45deg);
    animation: shimmer 4s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.server-status:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 35px 80px rgba(0, 0, 0, 0.6),
        0 0 0 2px rgba(99, 102, 241, 0.6),
        0 0 60px rgba(99, 102, 241, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.status-loading {
    color: var(--text-secondary);
    font-size: 1.2rem;
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.status-online,
.status-offline {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.status-online {
    color: var(--accent-color);
    text-shadow: 
        0 0 30px rgba(16, 185, 129, 0.8),
        0 0 60px rgba(16, 185, 129, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

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

.status-offline {
    color: var(--error-color);
    text-shadow: 
        0 0 30px rgba(239, 68, 68, 0.8),
        0 0 60px rgba(239, 68, 68, 0.4);
}

.status-players {
    margin-top: 1.5rem;
    font-size: 4rem;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, #818CF8 0%, #A78BFA 50%, #C4B5FD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 40px rgba(129, 140, 248, 0.5);
}

.status-label {
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    position: relative;
    z-index: 1;
}

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

.intro-section,
.content-section {
    position: relative;
}

.intro-section {
    padding: 4.5rem 0;
    background: linear-gradient(135deg, rgba(26, 31, 53, 0.6) 0%, rgba(36, 43, 69, 0.4) 100%);
    border-top: 2px solid transparent;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, 
        transparent, 
        rgba(99, 102, 241, 0.5), 
        rgba(245, 158, 11, 0.5), 
        rgba(16, 185, 129, 0.5), 
        transparent) 1;
    position: relative;
    overflow: hidden;
}

.intro-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--primary-color), 
        var(--accent-orange), 
        var(--accent-color), 
        transparent);
    background-size: 200% 100%;
    animation: gradientSlide 6s linear infinite;
}

.intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.intro-section h2,
.content-section h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    font-weight: 400;
    font-family: 'Press Start 2P', 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, #FFFFFF 0%, #818CF8 50%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.5;
    text-shadow: 0 0 40px rgba(129, 140, 248, 0.4);
    animation: textGlow 3s ease-in-out infinite;
}

.about-hero {
    background: linear-gradient(135deg, var(--darker-bg) 0%, #0F1420 50%, var(--dark-bg) 100%);
    border-bottom: 2px solid rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
}

.about-hero h1 {
    font-size: 3.5rem;
    font-weight: 400;
    font-family: 'Press Start 2P', 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, #FFFFFF 0%, #818CF8 50%, #A78BFA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0;
    text-align: center;
}

.content-section {
    padding: 0.5rem 0;
}

.contact-page-grid {
    padding: 4rem 0;
}

.contact-hero {
    background: linear-gradient(135deg, var(--darker-bg) 0%, #0F1420 50%, var(--dark-bg) 100%);
    border-bottom: 2px solid rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
}

.contact-hero h1 {
    font-size: 3.5rem;
    font-weight: 400;
    font-family: 'Press Start 2P', 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, #FFFFFF 0%, #818CF8 50%, #A78BFA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0;
    text-align: center;
}

.intro-section p,
.content-section p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.9;
    max-width: 900px;
    font-weight: 400;
}

.page-header {
    background: linear-gradient(135deg, var(--darker-bg) 0%, #0F1420 50%, var(--dark-bg) 100%);
    padding: 0;
    min-height: 200px;
    border-bottom: 2px solid rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

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

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 400;
    font-family: 'Press Start 2P', 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, #FFFFFF 0%, #818CF8 50%, #A78BFA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    line-height: 1.4;
    text-shadow: 0 0 50px rgba(129, 140, 248, 0.5);
    animation: textGlow 3s ease-in-out infinite;
    margin: 0;
}

.about-content {
    max-width: 1000px;
    background: linear-gradient(135deg, rgba(26, 31, 53, 0.7) 0%, rgba(36, 43, 69, 0.7) 100%);
    padding: 4rem;
    border-radius: 24px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(99, 102, 241, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.about-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-orange));
}

.about-content h2 {
    margin-bottom: 2rem;
}

.about-content p {
    margin-bottom: 1.8rem;
    font-size: 1.15rem;
    line-height: 2;
}

.shop-maintenance {
    text-align: center;
    padding: 5rem 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.maintenance-icon {
    font-size: 6rem;
    margin-bottom: 2rem;
    animation: spin 4s linear infinite;
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.5));
}

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

.shop-maintenance h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, #FFFFFF 0%, #818CF8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
}

.shop-maintenance p {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.contact-form-wrapper {
    max-width: 800px;
}

.alert {
    padding: 1.5rem 2rem;
    border-radius: 16px;
    margin-bottom: 2.5rem;
    font-weight: 600;
    border: 2px solid;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
}

.alert-success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.1) 100%);
    border-color: var(--success-color);
    color: var(--success-color);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.2);
}

.alert-error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2) 0%, rgba(239, 68, 68, 0.1) 100%);
    border-color: var(--error-color);
    color: var(--error-color);
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.2);
}

.alert ul {
    margin-left: 1.5rem;
}

.contact-form {
    background: linear-gradient(135deg, rgba(26, 31, 53, 0.8) 0%, rgba(36, 43, 69, 0.8) 100%);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(99, 102, 241, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

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

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    color: var(--text-primary);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(11, 14, 26, 0.6);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1.05rem;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.3s ease;
    font-weight: 400;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 
        0 0 0 4px rgba(99, 102, 241, 0.15),
        0 0 20px rgba(99, 102, 241, 0.2);
    background: rgba(11, 14, 26, 0.8);
}

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

.btn {
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 50%, var(--accent-orange) 100%);
    background-size: 200% 100%;
    color: var(--text-primary);
    box-shadow: 
        0 6px 20px rgba(99, 102, 241, 0.4),
        0 0 0 1px rgba(99, 102, 241, 0.5);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.btn-primary::before {
    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, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    background-position: 100% 0;
    box-shadow: 
        0 10px 30px rgba(99, 102, 241, 0.6),
        0 0 40px rgba(245, 158, 11, 0.4),
        0 0 0 2px rgba(99, 102, 241, 0.7);
}

.site-footer {
    background: linear-gradient(180deg, rgba(11, 14, 26, 0.9) 0%, var(--darker-bg) 100%);
    border-top: 2px solid transparent;
    padding: 5rem 0 2rem;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--primary-color), 
        var(--secondary-color), 
        var(--accent-orange), 
        var(--accent-color), 
        transparent);
    background-size: 200% 100%;
    animation: gradientSlide 8s linear infinite;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    background: linear-gradient(135deg, #FFFFFF 0%, #818CF8 50%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-family: 'Press Start 2P', 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.6;
    text-shadow: 0 0 30px rgba(129, 140, 248, 0.3);
}

.footer-section p {
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    font-size: 1rem;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--primary-light);
    transform: translateX(5px);
    text-shadow: 0 0 15px rgba(129, 140, 248, 0.5);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-family: 'Rajdhani', sans-serif;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-light);
    text-shadow: 0 0 15px rgba(129, 140, 248, 0.5);
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
}

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

.modal-content {
    background: linear-gradient(135deg, rgba(26, 31, 53, 0.98) 0%, rgba(36, 43, 69, 0.98) 100%);
    padding: 3.5rem;
    border-radius: 28px;
    border: 2px solid rgba(99, 102, 241, 0.4);
    max-width: 600px;
    width: 90%;
    text-align: center;
    animation: modalFadeIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 
        0 30px 90px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(99, 102, 241, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-orange));
}

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

.modal-content h2 {
    background: linear-gradient(135deg, #FFFFFF 0%, #818CF8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.2rem;
    text-transform: uppercase;
}

.modal-content p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.9;
    font-size: 1.15rem;
}

.modal-close {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-primary);
    border: none;
    padding: 1rem 3rem;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    position: relative;
    overflow: hidden;
}

.modal-close::before {
    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, height 0.6s;
}

.modal-close:hover::before {
    width: 300px;
    height: 300px;
}

.modal-close:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.5);
}

.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-intro {
    background: linear-gradient(135deg, rgba(26, 31, 53, 0.7) 0%, rgba(36, 43, 69, 0.7) 100%);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(99, 102, 241, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.contact-intro h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, #FFFFFF 0%, #818CF8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
}

.contact-intro p {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 2rem;
}

.contact-info {
    margin-top: 2rem;
}

.contact-info h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    color: var(--text-primary);
    text-transform: uppercase;
}

.contact-info-item {
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(11, 14, 26, 0.4);
    border-radius: 12px;
    border-left: 3px solid var(--primary-color);
}

.contact-info-item strong {
    color: var(--primary-light);
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.contact-info-item span {
    color: var(--text-secondary);
    display: block;
    margin-top: 0.3rem;
    font-size: 1.05rem;
}

.feature-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 0;
    padding: 0;
}

.feature-section:nth-child(even) {
    direction: rtl;
}

.feature-section:nth-child(even) > * {
    direction: ltr;
}

.feature-content {
    padding: 0.5rem 1rem;
}

.feature-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, #FFFFFF 0%, #818CF8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.feature-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.9;
}

.feature-image {
    position: relative;
    border-radius: 24px;
    overflow: visible;
    transition: all 0.4s ease;
}

.feature-image::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 24px;
    padding: 3px;
    background: linear-gradient(
        90deg,
        #6366F1, #10B981, #F59E0B, #8B5CF6,
        #6366F1, #10B981, #F59E0B, #8B5CF6
    );
    background-size: 400% 100%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: borderSlide 6s linear infinite;
    opacity: 0.7;
    z-index: -1;
    transition: all 0.4s ease;
}

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

/* Hover-Effekt für Desktop/Laptop */
@media (min-width: 1024px) {
    .feature-image:hover {
        transform: translateY(-8px) scale(1.05);
    }

    .feature-image:hover::after {
        opacity: 1;
        animation-duration: 3s;
        box-shadow: 
            0 0 40px rgba(99, 102, 241, 0.6),
            0 0 80px rgba(99, 102, 241, 0.3);
    }
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
    border-radius: 24px;
}

.beta-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: linear-gradient(135deg, var(--accent-orange), #F97316);
    color: var(--text-primary);
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 
        0 4px 15px rgba(245, 158, 11, 0.4),
        0 0 30px rgba(245, 158, 11, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

.community-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(11, 14, 26, 0.95) 0%, rgba(26, 31, 53, 0.95) 100%);
    position: relative;
    overflow: hidden;
}

.community-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        #6366F1 20%,
        #10B981 40%,
        #F59E0B 60%,
        #8B5CF6 80%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: slideAnimation 4s linear infinite;
}


.community-section h2 {
    font-family: 'Press Start 2P', 'Rajdhani', sans-serif;
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #818CF8 50%, #10B981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.community-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 900px;
    margin: 0 auto 4rem;
    line-height: 1.8;
}

.community-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.community-card {
    background: linear-gradient(135deg, rgba(26, 31, 53, 0.8) 0%, rgba(36, 43, 69, 0.8) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.community-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.community-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

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

.community-card h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.community-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.community-cta {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 24px;
    border: 2px solid rgba(99, 102, 241, 0.3);
}

.cta-text {
    font-family: 'Press Start 2P', 'Rajdhani', sans-serif;
    font-size: 1.3rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #818CF8 50%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.page-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, rgba(11, 14, 26, 0.95) 0%, rgba(26, 31, 53, 0.95) 100%);
    text-align: center;
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        #6366F1 20%,
        #10B981 40%,
        #F59E0B 60%,
        #8B5CF6 80%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: slideAnimation 4s linear infinite;
}

.page-header h1 {
    font-family: 'Press Start 2P', 'Rajdhani', sans-serif;
    font-size: 3rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #818CF8 50%, #A78BFA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-section {
    padding: 6rem 0;
    background: var(--dark-bg);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(26, 31, 53, 0.6) 0%, rgba(36, 43, 69, 0.6) 100%);
    padding: 4rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
}

.legal-content h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    margin-top: 3rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-content h4 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.legal-content ul {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.legal-content ul li {
    margin-bottom: 0.5rem;
}

.legal-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.rules-section {
    padding: 6rem 0;
    background: var(--dark-bg);
}

.rules-intro {
    max-width: 900px;
    margin: 0 auto 4rem;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

.rules-intro p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.rule-card {
    background: linear-gradient(135deg, rgba(26, 31, 53, 0.8) 0%, rgba(36, 43, 69, 0.8) 100%);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.rule-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.rule-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
}

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

.rule-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.rule-card h3 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.rule-card ul {
    list-style: none;
    position: relative;
    z-index: 1;
}

.rule-card ul li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.rule-card ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-light);
    font-weight: bold;
}

.rules-footer {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(239, 68, 68, 0.1) 100%);
    border-radius: 24px;
    border: 2px solid rgba(245, 158, 11, 0.3);
}

.rules-footer h2 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.rules-footer ul {
    list-style: none;
    margin-bottom: 2rem;
}

.rules-footer ul li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.2rem;
    padding-left: 1.5rem;
    position: relative;
}

.rules-footer ul li::before {
    content: '⚠️';
    position: absolute;
    left: 0;
    top: 0;
}

.rules-contact {
    text-align: center;
    font-size: 1.1rem;
    color: var(--primary-light);
    font-weight: 600;
    margin: 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(245, 158, 11, 0.3);
}

.main-nav {
    justify-content: flex-end;
}

.mobile-lang-item {
    display: none;
}

@media (min-width: 1024px) {
    .header-container {
        gap: 3rem;
    }
    
    .main-nav {
        flex: 1;
        justify-content: flex-end;
    }
}

/* ============================================
   MOBILE & TABLET CSS (Komplett neu geschrieben)
   ============================================ */

@media (max-width: 1023px) {
    /* Container & Layout - AUSSER header-container */
    .container:not(.header-container) {
        padding: 0 15px;
    }
    
    /* HEADER - Mitteldicke mit Logo und Hamburger mittig zentriert */
    .site-header {
        border-bottom: 1px solid rgba(99, 102, 241, 0.2) !important;
    }
    
    .site-header .header-container {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 2.2rem 20px !important;
        gap: 2rem;
        position: relative;
    }
    
    /* Logo - Mittig, Klein und KONSTANT */
    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .logo img {
        height: 28px;
        filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.5));
    }
    
    /* ALLE Hover-Effekte KOMPLETT deaktiviert in Mobile */
    .logo img:hover,
    .feature-image:hover,
    .feature-image img:hover,
    .feature-image::after:hover,
    .btn:hover,
    .nav-link:hover,
    .server-status:hover,
    a:hover,
    button:hover {
        transform: none !important;
        box-shadow: none !important;
        filter: drop-shadow(0 4px 12px rgba(99, 102, 241, 0.5)) !important;
    }
    
    /* Hamburger Menu - Rechts, Klein */
    .mobile-menu-toggle {
        display: flex;
        padding: 0.4rem;
        z-index: 1001;
        margin-left: auto;
    }
    
    .mobile-menu-toggle span {
        width: 24px;
        height: 2.5px;
    }
    
    /* Hamburger Animation zum X */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* NAVIGATION - Öffnet DIREKT UNTER dem Header nach unten */
    .main-nav {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        background: linear-gradient(180deg, rgba(11, 14, 26, 0.98) 0%, rgba(11, 14, 26, 0.95) 100%);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(99, 102, 241, 0.2);
        transition: max-height 0.4s ease;
        z-index: 998;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
        opacity: 0;
        visibility: hidden;
    }
    
    .main-nav.active {
        max-height: calc(100vh - 76px);
        overflow-y: auto;
        opacity: 1;
        visibility: visible;
    }
    
    /* Navigation Layout */
    .main-nav ul {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 1rem 0 1.5rem 0;
    }
    
    .main-nav li {
        width: 100%;
        border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    }
    
    .main-nav a,
    .main-nav button {
        display: block;
        width: 100%;
        padding: 1.2rem 20px;
        text-align: center;
        border-radius: 0;
        transform: none !important;
    }
    
    .main-nav a::before,
    .main-nav button::before {
        display: none;
    }
    
    /* Language Switcher in Mobile Menu */
    .mobile-lang-item {
        display: block;
        border-top: 2px solid rgba(99, 102, 241, 0.3);
    }
    
    .mobile-lang-switcher {
        padding: 1rem 20px;
    }
    
    .mobile-lang-switcher .lang-option {
        margin-bottom: 0.5rem;
        padding: 1rem;
        display: block;
        border: 1px solid var(--border-color);
        border-radius: 8px;
        text-align: center;
    }
    
    .desktop-lang-switcher {
        display: none;
    }
    
    /* Hero Section */
    .hero {
        min-height: 500px;
        background-attachment: scroll;
        padding: 2rem 0;
    }
    
    .hero-content {
        padding: 2rem 1rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Server Status */
    .server-status {
        padding: 1.5rem 2rem;
        margin: 2rem 0;
    }
    
    .status-players {
        font-size: 2.5rem;
    }
    
    /* Page Headers */
    .about-hero h1,
    .contact-hero h1,
    .page-header h1 {
        font-size: 2rem;
        padding: 0 1rem;
        word-break: break-word;
    }
    
    .about-hero,
    .contact-hero,
    .page-header {
        padding: 3rem 0;
    }
    
    /* Content Sections */
    .about-content {
        padding: 2rem 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .intro-section h2,
    .content-section h2 {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .intro-section p,
    .content-section p {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .community-section h2,
    .feature-grid h3 {
        font-size: 1.6rem;
    }
    
    /* Footer */
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    /* Modal */
    .modal-content {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
    
    /* Contact Page Grid */
    .contact-page-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Feature Sections (About Page) */
    .feature-section {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
        padding: 1.5rem 0;
    }
    
    .feature-section:nth-child(even) {
        direction: ltr;
    }
    
    .feature-content {
        padding: 0.5rem 0;
    }
    
    .feature-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .feature-image img {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
        transform: none !important;
    }
    
    /* Buttons */
    .btn {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* Rules Page */
    .rules-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .rule-card h3 {
        font-size: 1.4rem;
    }
    
    /* Footer Grid */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ============================================
   EXTRA SMALL MOBILE (max 767px)
   ============================================ */

@media (max-width: 767px) {
    /* HEADER - Mitteldicke auf kleinen Screens */
    .site-header .header-container {
        padding: 2.5rem 18px !important;
        gap: 1.5rem;
    }
    
    /* Logo bleibt KONSTANT bei 28px - ist schon definiert */
    
    /* Hamburger kleiner */
    .mobile-menu-toggle span {
        width: 22px;
        height: 2px;
    }
    
    /* Navigation Position angepasst */
    .main-nav {
        top: 84px;
    }
    
    .main-nav.active {
        max-height: calc(100vh - 84px);
    }
    
    /* Hero */
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    /* Page Headers */
    .about-hero h1,
    .contact-hero h1,
    .page-header h1 {
        font-size: 1.6rem;
    }
    
    /* Content */
    .intro-section h2,
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .feature-content h2 {
        font-size: 1.5rem;
    }
    
    /* Server Status */
    .server-status {
        padding: 1.2rem 1.5rem;
    }
    
    .status-players {
        font-size: 2rem;
    }
    
    /* Container */
    .container {
        padding: 0 12px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .hero {
        min-height: 600px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .about-hero h1,
    .contact-hero h1,
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .intro-section h2,
    .content-section h2 {
        font-size: 2.2rem;
    }
}

/* Wartungs-Popup Modal */
.maintenance-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.maintenance-modal.active {
    opacity: 1;
    visibility: visible;
}

.maintenance-modal-content {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.98) 0%, rgba(30, 41, 59, 0.98) 100%);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 550px;
    width: 100%;
    position: relative;
    border: 2px solid rgba(99, 102, 241, 0.3);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(99, 102, 241, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: modalSlideIn 0.4s ease-out;
}

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

.maintenance-modal-header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.maintenance-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: rotate 4s linear infinite;
}

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

.maintenance-modal-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #FFFFFF 0%, #818CF8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.maintenance-modal-subtitle {
    font-size: 0.95rem;
    color: var(--accent-cyan);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.maintenance-modal-body {
    margin-bottom: 2rem;
}

.maintenance-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 2rem;
    text-align: center;
}

.progress-container {
    margin-bottom: 1rem;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.progress-text {
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.progress-percentage {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.1rem;
    color: var(--accent-green);
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

.progress-bar-bg {
    height: 28px;
    background: rgba(15, 23, 42, 0.8);
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid rgba(99, 102, 241, 0.2);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, 
        #10B981 0%, 
        #34D399 50%, 
        #10B981 100%);
    background-size: 200% 100%;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    animation: progressGlow 2s ease-in-out infinite;
    box-shadow: 
        0 0 20px rgba(16, 185, 129, 0.6),
        0 0 40px rgba(16, 185, 129, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: width 0.6s ease-out;
}

.progress-bar-fill::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 100%);
    animation: progressShine 2.5s infinite;
}

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

@keyframes progressGlow {
    0%, 100% {
        background-position: 0% 50%;
        box-shadow: 
            0 0 20px rgba(16, 185, 129, 0.6),
            0 0 40px rgba(16, 185, 129, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    50% {
        background-position: 100% 50%;
        box-shadow: 
            0 0 30px rgba(16, 185, 129, 0.8),
            0 0 60px rgba(16, 185, 129, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

.maintenance-status-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    margin-top: 1.5rem;
}

.status-dot {
    width: 10px;
    height: 10px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.8);
}

.status-text {
    color: var(--accent-green);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.maintenance-close-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--accent-cyan) 0%, #0EA5E9 100%);
    color: var(--text-primary);
    border: none;
    border-radius: 12px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 15px rgba(6, 182, 212, 0.4),
        0 0 30px rgba(6, 182, 212, 0.2);
}

.maintenance-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 20px rgba(6, 182, 212, 0.6),
        0 0 40px rgba(6, 182, 212, 0.3);
}

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

/* Mobile Anpassungen */
@media (max-width: 767px) {
    .maintenance-modal-content {
        padding: 1.8rem 1.5rem;
        max-width: 100%;
        margin: 1rem;
    }
    
    .maintenance-modal-title {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .maintenance-icon {
        font-size: 2.5rem;
    }
    
    .maintenance-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .progress-percentage {
        font-size: 0.9rem;
    }
    
    .progress-bar-bg {
        height: 24px;
    }
    
    .maintenance-close-btn {
        padding: 0.9rem;
        font-size: 1rem;
    }
}

/* Team Page Styles */
.team-hero {
    background: linear-gradient(135deg, rgba(11, 14, 26, 0.95) 0%, rgba(26, 31, 53, 0.95) 100%);
    padding: 8rem 0 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.team-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    opacity: 0.5;
}

.team-hero h1 {
    font-family: 'Press Start 2P', cursive;
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #818CF8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.team-hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

.team-section {
    padding: 6rem 0;
    background: var(--bg-color);
}

.team-rank-group {
    margin-bottom: 5rem;
}

.team-rank-title {
    text-align: center;
    margin-bottom: 3rem;
}

.rank-badge {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-family: 'Press Start 2P', cursive;
    font-size: 1.2rem;
    text-transform: uppercase;
    border-radius: 12px;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.rank-badge.rank-admin {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
}

.rank-badge.rank-developer {
    background: linear-gradient(135deg, #55FFFF 0%, #00E5E5 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(85, 255, 255, 0.4);
}

.rank-badge.rank-srmoderator {
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A6F 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.4);
}

.rank-badge.rank-moderator {
    background: linear-gradient(135deg, #FF6B6B 0%, #EE5A6F 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.4);
}

.rank-badge.rank-supporter {
    background: linear-gradient(135deg, #5555FF 0%, #4444DD 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(85, 85, 255, 0.4);
}

.rank-badge.rank-media {
    background: linear-gradient(135deg, #A855F7 0%, #9333EA 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    justify-content: center;
    justify-items: center;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.team-member-card {
    background: linear-gradient(135deg, rgba(26, 31, 53, 0.6) 0%, rgba(36, 43, 69, 0.6) 100%);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 2px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.team-member-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

@media (min-width: 1024px) {
    .team-member-card:hover {
        transform: translateY(-8px);
        border-color: rgba(99, 102, 241, 0.5);
        box-shadow: 
            0 20px 40px rgba(0, 0, 0, 0.4),
            0 0 40px rgba(99, 102, 241, 0.3);
    }

    .team-member-card:hover::before {
        opacity: 1;
    }

    .team-member-card:hover .member-avatar img {
        transform: scale(1.1);
    }
}

.member-avatar {
    width: 128px;
    height: 128px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.member-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.4),
        0 0 0 4px rgba(99, 102, 241, 0.3);
    transition: transform 0.3s ease;
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

.member-info {
    position: relative;
    z-index: 1;
}

.member-name {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.member-rank {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 8px;
    letter-spacing: 0.05em;
}

.member-rank.rank-admin {
    background: rgba(239, 68, 68, 0.2);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
}

.member-rank.rank-developer {
    background: rgba(85, 255, 255, 0.2);
    color: #55FFFF;
    border: 1px solid rgba(85, 255, 255, 0.4);
}

.member-rank.rank-srmoderator {
    background: rgba(255, 107, 107, 0.2);
    color: #FF6B6B;
    border: 1px solid rgba(255, 107, 107, 0.4);
}

.member-rank.rank-moderator {
    background: rgba(255, 107, 107, 0.2);
    color: #FF6B6B;
    border: 1px solid rgba(255, 107, 107, 0.4);
}

.member-rank.rank-supporter {
    background: rgba(85, 85, 255, 0.2);
    color: #5555FF;
    border: 1px solid rgba(85, 85, 255, 0.4);
}

.member-rank.rank-media {
    background: rgba(168, 85, 247, 0.2);
    color: #A855F7;
    border: 1px solid rgba(168, 85, 247, 0.4);
}

/* Team Page Mobile */
@media (max-width: 767px) {
    .team-hero {
        padding: 5rem 0 3rem;
    }
    
    .team-hero h1 {
        font-size: 1.6rem;
        line-height: 1.5;
    }
    
    .team-hero-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .team-section {
        padding: 3rem 0;
    }
    
    .rank-badge {
        font-size: 0.85rem;
        padding: 0.6rem 1.2rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 1.5rem;
    }
    
    .team-member-card {
        padding: 1.5rem 1rem;
    }
    
    .member-avatar {
        width: 96px;
        height: 96px;
        margin-bottom: 1rem;
    }
    
    .member-name {
        font-size: 1.1rem;
    }
    
    .member-rank {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .team-hero h1 {
        font-size: 2.5rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}
