/* Valter Casino AU — rehtronik layout + Valter brand palette */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #09080d;
    --surface: #181624;
    --surface-2: #1e1c2e;
    --purple: #663bfa;
    --purple-hover: #6840f8;
    --lilac: #beacff;
    --lime: #bceb4e;
    --lime-ink: #0c0b10;
    --text: #feffff;
    --muted: #b6b3c6;
    --line: rgba(190, 172, 255, 0.16);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: "Segoe UI", system-ui, sans-serif;
    background: var(--bg);
    color: var(--muted);
    line-height: 1.65;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

a {
    color: var(--lime);
}

/* Header */
.header {
    background: linear-gradient(135deg, #1a1233 0%, #663bfa 55%, #3d248f 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.logo-image {
    height: 44px;
    width: auto;
    max-width: min(248px, 52vw);
    object-fit: contain;
    object-position: left center;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.45rem 0.9rem;
    border-radius: 25px;
    transition: background 0.25s ease, color 0.25s ease;
}

.nav-link:hover {
    background: rgba(188, 235, 78, 0.15);
    color: var(--lime);
}

.header-ctas {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-shrink: 0;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--lime);
    color: var(--lime-ink);
}

.btn-primary:hover {
    background: #d4f56a;
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 2px solid rgba(254, 255, 255, 0.55);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--lime);
    color: var(--lime);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-md {
    padding: 14px 28px;
}

/* Hero */
.hero {
    background:
        radial-gradient(700px 360px at 85% 10%, rgba(102, 59, 250, 0.45), transparent 55%),
        linear-gradient(135deg, #120e1f 0%, #2a1a5c 45%, #0c0b10 100%);
    padding: 80px 0 56px;
    position: relative;
    overflow: hidden;
    min-height: 58vh;
    display: flex;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    min-height: 300px;
}

.hero-text {
    flex: 1;
    max-width: 620px;
}

.hero-title {
    font-size: clamp(1.8rem, 4.5vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: var(--text);
    line-height: 1.15;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.4vw, 1.25rem);
    color: var(--lilac);
    margin-bottom: 1.75rem;
    font-weight: 400;
}

.hero-cta {
    margin-top: 0.5rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.desktop-device-img {
    max-width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    border: 3px solid var(--purple);
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(102, 59, 250, 0.35);
}

/* Main */
.main-content {
    padding: 48px 0 0;
}

.content-block {
    margin-bottom: 72px;
}

.section-title {
    font-size: clamp(1.6rem, 3.5vw, 2.35rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 2.25rem;
    color: var(--text);
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--purple), var(--lime));
    border-radius: 2px;
}

.subsection-title {
    font-size: clamp(1.25rem, 2.5vw, 1.7rem);
    color: var(--text);
    margin: 2rem 0 1rem;
    font-weight: 700;
}

.text-content {
    max-width: 1000px;
    margin: 0 auto;
}

.text-content p {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.benefits-list,
.games-list {
    list-style: none;
    margin: 1.5rem 0;
}

.benefits-list li,
.games-list li {
    padding: 12px 0 12px 2rem;
    border-bottom: 1px solid var(--line);
    position: relative;
    color: var(--muted);
}

.benefits-list li:before,
.games-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--lime);
    font-weight: 800;
    font-size: 1.15rem;
}

.benefits-list li:last-child,
.games-list li:last-child {
    border-bottom: none;
}

.benefits-list strong,
.games-list strong {
    color: var(--text);
}

/* Inline media in content */
.media-figure {
    margin: 2.25rem 0 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.media-figure img {
    width: 100%;
    aspect-ratio: 21 / 9;
    object-fit: cover;
    object-position: 82% center;
    display: block;
}

.media-figure--vip img {
    object-position: 78% center;
}

.media-figure figcaption {
    padding: 0.85rem 1.15rem 1rem;
    font-size: 0.92rem;
    color: var(--muted);
    border-top: 1px solid var(--line);
    background: linear-gradient(180deg, var(--surface-2), var(--surface));
}

.media-split {
    display: grid;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 2.5rem auto;
    align-items: center;
}

.media-split__copy .subsection-title {
    margin-top: 0;
    text-align: left;
}

.media-split__copy p {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.media-split__visual {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(102, 59, 250, 0.45);
    box-shadow: 0 16px 40px rgba(102, 59, 250, 0.22);
    aspect-ratio: 4 / 3;
    background: var(--surface);
}

.media-split__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 85% center;
    display: block;
}

@media (min-width: 860px) {
    .media-split {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 2rem;
    }
}

/* Tables */
.data-table-wrap,
.payment-methods-table {
    max-width: 1000px;
    margin: 2rem auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 16px;
    border: 2px solid var(--purple);
    background: var(--surface);
}

.data-table,
.payment-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
}

.data-table th,
.payment-table th {
    background: var(--purple);
    color: var(--text);
    padding: 16px 18px;
    text-align: left;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.data-table thead th:first-child,
.payment-table thead th:first-child {
    border-top-left-radius: 14px;
}

.data-table thead th:last-child,
.payment-table thead th:last-child {
    border-top-right-radius: 14px;
}

.data-table td,
.payment-table td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
}

