/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary: #fffe4a;
    --primary-alt: #b2a017;
    --text: #040006;
    --bg: #fffffb;
    --accent: #dec8aa;
    --dark: #432300;
    
    /* Typography */
    --font-base: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    --font-heading: Poppins, Inter, system-ui, -apple-system, "Segoe UI", Roboto;
    
    /* Font Sizes */
    --fs-xs: 12px;
    --fs-sm: 14px;
    --fs-base: 16px;
    --fs-md: 18px;
    --fs-lg: 20px;
    --fs-xl: 24px;
    --fs-2xl: 28px;
    --fs-3xl: 34px;
    
    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    /* Shadow */
    --shadow-sm: 0 2px 8px rgba(4, 0, 6, 0.08);
    --shadow-md: 0 6px 20px rgba(4, 0, 6, 0.12);
    
    /* Layout */
    --container-max: 1200px;
    --padding-mobile: 16px;
    --gap-mobile: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-base);
    font-size: var(--fs-base);
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--padding-mobile);
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--primary);
    color: var(--text);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
    outline: 2px solid var(--primary);
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: var(--text);
    border-bottom: 1px solid rgba(255, 254, 74, 0.2);
    z-index: 50;
    box-shadow: var(--shadow-sm);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    height: 40px;
    width: auto;
    border-radius: var(--radius-sm);
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 60;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--bg);
    transition: all 0.3s;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: var(--text);
    padding: 80px 24px 24px;
    transition: left 0.3s;
    box-shadow: var(--shadow-md);
    z-index: 55;
}

.nav-menu.active {
    left: 0;
}

.nav-primary {
    list-style: none;
    margin-bottom: 24px;
}

.nav-primary li {
    margin-bottom: 16px;
}

.nav-primary a {
    color: var(--bg);
    text-decoration: none;
    font-size: var(--fs-md);
    font-weight: 500;
    display: block;
    padding: 8px 0;
    transition: color 0.2s;
}

.nav-primary a:hover,
.nav-primary a:focus {
    color: var(--primary);
    outline: none;
}

.nav-cta {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-family: var(--font-base);
    font-size: var(--fs-base);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    outline: none;
}

.btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--primary);
    color: var(--text);
}

.btn-primary:hover {
    background: var(--primary-alt);
}

.btn-ghost {
    background: transparent;
    color: var(--bg);
    border: 1px solid var(--bg);
}

.btn-ghost:hover {
    background: rgba(255, 255, 251, 0.15);
}

.hero .btn-ghost {
    color: var(--bg);
    border-color: var(--bg);
}

.btn-lg {
    padding: 16px 32px;
    font-size: var(--fs-md);
}

.btn-sm {
    padding: 8px 16px;
    font-size: var(--fs-sm);
}

.btn-block {
    width: 100%;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--primary-alt) 0%, var(--dark) 100%);
    padding: 32px 0;
    color: var(--bg);
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.hero-text {
    text-align: center;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: var(--fs-3xl);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--primary);
}

.hero-subtitle {
    font-size: var(--fs-md);
    color: var(--bg);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 251, 0.15);
    border: 1px solid rgba(255, 255, 251, 0.3);
    border-radius: var(--radius-sm);
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--bg);
}

.hero-image {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Sections */
section {
    padding: 32px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
}

.intro-text {
    margin-bottom: 24px;
    text-align: center;
    font-size: var(--fs-md);
    line-height: 1.7;
    color: rgba(4, 0, 6, 0.8);
}

.games-content .intro-text {
    color: var(--bg);
}

.intro-text:last-child {
    margin-bottom: 32px;
}

.subtitle {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: 600;
    margin-bottom: 16px;
    margin-top: 32px;
    text-align: center;
    color: var(--text);
}

.games-content .subtitle {
    color: var(--primary);
}

.content-list {
    list-style: none;
    margin-bottom: 24px;
    padding: 0;
}

.content-list li {
    padding-left: 28px;
    margin-bottom: 12px;
    position: relative;
    font-size: var(--fs-base);
    line-height: 1.6;
    color: rgba(4, 0, 6, 0.8);
}

.games-content .content-list li {
    color: var(--bg);
}

.content-list li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--primary-alt);
    font-size: 14px;
}

.games-content .content-list li::before {
    color: var(--primary);
}

/* Games Slider */
.games-content {
    margin: 32px 0;
    background: linear-gradient(135deg, var(--primary-alt) 0%, var(--dark) 100%);
    border: 1px solid rgba(255, 254, 74, 0.2);
    border-radius: var(--radius-lg);
    padding: 48px 24px;
}

.games-slider {
    position: relative;
    padding: 0 50px;
}

.slider-wrapper {
    overflow: hidden;
    position: relative;
}

