/* ============================================================
   CASINO / GAMBLING AFFILIATE SITE - DARK THEME
   --------------------------------------------------
   Generic, reusable CSS with CSS variables.
   Based on serveurx3.net visual style — dark gradients,
   gold accents, casino feel. Works for any niche by
   overriding the :root variables.
   ============================================================ */

/* ============================================================
   1. CSS VARIABLES
   ============================================================ */
:root {
    /* Brand colors */
    --primary: #ffd700;
    --primary-rgb: 255, 215, 0;
    --secondary: #ff8c00;
    --secondary-rgb: 255, 140, 0;
    --accent: #ff0844;
    --accent-rgb: 255, 8, 68;

    /* Background shades */
    --bg-dark: #1a1a2e;
    --bg-darker: #0f0f23;
    --bg-card: rgba(255, 255, 255, 0.05);
    --bg-card-hover: rgba(255, 255, 255, 0.1);

    /* Text colors */
    --text: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-dim: rgba(255, 255, 255, 0.5);

    /* Borders & shadows */
    --border: rgba(255, 215, 0, 0.2);
    --border-hover: rgba(255, 215, 0, 0.5);
    --shadow-gold: rgba(255, 215, 0, 0.3);
    --shadow-accent: rgba(255, 8, 68, 0.3);

    /* Spacing & shape */
    --radius: 15px;
    --radius-sm: 10px;
    --radius-xs: 5px;
    --transition: 0.3s ease;
    --font-main: 'Poppins', sans-serif;
}

/* ============================================================
   2. RESET + BASE STYLES
   ============================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 50%, var(--bg-darker) 100%);
    background-attachment: fixed;
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color var(--transition);
}
a:hover { color: var(--secondary); }

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================================
   3. KEYFRAMES ANIMATIONS (7 total)
   ============================================================ */

/* 3a. Pulsing scale — CTA buttons */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 20px 10px rgba(var(--accent-rgb), 0);
    }
}

/* 3b. Float — decorative elements */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* 3c. Shimmer sweep — gradient text */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* 3d. Glow — logo and featured items */
@keyframes glow {
    0%, 100% {
        text-shadow:
            0 0 10px rgba(var(--primary-rgb), 0.5),
            0 0 20px rgba(var(--primary-rgb), 0.3);
    }
    50% {
        text-shadow:
            0 0 20px rgba(var(--primary-rgb), 0.8),
            0 0 40px rgba(var(--primary-rgb), 0.5),
            0 0 60px rgba(var(--primary-rgb), 0.3);
    }
}

/* 3e. Shake — sticky CTA attention grab */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* 3f. Slide in from right — toast notifications */
@keyframes slideIn {
    0% { transform: translateX(120%); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

/* 3g. Slide out to right — toast notifications */
@keyframes slideOut {
    0% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(120%); opacity: 0; }
}

/* ============================================================
   4. HEADER + NAVIGATION
   ============================================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
    transition: all var(--transition);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo with glow animation */
.logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    animation: glow 3s ease-in-out infinite;
    letter-spacing: 1px;
}
.logo span { color: var(--text); font-weight: 300; }

/* Nav links with underline hover effect */
.nav { display: flex; gap: 30px; align-items: center; }

.nav a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    padding: 5px 0;
    transition: color var(--transition);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width var(--transition);
}

.nav a:hover { color: var(--primary); }
.nav a:hover::after { width: 100%; }

/* Hamburger menu toggle (mobile only, hidden on desktop) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text);
    transition: all var(--transition);
}

/* ============================================================
   5. HERO SECTION
   ============================================================ */
.hero {
    padding: 140px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(ellipse at center, rgba(var(--primary-rgb), 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* Badge above headline */
.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.2), rgba(var(--secondary-rgb), 0.2));
    border: 1px solid var(--border);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* h1 with gradient text + shimmer animation */
.hero h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 35px;
    line-height: 1.7;
}

/* Main CTA button with pulse animation */
.hero-cta {
    display: inline-block;
    padding: 16px 45px;
    background: linear-gradient(135deg, var(--accent), #ff6b35);
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    animation: pulse 2s ease-in-out infinite;
    transition: all var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 25px var(--shadow-accent);
}

.hero-cta:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 40px var(--shadow-accent);
    color: var(--text);
}

/* Hero stats row */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.hero-stats .stat { text-align: center; }

.hero-stats .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}

.hero-stats .stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero image with float animation */
.hero-image {
    margin-top: 50px;
    position: relative;
    animation: float 4s ease-in-out infinite;
}

