/* ==========================================================================
   Casea Casino - Global Stylesheet
   Premium dark-luxe VIP elevator aesthetic
   ========================================================================== */

/* ---------- CSS Variables ---------- */
:root {
    /* Colors - Light theme (default) */
    --bg: #f0f4f8;
    --bg-elevated: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    --border: #d1d9e6;
    --border-hover: #94a3b8;
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-dark: #2563eb;
    --accent: #0e7490;
    --accent-glow: rgba(37, 99, 235, 0.1);
    --accent-glow-strong: rgba(37, 99, 235, 0.2);
    --text: #1e293b;
    --text-muted: #475569;
    --text-heading: #0f172a;
    --steel-blue: #475569;
    --silver: #475569;

    /* Fonts */
    --font-heading: 'Sora', system-ui, sans-serif;
    --font-body: 'Manrope', system-ui, sans-serif;

    /* Spacing */
    --section-gap: 96px;
    --section-gap-mobile: 56px;
    --card-padding: 32px;
    --card-padding-mobile: 24px;
    --card-gap: 24px;
    --card-gap-mobile: 16px;
    --container-max: 1180px;

    /* Transitions */
    --transition: 200ms ease-out;
    --transition-slow: 300ms ease-in-out;

    /* Header */
    --header-height: 72px;
}

html.dark {
    /* Colors - Dark theme */
    --bg: #0a0e1a;
    --bg-elevated: #111726;
    --bg-card: #161d2e;
    --bg-card-hover: #1a2238;
    --border: #243044;
    --border-hover: #344560;
    --primary: #4d94f7;
    --primary-hover: #2563eb;
    --primary-dark: #1c6ef5;
    --accent: #06b6d4;
    --accent-glow: rgba(59, 130, 246, 0.15);
    --accent-glow-strong: rgba(59, 130, 246, 0.3);
    --text: #e8eaf0;
    --text-muted: #a8b5c8;
    --text-heading: #f0f2f8;
    --steel-blue: #94a3bd;
    --silver: #b0bcd0;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

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

ul {
    list-style: none;
}

/* ---------- Container ---------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-heading);
    line-height: 1.2;
}

h1 {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 20px;
    font-weight: 500;
}

h4 {
    font-size: 18px;
    font-weight: 500;
}

p {
    margin-bottom: 28px;
}

p:last-child {
    margin-bottom: 0;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 16px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 12px 32px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background-color var(--transition), box-shadow var(--transition), color var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-dark);
    color: #fff;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: #fff;
    box-shadow: 0 6px 28px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text);
    border: 1px solid var(--border-hover);
}

.btn-secondary:hover {
    background-color: var(--bg-card);
    color: var(--text-heading);
    border-color: var(--primary);
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 16px;
}

.site-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.site-brand .logo {
    height: 40px;
    width: 40px;
    border-radius: 8px;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-heading);
    letter-spacing: -0.01em;
}

/* Navigation */
.primary-nav {
    display: none;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: 6px;
    transition: color var(--transition), background-color var(--transition);
    min-height: 44px;
}

.nav-link:hover {
    color: var(--text-heading);
    background-color: var(--bg-card);
}

.nav-cta-item {
    margin-left: 8px;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background-color: var(--primary-dark);
    border-radius: 8px;
    min-height: 44px;
    transition: background-color var(--transition), box-shadow var(--transition);
}

.nav-cta:hover {
    background-color: var(--primary-hover);
    color: #fff;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}

/* Theme toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    color: var(--text);
    transition: border-color var(--transition), color var(--transition);
    flex-shrink: 0;
    margin-left: auto;
}

.theme-toggle:hover {
    border-color: var(--border-hover);
    color: var(--text-heading);
}

/* Theme toggle icons - show moon in light mode, sun in dark mode */
.icon-sun { display: none; }
.icon-moon { display: block; }

html.dark .icon-sun { display: block; }
html.dark .icon-moon { display: none; }

/* Mobile nav open state */
.primary-nav.is-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    padding: 16px;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    gap: 4px;
    overflow-y: auto;
}

.primary-nav.is-open .nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 4px;
}

.primary-nav.is-open .nav-link {
    padding: 14px 16px;
    font-size: 16px;
}

.primary-nav.is-open .nav-cta-item {
    margin-left: 0;
    margin-top: 8px;
}

.primary-nav.is-open .nav-cta {
    justify-content: center;
    padding: 14px 24px;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    overflow: hidden;
    padding: 64px 0 56px;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elevated) 100%);
}

.hero-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

.hero-content {
    max-width: 100%;
}

