:root {
    /* --- NEUE FARBPALETTE (Basierend auf dem Logo) --- */
    
    /* Die Farbe der Kristalle und der Schrift-Highlights */
    --primary: #00e5ff;      /* Leuchtendes Cyan/Eisblau */
    --primary-dark: #00b0c7; /* Dunkleres Cyan für Hover-Effekte */
    
    /* Die Farbe des Stein-Rahmens und der Runen */
    --accent: #607d8b;       /* Kühles Stein-Grau/Blau */
    --accent-glow: #cfd8dc;  /* Helles Silber für Highlights */
    
    /* Hintergrund: Nicht mehr reines Schwarz, sondern sehr tiefes Nachtblau */
    --bg-dark: #05070a;      
    --bg-light: #0f1419;     
    
    --text: #e0f7fa;         /* Ein sehr helles, kühles Weiß */
    
    /* Glas-Effekt mit leichtem Blaustich */
    --glass: rgba(15, 20, 25, 0.9);
    
    /* Der Glow ist jetzt Eisblau statt Gold */
    --border-glow: rgba(0, 229, 255, 0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

body {
    font-family: 'Lato', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text);
    overflow-x: hidden;
}

/* Custom Scrollbar (Frost Look) */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { 
    background: #263238; 
    border-radius: 5px; 
    border: 1px solid rgba(0, 229, 255, 0.2); 
}
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

/* Typografie */
h1, h2, h3, .logo { font-family: 'Cinzel', serif; text-transform: uppercase; }

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background: var(--glass);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    /* Rahmen ist jetzt Eisblau statt Grün */
    border-bottom: 1px solid rgba(0, 229, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.logo { 
    font-size: 1.8rem; 
    color: var(--text); 
    font-weight: 900; 
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5); /* Leichter Frost-Glow */
}
.logo span { color: var(--primary); }

.nav-links { list-style: none; display: flex; gap: 30px; }
.nav-links a { text-decoration: none; color: var(--text); font-weight: 700; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); text-shadow: 0 0 8px var(--primary); }

.btn-discord {
    background: #5865F2; padding: 10px 20px; border-radius: 5px; text-decoration: none; color: white; font-weight: bold;
    transition: 0.3s;
    border: 1px solid rgba(255,255,255,0.1);
}
.btn-discord:hover { background: #4752c4; box-shadow: 0 0 15px rgba(88, 101, 242, 0.4); }

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-dark);
}

.overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
}

/* Das animierte Hintergrundbild */
.hero-bg-image {
    position: absolute; top: -5%; left: -5%; width: 110%; height: 110%;
    background: url('../img/bg.png') no-repeat center center/cover;
    transition: transform 0.1s ease-out; /* Weiche Bewegung */
    z-index: 1;
}

/* Der Gradient liegt darüber für Lesbarkeit */
.overlay::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(5, 7, 10, 0.4), var(--bg-dark));
    z-index: 2;
}

.hero-content { position: relative; z-index: 3; max-width: 900px; padding: 20px; }
.hero h1 { 
    font-size: 5rem; 
    margin-bottom: 10px; 
    /* Schatten angepasst auf Cyan */
    text-shadow: 0 0 30px rgba(0, 229, 255, 0.6); 
    letter-spacing: 5px; font-weight: 900;
}

/* Glitch Effect (Angepasst auf Cyan/Weiß) */
.glitch-effect { position: relative; color: var(--text); }
.glitch-effect::before, .glitch-effect::after {
    content: attr(data-text); position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-dark); opacity: 0.8;
}
.glitch-effect::before {
    left: 2px; text-shadow: -2px 0 #00e5ff; clip-path: inset(44% 0 61% 0); /* Cyan Glitch */
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
}
.glitch-effect::after {
    left: -2px; text-shadow: -2px 0 #ffffff; clip-path: inset(50% 0 30% 0); /* White Glitch */
    animation: glitch-anim-2 2.5s infinite linear alternate-reverse;
}
/* Animationen bleiben gleich */
@keyframes glitch-anim-1 {
    0% { clip-path: inset(20% 0 80% 0); } 20% { clip-path: inset(60% 0 10% 0); }
    40% { clip-path: inset(40% 0 50% 0); } 60% { clip-path: inset(80% 0 5% 0); }
    80% { clip-path: inset(10% 0 70% 0); } 100% { clip-path: inset(30% 0 20% 0); }
}
@keyframes glitch-anim-2 {
    0% { clip-path: inset(10% 0 60% 0); } 20% { clip-path: inset(30% 0 10% 0); }
    40% { clip-path: inset(70% 0 20% 0); } 60% { clip-path: inset(20% 0 50% 0); }
    80% { clip-path: inset(50% 0 30% 0); } 100% { clip-path: inset(0% 0 80% 0); }
}

.subtitle { font-size: 1.8rem; margin-bottom: 30px; color: var(--accent-glow); font-weight: 300; text-shadow: 0 2px 10px rgba(0,0,0,0.8); }

/* Server Box */
.server-box {
    background: rgba(15, 20, 25, 0.85);
    border: 2px solid #37474f; /* Dunkler Stein-Rahmen */
    border-bottom: 4px solid var(--primary); /* Eisblauer Boden */
    display: inline-block;
    padding: 20px 40px;
    border-radius: 10px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); box-shadow: 0 25px 40px rgba(0, 229, 255, 0.1); } /* Leichter blauer Schatten beim Schweben */
    100% { transform: translateY(0px); }
}
.status-indicator { display: flex; align-items: center; justify-content: center; gap: 10px; margin-bottom: 5px; font-weight: bold; }
.ping-dot {
    width: 12px; height: 12px; background-color: #00e676; /* Grün lassen für "Online" oder zu Cyan ändern */
    border-radius: 50%;
    box-shadow: 0 0 15px #00e676; animation: pulse 2s infinite;
}
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } }

/* Server IP Box */
.server-ip-container {
    margin-top: 15px;
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 15px;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: 0.3s;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    font-family: 'Courier New', monospace;
    color: var(--primary);
    position: relative;
}
.server-ip-container:hover {
    background: rgba(0, 229, 255, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}
.server-ip-container:active { transform: scale(0.98); }
.copy-tooltip {
    position: absolute; top: -30px; left: 50%; transform: translateX(-50%);
    background: var(--primary); color: #000; padding: 2px 8px; border-radius: 4px;
    font-size: 0.8rem; font-weight: bold; opacity: 0; transition: 0.3s; pointer-events: none;
}
.server-ip-container.copied .copy-tooltip { opacity: 1; top: -35px; }

/* Buttons */
.cta-group { display: flex; gap: 20px; justify-content: center; margin-top: 20px; }
.btn-primary { 
    background: var(--primary); color: #000; /* Schwarzer Text auf hellem Cyan liest sich besser */
    padding: 15px 35px; border-radius: 5px; text-decoration: none; font-weight: 900; 
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.4); 
    transition: transform 0.2s, background 0.2s; position: relative; overflow: hidden;
}
/* Shine Effect */
.btn-primary::after {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent); transition: 0.5s;
}
.btn-primary:hover::after { left: 100%; }

.btn-secondary { 
    border: 2px solid var(--accent); 
    color: var(--text); padding: 13px 33px; border-radius: 5px; text-decoration: none; font-weight: bold; transition: 0.3s; 
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0, 229, 255, 0.6); color: white; }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); background: rgba(0, 229, 255, 0.05); }

/* Content Sections */
.section-dark { background: var(--bg-dark); padding: 100px 20px; }
.section-light { background: var(--bg-light); padding: 100px 20px; border-top: 1px solid #1c252b; border-bottom: 1px solid #1c252b; }
.container { max-width: 1200px; margin: 0 auto; text-align: center; }

.divider { height: 3px; width: 100px; background: var(--primary); margin: 20px auto; box-shadow: 0 0 10px var(--primary); }

/* Cards */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.feature-card {
    background: linear-gradient(180deg, rgba(20, 25, 30, 0.9) 0%, rgba(10, 12, 15, 0.95) 100%);
    padding: 40px; border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05); 
    transition: 0.4s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.feature-card:hover { 
    transform: translateY(-10px); 
    border-color: var(--primary); 
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2); 
}
.feature-card:hover .icon-box { color: var(--primary); transform: scale(1.1); text-shadow: 0 0 15px var(--primary); }
.icon-box { font-size: 3rem; color: var(--accent); margin-bottom: 20px; transition: 0.3s; }

/* Class Cards */
.section-intro { max-width: 700px; margin: 0 auto 40px; color: #b0bec5; font-size: 1.1rem; }
.class-card {
    background: var(--bg-light); border-radius: 12px; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05); transition: 0.4s; text-align: left;
}
.class-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.5); border-color: var(--primary); }
.class-img { height: 200px; background-size: cover; background-position: center; transition: 0.5s; }
.class-card:hover .class-img { transform: scale(1.1); }
.class-content { padding: 25px; position: relative; background: var(--bg-light); }
.class-content h3 { color: var(--primary); margin-bottom: 10px; }
.class-tag { 
    display: inline-block; background: rgba(0, 229, 255, 0.1); color: var(--primary); 
    padding: 5px 10px; border-radius: 4px; font-size: 0.8rem; font-weight: bold; margin-top: 15px; border: 1px solid var(--primary);
}

/* FAQ Accordion */
.faq-container { max-width: 800px; margin: 0 auto; text-align: left; }
.faq-item { margin-bottom: 15px; border: 1px solid rgba(255,255,255,0.05); border-radius: 8px; background: rgba(0,0,0,0.2); overflow: hidden; }
.faq-question {
    padding: 20px; cursor: pointer; font-weight: bold; display: flex; justify-content: space-between; align-items: center;
    transition: 0.3s; background: rgba(255,255,255,0.02);
}
.faq-question:hover { background: rgba(0, 229, 255, 0.05); color: var(--primary); }
.faq-answer {
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; padding: 0 20px; color: #ccc; line-height: 1.6;
}
.faq-item.active .faq-answer { padding: 20px; max-height: 200px; border-top: 1px solid rgba(255,255,255,0.1); }
.faq-item.active .faq-question i { transform: rotate(180deg); color: var(--primary); }

/* Animation Classes */
.reveal { opacity: 0; transform: translateY(50px); transition: all 1s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Staggered Animation */
.cards-grid .feature-card:nth-child(1) { transition-delay: 0.1s; }
.cards-grid .feature-card:nth-child(2) { transition-delay: 0.3s; }
.cards-grid .feature-card:nth-child(3) { transition-delay: 0.5s; }

.fade-in { animation: fadeIn 1.5s ease-in; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Footer Pro */
footer { background: #020304; padding: 60px 20px; text-align: center; border-top: 1px solid #1c252b; margin-top: 50px; }
.footer-desc { color: #546e7a; margin: 10px 0 20px; }
.footer-links { display: flex; justify-content: center; gap: 20px; margin-bottom: 20px; }
.footer-links a { color: #90a4ae; text-decoration: none; transition: 0.3s; }
.footer-links a:hover { color: var(--primary); }
.social-icons { display: flex; justify-content: center; gap: 20px; margin-bottom: 20px; font-size: 1.5rem; }
.social-icons a { color: var(--text); transition: 0.3s; }
.social-icons a:hover { color: var(--primary); transform: scale(1.2); text-shadow: 0 0 10px var(--primary); }
.copyright { color: #37474f; font-size: 0.9rem; }