.hero-image img {
    max-width: 600px;
    margin: 0 auto;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ============================================================
   6. FEATURES GRID
   ============================================================ */
.features { padding: 80px 0; }

.features .section-title { text-align: center; margin-bottom: 50px; }
.features .section-title h2 { font-size: 2.2rem; font-weight: 700; color: var(--primary); margin-bottom: 10px; }
.features .section-title p { color: var(--text-muted); font-size: 1.05rem; }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Feature cards with hover translateY(-10px) */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 35px 25px;
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before { opacity: 1; }

/* Emoji icons */
.feature-icon { font-size: 2.5rem; margin-bottom: 20px; display: block; }
.feature-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.feature-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   7. CONTENT SECTION (ARTICLE BODY)
   ============================================================ */
.content-section { padding: 60px 0; }

/* h2 gold color with bottom border */
.content-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
}

.content-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text);
    margin: 30px 0 15px;
}

/* Paragraphs justified */
.content-section p {
    font-size: 1.02rem;
    color: var(--text-muted);
    line-height: 1.8;
    text-align: justify;
    margin-bottom: 18px;
}

.content-section ul,
.content-section ol { margin: 15px 0 25px 20px; }

.content-section li {
    color: var(--text-muted);
    padding: 5px 0 5px 10px;
    position: relative;
    list-style: none;
}

.content-section ul li::before { content: '\2728'; position: absolute; left: -15px; }
.content-section ol { counter-reset: item; }
.content-section ol li { counter-increment: item; }
.content-section ol li::before {
    content: counter(item) '.';
    position: absolute;
    left: -20px;
    color: var(--primary);
    font-weight: 700;
}

/* Content images — rounded with gold border */
.content-section img {
    border-radius: var(--radius);
    border: 2px solid var(--border);
    margin: 25px auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: border-color var(--transition);
}
.content-section img:hover { border-color: var(--primary); }

/* Highlight / tip box */
.highlight-box {
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.1), rgba(var(--secondary-rgb), 0.05));
    border: 1px solid var(--border);
    border-left: 4px solid var(--primary);
    border-radius: var(--radius-sm);
    padding: 25px 30px;
    margin: 30px 0;
    position: relative;
}

.highlight-box::before {
    content: '\1F4A1';
    position: absolute;
    top: -12px;
    left: 20px;
    font-size: 1.5rem;
    background: var(--bg-dark);
    padding: 0 8px;
}

.highlight-box p { text-align: left; margin-bottom: 0; }
.highlight-box strong { color: var(--primary); }

/* Internal link styling */
.internal-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    border-bottom: 1px dashed var(--primary);
    padding-bottom: 2px;
    transition: all var(--transition);
}
.internal-link:hover { color: var(--secondary); border-color: var(--secondary); }
.internal-link::after { content: '\2192'; transition: transform var(--transition); }
.internal-link:hover::after { transform: translateX(4px); }

/* ============================================================
   8. COMPARISON TABLE
   ============================================================ */
.comparison-section { padding: 60px 0; }

.comparison-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 35px;
}

.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: 0.95rem;
}

/* Table header with gradient background */
.comparison-table thead th {
    background: linear-gradient(135deg, var(--bg-dark), rgba(var(--primary-rgb), 0.15));
    color: var(--primary);
    font-weight: 700;
    padding: 18px 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    border-bottom: 2px solid var(--border);
    white-space: nowrap;
}

.comparison-table tbody td {
    padding: 16px 15px;
    color: var(--text-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
}

.comparison-table tbody tr { transition: background var(--transition); }
.comparison-table tbody tr:hover { background: rgba(var(--primary-rgb), 0.05); }
.comparison-table tbody tr:last-child td { border-bottom: none; }

/* badge-best — "Best choice" label in table */
.badge-best {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--bg-darker);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* cta-small — action button inside table rows */
.cta-small {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--accent), #ff6b35);
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.cta-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px var(--shadow-accent);
    color: var(--text);
}

/* Star rating display */
.table-stars { color: var(--primary); font-size: 1rem; letter-spacing: 2px; }

/* ============================================================
   9. FAQ ACCORDION
   ============================================================ */
.faq-section { padding: 80px 0; }

.faq-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 40px;
}

.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--bg-card);
    transition: border-color var(--transition);
}

.faq-item:hover { border-color: var(--border-hover); }

/* Question row with + icon */
.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: none;
    border: none;
    color: var(--text);
    font-family: var(--font-main);
    font-size: 1.02rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: color var(--transition);
}

.faq-question:hover { color: var(--primary); }

/* Plus icon that rotates 45deg to become X */
.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary);
    transition: transform var(--transition);
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-item.active .faq-question::after { transform: rotate(45deg); }

/* Collapsible answer with max-height transition */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 20px;
}

.faq-answer p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

/* ============================================================
   10. CTA SECTION + CTA BOX MID-CONTENT
   ============================================================ */

