/* Grundlegende Stile */
:root {
    --primary-color: #F9C54B;
    --primary-hover: #F7B415;
    --twitch-color: #9146ff;
    --twitch-hover: #772ce8;
    --youtube-color: #ff0000;
    --youtube-hover: #E50000;
    --dark-bg: #1a1a1a;
    --darker-bg: #0e0e10;
    --text-color: #fff;
    --text-secondary: #b9bbbe;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header & Navigation */
header {
    background-color: var(--darker-bg);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo img {
    height: 5rem;
    transition: transform 0.3s;
}

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

.mobile-menu-button {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.desktop-nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.desktop-nav ul li a:hover {
    color: var(--primary-color);
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--darker-bg);
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav ul li {
    margin-bottom: 1rem;
}

.mobile-nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
}

/* Hero-Bereich */
.hero {
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
    background-size: cover;
    background-position: center;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.twitch-embed {
    position: relative;
    padding-bottom: 490px;
    height: 0;
    overflow: hidden;
    margin: 1rem auto;
    max-width: 800px;
}

.twitch-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 480px;
    border-radius: 8px;
    border: none;
}

/* YouTube Section */
.youtube-section {
    padding: 2rem 1rem;
    text-align: center;
    background-color: var(--darker-bg);
}

.youtube-section h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.youtube-embed {
    position: relative;
    padding-bottom: 490px;
    height: 0;
    overflow: hidden;
    margin: 1rem auto;
    max-width: 800px;
}

.youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 480px;
    border-radius: 8px;
    border: none;
}

.cta-button, .twitch-button, .yt-button {
    display: inline-block;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 1rem;
    transition: background-color 0.3s;
}

.cta-button {
    background-color: var(--primary-color);
}

.twitch-button {
    background-color: var(--twitch-color);
}

.yt-button {
    background-color: var(--youtube-color);
}

.cta-button:hover {
    background-color: var(--primary-hover);
}

.twitch-button:hover {
    background-color: var(--twitch-hover);
}

.yt-button:hover {
    background-color: var(--youtube-hover);
}

/* Social-Media-Grid */
.social-links {
    padding: 2rem 1rem;
    text-align: center;
}

.social-links h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

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

.social-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    transition: transform 0.3s, box-shadow 0.3s;
}

.social-icon:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.social-icon img {
    width: 40px;
    height: 40px;
    margin-bottom: 0.5rem;
}

/* Plattform-spezifische Farben */
.twitch {
    background-color: var(--twitch-color);
}

.discord {
    background-color: #5865f2;
}

.youtube {
    background-color: var(--youtube-color);
}

.instagram {
    background-color: #e1306c;
}

.twitter {
    background-color: #1da1f2;
}

.tiktok {
    background-color: #000000;
}

/* About Section */
.about {
    padding: 2rem 1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.about p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

/* Streamplan Section */
.streamplan {
    padding: 2rem 1rem;
    text-align: center;
    /* max-width: 800px; */
    margin: 0 auto;
    background-color: var(--darker-bg);
}

.streamplan h2 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.streamplan p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

/* Merch Section */
.merch {
    padding: 2rem 1rem;
    text-align: center;
}

.merch h2 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Footer */
footer {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--darker-bg);
    margin-top: 2rem;
}

footer p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    margin: 0 0.5rem;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {

    /* Header */
    .logo img {
        height: 40px;
        transition: transform 0.3s;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-button {
        display: block;
    }

    /* Hero */
    .hero h1 {
        font-size: 1.8rem;
    }

    .twitch-embed {
        height: 200px;
    }

    .youtube-embed {
        padding-bottom: 60%;
        /* Etwas mehr Platz für Mobile */
    }

    /* Social Grid */
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* About */
    .about h2, .merch h2 {
        font-size: 1.4rem;
    }
}

@media (max-height: 400px) {

    /* Header */
    .logo img {
        height: 40px;
        transition: transform 0.3s;
    }
}

@media (max-width: 480px) {

    /* Header */
    .logo img {
        height: 35px;
    }

    /* Hero */
    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .twitch-embed {
        height: 180px;
    }

    /* Social Grid */
    .social-grid {
        grid-template-columns: 1fr;
    }

    /* About */
    .about h2, .merch h2 {
        font-size: 1.3rem;
    }
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: var(--dark-bg);
        color: var(--text-color);
    }
}