.data-table tr:last-child td,
.payment-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover td,
.payment-table tr:hover td {
    background: rgba(102, 59, 250, 0.12);
}

.data-table td:first-child,
.payment-table td:first-child {
    color: var(--text);
    font-weight: 600;
}

/* Bonus highlight band */
.welcome-bonus-highlight {
    background: linear-gradient(135deg, #1a1233 0%, #663bfa 55%, #2a1858 100%);
    padding: 3.5rem 0;
    margin: 2rem 0 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    position: relative;
    overflow: hidden;
}

.welcome-bonus-highlight .container {
    position: relative;
    z-index: 2;
}

.welcome-bonus-highlight .subsection-title {
    color: var(--text);
    text-align: center;
    margin-bottom: 1.5rem;
}

.welcome-bonus-highlight .data-table-wrap {
    border-color: var(--lime);
    background: rgba(9, 8, 13, 0.72);
}

.bonus-cta-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
    margin-top: 1.75rem;
    position: relative;
    z-index: 2;
}

.welcome-bonus-highlight .bonus-cta-row .btn-ghost {
    border-color: rgba(254, 255, 255, 0.55);
    color: var(--text);
    background: rgba(9, 8, 13, 0.35);
}

.welcome-bonus-highlight .bonus-cta-row .btn-ghost:hover {
    border-color: var(--lime);
    color: var(--lime);
    background: rgba(188, 235, 78, 0.12);
}

@media (max-width: 560px) {
    .bonus-cta-row {
        flex-direction: column;
        align-items: stretch;
    }

    .bonus-cta-row .btn {
        width: 100%;
    }
}

/* Terms overlaid on banner (readable left panel) */
.terms-on-media {
    position: relative;
    max-width: 1000px;
    margin: 1.75rem auto 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(102, 59, 250, 0.45);
    min-height: clamp(320px, 48vw, 460px);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
}

.terms-on-media__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 88% center;
}

.terms-on-media__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(9, 8, 13, 0.94) 0%, rgba(9, 8, 13, 0.82) 42%, rgba(9, 8, 13, 0.35) 68%, rgba(9, 8, 13, 0.15) 100%),
        linear-gradient(0deg, rgba(9, 8, 13, 0.35), transparent 40%);
    pointer-events: none;
}

.terms-on-media__panel {
    position: relative;
    z-index: 2;
    max-width: min(520px, 92%);
    margin: clamp(1.25rem, 4vw, 2.25rem);
    padding: 1.35rem 1.5rem;
    border-radius: 14px;
    background: rgba(9, 8, 13, 0.72);
    border: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: none;
}

.bonus-terms h4 {
    color: var(--lime);
    margin-bottom: 0.85rem;
    font-size: 1.15rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.bonus-terms ul {
    list-style: none;
}

.bonus-terms li {
    position: relative;
    padding-left: 1.35rem;
    margin-bottom: 0.7rem;
    color: #e8e6f2;
    font-size: 0.98rem;
    line-height: 1.55;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.bonus-terms li:last-child {
    margin-bottom: 0;
}

.bonus-terms li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--lime);
    font-weight: 700;
}

/* VIP table with banner as backdrop */
.data-table-wrap--vip {
    position: relative;
    overflow: hidden;
    border-color: rgba(188, 235, 78, 0.45);
    background: transparent;
    min-height: 460px;
}

.data-table-wrap--vip .data-table-wrap__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 78% center;
    opacity: 1;
    display: block;
}

.data-table-wrap--vip .data-table-wrap__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(105deg, rgba(9, 8, 13, 0.78) 0%, rgba(9, 8, 13, 0.45) 48%, rgba(9, 8, 13, 0.18) 100%);
    pointer-events: none;
}

.data-table-wrap--vip .data-table-wrap__inner {
    position: relative;
    z-index: 2;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1rem;
}

.data-table-wrap--vip .data-table {
    background: transparent;
    min-width: 520px;
}

.data-table-wrap--vip .data-table th {
    background: rgba(102, 59, 250, 0.82);
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.data-table-wrap--vip .data-table td {
    background: rgba(9, 8, 13, 0.28);
    color: #f2f0fa;
    border-bottom-color: rgba(254, 255, 255, 0.12);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
}

.data-table-wrap--vip .data-table td:first-child {
    color: var(--lime);
    font-weight: 700;
}

.data-table-wrap--vip .data-table tr:hover td {
    background: rgba(102, 59, 250, 0.42);
}

/* Provider / category cards */
.bonus-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.bonus-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.75rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.bonus-card:hover {
    transform: translateY(-4px);
    border-color: var(--purple);
}

.bonus-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.bonus-card-text {
    color: var(--muted);
    margin: 0;
}

.provider-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1.25rem 0 0;
}