.hero-heading {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    color: var(--text-heading);
}

.hero-subtext {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 560px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.hero-trust-item {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.hero-trust-divider {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--steel-blue);
}

.hero-image {
    width: 100%;
    max-width: 400px;
    position: relative;
}

.hero-image::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    z-index: 0;
    border-radius: 20px;
}

.hero-image img {
    position: relative;
    z-index: 1;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ---------- Sections ---------- */
.section {
    padding: var(--section-gap-mobile) 0;
}

.section-alt {
    background-color: var(--bg-elevated);
}

.section-header {
    margin-bottom: 48px;
    max-width: 760px;
}

.section-heading {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 16px;
    color: var(--text-heading);
}

.section-intro {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ---------- Games Grid ---------- */
.games-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--card-gap-mobile);
}

.game-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.game-card:hover {
    transform: scale(1.02);
    border-color: var(--border-hover);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--accent-glow);
}

.game-card-image {
    overflow: hidden;
    aspect-ratio: 3 / 2;
}

.game-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.game-card:hover .game-card-image img {
    transform: scale(1.05);
}

.game-card-body {
    padding: var(--card-padding-mobile);
}

.game-card-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text-heading);
}

.game-card-text {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ---------- Info Card Grid (component) ---------- */
.info-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--card-gap-mobile);
}

.info-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.info-card:hover {
    transform: scale(1.02);
    border-color: var(--border-hover);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--accent-glow);
}

.info-card-image {
    overflow: hidden;
    aspect-ratio: 3 / 2;
}

.info-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-card-body {
    padding: var(--card-padding-mobile);
}

.info-card-title {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text-heading);
    letter-spacing: -0.01em;
}

.info-card-text {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.info-card-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    transition: color var(--transition);
}

.info-card-link:hover {
    color: var(--accent);
}

/* ---------- Stat Block ---------- */
.stat-block-row {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 32px 0;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.1;
    margin-bottom: 8px;
}

.stat-label {
    display: block;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.stat-source {
    display: block;
    font-size: 14px;
    color: var(--steel-blue);
    margin-top: 4px;
}

/* ---------- Payment Trust ---------- */
.payment-trust {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.payment-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.payment-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    min-height: 48px;
    min-width: 100px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--silver);
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: border-color var(--transition), color var(--transition);
}

.payment-badge:hover {
    border-color: var(--primary);
    color: var(--text);
}

.security-badges {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
}

.security-badge svg {
    color: var(--primary);
    flex-shrink: 0;
}

/* ---------- SEO Text ---------- */
.seo-text {
    max-width: 760px;
}

.seo-text p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text);
    margin-bottom: 28px;
}

.seo-text p a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: rgba(59, 130, 246, 0.4);
    text-underline-offset: 3px;
    transition: text-decoration-color var(--transition), color var(--transition);
}

.seo-text p a:hover {
    color: var(--accent);
    text-decoration-color: var(--accent);
}

.seo-text strong {
    color: var(--text-heading);
    font-weight: 600;
}

.seo-text blockquote {
    margin: 32px 0;
    padding: 24px 28px;
    border-left: 3px solid var(--primary);
    background-color: var(--bg-card);
    border-radius: 0 8px 8px 0;
    font-size: 17px;
    font-style: italic;
    color: var(--text);
    line-height: 1.6;
}

.seo-text blockquote cite {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    color: var(--text-muted);
    font-style: normal;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    position: relative;
    overflow: hidden;
    padding: var(--section-gap-mobile) 24px;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.12) 0%, transparent 60%), var(--bg);
}

.cta-banner::before,
.cta-banner::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-banner::before {
    left: -100px;
}

.cta-banner::after {
    right: -100px;
}

.cta-banner-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
}

.cta-eyebrow {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 16px;
}

.cta-heading {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--text-heading);
    margin-bottom: 16px;
}

.cta-subtext {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 32px;
}

.cta-button {
    min-height: 44px;
    padding: 14px 40px;
    font-size: 16px;
}

.cta-micro-copy {
    margin-top: 16px;
    font-size: 14px;
    font-weight: 400;
    color: var(--steel-blue);
}

/* ---------- Live Casino Section ---------- */
.live-casino-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.live-casino-image {
    width: 100%;
}

.live-casino-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.live-casino-content {
    max-width: 100%;
}

.live-casino-title {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--text-heading);
    letter-spacing: -0.01em;
}

.live-casino-content p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.live-casino-content p a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: rgba(59, 130, 246, 0.4);
    text-underline-offset: 3px;
}

