:root {
    /* Colors - Dark Luxury Casino Theme */
    --color-bg-body: #0a0a0a;
    --color-bg-card: #141414;
    --color-bg-dark: #000000;

    --color-primary: #d72f33;
    /* PinUp Red-ish */
    --color-primary-hover: #b01f23;
    --color-accent: #f5b942;
    /* Gold */
    --color-accent-hover: #d49a2a;

    --color-text-main: #ffffff;
    --color-text-muted: #a0a0a0;
    --color-border: #2a2a2a;

    --gradient-hero: linear-gradient(135deg, #1a0505 0%, #000000 100%);
    --gradient-gold: linear-gradient(to right, #f5b942, #ffe5a0, #f5b942);

    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 40px;

    /* Layout */
    --container-width: 1200px;
    --header-height: 70px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* Transitions */
    --transition-fast: 0.2s ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--color-bg-body);
    color: var(--color-text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

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

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

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--color-primary);
}

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

.mt-1 {
    margin-top: var(--spacing-sm);
}

.mt-2 {
    margin-top: var(--spacing-md);
}

.mt-3 {
    margin-top: var(--spacing-lg);
}

.mt-4 {
    margin-top: var(--spacing-xl);
}

.mb-1 {
    margin-bottom: var(--spacing-sm);
}

.mb-2 {
    margin-bottom: var(--spacing-md);
}

.mb-3 {
    margin-bottom: var(--spacing-lg);
}

.full-width {
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: none;
    transition: all var(--transition-fast);
    font-size: 14px;
    letter-spacing: 0.5px;
    text-decoration: none;
}

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

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

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

.btn-secondary:hover {
    background-color: rgba(215, 47, 51, 0.1);
}

.btn-accent {
    background: var(--gradient-gold);
    color: #3e2600;
}

.btn-accent:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    color: #3e2600;
}

.btn-outline {
    border: 1px solid white;
    color: white;
    background: transparent;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

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

.btn-sm {
    padding: 6px 16px;
    font-size: 12px;
}

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

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: white;
}

.logo-img {
    height: 32px;
    width: 32px;
}

.desktop-nav ul {
    display: flex;
    gap: 20px;
}

.desktop-nav a {
    font-weight: 600;
    font-size: 0.95rem;
    padding: 5px 0;
    position: relative;
}

.desktop-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
}

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

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background: white;
    border-radius: 3px;
    transition: 0.3s;
}

.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: var(--color-bg-card);
    padding: 20px;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-150%);
    transition: transform 0.3s ease-in-out;
    z-index: 999;
}

.mobile-menu.open {
    transform: translateY(0);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
}

.mobile-menu a {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 10px;
}

/* Hero */
.hero {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

/* Features Strip */
.features-strip {
    background: var(--color-bg-card);
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border);
}

.features-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    font-size: 24px;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-text strong {
    font-size: 0.9rem;
    color: white;
}

.feature-text span {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

/* Promos */
.promos {
    padding: var(--spacing-xl) 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.view-all {
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.promo-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--color-border);
    transition: transform var(--transition-fast);
}

.promo-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
}

.promo-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.promo-content {
    padding: 20px;
}

.promo-content h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--color-accent);
}

.promo-content p {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 16px;
    min-height: 42px;
}

/* Games Grid */
.games-bg {
    background: #0f0f0f;
    padding: var(--spacing-xl) 0;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.game-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    display: block;
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

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

.game-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 15px;
}

.game-overlay span,
.game-overlay h3 {
    font-weight: 700;
    font-size: 1.2rem;
    text-shadow: 0 2px 4px black;
}

.game-overlay .btn-sm {
    margin-top: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: 0.3s;
    width: max-content;
}

.game-card:hover .game-overlay .btn-sm {
    opacity: 1;
    transform: translateY(0);
}

/* Steps */
.steps {
    padding: var(--spacing-xl) 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

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

.step-num {
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 15px;
}

.step-item h4 {
    margin-bottom: 8px;
}

.step-item p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* FAQ Accordion */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.accordion-item {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    padding: 15px 20px;
    background: none;
    border: none;
    color: white;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header .arrow {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

.accordion-item.active .accordion-header .arrow {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px;
    background: rgba(255, 255, 255, 0.02);
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    /* simple fixed height or JS dynamic */
    padding: 15px 20px;
}

/* Tables */
.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background: var(--color-bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.info-table th,
.info-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.info-table th {
    background: #1f1f1f;
    color: var(--color-accent);
    font-weight: 600;
}

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

/* Footer */
.footer {
    background: #050505;
    padding: 40px 0 20px;
    margin-top: 40px;
    border-top: 1px solid var(--color-border);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h5 {
    margin-bottom: 15px;
    color: white;
    opacity: 0.8;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

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

.footer-bottom {
    text-align: center;
    border-top: 1px solid #1a1a1a;
    padding-top: 20px;
    color: #555;
    font-size: 0.8rem;
}

/* Response Media Queries */
@media (max-width: 768px) {
    .header-actions .btn {
        display: none;
    }

    /* Hide buttons on mobile header to save space? Or maybe keep one? */
    /* Let's keep one generic 'Login' or just Icon */
    .header-actions .btn-secondary {
        display: none;
    }

    .header-actions .btn-primary {
        padding: 6px 12px;
        font-size: 12px;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
        margin-left: 10px;
    }

    .hero {
        height: 400px;
    }

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

    .features-grid {
        justify-content: center;
    }

    .feature-item {
        width: 45%;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .feature-item {
        width: 100%;
        justify-content: flex-start;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}