/* 
Theme Name: Dhaniwin Astra Child 
Template: astra 
Description: Dhaniwin Astra Child Theme 
Version: 2.0.0 
Text Domain: dhaniwin-child 
*/ 

/* ============================================================
   DHANIWIN — Premium Affiliate Gaming Website
   Design System & Complete CSS Architecture
   Version: 1.0.0
   ============================================================ */

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
    /* Brand Colors — Gold + Purple + Black palette */
    --bg-primary: #0b0c10;
    --bg-surface: #12151e;
    --bg-card-dark: #1a1d2e;
    --accent-gold: #f5a623;
    --accent-purple: #9f58d4;
    --accent-green: #00d084;
    --cta-button: #fbbf24;
    --cta-hover: #f59e0b;
    --border-glow: rgba(159, 88, 212, 0.4);
    --gradient-start: #9f58d4;
    --gradient-end: #fbbf24;

    /* Light Theme (body/content) */
    --bg-body: #f8f9fc;
    --bg-section-alt: #f0f1f5;
    --bg-card: #ffffff;
    --text-main: #111827;
    --text-muted: #4b5563;
    --text-light: #9CA3AF;
    --border: #e5e7eb;
    --border-light: #f3f4f6;

    /* Functional Colors */
    --success: #00d084;
    --warning: #f5a623;
    --error: #ef4444;

    /* Typography — System fonts for 0ms load */
    --font-headings: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 80px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-card-hover: 0 10px 20px -3px rgba(0, 0, 0, 0.1), 0 4px 8px -2px rgba(0, 0, 0, 0.06);
    --shadow-glow: 0 0 20px rgba(159, 88, 212, 0.15);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
}

/* ── Reset & Base ──────────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.8;
    font-size: 1.05rem;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-main);
}

h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    letter-spacing: -0.5px;
    color: #ffffff;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    color: var(--text-main);
}

h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-purple));
    border-radius: 4px;
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin: 2rem 0 1rem;
    color: var(--bg-primary);
    font-weight: 700;
}

h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1.2rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

a {
    color: var(--accent-purple);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--accent-gold);
}

strong {
    font-weight: 700;
    color: var(--text-main);
}

/* ── Layout Container ──────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-primary);
    border-bottom: 1px solid rgba(159, 88, 212, 0.15);
    padding: 0.75rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo a {
    display: flex;
    align-items: center;
}

.nav-logo img {
    max-height: 42px;
    width: auto;
}

/* Hamburger Menu Button */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

.mobile-menu-btn span {
    width: 28px;
    height: 2.5px;
    background: #ffffff;
    border-radius: 10px;
    transition: all 0.3s ease;
    display: block;
}

/* Hamburger → X animation */
.mobile-menu-btn.toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-menu-btn.toggle span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.mobile-menu-btn.toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ── Slide-in Navigation Panel ────────────────────────────── */
.nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 55%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-primary);
    flex-direction: column;
    justify-content: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0;
    z-index: 999;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    border-right: 1px solid rgba(159, 88, 212, 0.2);
}

.nav-links.active {
    left: 0;
}

.nav-links a {
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: block;
    transition: var(--transition-fast);
    opacity: 0.85;
}

.nav-links a:hover {
    color: var(--accent-gold);
    opacity: 1;
    padding-left: 8px;
}

.nav-links a:last-child {
    border-bottom: none;
}

/* Menu Overlay (dark backdrop) */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(4px);
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ── Hero Section ──────────────────────────────────────────── */
.hero {
    position: relative;
    padding: 5rem 0 4rem;
    background: linear-gradient(135deg, var(--bg-primary) 0%, #1a0a2e 50%, var(--bg-primary) 100%);
    overflow: hidden;
    color: #ffffff;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(159, 88, 212, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 850px;
}

.hero-content {
    text-align: center;
}

.hero h1 {
    color: #ffffff;
    text-align: center;
    margin-bottom: 1.2rem;
    line-height: 1.15;
}

.hero h1 .brand-highlight {
    color: var(--accent-gold);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero CTA Buttons */
.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 2rem;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 145px;
    letter-spacing: 0.3px;
}

.hero-btn:hover {
    transform: translateY(-2px);
}

.hero-btn-register {
    background: var(--cta-button);
    color: var(--bg-primary);
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.35);
}