.slide {
    display: none;
    animation: fadeIn 0.5s;
}

.slide.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    z-index: 10;
}

.slider-btn:hover {
    background: var(--primary-alt);
}

.slider-btn:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.slider-prev {
    left: 0;
}

.slider-next {
    right: 0;
}

.slider-btn svg {
    color: var(--dark);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 251, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.dot:hover {
    background: rgba(255, 255, 251, 0.6);
}

.dot.active {
    background: var(--primary);
    width: 32px;
    border-radius: 6px;
}

.dot:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Features */
.features-section {
    padding-top: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--gap-mobile);
}

.feature-card {
    background: linear-gradient(135deg, var(--primary-alt) 0%, var(--dark) 100%);
    border: 1px solid rgba(255, 254, 74, 0.2);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.feature-icon {
    font-size: 32px;
    color: var(--primary);
    margin-right: 12px;
    flex-shrink: 0;
}

.feature-name {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    color: var(--bg);
}

.feature-desc {
    color: rgba(255, 255, 251, 0.8);
    font-size: var(--fs-base);
}

/* Bonus */
.bonus-table-wrapper {
    overflow-x: auto;
    margin-bottom: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 254, 74, 0.2);
}

.bonus-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg);
    color: var(--text);
}

.bonus-table thead {
    background: linear-gradient(135deg, var(--primary-alt) 0%, var(--dark) 100%);
}

.bonus-table th {
    padding: 16px;
    text-align: left;
    font-weight: 600;
    color: var(--bg);
}

.bonus-table td {
    padding: 16px;
    border-bottom: 1px solid rgba(222, 200, 170, 0.2);
    color: var(--text);
}

.bonus-table tbody tr:last-child td {
    border-bottom: none;
}

.bonus-table tbody tr:hover {
    background: rgba(255, 254, 74, 0.1);
}

/* Providers */
.providers-section {
    background: linear-gradient(135deg, var(--primary-alt) 0%, var(--dark) 100%);
}

.providers-section .section-title {
    color: var(--primary);
}

.providers-scroll {
    overflow: hidden;
    padding: 24px 0;
    position: relative;
    width: 100%;
}


.providers-track {
    display: flex;
    gap: 48px;
    animation: scroll 30s linear infinite;
    width: fit-content;
}

.providers-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.providers-scroll img {
    height: 40px;
    width: auto;
    flex-shrink: 0;
    filter: brightness(0) invert(1) opacity(0.8);
    transition: filter 0.2s;
}

.providers-scroll img:hover {
    filter: brightness(0) invert(1) opacity(1);
}

/* Payments */
.payments-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.payment-card {
    background: linear-gradient(135deg, var(--primary-alt) 0%, var(--dark) 100%);
    border: 1px solid rgba(255, 254, 74, 0.2);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, box-shadow 0.2s;
}

.payment-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.payment-icon {
    height: 40px;
    width: auto;
    margin-bottom: 12px;
    filter: brightness(0) invert(1);
}

.payment-icon-placeholder {
    font-size: 40px;
    margin-bottom: 12px;
}

.payment-name {
    font-size: var(--fs-md);
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--bg);
}

.payment-type {
    font-size: var(--fs-sm);
    color: rgba(255, 255, 251, 0.7);
    margin-bottom: 8px;
}

.payment-eta {
    font-size: var(--fs-sm);
    color: var(--bg);
    margin-bottom: 4px;
}

.payment-note {
    font-size: var(--fs-xs);
    color: rgba(255, 255, 251, 0.7);
}

/* Steps */
.steps-list {
    max-width: 700px;
    margin: 0 auto 48px;
}

.step-item {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    position: relative;
}

.step-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 40px;
    width: 2px;
    height: calc(100% + 20px);
    background: var(--accent);
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-alt) 0%, var(--dark) 100%);
    color: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--fs-md);
    position: relative;
    z-index: 1;
}

.step-text {
    flex: 1;
    padding-top: 8px;
    color: rgba(4, 0, 6, 0.8);
}

/* Register Form */
.register-form-wrapper {
    background: var(--bg);
    border: 1px solid rgba(222, 200, 170, 0.3);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    box-shadow: var(--shadow-md);
    color: var(--text);
}

.cta-section .register-form-wrapper {
    max-width: 100%;
}

.register-form h3 {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    margin-bottom: 24px;
    text-align: center;
    color: var(--text);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: var(--fs-sm);
    color: var(--text);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(178, 160, 23, 0.3);
    border-radius: var(--radius-sm);
    font-family: var(--font-base);
    font-size: var(--fs-base);
    background: rgba(222, 200, 170, 0.08);
    color: var(--text);
    transition: all 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-alt);
    background: var(--bg);
    box-shadow: 0 0 0 3px rgba(255, 254, 74, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.checkbox-group input {
    width: auto;
    margin-top: 4px;
}

.checkbox-group label {
    margin-bottom: 0;
    font-size: var(--fs-sm);
    cursor: pointer;
}

.form-message {
    margin-top: 16px;
    padding: 12px;
    border-radius: var(--radius-sm);
    text-align: center;
    font-size: var(--fs-sm);
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-alt) 0%, var(--dark) 100%);
    color: var(--bg);
}