.provider-chip {
    display: inline-flex;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(102, 59, 250, 0.22);
    border: 1px solid rgba(190, 172, 255, 0.28);
    color: var(--lilac);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Steps */
.steps-container {
    max-width: 1000px;
    margin: 2rem auto;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.1rem;
    padding: 1rem 1.15rem;
    background: var(--surface);
    border-radius: 12px;
    border-left: 4px solid var(--lime);
}

.step-number {
    background: var(--lime);
    color: var(--lime-ink);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step-item p {
    margin: 0;
    color: var(--muted);
}

/* FAQ */
.faq-container {
    max-width: 1000px;
    margin: 2rem auto;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-bottom: 0.85rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    background: var(--surface-2);
    border: none;
    padding: 1.25rem 1.4rem;
    text-align: left;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.faq-question[aria-expanded="true"] {
    background: var(--purple);
}

.faq-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 1.4rem 1.35rem;
    margin: 0;
    color: var(--muted);
}

.faq-item.active .faq-answer {
    max-height: 320px;
}

/* Mobile apps band */
.mobile-apps-highlight {
    background: linear-gradient(135deg, #1a1233 0%, #663bfa 60%, #181624 100%);
    padding: 3.5rem 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    position: relative;
}

.mobile-apps-highlight .subsection-title {
    color: var(--text);
    text-align: center;
    position: relative;
    z-index: 2;
}

.mobile-apps-subtitle {
    color: var(--lime);
    text-align: center;
    font-size: 1.15rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.mobile-apps-buttons {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.mobile-app-btn {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.95rem 1.75rem;
    background: rgba(254, 255, 255, 0.96);
    border: 2px solid var(--lime);
    border-radius: 50px;
    text-decoration: none;
    color: var(--lime-ink);
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mobile-app-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.app-icon {
    width: 22px;
    height: 22px;
    color: var(--purple);
}

.final-cta {
    text-align: center;
    margin: 2.5rem 0 0.5rem;
}

/* Footer */
.footer {
    background: #05040a;
    border-top: 3px solid var(--lime);
    padding: 52px 0 28px;
    color: var(--text);
    margin-top: 24px;
}

.footer-content {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-bottom: 1.5rem;
}

.footer-logo-image {
    height: 40px;
    width: auto;
    max-width: 248px;
    object-fit: contain;
    margin: 0 auto 1rem;
}

.footer-section p {
    color: var(--muted);
    margin-bottom: 0.45rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    color: #7d7a90;
}

.footer-bottom p {
    margin-bottom: 0.4rem;
}

/* Responsive */
@media (max-width: 900px) {
    .header-content {
        flex-wrap: wrap;
        gap: 0.85rem;
    }

    .main-nav {
        order: 3;
        flex-basis: 100%;
    }

    .nav-list {
        gap: 0.5rem;
    }

    .nav-link {
        font-size: 0.85rem;
        padding: 0.35rem 0.7rem;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-text {
        max-width: 100%;
        align-items: center;
    }

    .hero-cta {
        display: flex;
        justify-content: center;
    }

    .hero-image {
        order: -1;
        width: 100%;
    }

    .desktop-device-img {
        max-height: 280px;
    }

    .media-figure img {
        aspect-ratio: 16 / 9;
        object-position: 88% center;
    }

    .media-split__visual {
        aspect-ratio: 16 / 10;
    }

    .terms-on-media {
        min-height: 0;
    }

    .terms-on-media__bg {
        position: relative;
        height: 220px;
        object-position: 90% center;
    }

    .terms-on-media__shade {
        background: linear-gradient(180deg, transparent 0%, rgba(9, 8, 13, 0.55) 35%, rgba(9, 8, 13, 0.96) 100%);
    }

    .terms-on-media__panel {
        margin: -4.5rem 1rem 1rem;
        max-width: none;
    }

    .bonus-cards {
        grid-template-columns: 1fr;
    }

    .data-table-wrap--vip {
        min-height: 400px;
    }

    .data-table-wrap--vip .data-table-wrap__bg {
        object-position: 88% center;
    }

    .data-table-wrap--vip .data-table-wrap__shade {
        background: linear-gradient(180deg, rgba(9, 8, 13, 0.35) 0%, rgba(9, 8, 13, 0.55) 100%);
    }

    .data-table-wrap--vip .data-table td {
        background: rgba(9, 8, 13, 0.4);
    }
}

@media (max-width: 560px) {
    .header-ctas .btn-ghost {
        display: none;
    }

    .header-ctas .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .logo-image {
        height: 36px;
        max-width: min(220px, 58vw);
    }

    .terms-on-media__panel {
        margin: -3.5rem 0.75rem 0.85rem;
        padding: 1.15rem 1.2rem;
    }

    .bonus-terms li {
        font-size: 0.92rem;
    }

    .hero {
        padding: 56px 0 40px;
        min-height: 0;
    }

    .media-figure img {
        aspect-ratio: 5 / 4;
        object-position: 90% center;
    }

    .mobile-apps-buttons {
        flex-direction: column;
        align-items: center;
    }

    .step-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .step-number {
        margin: 0 0 0.75rem;
    }
}

@media (hover: none) {
    .btn:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .slide,
    .btn,
    .faq-answer {
        transition: none;
    }
}