.hero-btn-register:hover {
    background: var(--cta-hover);
    color: var(--bg-primary);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.45);
}

.hero-btn-login {
    background: var(--accent-purple);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(159, 88, 212, 0.3);
}

.hero-btn-login:hover {
    background: #b06ee6;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(159, 88, 212, 0.4);
}

.hero-btn-download {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.hero-btn-download:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    background: rgba(245, 166, 35, 0.08);
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    font-size: 0.95rem;
}

.trust-badges span {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    min-height: 48px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    letter-spacing: 0.3px;
}

.btn-cta {
    background: var(--cta-button);
    color: var(--bg-primary);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.25);
}

.btn-cta:hover {
    background: var(--cta-hover);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(251, 191, 36, 0.35);
}

.btn-secondary {
    background: var(--accent-purple);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(159, 88, 212, 0.2);
}

.btn-secondary:hover {
    background: #b06ee6;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(159, 88, 212, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent-purple);
    color: var(--accent-purple);
    background: rgba(159, 88, 212, 0.04);
}

.btn-accent {
    background: var(--bg-primary);
    color: #ffffff;
}

.btn-accent:hover {
    background: #1a1d2e;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ── Content Sections ──────────────────────────────────────── */
.content-section {
    padding: 4rem 0;
    content-visibility: auto;
    contain-intrinsic-size: auto 500px;
}

.content-section:nth-child(even) {
    background-color: var(--bg-section-alt);
}

.section-header {
    margin-bottom: 2.5rem;
}

/* ── Cards ─────────────────────────────────────────────────── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 2rem 0;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(159, 88, 212, 0.3);
    box-shadow: var(--shadow-card-hover);
}

.card h3 {
    margin-top: 0;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

/* Step Cards */
.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    position: relative;
}

.step-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(159, 88, 212, 0.25);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-gold));
    color: #ffffff;
    border-radius: 50%;
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

/* ── Tables ────────────────────────────────────────────────── */
.table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: var(--bg-card);
    box-shadow: var(--shadow-card);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

th {
    background-color: var(--bg-primary);
    color: #ffffff;
    font-family: var(--font-headings);
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

tr:last-child td {
    border-bottom: none;
}

tr:hover td {
    background-color: rgba(159, 88, 212, 0.03);
}

td {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ── Lists ─────────────────────────────────────────────────── */
ul, ol {
    margin: 1rem 0 1.5rem 1.5rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

li {
    margin-bottom: 0.75rem;
}

/* Check List (feature lists) */
.check-list {
    list-style: none;
    margin-left: 0;
    padding: 0;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--text-main);
}

.check-list li::before {
    content: '✓';
    color: #ffffff;
    background: var(--accent-green);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    min-width: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    margin-top: 2px;
}

/* ── Image-Text Split Layout ──────────────────────────────── */
.image-text-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin: 2rem 0;
}

.image-text-split .content {
    padding: 0;
}

.content-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

/* Responsive Image Container */
.responsive-image-container {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.responsive-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* ── FAQ Accordion ─────────────────────────────────────────── */
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.faq-item:hover {
    border-color: rgba(159, 88, 212, 0.3);
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: var(--text-main);
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: var(--transition-fast);
    line-height: 1.4;
}

.faq-icon {
    color: var(--accent-purple);
    transition: transform 0.3s ease;
    background: rgba(159, 88, 212, 0.1);
    width: 30px;
    height: 30px;
    min-width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.75rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-out;
    background: var(--bg-card);
}

.faq-answer-inner {
    padding: 0 24px 20px;
    color: var(--text-muted);
    line-height: 1.7;
}

.faq-answer-inner p {
    margin: 0 0 0.8rem;
}

.faq-answer-inner p:last-child {
    margin-bottom: 0;
}

.faq-item.active .faq-question {
    color: var(--accent-purple);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    background: var(--accent-purple);
    color: #ffffff;
}

/* ── Games Section (Dark Theme) ────────────────────────────── */
.games-section {
    background: var(--bg-primary) !important;
    color: #ffffff;
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--accent-purple), var(--accent-gold)) 1;
}