/* Full-width CTA banner */
.cta-section {
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(ellipse at center, rgba(var(--accent-rgb), 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section h2 { font-size: 2.2rem; font-weight: 800; color: var(--text); margin-bottom: 15px; }
.cta-section h2 span { color: var(--primary); }
.cta-section p { color: var(--text-muted); font-size: 1.05rem; max-width: 550px; margin: 0 auto 30px; }
.cta-section .hero-cta { font-size: 1.15rem; padding: 18px 50px; }

/* CTA box — mid-content promotional block */
.cta-box {
    background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.15), rgba(var(--primary-rgb), 0.1));
    border: 2px solid var(--accent);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.cta-box h3 { font-size: 1.6rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.cta-box h3 span { color: var(--primary); }
.cta-box p { color: var(--text-muted); margin-bottom: 20px; font-size: 1rem; }
.cta-box .hero-cta { font-size: 1rem; padding: 14px 35px; }

/* ============================================================
   11. TOAST / SOCIAL PROOF NOTIFICATIONS
   ============================================================ */
.toast {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 300px;
    max-width: 400px;
    z-index: 9999;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.5s ease forwards;
}

.toast.hide { animation: slideOut 0.5s ease forwards; }

/* Avatar circle with gradient background */
.toast-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bg-darker);
    flex-shrink: 0;
}

.toast-content { flex: 1; }
.toast-content strong { display: block; font-size: 0.85rem; color: var(--text); margin-bottom: 2px; }
.toast-content span { font-size: 0.78rem; color: var(--text-muted); }

.toast-close {
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 5px;
    transition: color var(--transition);
}
.toast-close:hover { color: var(--text); }

/* ============================================================
   12. URGENCY COUNTER
   ============================================================ */
.urgency-counter {
    background: rgba(var(--accent-rgb), 0.08);
    border: 2px solid var(--accent);
    border-radius: var(--radius-sm);
    padding: 20px 30px;
    text-align: center;
    margin: 30px auto;
    max-width: 500px;
    animation: pulse 2.5s ease-in-out infinite;
}

.urgency-counter p {
    color: var(--text);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 10px;
}

.urgency-counter .countdown { display: flex; justify-content: center; gap: 15px; }
.urgency-counter .countdown-item { display: flex; flex-direction: column; align-items: center; }
.urgency-counter .countdown-number { font-size: 1.8rem; font-weight: 800; color: var(--accent); line-height: 1; }
.urgency-counter .countdown-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}
.urgency-counter .countdown-separator {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dim);
    align-self: flex-start;
    margin-top: 2px;
}

/* ============================================================
   13. FOOTER
   ============================================================ */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about .logo { font-size: 1.5rem; margin-bottom: 15px; display: inline-block; }
.footer-about p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

.footer-links h4,
.footer-contact h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--text-muted); font-size: 0.9rem; transition: all var(--transition); }
.footer-links a:hover { color: var(--primary); padding-left: 5px; }
.footer-contact p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 8px; }

/* Warning box (red tint) — responsible gambling notice */
.footer-warning {
    background: rgba(var(--accent-rgb), 0.08);
    border: 1px solid rgba(var(--accent-rgb), 0.3);
    border-radius: var(--radius-sm);
    padding: 20px 25px;
    margin-bottom: 30px;
}

.footer-warning p {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.6;
    text-align: center;
}
.footer-warning strong { color: var(--accent); }

/* Footer bottom bar */
.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p { color: var(--text-dim); font-size: 0.82rem; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: var(--text-dim); font-size: 0.82rem; transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--primary); }

/* ============================================================
   14. STICKY CTA - DESKTOP (140px FLOATING CIRCLE)
   ============================================================ */
.sticky-cta-desktop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), #ff6b35);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-weight: 800;
    font-size: 0.75rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 8px 30px var(--shadow-accent);
    transition: all var(--transition);
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8);
    text-decoration: none;
    line-height: 1.3;
    padding: 10px;
}

/* Appears on scroll with shake animation */
.sticky-cta-desktop.visible {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
    animation: shake 0.8s ease-in-out;
}

.sticky-cta-desktop:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px var(--shadow-accent);
    color: var(--text);
}

.sticky-cta-desktop .sticky-icon { font-size: 1.8rem; margin-bottom: 4px; }

/* ============================================================
   15. MOBILE STICKY BAR (FULL-WIDTH FIXED BOTTOM)
   ============================================================ */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(15, 15, 35, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    padding: 12px 20px;
    z-index: 1001;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.mobile-sticky-bar .mobile-sticky-text {
    flex: 1;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
}

.mobile-sticky-bar .mobile-sticky-text span {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 400;
}

.mobile-sticky-bar .mobile-sticky-btn {
    display: inline-block;
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--accent), #ff6b35);
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: all var(--transition);
    text-decoration: none;
}