.cta-section .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
}

.cta-content {
    text-align: center;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: var(--fs-2xl);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--primary);
}

.cta-subtitle {
    font-size: var(--fs-md);
    margin-bottom: 32px;
    color: var(--bg);
}

/* Footer */
.footer {
    background: var(--text);
    color: var(--bg);
    padding: 48px 0 24px;
}

.footer-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.footer-column h4 {
    font-family: var(--font-heading);
    font-size: var(--fs-md);
    margin-bottom: 16px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255, 255, 251, 0.8);
    text-decoration: none;
    font-size: var(--fs-sm);
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 24px;
}

.footer-badges img {
    height: 40px;
    width: auto;
}

.footer-legal {
    text-align: center;
    font-size: var(--fs-xs);
    color: rgba(255, 255, 251, 0.6);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

/* Consent Bar */
.consent-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text);
    color: var(--bg);
    padding: 16px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    display: none;
}

.consent-bar.visible {
    display: block;
}

.consent-bar .container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.consent-message {
    font-size: var(--fs-sm);
    text-align: center;
}

.consent-actions {
    display: flex;
    gap: 12px;
}

/* Sticky Bottom CTA */
.sticky-bottom-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 16px;
    background: var(--bg);
    border-top: 1px solid rgba(222, 200, 170, 0.3);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 45;
    display: none;
    transition: transform 0.3s;
}

.sticky-bottom-cta.visible {
    display: block;
}

.sticky-bottom-cta.hidden {
    transform: translateY(100%);
}

/* Tablet */
@media (min-width: 768px) {
    :root {
        --padding-mobile: 24px;
        --gap-mobile: 16px;
    }
    
    .hero {
        padding: 48px 0;
    }
    
    .hero-content {
        flex-direction: row;
        align-items: center;
        gap: 48px;
    }
    
    .hero-text {
        flex: 1;
        text-align: left;
    }
    
    .hero-subtitle {
        margin-left: 0;
        margin-right: 0;
    }
    
    .hero-ctas {
        flex-direction: row;
        justify-content: flex-start;
    }
    
    .hero-badges {
        justify-content: flex-start;
    }
    
    .hero-image {
        flex: 1;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .payments-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-columns {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .consent-bar .container {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .sticky-bottom-cta {
        display: none !important;
    }
    
    .cta-section .container {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    :root {
        --padding-mobile: 32px;
        --gap-mobile: 24px;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .nav-menu {
        position: static;
        width: auto;
        height: auto;
        padding: 0;
        display: flex;
        align-items: center;
        gap: 32px;
        box-shadow: none;
    }
    
    .nav-primary {
        display: flex;
        gap: 24px;
        margin-bottom: 0;
    }
    
    .nav-primary li {
        margin-bottom: 0;
    }
    
    .nav-primary a {
        font-size: var(--fs-base);
        padding: 0;
    }
    
    .nav-cta {
        width: auto;
    }
    
    .hero {
        padding: 56px 0;
    }
    
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: var(--fs-lg);
    }
    
    .section-title {
        font-size: 42px;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .payments-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    section {
        padding: 48px 0;
    }
    
    .cta-section .container {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }
    
    .cta-content {
        text-align: left;
    }
}

/* Focus styles for a11y */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

/* Responsive table on mobile */
@media (max-width: 767px) {
    .bonus-table thead {
        display: none;
    }
    
    .bonus-table tbody tr {
        display: block;
        margin-bottom: 16px;
        border: 1px solid rgba(222, 200, 170, 0.3);
        border-radius: var(--radius-sm);
        background: var(--bg);
    }
    
    .bonus-table td {
        display: flex;
        justify-content: space-between;
        padding: 12px 16px;
        border-bottom: 1px solid rgba(222, 200, 170, 0.2);
        color: var(--text);
    }
    
    .bonus-table td:last-child {
        border-bottom: none;
    }
    
    .bonus-table td::before {
        content: attr(data-label);
        font-weight: 600;
        margin-right: 16px;
        color: var(--primary-alt);
    }
    
    /* Slider mobile adjustments */
    .games-slider {
        padding: 0 40px;
    }
    
    .slider-btn {
        width: 32px;
        height: 32px;
    }
    
    .slider-btn svg {
        width: 18px;
        height: 18px;
    }
}