.games-section h2 {
    color: #ffffff;
}

.games-section h2::after {
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-purple));
}

.games-section h3 {
    color: #ffffff;
}

.games-section p {
    color: #cbd5e1;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 2rem 0;
}

.game-card {
    background: var(--bg-card-dark);
    border: 1px solid rgba(159, 88, 212, 0.15);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

.game-card:hover {
    transform: translateY(-5px);
    background: rgba(159, 88, 212, 0.1);
    border-color: var(--accent-purple);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4), var(--shadow-glow);
}

.game-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    aspect-ratio: 1/1;
    background: rgba(255, 255, 255, 0.05);
}

.game-placeholder {
    width: 100%;
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, rgba(159, 88, 212, 0.15), rgba(245, 166, 35, 0.1));
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.game-info h4 {
    margin: 0 0 0.4rem;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
}

.game-info p {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.4;
}

/* ── CTA Section (Final) ───────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, var(--bg-primary) 0%, #1a0a2e 100%);
    padding: 4rem 0;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    content-visibility: auto;
    contain-intrinsic-size: auto 300px;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-gold), var(--accent-purple));
}

.cta-section h2 {
    color: #ffffff;
    display: block;
    text-align: center;
}

.cta-section h2::after {
    display: none;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* ── Responsible Gaming Block ──────────────────────────────── */
.rg-block {
    background: rgba(245, 166, 35, 0.06);
    border: 1px solid rgba(245, 166, 35, 0.2);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    margin: 2rem 0;
    text-align: center;
}

.rg-block h3 {
    color: var(--accent-gold);
    margin: 0 0 12px;
    font-size: 1.15rem;
}

.rg-block p {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.rg-block p:last-child {
    margin-bottom: 0;
}

.rg-block a {
    color: var(--accent-purple);
    font-weight: 600;
}

/* ── Footer ────────────────────────────────────────────────── */
footer {
    background: var(--bg-primary);
    color: #ffffff;
    padding: 4rem 20px 2rem;
    content-visibility: auto;
    contain-intrinsic-size: auto 400px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 2rem;
}

.footer-about h3 {
    color: var(--accent-gold);
    margin: 0 0 1rem;
    font-size: 1.2rem;
}

.footer-about p {
    color: #9CA3AF;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-nav h4,
.footer-legal h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.footer-nav a,
.footer-legal a {
    display: block;
    color: #9CA3AF;
    padding: 6px 0;
    font-size: 0.95rem;
    font-weight: 400;
    transition: var(--transition-fast);
}

.footer-nav a:hover,
.footer-legal a:hover {
    color: var(--accent-gold);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    color: #6b7280;
    font-size: 0.85rem;
    margin: 0 0 0.5rem;
}

.footer-disclaimer {
    font-size: 0.8rem !important;
    color: #4b5563 !important;
    max-width: 700px;
    margin: 1rem auto 0 !important;
    line-height: 1.6;
}

/* ── Sticky Mobile CTA Bar ─────────────────────────────────── */
.sticky-mobile-bar {
    display: none;
    position: fixed;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 997;
    width: 40%;
    min-width: 180px;
    max-width: 280px;
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
    text-align: center;
}

.sticky-mobile-bar .btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100% !important;
    padding: 10px 14px;
    font-size: 0.95rem;
    line-height: 1.2;
    min-height: 50px;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end)) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(159, 88, 212, 0.5) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    animation: floatPulse 2s infinite ease-in-out;
    white-space: normal;
}