.live-casino-content p a:hover {
    color: var(--accent);
}

/* ---------- Provider Strip ---------- */
.provider-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.provider-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    min-height: 56px;
    min-width: 140px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--silver);
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: border-color var(--transition), color var(--transition), transform var(--transition);
}

.provider-logo:hover {
    border-color: var(--primary);
    color: var(--text);
    transform: scale(1.03);
}

/* ---------- Security Summary List (sicherheit.html) ---------- */
.security-summary-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.security-summary-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.security-summary-item:hover {
    transform: scale(1.02);
    border-color: var(--border-hover);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--accent-glow);
}

.security-summary-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 10px;
    background-color: var(--accent-glow);
    color: var(--primary);
}

.security-summary-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-heading);
    margin-bottom: 8px;
}

.security-summary-text {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ---------- SSL Icon Wrap (sicherheit.html) ---------- */
.ssl-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    margin-bottom: 20px;
    background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%);
    border-radius: 8px;
}

.ssl-icon-wrap img {
    max-width: 120px;
    height: auto;
}

/* ---------- Callout Boxes (sicherheit.html) ---------- */
.callout-box {
    margin: 24px 0;
    padding: 24px;
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    border-radius: 0 10px 10px 0;
    transition: border-color var(--transition);
}

.callout-box:hover {
    border-left-color: var(--accent);
}

.callout-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-heading);
    margin-bottom: 12px;
}

.callout-text {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ---------- Fair Play Section (sicherheit.html) ---------- */
.fair-play-section {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.fair-play-image {
    width: 100%;
}

.fair-play-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.fair-play-content {
    max-width: 100%;
}

.fair-play-title {
    font-size: 22px;
    font-weight: 500;
    color: var(--text-heading);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.fair-play-content p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.fair-play-content p a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: rgba(59, 130, 246, 0.4);
    text-underline-offset: 3px;
}

.fair-play-content p a:hover {
    color: var(--accent);
}

/* ---------- FAQ Accordion ---------- */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--primary);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color var(--transition);
}

.faq-item[open] {
    border-left-color: var(--accent);
}

.faq-item summary {
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 24px;
    cursor: pointer;
    min-height: 44px;
    transition: background-color var(--transition);
}

.faq-question:hover {
    background-color: var(--bg-card-hover);
}

.faq-question-text {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 500;
    color: var(--text-heading);
    line-height: 1.4;
}

.faq-chevron {
    color: var(--primary);
    flex-shrink: 0;
    transition: transform var(--transition-slow);
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px 24px;
}

.faq-answer p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-muted);
}

/* ---------- Footer ---------- */
.site-footer {
    background-color: var(--bg-elevated);
    border-top: 1px solid var(--border);
    padding: 48px 0 32px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    height: 36px;
    width: 36px;
    border-radius: 6px;
}

.footer-nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
}

.footer-link {
    font-size: 15px;
    color: var(--text-muted);
    transition: color var(--transition);
}

.footer-link:hover {
    color: var(--text-heading);
}

.footer-legal {
    border-top: 1px solid var(--border);
    padding-top: 24px;
}

.footer-copy {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.footer-disclaimer {
    font-size: 14px;
    color: var(--steel-blue);
}

/* ---------- Sitemap List (sitemap.html) ---------- */
.sitemap-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--card-gap-mobile);
}

.sitemap-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: var(--card-padding-mobile);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.sitemap-item:hover {
    transform: scale(1.02);
    border-color: var(--border-hover);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--accent-glow);
}

.sitemap-item-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 12px;
    color: var(--text-heading);
    letter-spacing: -0.01em;
}

.sitemap-item-title a {
    color: var(--text-heading);
    transition: color var(--transition);
}

.sitemap-item-title a:hover {
    color: var(--primary);
}

.sitemap-item-desc {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ---------- Responsive: 768px (Tablet) - Sitemap ---------- */
@media (min-width: 768px) {
    .sitemap-list {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--card-gap);
    }

    .sitemap-item {
        padding: var(--card-padding);
    }

    .sitemap-item-title {
        font-size: 22px;
    }
}