.mobile-sticky-bar .mobile-sticky-btn:hover {
    color: var(--text);
    box-shadow: 0 5px 20px var(--shadow-accent);
}

/* ============================================================
   16. UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.text-gold { color: var(--primary); }
.text-muted { color: var(--text-muted); }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }

.gold-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    margin: 20px auto;
    border-radius: 2px;
}

.section-tag {
    display: inline-block;
    background: rgba(var(--primary-rgb), 0.15);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

/* ============================================================
   17. RESPONSIVE - TABLET (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {

    /* Header: hamburger visible, nav becomes slide-in panel */
    .menu-toggle { display: flex; }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: var(--bg-darker);
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 20px;
        transition: right 0.4s ease;
        border-left: 1px solid var(--border);
        z-index: 999;
    }

    .nav.open { right: 0; }

    .nav a {
        font-size: 1.1rem;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    /* Hero adjustments */
    .hero { padding: 120px 0 60px; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    .hero-stats { gap: 25px; flex-wrap: wrap; }
    .hero-stats .stat-number { font-size: 1.5rem; }
    .hero-image img { max-width: 100%; }

    /* Features: 2 columns */
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .feature-card { padding: 25px 18px; }

    /* Content section */
    .content-section h2 { font-size: 1.6rem; }

    /* Comparison table */
    .comparison-table { font-size: 0.85rem; }
    .comparison-table thead th { padding: 12px 10px; font-size: 0.78rem; }
    .comparison-table tbody td { padding: 12px 10px; }

    /* CTA box */
    .cta-box { padding: 30px 20px; }
    .cta-box h3 { font-size: 1.3rem; }

    /* Footer collapses to single column */
    .footer-content { grid-template-columns: 1fr; gap: 30px; }

    /* Hide desktop sticky, show mobile bar */
    .sticky-cta-desktop { display: none !important; }
    .mobile-sticky-bar { display: flex; }

    /* Toast repositioning above mobile bar */
    .toast { left: 15px; right: 15px; bottom: 75px; min-width: auto; max-width: none; }

    /* Bottom padding so mobile bar doesn't cover content */
    body { padding-bottom: 70px; }
}

/* ============================================================
   18. RESPONSIVE - MOBILE (max-width: 480px)
   ============================================================ */
@media (max-width: 480px) {

    html { font-size: 14px; }
    .container { padding: 0 15px; }

    /* Hero compact */
    .hero { padding: 110px 0 50px; }
    .hero h1 { font-size: 1.8rem; }
    .hero-badge { font-size: 0.75rem; padding: 6px 14px; }
    .hero-cta { padding: 14px 35px; font-size: 0.95rem; }
    .hero-stats { flex-direction: column; gap: 18px; }

    /* Features: single column */
    .features-grid { grid-template-columns: 1fr; }
    .features .section-title h2 { font-size: 1.6rem; }

    /* Content section tighter */
    .content-section h2 { font-size: 1.4rem; }
    .content-section p { text-align: left; font-size: 0.95rem; }
    .highlight-box { padding: 20px; }

    /* Table horizontal scroll, full bleed */
    .table-wrapper { margin: 0 -15px; border-radius: 0; }

    /* FAQ compact */
    .faq-question { padding: 16px 18px; font-size: 0.92rem; }
    .faq-item.active .faq-answer { padding: 0 18px 16px; }

    /* CTA section */
    .cta-section h2 { font-size: 1.6rem; }
    .cta-section .hero-cta { font-size: 1rem; padding: 14px 35px; }

    /* Urgency counter */
    .urgency-counter { padding: 15px 18px; }
    .urgency-counter .countdown-number { font-size: 1.4rem; }

    /* Footer bottom stacking */
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-bottom-links { justify-content: center; }

    /* Toast full-width above mobile bar */
    .toast { bottom: 70px; left: 10px; right: 10px; }
}

/* ============================================================
   19. SCROLLBAR CUSTOMIZATION
   ============================================================ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-darker); }
::-webkit-scrollbar-thumb { background: rgba(var(--primary-rgb), 0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(var(--primary-rgb), 0.5); }

/* ============================================================
   20. SELECTION HIGHLIGHT
   ============================================================ */
::selection { background: rgba(var(--primary-rgb), 0.3); color: var(--text); }
::-moz-selection { background: rgba(var(--primary-rgb), 0.3); color: var(--text); }


/* Content images */
.content-image-wrapper {
    margin: 2rem 0;
    text-align: center;
    border-radius: 12px;
    overflow: hidden;
}
.content-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
