/* CSS Variables - Easy Theming */
:root {
    --primary-color: #ff3e3e;
    /* Casino Red (Placeholder) */
    --primary-hover: #e62e2e;
    --secondary-color: #2b2b2b;
    --secondary-hover: #1a1a1a;

    --bg-body: #0f1115;
    /* Dark Theme Base */
    --bg-card: #1a1d24;
    --bg-alt: #14161c;

    --text-main: #ffffff;
    --text-muted: #a0a0a0;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;

    --container-width: 1200px;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    font-size: 16px;
}

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

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

ul {
    list-style: none;
}

/* Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    /* Slightly squarer for casino feel */
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--text-main);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-main);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    z-index: 2000;
}

.skip-link:focus {
    top: 0;
}

/* Header */
.site-header {
    background-color: rgba(15, 17, 21, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -1px;
}

.nav-list {
    display: flex;
    gap: var(--spacing-md);
}

.nav-list a {
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-list a:hover {
    color: var(--primary-color);
}

.nav-actions {
    display: flex;
    gap: var(--spacing-sm);
    margin-left: var(--spacing-md);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.hamburger-icon {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    position: relative;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: white;
    transition: 0.3s;
}

.hamburger-icon::before {
    top: -6px;
}

.hamburger-icon::after {
    top: 6px;
}

/* Hero */
.hero-section {
    padding: 8rem 0 6rem;
    background-image: linear-gradient(rgba(15, 17, 21, 0.7), var(--bg-body)), url('hero-placeholder.webp');
    /* Placeholder */
    background-size: cover;
    background-position: center;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
    background: linear-gradient(45deg, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.trust-micro-copy {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.hero-trust-badges {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    opacity: 0.8;
}

/* Games Grid */
.game-categories {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-md);
}

.cat-btn {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.cat-btn.active,
.cat-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--spacing-sm);
}

.game-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-thumb-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.game-card:hover .game-thumb-img {
    transform: scale(1.1);
}

.badgeq {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 10;
}

.new-badge {
    background: #00c853;
    color: white;
}

.hot-badge {
    background: #ff3d00;
    color: white;
}

.game-title {
    font-size: 1rem;
    padding: var(--spacing-sm) var(--spacing-sm) 0;
}

.provider-tag {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    padding: 0 var(--spacing-sm) var(--spacing-sm);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    color: white;
    font-weight: bold;
    text-transform: uppercase;
}

.game-card:hover .play-overlay {
    opacity: 1;
}

.section-footer {
    text-align: center;
    margin-top: var(--spacing-md);
}

/* Bonuses */
.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.bonus-card {
    background: var(--bg-card);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.bonus-card.featured {
    border-color: var(--primary-color);
    background: linear-gradient(to bottom right, var(--bg-card), #2a1a1a);
}

.bonus-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-color);
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.bonus-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: var(--spacing-sm) 0;
}

.bonus-detail {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-md);
}

.bonus-terms {
    display: block;
    margin-top: var(--spacing-sm);
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* How To Steps */
.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    counter-reset: steps;
}

.step-item {
    text-align: center;
    position: relative;
    background: var(--bg-card);
    padding: var(--spacing-md);
    border-radius: var(--border-radius);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    margin: 0 auto var(--spacing-sm);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Payments */
.payments-grid {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-md);
}

.payment-method {
    padding: 10px 20px;
    background: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    font-size: 0.9rem;
    font-weight: bold;
    min-width: 100px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

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

.payment-details-text {
    max-width: 800px;
    margin: var(--spacing-md) auto;
    text-align: left;
}

.payment-details-text h3 {
    color: var(--primary-color);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
}

.payment-details-text p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-muted);
}

.payment-details-text ul {
    list-style: disc;
    padding-left: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    color: var(--text-muted);
}

.table-responsive {
    overflow-x: auto;
    margin: var(--spacing-md) 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    background: var(--bg-card);
}

.payments-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.payments-table th,
.payments-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.payments-table th {
    background: rgba(0, 0, 0, 0.2);
    color: var(--primary-color);
    font-weight: 700;
}

.payments-table tr:last-child td {
    border-bottom: none;
}

.payments-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* FAQ */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-sm);
    background: var(--bg-card);
}

.faq-item summary {
    padding: var(--spacing-sm) var(--spacing-md);
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    position: relative;
    padding-right: 40px;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-size: 1.2rem;
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-answer {
    padding: 0 var(--spacing-md) var(--spacing-md);
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-answer ul {
    list-style: disc;
    padding-left: 20px;
    margin-top: 10px;
}

/* Footer */
.site-footer {
    background-color: #000;
    padding: var(--spacing-lg) 0 var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.footer-links h4 {
    margin-bottom: var(--spacing-sm);
    color: white;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-md);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-inner {
        position: relative;
    }

    .mobile-menu-toggle {
        display: block;
        z-index: 1001;
    }

    .primary-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-card);
        padding: var(--spacing-md);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        flex-direction: column;
        text-align: center;
    }

    .primary-nav.active {
        display: flex;
    }

    .nav-list {
        flex-direction: column;
        gap: var(--spacing-sm);
        margin-bottom: var(--spacing-md);
    }

    .nav-actions {
        margin-left: 0;
        width: 100%;
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .steps-container {
        grid-template-columns: 1fr;
    }
}
/* CTA Popup Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85); /* Dark background for focus */
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cta-popup {
    background: linear-gradient(135deg, var(--bg-card), #1e1e24);
    width: 90%;
    max-width: 500px;
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 40px rgba(255, 62, 62, 0.2); /* Glow effect */
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.modal-overlay.active .cta-popup {
    transform: translateY(0);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    transition: var(--transition);
}

.popup-close:hover {
    background: var(--primary-color);
}

.popup-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
    line-height: 1.1;
}

.popup-highlight {
    color: var(--primary-color);
    display: block;
    font-weight: 800;
}

.popup-text {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.popup-btn {
    width: 100%;
    padding: 16px;
    font-size: 1.2rem;
    /* Uses inherited btn styles, just custom sizing */
}