@keyframes floatPulse {
    0% { transform: scale(1); box-shadow: 0 4px 15px rgba(159, 88, 212, 0.5); }
    50% { transform: scale(1.03); box-shadow: 0 8px 25px rgba(245, 166, 35, 0.6); }
    100% { transform: scale(1); box-shadow: 0 4px 15px rgba(159, 88, 212, 0.5); }
}

/* ── Affiliate Offer Card ──────────────────────────────────── */
.offer-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
    border-left: 4px solid var(--accent-gold);
}

.offer-card:hover {
    border-color: var(--accent-purple);
    border-left-color: var(--accent-purple);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.offer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.brand-logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-gold));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.3rem;
    color: #ffffff;
    flex-shrink: 0;
}

.brand-info h3 {
    margin: 0 0 4px;
    font-size: 1.2rem;
    color: var(--text-main);
}

.rating {
    display: flex;
    gap: 3px;
    color: var(--accent-gold);
    font-size: 1rem;
}

.offer-details {
    flex: 2;
    display: flex;
    gap: 24px;
    align-items: center;
}

.offer-bonus {
    flex: 1;
}

.offer-bonus span {
    display: block;
    color: var(--text-light);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
    font-weight: 600;
}

.offer-bonus strong {
    font-size: 1.25rem;
    color: var(--accent-green);
    line-height: 1.2;
    font-weight: 800;
}

.offer-features {
    flex: 1;
    list-style: none;
    margin: 0;
    padding: 0;
}

.offer-features li {
    margin: 0 0 6px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
    font-weight: 500;
}

.offer-features li::before {
    content: '✓';
    color: #ffffff;
    background: var(--accent-green);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    min-width: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
}

.offer-action {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 180px;
}

/* ── Support Section ───────────────────────────────────────── */
.support-channels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 2rem 0;
}

.support-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.support-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(159, 88, 212, 0.3);
}

.support-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.support-card h4 {
    color: var(--text-main);
    margin-bottom: 6px;
}

.support-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* ── Contact Form ──────────────────────────────────────────── */
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--text-main);
    background: var(--bg-card);
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(159, 88, 212, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* ── Blog Archive Layout ───────────────────────────────────── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin: 2rem 0;
}

.blog-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-card);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(159, 88, 212, 0.3);
}

.blog-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--bg-section-alt);
}

.blog-card-body {
    padding: 20px;
}

.blog-card-body h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    color: var(--text-main);
}

.blog-card-body p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0 0 12px;
    line-height: 1.6;
}

.blog-card-meta {
    font-size: 0.8rem;
    color: var(--text-light);
    display: flex;
    gap: 12px;
}

/* ── Legal Page Styles ─────────────────────────────────────── */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h2 {
    display: block;
}

.legal-content h2::after {
    display: none;
}

.legal-content h3 {
    color: var(--text-main);
    margin-top: 2.5rem;
}

.legal-content p,
.legal-content li {
    font-size: 1rem;
    line-height: 1.8;
}

/* ── Page Header (inner pages) ─────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, var(--bg-primary) 0%, #1a0a2e 100%);
    padding: 3rem 0;
    text-align: center;
    color: #ffffff;
}

.page-hero h1 {
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* ── Utility Classes ───────────────────────────────────────── */
.text-center {
    text-align: center;
}

.text-gold {
    color: var(--accent-gold);
}

