/* Grundfarben und Layout im PlayZilla-Stil */
:root {
    --color-bg: #050816;
    --color-bg-alt: #0d1324;
    --color-surface: #11182b;
    --color-primary: #00e676;
    --color-primary-hover: #00c96a;
    --color-accent: #15b588;
    --color-text: #f5f7fa;
    --color-text-muted: #9aa4b8;
    --color-border: #222b3f;
    --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.55);
    --radius-lg: 18px;
    --radius-pill: 999px;
    --transition-fast: 0.2s ease-out;
    --max-width: 1160px;
    --header-height: 76px;
    --z-header: 1000;
    --z-sticky-btn: 1100;
}

/* Basis-Reset und Grundformatierung */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #11182b 0, #050816 60%);
    color: var(--color-text);
    line-height: 1.6;
}

/* Hilfsklasse für unsichtbare Überschriften */

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Kopfbereich mit Navigation */

.site-header {
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    background: rgba(5, 8, 22, 0.95);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo img {
    height: 32px;
    display: block;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 24px;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-nav a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 4px;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--color-primary), #1de9b6);
    transition: width var(--transition-fast);
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: #ffffff;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 10px;
}

/* Schaltflächen */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
    white-space: nowrap;
}

.btn-sm {
    padding: 7px 16px;
    font-size: 0.85rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #021213;
    box-shadow: 0 10px 25px rgba(0, 230, 118, 0.4);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: linear-gradient(135deg, var(--color-primary-hover), var(--color-accent));
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(0, 230, 118, 0.55);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: var(--color-text);
}

.btn-outline:hover,
.btn-outline:focus-visible {
    border-color: var(--color-primary);
    background: rgba(0, 230, 118, 0.09);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-text);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
    background: rgba(255, 255, 255, 0.08);
}

/* Angehefteter Spiel-Button links/unten */

.sticky-play-btn {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: var(--z-sticky-btn);
    padding: 12px 26px;
    border-radius: var(--radius-pill);
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #021213;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    box-shadow: 0 16px 35px rgba(0, 230, 118, 0.65);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.sticky-play-btn::before {
    content: "▶";
    font-size: 0.9rem;
}

.sticky-play-btn:hover,
.sticky-play-btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0, 230, 118, 0.8);
}

/* Hero-Bereich mit Bild und CTA */

.hero {
    max-width: var(--max-width);
    margin: 24px auto 40px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

.hero-content {
    padding: 24px 0;
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
    color: var(--color-primary);
    margin: 0 0 8px;
}

.hero h1 {
    font-size: clamp(2rem, 3vw, 2.6rem);
    margin: 0 0 12px;
}

.hero-text {
    margin: 0 0 18px;
    color: var(--color-text-muted);
    max-width: 36rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 12px;
}

.hero-note {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.hero-media {
    min-height: 260px;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at top left, rgba(0, 230, 118, 0.35), transparent 55%),
        radial-gradient(circle at bottom right, rgba(0, 229, 255, 0.28), transparent 50%),
        url("hero-playzilla-placeholder.jpg") center/cover no-repeat;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

/* Inhaltsbereiche und Blöcke */

.content-sections {
    max-width: var(--max-width);
    margin: 0 auto 48px;
    padding: 0 20px;
    display: grid;
    gap: 20px;
}

.content-block {
    background: rgba(13, 19, 36, 0.98);
    border-radius: var(--radius-lg);
    padding: 22px 22px 20px;
    border: 1px solid var(--color-border);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.content-block h2 {
    margin-top: 0;
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.content-block p {
    margin-top: 0;
    color: var(--color-text-muted);
}

.content-block ol,
.content-block ul {
    padding-left: 1.2rem;
    margin-top: 8px;
    margin-bottom: 12px;
    color: var(--color-text-muted);
}

.content-block .btn {
    margin-top: 8px;
}

/* Tabellen und Wrapper */

.table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin: 10px 0 14px;
}

.table-bonus,
.table-payments,
.table-games {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
    font-size: 0.9rem;
}

.table-bonus th,
.table-payments th,
.table-games th {
    text-align: left;
    padding: 10px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(17, 24, 43, 0.9);
    font-weight: 600;
}

.table-bonus td,
.table-payments td,
.table-games td {
    padding: 9px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: top;
    color: var(--color-text-muted);
}

.table-bonus tr:nth-child(even),
.table-payments tr:nth-child(even),
.table-games tr:nth-child(even) {
    background: rgba(9, 13, 27, 0.8);
}

.table-games img {
    max-width: 80px;
    border-radius: 8px;
    display: block;
}

/* Hinweis-Stil */

.note {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    border-left: 3px solid var(--color-primary);
    padding-left: 10px;
}

/* FAQ-Liste im Inhalt */

.faq-list {
    margin-top: 10px;
}

.faq-item + .faq-item {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 12px;
    padding-top: 10px;
}

.faq-item h3 {
    margin: 6px 0;
    font-size: 1rem;
}

.faq-answer p {
    margin: 4px 0 8px;
    color: var(--color-text-muted);
}

/* Fußbereich mit Navigation und Hinweistexten */

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: #050816;
    margin-top: 20px;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 24px 20px 16px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.footer-column h3 {
    margin-top: 0;
    font-size: 1rem;
}

.footer-column p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
}

.footer-column li + li {
    margin-top: 6px;
}

.footer-links a,
.footer-column a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    text-decoration: none;
}

.footer-links a:hover,
.footer-column a:hover {
    color: var(--color-primary);
}

.footer-address p {
    margin: 6px 0;
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
    padding: 10px 16px 16px;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Anpassungen für kleinere Bildschirme */

@media (max-width: 960px) {
    .hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-media {
        order: -1;
    }

    .header-inner {
        gap: 14px;
    }

    .main-nav ul {
        gap: 16px;
        font-size: 0.85rem;
    }

    .table-bonus,
    .table-payments,
    .table-games {
        min-width: 560px;
    }
}

@media (max-width: 720px) {
    .header-inner {
        flex-wrap: wrap;
        justify-content: space-between;
        height: auto;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .main-nav {
        order: 3;
        width: 100%;
    }

    .main-nav ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 14px;
        padding-bottom: 4px;
    }

    .header-actions {
        margin-left: auto;
    }

    .hero {
        margin-top: 16px;
    }

    .sticky-play-btn {
        left: 50%;
        transform: translateX(-50%);
        bottom: 18px;
        box-shadow: 0 10px 25px rgba(0, 230, 118, 0.7);
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }
}
