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

:root {
    --bg: #0D1F0D;
    --card-bg: #1A2E1A;
    --primary: #2D5A27;
    --accent: #4CAF50;
    --gold: #D4A574;
    --light-green: #81C784;
    --white: #FFFFFF;
    --gray: #808080;
    --border: #2A4A2A;
    --transition: 0.3s ease-in-out;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
    background-image:
        radial-gradient(ellipse at 20% 50%, rgba(76, 175, 80, 0.03) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(76, 175, 80, 0.02) 0%, transparent 50%);
}

::selection { background: var(--accent); color: var(--bg); }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border: 2px solid var(--bg); }

/* ========== Grow-Theme spezifisch: Grow-Section anzeigen ========== */
.grow-section { display: block !important; }
.grow-section { margin-top: 0; }

/* ========== Andere Themes: Grow-Section ausblenden ========== */
body:not([data-theme=grow]) .grow-section { display: none; }

/* ========== Nav ========== */
.nav-right { display: flex; align-items: center; gap: 8px; }
.lang-switch { display: flex; gap: 2px; }

.lang-btn {
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--gray);
    padding: 5px 10px;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.lang-btn.active { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.lang-btn:hover:not(.active) { color: var(--white); border-color: var(--accent); }

.top-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 14px 32px;
    background: rgba(13, 31, 13, 0.97);
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--primary);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-logo img { width: 32px; height: 32px; border: 2px solid var(--accent); }

.nav-links { display: flex; gap: 20px; align-items: center; }

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    padding: 4px 0;
}

.nav-links a:hover { color: var(--accent); }

.nav-links .lang-switch { margin-left: auto; padding-left: 12px; border-left: 1px solid var(--border); }

.hamburger { display: none; flex-direction: column; gap: 4px; background: none; border: 1px solid var(--accent); cursor: pointer; padding: 6px; }
.hamburger span { width: 20px; height: 2px; background: var(--white); display: block; }

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

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(76, 175, 80, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 60%, rgba(45, 90, 39, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

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

.hero-logo {
    width: 100px; height: 100px;
    border: 3px solid var(--accent);
    box-shadow: 0 0 30px rgba(76, 175, 80, 0.15);
    margin-bottom: 24px;
}

.hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(32px, 7vw, 52px);
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--white);
    letter-spacing: 1px;
}

.hero h1 .highlight { color: var(--accent); }

.hero .tagline {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--light-green);
    margin-bottom: 8px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.hero .subtitle {
    font-size: 14px;
    color: var(--gold);
    margin-bottom: 32px;
}

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: 2px solid;
    border-radius: 8px;
    transition: var(--transition);
}

.btn-primary { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.btn-primary:hover { background: var(--light-green); border-color: var(--light-green); }
.btn-outline { background: transparent; color: var(--light-green); border-color: var(--light-green); }
.btn-outline:hover { background: var(--light-green); color: var(--bg); }
.btn-donate { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-donate:hover { background: var(--gold); color: var(--bg); }

/* ========== Sections ========== */
.section { padding: 80px 20px; border-top: 2px solid var(--primary); }
.container { max-width: 1000px; margin: 0 auto; }

.section-title { text-align: center; margin-bottom: 48px; }

.section-title h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--accent);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-title p { color: var(--gray); font-size: 13px; }

.twitch-section { background: var(--card-bg); }

.twitch-embed { max-width: 650px; margin: 0 auto; border: 2px solid var(--primary); border-radius: 8px; aspect-ratio: 16/9; position: relative; overflow: hidden; }
.twitch-embed iframe { width: 100%; height: 100%; border: none; display: block; }

.twitch-status { display: flex; align-items: center; gap: 10px; justify-content: center; margin-bottom: 16px; }
.status-dot { width: 10px; height: 10px; background: #555; border-radius: 50%; }
.status-dot.live { background: var(--accent); box-shadow: 0 0 10px rgba(76, 175, 80, 0.5); animation: pulse 1.5s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.status-text { font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 600; }
.status-text.live { color: var(--accent); }
.status-text.offline { color: var(--gray); }

/* ========== Grow Section ========== */
.grow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.grow-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.grow-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 25px rgba(76, 175, 80, 0.1), inset 0 0 25px rgba(76, 175, 80, 0.03);
    transform: translateY(-3px);
}

.grow-icon { font-size: 40px; display: block; margin-bottom: 12px; }
.grow-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 600; color: var(--accent); margin-bottom: 8px; }
.grow-card p { color: var(--gray); font-size: 13px; }

/* ========== Schedule ========== */
.schedule-grid { max-width: 650px; margin: 0 auto; }

.schedule-day {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 18px 22px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.schedule-day:hover { border-color: var(--accent); }
.schedule-day .day { font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 600; color: var(--light-green); text-transform: uppercase; }
.schedule-day .time { color: var(--accent); font-weight: 600; }
.schedule-day .game { color: var(--gray); font-size: 12px; }
.schedule-day .status-badge { padding: 3px 10px; font-size: 11px; border: 1px solid; border-radius: 4px; font-family: 'Space Grotesk', sans-serif; }
.status-badge.active { background: rgba(76, 175, 80, 0.1); color: var(--accent); border-color: var(--accent); }
.status-badge.upcoming { background: rgba(45, 90, 39, 0.1); color: var(--light-green); border-color: var(--light-green); }

/* ========== About ========== */
.about-section { background: var(--card-bg); }
.about-content { max-width: 650px; margin: 0 auto; text-align: center; }
.about-content p { color: var(--gray); font-size: 14px; margin-bottom: 16px; }
.about-content strong { color: var(--accent); }

/* ========== Design Image ========== */
.design-showcase { max-width: 400px; margin: 20px auto; border: 2px solid var(--primary); border-radius: 8px; overflow: hidden; }
.design-showcase img { width: 100%; height: auto; display: block; }

/* ========== OG Badge ========== */
.og-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold), #E8C88A);
    color: var(--bg);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 4px 12px;
    border-radius: 4px;
    margin-top: 16px;
}

/* ========== Social Links ========== */
.social-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

.social-link {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 20px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px; font-weight: 500; letter-spacing: 1px;
    text-decoration: none; text-transform: uppercase;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--card-bg);
    color: var(--white);
    transition: var(--transition);
}

.social-link:hover { border-color: var(--accent); color: var(--accent); }
.social-link svg { width: 18px; height: 18px; }

/* ========== Footer ========== */
footer { text-align: center; padding: 40px 20px; border-top: 2px solid var(--primary); color: var(--gray); font-size: 12px; }
footer a { color: var(--gray); text-decoration: none; }
footer a:hover { color: var(--accent); }

/* ========== Animations ========== */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ========== Mobile ========== */
@media (max-width: 768px) {
    .top-nav { padding: 12px 16px; }
    .nav-links { display: none; position: fixed; top: 56px; left: 0; width: 100%; background: rgba(13,31,13,0.98); flex-direction: column; padding: 20px; gap: 14px; border-bottom: 2px solid var(--primary); }
    .nav-links.open { display: flex; }
    .hamburger { display: flex; }
    .nav-links .lang-switch { margin-left: 0; padding-left: 0; border-left: none; padding-top: 12px; border-top: 1px solid var(--border); }
    .hero { padding: 100px 16px 40px; }
    .hero-logo { width: 80px; height: 80px; }
    .section { padding: 50px 16px; }
    .grow-grid { grid-template-columns: 1fr; }
    .schedule-day { flex-direction: column; align-items: flex-start; gap: 8px; }
}