.text-purple {
    color: var(--accent-purple);
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* ── Responsive Design ─────────────────────────────────────── */

/* Tablet */
@media (max-width: 992px) {
    .image-text-split {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .image-text-split .image {
        order: -1;
    }

    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-about {
        grid-column: 1 / -1;
    }

    .offer-card {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .offer-brand {
        justify-content: center;
    }

    .offer-details {
        flex-direction: column;
        gap: 16px;
    }

    .offer-action {
        min-width: auto;
    }
}

/* Mobile */
@media (max-width: 768px) {
    body {
        font-size: 1rem;
        padding-bottom: 70px; /* Space for sticky bar */
    }

    .content-section {
        padding: 3rem 0;
    }

    h2 {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }

    .hero {
        padding: 3.5rem 0 3rem;
    }

    .hero h1 {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-btn {
        padding: 12px 22px;
        font-size: 0.95rem;
        min-width: 120px;
    }

    .trust-badges {
        font-size: 0.85rem;
        gap: 10px;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .footer-nav a,
    .footer-legal a {
        display: inline-block;
        padding: 6px 10px;
    }

    .support-channels {
        grid-template-columns: 1fr 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    /* Show sticky mobile bar */
    .sticky-mobile-bar {
        display: flex;
    }

    /* Table scroll hint */
    .table-wrapper {
        margin-left: -10px;
        margin-right: -10px;
        border-radius: 0;
    }

    th, td {
        padding: 12px 14px;
        font-size: 0.9rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 3rem 0 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-btn {
        width: 100%;
        max-width: 280px;
    }

    .trust-badges {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .game-card {
        padding: 14px;
    }

    .support-channels {
        grid-template-columns: 1fr;
    }

    .btn-group {
        flex-direction: column;
        align-items: center;
    }

    .btn-group .btn {
        width: 100%;
        max-width: 280px;
    }
}

/* ── Performance Optimizations ─────────────────────────────── */
.games-grid,
.faq-item,
footer {
    content-visibility: auto;
    contain-intrinsic-size: 0 400px;
}

.content-section {
    contain: layout style;
}

/* ── Print Styles ──────────────────────────────────────────── */
@media print {
    .navbar,
    .sticky-mobile-bar,
    .menu-overlay {
        display: none !important;
    }

    body {
        padding-bottom: 0;
    }

    .hero {
        background: #333 !important;
        padding: 2rem 0;
    }
}

/* ── Interactive & Scroll Animations ──────────────────────── */
.card {
    overflow: hidden; /* Ensure zoomed images do not spill out */
}

.card img {
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.card:hover img {
    transform: scale(1.04);
}

.fade-up-element {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.fade-up-element.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Advanced Interactivity & Micro-Animations ───────────────── */
/* Elevate and scale cards on hover for a tactile feel */
.card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: var(--shadow-card-hover), 0 15px 30px rgba(0,0,0,0.1);
}

/* Add a subtle zoom to images inside cards when hovered */
.card img {
    transition: transform 0.4s ease;
}
.card:hover img {
    transform: scale(1.04);
}

/* Button push-down effect (active state) */
.btn {
    transition: all 0.3s ease, transform 0.1s ease;
}
.btn:active {
    transform: scale(0.96) !important;
}

/* Enhance CTA button hover with a glowing shadow */
.btn-cta:hover {
    box-shadow: 0 0 20px rgba(245, 166, 35, 0.5);
    transform: translateY(-2px);
}

/* Enhance Secondary button hover */
.btn-secondary:hover {
    box-shadow: 0 0 20px rgba(159, 88, 212, 0.4);
    transform: translateY(-2px);
}

/* Enhance FAQ accordions */
.faq-question {
    transition: background-color 0.2s ease, padding-left 0.2s ease;
}
.faq-question:hover {
    background-color: var(--bg-section-alt);
    padding-left: 1.8rem;
}
.faq-question:focus-visible {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

/* Subtle row highlight in tables */
tr {
    transition: background-color 0.2s ease, transform 0.1s ease;
}
tr:hover td {
    background-color: rgba(245, 166, 35, 0.05);
}

/* Add focus rings for accessibility (Google prefers this) */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
    outline: 3px solid var(--accent-purple);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ── Desktop Navigation ────────────────────────────────────────── */
@media (min-width: 993px) {
    .mobile-menu-btn {
        display: none;
    }
    
    .nav-links {
        position: static;
        flex-direction: row;
        justify-content: center;
        width: auto;
        height: auto;
        max-width: none;
        background: transparent;
        padding: 0;
        box-shadow: none;
        border-right: none;
        flex: 1;
        gap: 1rem;
    }
    
    .nav-links a {
        border-bottom: none;
        padding: 10px 15px;
    }
    
    .nav-links a:hover {
        padding-left: 15px; /* prevent layout shift on hover in desktop */
    }
}
