/* Grundlayout & Farben – an mycasino angelehnt (Rot als Primärfarbe) */

:root {
    --color-primary: #cc0000;
    --color-primary-dark: #990000;
    --color-bg: #050910;
    --color-bg-alt: #0f151f;
    --color-surface: #151b27;
    --color-border: #272f3f;
    --color-text: #f3f4f7;
    --color-text-muted: #a8b0c3;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.35);
    --radius-lg: 16px;
    --radius-md: 10px;
    --radius-pill: 999px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #11182a 0%, #050910 50%, #020305 100%);
    color: var(--color-text);
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
}

/* Links & Schaltflächen */

a {
    color: var(--color-primary);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s ease-in-out;
    white-space: nowrap;
}

.btn-large {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
}

.btn-primary {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: #ffffff;
    text-decoration: none;
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    text-decoration: none;
}

/* Fixierte „Jetzt spielen“-Schaltfläche */

.btn-fixed-play {
    position: fixed;
    left: 1rem;
    bottom: 1rem;
    z-index: 999;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-pill);
    background: var(--color-primary);
    color: #ffffff;
    font-weight: 700;
    box-shadow: var(--shadow-soft);
    border: 2px solid var(--color-primary-dark);
}

.btn-fixed-play:hover {
    background: var(--color-primary-dark);
    text-decoration: none;
}

/* Kopfbereich */

.main-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(5, 9, 16, 0.98), rgba(5, 9, 16, 0.92));
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* Logo links */

.logo img {
    height: 42px;
    width: auto;
    display: block;
}

/* Navigation in der Mitte */

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

.main-nav a {
    font-weight: 500;
    color: var(--color-text-muted);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
}

.main-nav a:hover {
    color: #ffffff;
    text-decoration: none;
}

/* Schaltflächen im Kopfbereich rechts */

.header-actions {
    display: flex;
    gap: 0.75rem;
}

/* Hero-Bereich */

.hero {
    max-width: 1200px;
    margin: 1.5rem auto 2.5rem;
    padding: 1.5rem 1.5rem 1.75rem;
    border-radius: 24px;
    background: radial-gradient(circle at top left, rgba(204, 0, 0, 0.32), transparent 55%),
                radial-gradient(circle at bottom right, rgba(0, 0, 0, 0.6), #050910);
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
    gap: 1.75rem;
    box-shadow: var(--shadow-soft);
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-kicker {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    color: #ffd7dc;
    font-weight: 600;
}

.hero-title {
    font-size: clamp(1.9rem, 3vw, 2.4rem);
    margin: 0;
}

.hero-text {
    margin: 0;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

/* Hero-Bild – Design-Hintergrund */

.hero-image {
    border-radius: 20px;
    background-image:
        linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(5, 9, 16, 0.95)),
        url("images/mycasino-hero.jpg");
    background-size: cover;
    background-position: center;
    min-height: 230px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Hauptinhalt */

main {
    padding: 0 1.5rem 3rem;
}

.intro-section,
.content-section {
    max-width: 900px;
    margin: 0 auto 2rem;
    padding: 1.75rem 1.75rem 1.9rem;
    border-radius: var(--radius-lg);
    background: rgba(15, 21, 31, 0.95);
    border: 1px solid var(--color-border);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
}

.intro-section h2,
.content-section h2 {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.intro-section p,
.content-section p {
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* Überschriften im Inhalt */

.intro-section h2 {
    font-size: 1.6rem;
}

.content-section h2 {
    font-size: 1.35rem;
}

/* Listen im Inhalt */

.content-section ul,
.content-section ol {
    padding-left: 1.25rem;
    color: var(--color-text-muted);
}

.content-section li {
    margin-bottom: 0.35rem;
}

/* Tabellen für Boni, Spiele, Zahlungen, Auszahlungen */

.bonus-table,
.games-table,
.payments-table,
.payouts-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0;
    font-size: 0.93rem;
}

.bonus-table th,
.bonus-table td,
.games-table th,
.games-table td,
.payments-table th,
.payments-table td,
.payouts-table th,
.payouts-table td {
    border: 1px solid var(--color-border);
    padding: 0.6rem 0.7rem;
    text-align: left;
    vertical-align: middle;
}

.bonus-table thead th,
.games-table thead th,
.payments-table thead th,
.payouts-table thead th {
    background: rgba(5, 9, 16, 0.9);
    font-weight: 600;
}

.bonus-table tbody tr:nth-child(even),
.games-table tbody tr:nth-child(even),
.payments-table tbody tr:nth-child(even),
.payouts-table tbody tr:nth-child(even) {
    background: rgba(5, 9, 16, 0.7);
}

/* Vorschaubilder in der Spiele-Tabelle */

.games-table img {
    display: block;
    max-width: 120px;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* FAQ-Elemente */

.faq-item {
    margin-bottom: 1rem;
    padding: 0.75rem 0.9rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    background: rgba(5, 9, 16, 0.9);
}

.faq-item h3 {
    margin-top: 0;
    margin-bottom: 0.35rem;
    font-size: 1rem;
}

.faq-item p {
    margin: 0;
}

/* Fußbereich */

.site-footer {
    background: #050910;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 2rem 1.5rem 1rem;
    color: var(--color-text-muted);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.site-footer h3 {
    margin-top: 0;
    margin-bottom: 0.8rem;
    color: #ffffff;
    font-size: 1rem;
}

.footer-nav ul,
.footer-responsible ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav li,
.footer-responsible li {
    margin-bottom: 0.3rem;
}

.footer-nav a,
.footer-responsible a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-nav a:hover,
.footer-responsible a:hover {
    color: #ffffff;
    text-decoration: none;
}

.footer-responsible p {
    font-size: 0.9rem;
}

.age-warning {
    margin-top: 0.7rem;
    font-weight: 700;
    color: #ff9f9f;
}

.footer-contact p {
    font-size: 0.9rem;
    margin: 0.1rem 0;
}

.footer-bottom {
    max-width: 1200px;
    margin: 1.5rem auto 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 0.75rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Responsive Anpassungen */

@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-image {
        order: -1;
        min-height: 180px;
    }

    .header-inner {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .main-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 0.5rem;
    }

    .header-actions {
        order: 2;
    }
}

@media (max-width: 640px) {
    .header-inner {
        padding-inline: 1rem;
    }

    main {
        padding-inline: 1rem;
    }

    .intro-section,
    .content-section,
    .hero {
        padding-inline: 1.25rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-fixed-play {
        left: 50%;
        transform: translateX(-50%);
        border-radius: var(--radius-pill);
    }

    .main-nav ul {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .games-table img {
        max-width: 90px;
    }
}