/* ---------- Responsive: 1024px (Desktop) - Sitemap ---------- */
@media (min-width: 1024px) {
    .sitemap-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ---------- Animations ---------- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 400ms ease-out, transform 400ms ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger grid items */
.games-grid .animate-on-scroll:nth-child(2) {
    transition-delay: 80ms;
}

.games-grid .animate-on-scroll:nth-child(3) {
    transition-delay: 160ms;
}

.info-card-grid .animate-on-scroll:nth-child(2) {
    transition-delay: 80ms;
}

.info-card-grid .animate-on-scroll:nth-child(3) {
    transition-delay: 160ms;
}

.stat-block-row .animate-on-scroll:nth-child(2) {
    transition-delay: 80ms;
}

.stat-block-row .animate-on-scroll:nth-child(3) {
    transition-delay: 160ms;
}

.stat-block-row .animate-on-scroll:nth-child(4) {
    transition-delay: 240ms;
}

/* ---------- Responsive: 768px (Tablet) ---------- */
@media (min-width: 768px) {
    h1 {
        font-size: 40px;
    }

    h2 {
        font-size: 32px;
    }

    h3 {
        font-size: 22px;
    }

    .container {
        padding: 0 32px;
    }

    .section {
        padding: var(--section-gap) 0;
    }

    .section-heading {
        font-size: 32px;
    }

    .cta-banner {
        padding: var(--section-gap) 24px;
    }

    .cta-heading {
        font-size: 36px;
    }

    /* Show desktop nav */
    .primary-nav {
        display: flex;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .theme-toggle {
        margin-left: 0;
    }

    /* Hero two-column */
    .hero {
        padding: 80px 0 72px;
    }

    .hero-inner {
        flex-direction: row;
        align-items: center;
        gap: 64px;
    }

    .hero-content {
        flex: 1;
    }

    .hero-image {
        flex: 0 0 400px;
        max-width: 400px;
    }

    .hero-heading {
        font-size: 40px;
    }

    /* Games grid 2 columns */
    .games-grid,
    .info-card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--card-gap);
    }

    .game-card-body,
    .info-card-body {
        padding: var(--card-padding);
    }

    .info-card-title {
        font-size: 26px;
    }

    /* Stat block horizontal */
    .stat-block-row {
        flex-direction: row;
        justify-content: space-between;
        gap: 0;
        padding: 40px 0;
    }

    .stat-item {
        flex: 1;
        min-width: 0;
        padding: 0 12px;
        position: relative;
    }

    .stat-item:not(:last-child)::after {
        content: '';
        position: absolute;
        right: 0;
        top: 15%;
        height: 70%;
        width: 1px;
        background-color: var(--border);
    }

    .stat-number {
        font-size: 36px;
    }

    /* Security summary list 2 columns */
    .security-summary-list {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--card-gap);
    }

    /* Security badges 2 columns */
    .security-badges {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Live casino two-column */
    .live-casino-section {
        flex-direction: row;
        align-items: center;
        gap: 48px;
    }

    .live-casino-image {
        flex: 0 0 45%;
    }

    .live-casino-content {
        flex: 1;
    }

    .live-casino-title {
        font-size: 26px;
    }

    /* Footer */
    .footer-inner {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

    .footer-nav {
        flex: 1;
    }

    .footer-legal {
        border-top: none;
        padding-top: 0;
        text-align: right;
    }
}

/* ---------- Responsive: 768px-920px (Tablet header tightening) ---------- */
@media (min-width: 768px) and (max-width: 920px) {
    .header-inner {
        gap: 8px;
    }

    .nav-list {
        gap: 4px;
    }

    .nav-link {
        padding: 8px 12px;
    }
}

/* ---------- Responsive: 1024px (Desktop) ---------- */
@media (min-width: 1024px) {
    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 36px;
    }

    h3 {
        font-size: 26px;
    }

    .section-heading {
        font-size: 36px;
    }

    .hero-heading {
        font-size: 48px;
    }

    .hero-subtext {
        font-size: 18px;
    }

    .cta-heading {
        font-size: 36px;
    }

    /* Games grid 3 columns */
    .games-grid,
    .info-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .game-card-title {
        font-size: 22px;
    }

    .info-card-title {
        font-size: 26px;
    }

    /* Security badges 4 columns */
    .security-badges {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Security summary list 4 columns */
    .security-summary-list {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Fair play two-column */
    .fair-play-section {
        flex-direction: row;
        align-items: center;
        gap: 48px;
    }

    .fair-play-image {
        flex: 0 0 45%;
    }

    .fair-play-content {
        flex: 1;
    }

    .fair-play-title {
        font-size: 26px;
    }

    .stat-item {
        padding: 0 24px;
    }

    .stat-number {
        font-size: 48px;
    }

    .faq-question-text {
        font-size: 20px;
    }

    .faq-answer p {
        font-size: 17px;
    }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}

/* ---------- Focus styles ---------- */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ---------- Main content skip link target ---------- */
#main-content {
    min-height: 60vh;
}
