/* --- START styles.css --- */
/* CSS Variables & Theme */
:root {
    --primary-blue: #005fcc;
    /* Lottoland EuroMillions Blue */
    --secondary-blue: #004799;
    /* Darker variant */
    --accent-gold: #fbbf24;
    --accent-gold-hover: #f59e0b;
    --text-light: #f8fafc;
    --text-dim: #cbd5e1;
    /* Lighter dim text for contrast on blue */
    --glass-bg: rgba(0, 95, 204, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    --max-width: 1200px;
    --header-height: 140px;
    --transition-speed: 0.3s;
    --lottoland-green: #69A507;
    --lottoland-navy: #1f2228;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--primary-blue);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

/* Typography */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    color: var(--text-dim);
}

/* Layout */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.header {
    height: var(--header-height);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

/* Top Bar Styles */
.top-bar {
    background-color: var(--primary-blue);
    /* EuroMillions Dominant Blue */
    color: #ffffff;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    border-bottom: none;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    /* Ensure padding matches container */
}

.latest-draw-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.draw-label {
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

.mini-balls {
    display: flex;
    gap: 0.4rem;
}

.mini-ball {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.mini-ball.main {
    background-color: #ffffff;
    color: var(--lottoland-navy);
}

.mini-ball.star {
    background-color: #fcd34d;
    color: var(--lottoland-navy);
}

.check-results-link {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 12px;
    border-radius: 4px;
    transition: all 0.2s;
}

.check-results-link:hover {
    text-decoration: none;
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}



.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    padding: 5px 0;
    /* Removed Pill Padding */
    background: transparent;
    /* Removed Pill BG */
    border-radius: 0;
    box-shadow: none;
    transition: transform var(--transition-speed);
}

.logo:hover {
    transform: scale(1.02);
    background: transparent;
}

.logo img {
    height: 85px;
    width: auto;
}

/* Hamburger hidden on desktop */
.hamburger {
    display: none;
}

.nav ul {
    display: flex;
    gap: 1.5rem;
}

.nav a {
    font-weight: 600;
    font-size: 1rem;
    color: #334155;
    /* Dark grey nav links */
    position: relative;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.nav-icon {
    display: none;
}

.nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -8px;
    left: 0;
    background-color: var(--primary-blue);
    transition: width var(--transition-speed);
}

.nav a:hover::after,
.nav a.active::after {
    width: 100%;
}

.nav a:hover,
.nav a.active {
    color: var(--primary-blue);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--header-height);
    padding-bottom: 4rem;
    /* Add breathing room at bottom */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('..//images/hero-bg.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient from Primary Blue to darker at bottom, transparent at top to let 3D balls show */
    background: linear-gradient(180deg, rgba(0, 95, 204, 0.4) 0%, rgba(0, 71, 153, 0.95) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content h1 {
    color: #ffffff;
    background: none;
    -webkit-background-clip: border-box;
    background-clip: border-box;
    -webkit-text-fill-color: initial;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    /* Extremely subtle shadow */
    line-height: 1.1;
    letter-spacing: -1px;
    /* Tighter tracking for headline */
}

.hero-content p {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    background: rgba(0, 0, 0, 0.25);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(4px);
    margin-bottom: 1.5rem;
    display: inline-block;
}


/* Offer Card (New CTA Structure) */
.offer-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    color: var(--primary-blue);
    width: 100%;
    max-width: 500px;
    margin-top: 1.5rem;
    position: relative;
    overflow: hidden;
}

.offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: #69A507;
    /* Lottoland Green accent */
}

.jackpot-highlight {
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.3), 0 2px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
    animation: jackpot-intense-pulse 2.5s infinite ease-in-out;
    white-space: nowrap;
}

.offer-card .jackpot-highlight:not(#jackpot-amount),
.sub-hero .jackpot-highlight {
    font-size: 2.25rem;
    letter-spacing: -1px;
    animation: jackpot-intense-pulse 2s infinite ease-in-out;
    padding: 0 4px;
    /* Prevent shadow clipping */
    margin-top: 0.75rem;
}

#jackpot-amount {
    font-size: 3rem;
}

.jackpot-highlight:hover {
    transform: scale(1.05);
    text-shadow: 0 0 15px rgba(251, 191, 36, 0.6), 0 4px 20px rgba(0, 0, 0, 0.2);
}

@keyframes jackpot-intense-pulse {

    0%,
    100% {
        transform: scale(1);
        text-shadow: 0 0 10px rgba(251, 191, 36, 0.3), 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    50% {
        transform: scale(1.1);
        text-shadow: 0 0 20px rgba(251, 191, 36, 0.5), 0 2px 15px rgba(0, 0, 0, 0.1);
    }
}




.jackpot-label-small {
    text-transform: uppercase;
    font-size: 0.875rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 1.5px;
    margin-bottom: 2rem;
}

.offer-details {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.offer-title {
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #0f172a;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.offer-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.5rem;
}

.old-price {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 1.125rem;
    font-weight: 500;
}

.new-price {
    font-weight: 800;
    color: #e11d48;
    /* Stronger red for discount */
}

.btn-offer {
    display: block;
    width: 100%;
    padding: 1rem 2rem;
    background: #69A507;
    /* Lottoland Green */
    color: #ffffff;
    font-weight: 700;
    font-size: 1.25rem;
    border-radius: 5px;
    /* Lottoland often uses slightly rounded buttons, not full pills for widgets */
    text-align: center;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(105, 165, 7, 0.3);
}

.btn-offer:hover {
    background: #558a06;
    /* Slightly darker green */
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(105, 165, 7, 0.4);
}

.offer-timer {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Unified Footer */
.footer {
    padding: 6rem 0 3rem;
    background: var(--primary-blue);
    /* Dominant EuroMillions Blue */
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.footer-trust {
    margin-bottom: 3rem;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
    margin: 3rem 0;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 1rem;
    border-radius: 10px;
    transition: all var(--transition-speed);
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    text-align: left;
}

.feature-card:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.06);
}

.feature-icon {
    display: flex;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.feature-title {
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.2;
}

.feature-card p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
    margin: 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: #ffffff;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-selector {
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.selector-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    justify-content: center;
}

.selector-label::before,
.selector-label::after {
    content: '';
    height: 1px;
    width: 40px;
    background: rgba(255, 255, 255, 0.1);
}

.flag-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.flag-item {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.flag-item img {
    width: 24px;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.flag-item span {
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
}

.flag-item:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.regulatory-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    max-width: 600px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
    font-style: italic;
}

/* 3D Ticket Branding */
.ticket-branding {
    position: absolute;
    bottom: 12px;
    right: 15px;
    opacity: 0.6;
    /* More visible prominence */
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ticket-branding img {
    height: 18px;
    /* Slightly larger */
    width: auto;
    filter: saturate(0.8);
    /* Allow brand green to show slightly */
}

.branding-text {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.5px;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 0;
}

.copyright {
    font-family: var(--font-main);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}

.responsible-tag {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-family: var(--font-main);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: rgba(255, 255, 255, 0.6);
}

.responsible-tag span,
.responsible-tag a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.responsible-tag a:hover {
    color: #ffffff;
}

.separator {
    opacity: 0.4;
    font-weight: 300;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    .jackpot-highlight {
        font-size: 3rem;
    }

    .nav {
        display: none;
        /* Mobile menu implementation could go here */
    }

    .header-container {
        justify-content: center;
    }
}

/* --- Compact Header (Interior Pages) --- */
.header.header-compact {
    height: 95px;
    /* Significantly reduced from 140px */
}

.header.header-compact .top-bar {
    padding: 0.2rem 0;
    font-size: 0.75rem;
}

.header.header-compact .mini-ball {
    width: 20px;
    height: 20px;
    font-size: 0.65rem;
}

.header.header-compact .header-container {
    height: auto;
    padding: 0.25rem 2rem;
}

.header.header-compact .logo img {
    height: 50px;
    /* reduced from 85px */
}

.header.header-compact .nav a {
    font-size: 0.9rem;
}

/* --- Sub-Hero (Interior Pages - Prominent Version) --- */
.sub-hero {
    position: relative;
    min-height: 520px;
    /* Más alto para dar protagonismo */
    padding-top: calc(var(--header-height) + 1rem);
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--primary-blue);
}

/* Highlight the background balls */
.sub-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/hero-bg-balls.jpg') no-repeat center center/cover;
    opacity: 0.85;
    /* Mucho más visible en la zona derecha */
    animation: moveBackground 60s linear infinite;
}

/* Smart Gradient: Solid Blue Left (Text) -> Transparent Right (CTA/Balls) */
.sub-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(0, 95, 204, 1) 0%,
            rgba(0, 95, 204, 0.95) 35%,
            rgba(0, 71, 153, 0.4) 100%);
}

.sub-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding-bottom: 2rem;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    /* Ensure full width */
}

.sub-hero-text {
    flex: 1;
    text-align: center;
    min-width: 300px;
    width: 100%;
}

.sub-hero-cta {
    flex: 1;
    display: flex;
    justify-content: center;
    width: 100%;
    min-width: 300px;
}

/* Desktop Breakpoint */
@media (min-width: 1024px) {
    .sub-hero-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 4rem;
    }

    .sub-hero-text {
        text-align: left;
    }

    .sub-hero-cta {
        justify-content: flex-end;
    }
}



/* Ensure white text for Hero H1 */
.sub-hero-text h1 {
    color: #ffffff;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    line-height: 1.1;
    background: none !important;
    -webkit-text-fill-color: #ffffff !important;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.sub-hero-text p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.35rem;
    margin: 0 auto 2rem;
    font-weight: 500;
    max-width: 700px;
}

.hero-benefits {
    list-style: none;
    padding: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    margin: 0 auto;
}

.sub-hero-cta {
    flex-shrink: 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Responsive Sub-Hero */
@media (max-width: 900px) {
    .sub-hero {
        min-height: auto;
        padding-bottom: 4rem;
        text-align: center;
    }

    .sub-hero .hero-bg {
        opacity: 0.4;
        /* Back to simple on mobile */
    }

    .sub-hero .hero-overlay {
        background: linear-gradient(180deg, rgba(0, 95, 204, 1) 0%, rgba(0, 71, 153, 0.9) 100%);
    }

    .sub-hero-content {
        flex-direction: column;
        gap: 2rem;
    }

    .sub-hero-text {
        margin-top: 2rem;
    }

    .sub-hero-cta {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}

/* --- END styles.css --- */

/* --- START content.css --- */
/* Content & SEO Sections */
.content-section {
    padding: 4rem 0;
    background: #f8fafc;
    color: var(--lottoland-navy);
}

.content-section.white-bg {
    background: #ffffff;
}

.content-title {
    color: var(--primary-blue);
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.seo-text p {
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.3rem;
    /* Larger */
    color: #000000;
    /* Pure Black - Target P directly to override global styles */
    line-height: 1.6;
    text-align: center;
    font-weight: 600;
    /* Medium-Bold */
}

/* How to Play - Steps */
.how-to-play-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    background: #f1f5f9;
    /* Distinct light grey background */
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: none;
    /* remove shadow for flat look */
    border: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-align: center;
    position: relative;
    overflow: visible;
    /* Allow number to pop out if needed */
}

.step-card p {
    color: #000000;
    /* Pure Black */
    font-size: 1.05rem;
    line-height: 1.6;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue);
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 50px;
    height: 50px;
    background: var(--lottoland-green);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    opacity: 1;
    /* Fully visible */
    box-shadow: 0 4px 10px rgba(105, 165, 7, 0.3);
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.step-title {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-blue);
}

/* Modern FAQ Design */
.faq-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    position: relative;
}

.faq-header {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-header .content-title {
    margin-bottom: 1rem;
}

.faq-subtitle {
    color: #64748b;
    font-size: 1.1rem;
}

/* Minimalist Accordion FAQ */
.faq-accordion {
    max-width: 900px;
    margin: 3rem auto 0;
}

.faq-item {
    border-bottom: 1px solid #eef2f6;
    background: #ffffff;
    transition: all 0.3s ease;
}

.faq-item:first-child {
    border-top: 1px solid #eef2f6;
}

.faq-trigger {
    width: 100%;
    padding: 2rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 2rem;
    transition: background 0.2s ease;
}

.faq-trigger:hover {
    background: #fcfdfe;
}

.faq-question-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.faq-icon-wrapper {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    opacity: 0.7;
    flex-shrink: 0;
}

.faq-question-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--lottoland-navy);
}

.faq-plus {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.faq-plus::before,
.faq-plus::after {
    content: '';
    position: absolute;
    background: #94a3b8;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.faq-plus::before {
    width: 14px;
    height: 2px;
}

.faq-plus::after {
    width: 2px;
    height: 14px;
}

.faq-item.active .faq-plus::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-item.active .faq-plus::before {
    background: var(--primary-blue);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
}

.faq-item.active .faq-content {
    max-height: 500px;
    /* Large enough for content */
}

.faq-answer-inner {
    padding: 0 1.5rem 2rem 4.5rem;
    color: #64748b;
    line-height: 1.8;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .faq-answer-inner {
        padding-left: 1.5rem;
    }

    .faq-question-text {
        font-size: 1rem;
    }
}

.faq-section {
    padding: 4rem 1.5rem;
}

/* Insight & SEO Sections */
.insight-section {
    padding: 6rem 0;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.insight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 5rem;
}

.insight-item h3 {
    color: var(--primary-blue);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.insight-item p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
}


/* Comparison Table */
.comparison-container {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.comparison-table th {
    background: var(--primary-blue);
    color: #ffffff;
    padding: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    text-align: center;
}

.comparison-table td {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    background: #ffffff;
    font-size: 1rem;
    color: #475569;
}

.comparison-table tr td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--lottoland-navy);
    background: #f8fafc;
    width: 30%;
}

.comparison-table tr:hover td {
    background: #f1f7ff;
}

/* Responsive Insights */
@media (max-width: 768px) {
    .insight-grid {
        gap: 2rem;
    }
}

/* Odds and Tiers Table */
.odds-section {
    padding: 6rem 0;
    background: #f8fafc;
}

.odds-container {
    max-width: 1000px;
    margin: 3rem auto 0;
}

.odds-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.odds-table th {
    background: var(--lottoland-navy);
    color: #ffffff;
    padding: 1.5rem;
    text-align: left;
    font-weight: 600;
}

.odds-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
}

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

.odds-table tr:hover {
    background: #f1f5f9;
}

.tier-badge {
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 12px;
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 0.85rem;
}

/* Mini Blue Table for FAQ (Comparison Style) */
.mini-odds-table {
    width: 100%;
    max-width: 480px;
    font-size: 0.85rem;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    margin-top: 1rem;
}

.mini-odds-table th {
    background: var(--primary-blue);
    color: #ffffff;
    padding: 0.75rem 1rem;
    text-align: center;
    font-weight: 700;
}

.mini-odds-table td {
    padding: 0.6rem 1rem;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    background: #ffffff;
    color: #475569;
}

.mini-odds-table tr td:first-child {
    text-align: center;
    font-weight: 600;
    color: var(--lottoland-navy);
    background: #f8fafc;
    width: 35%;
}

.mini-odds-table tr:hover td {
    background: #f1f7ff;
}

.mini-odds-table .tier-badge {
    padding: 1px 6px;
    font-size: 0.75rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.tip-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

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

.tip-card h3 {
    margin-bottom: 1rem;
    color: var(--lottoland-navy);
    display: flex;
    align-items: center;
    gap: 12px;
}

.tip-card p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Jackpot Rules Note */
.rules-note {
    background: #f8fafc;
    color: #475569;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 3rem;
    position: relative;
    border: 1px solid #e2e8f0;
    border-left: 3px solid var(--primary-blue);
}

.rules-note::after {
    content: 'i';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 4rem;
    font-weight: 900;
    opacity: 0.1;
    font-family: var(--font-heading);
    color: var(--primary-blue);
}

.rules-note h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--lottoland-navy);
    font-weight: 700;
}

.rules-note p {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 800px;
    opacity: 1;
    color: #334155;
}

/* --- END content.css --- */

/* --- START overview.css --- */
/* Overview Section - Compact Fact Sheet */
.overview-section {
    padding: 5rem 0;
    background-color: #f8fafc;
    color: var(--lottoland-navy);
}

.overview-container {
    max-width: 900px;
    margin: 3rem auto 0;
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 71, 153, 0.05);
    border: 1px solid #e2e8f0;
}

.info-table {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.info-row {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
    gap: 1.25rem;
}

/* Remove bottom border on the last rows */
.info-row:nth-last-child(-n+2) {
    border-bottom: none;
}

/* Mobile: Switch to 1 column */
@media (max-width: 768px) {
    .info-table {
        grid-template-columns: 1fr;
    }

    .info-row {
        border-bottom: 1px solid #f1f5f9;
    }

    .info-row:last-child {
        border-bottom: none;
    }
}

.info-icon-small {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: #f0f7ff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-content {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.05em;
    margin-bottom: 0.2rem;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--lottoland-navy);
}

.overview-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: #475569;
    font-size: 1.15rem;
    line-height: 1.6;
}

/* --- END overview.css --- */

/* --- START results.css --- */
/* Latest Results Section */
.results-section {
    padding: 5rem 0;
    background-color: #ffffff;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.results-section h2 {
    color: var(--primary-blue);
    margin-bottom: 2rem;
}

.draw-date {
    color: #64748b;
    /* Soft slate grey */
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    transition: opacity 0.2s ease;
    font-family: var(--font-heading);
    /* Use heading font */
}

.numbers-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.ball {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), inset 0 -4px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

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

.main-ball {
    background-color: var(--primary-blue);
    color: #ffffff;
    border: 2px solid var(--secondary-blue);
}

.star-ball {
    background-color: var(--accent-gold);
    color: var(--primary-blue);
    position: relative;
    border: 2px solid #f59e0b;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), inset 0 -4px 4px rgba(0, 0, 0, 0.1);
}

/* Remove pseudo element */
.star-ball::after {
    display: none;
}

.results-link {
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 1.125rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    animation: pulse-zoom 2s infinite ease-in-out;
    /* Zoom in/out effect */
}

@keyframes pulse-zoom {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.results-link:hover {
    border-bottom-color: var(--primary-blue);
    gap: 0.75rem;
    /* Slide contrast on hover */
}

/* --- END results.css --- */

/* --- START results-selector.css --- */
/* Result Date Selector */
.result-date-selector {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.date-btn {
    background: #ffffff;
    /* White bg for cleanness */
    border: 1px solid #e2e8f0;
    color: var(--lottoland-navy);
    padding: 0;
    /* Remove padding for calendar look */
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: var(--font-main);
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
    text-transform: uppercase;
    overflow: hidden;
    /* ensure header clips */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.date-btn span {
    font-size: 1.3rem;
    font-weight: 800;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lottoland-navy);
    width: 100%;
    margin-top: -2px;
}

.date-btn small {
    font-size: 0.6rem;
    font-weight: 700;
    width: 100%;
    background-color: var(--primary-blue);
    color: #ffffff;
    padding: 4px 0;
    order: -1;
    /* Move to top */
    letter-spacing: 0.5px;
    line-height: 1;
}

/* Rollover Pulse Animation */
@keyframes pulse-red {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.rollover-pulse {
    color: #dc2626;
    /* Red */
    font-weight: bold;
    display: inline-block;
    animation: pulse-red 2s infinite ease-in-out;
    padding: 2px 10px;
    border-radius: 999px;
    /* Pill shape */
    background-color: #fee2e2;
    /* Light red bg */
    border: 1px solid #fecaca;
}

/* Video Report Overlay */
#video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    z-index: 9999;
    display: none;
    /* Hidden by default */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    opacity: 0;
    transition: opacity 0.5s ease;
}

#video-overlay.active {
    display: flex;
    opacity: 1;
}

.video-content {
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

.video-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: slideDown 1s ease;
}

.video-highlight {
    font-size: 4rem;
    font-weight: 900;
    margin: 1rem 0;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(0, 149, 255, 0.5);
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.video-highlight.show {
    opacity: 1;
    transform: scale(1);
}

.video-subtitle {
    font-size: 1.5rem;
    color: #94a3b8;
    margin-bottom: 1rem;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.video-subtitle.show {
    opacity: 1;
}

.video-balls-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.video-ball {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ffffff;
    color: #0f172a;
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.video-ball.show {
    opacity: 1;
    transform: translateY(0);
}

.video-ball.star {
    background: var(--accent-gold);
    color: #000;
}

.close-video-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 99px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.close-video-btn:hover {
    background: #ffffff;
    color: #0f172a;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Play Report Button Style */
.play-report-btn {
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 99px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 1rem;
}

.play-report-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6);
}

.play-icon {
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid white;
}

.date-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-blue);
}

.date-btn.active {
    background-color: #ffffff;
    border-color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0, 95, 204, 0.25);
    transform: translateY(-2px);
}

.date-btn.active small {
    background-color: var(--primary-blue);
    /* Keep blue for consistency or change to Gold? Requested Euromillions branding. */
    /* Let's keep it Blue for standard "selected" look, or try Gold if user specifically asked for "acordes ... a euromillones" which might imply gold active state for contrast. */
    /* Implementation Plan mentioned: "Header turns Gold/Yellow" */
    background-color: #fbbf24;
    /* EuroMillions Gold */
    color: #1f2228;
    /* Dark text on gold */
}

/* --- END results-selector.css --- */

/* --- START breakdown.css --- */
/* Prize Breakdown Table */
.prize-breakdown-container {
    margin-top: 2rem;
    overflow-x: auto;
    display: none;
    /* Hidden by default, toggled via JS */
    animation: fadeIn 0.5s ease;
}

.prize-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.prize-table th {
    background-color: var(--primary-blue);
    color: #ffffff;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.prize-table td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    color: var(--lottoland-navy);
    font-size: 0.95rem;
    vertical-align: middle;
    text-align: left;
    /* Ensure left alignment */
}

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

.prize-table tr:hover td {
    background-color: #f8fafc;
}

/* Match Column Styling */
.match-cell {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
}

.match-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
}

.match-icon.b-main {
    background-color: var(--primary-blue);
    color: #ffffff;
}

.match-icon.b-star {
    background-color: var(--accent-gold);
    color: var(--lottoland-navy);
}

.plus-sign {
    color: #94a3b8;
    font-weight: 400;
    margin: 0 4px;
}

/* Toggle Button Reset */
#toggle-breakdown {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-main);
    padding: 0;
    font-size: 1.125rem;
    /* Match existing link size */
}

/* --- END breakdown.css --- */

/* --- START roadmap.css --- */
/* The Winning Roadmap Styles */
.roadmap-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 3rem auto;
    position: relative;
}

.step-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 2px solid #e2e8f0;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    gap: 2rem;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 95, 204, 0.15);
    border-color: var(--primary-blue);
}

.step-number {
    font-size: 4rem;
    font-weight: 900;
    color: #e2e8f0;
    font-family: var(--font-heading);
    line-height: 1;
    flex-shrink: 0;
    width: 80px;
    text-align: center;
}

.step-card:hover .step-number {
    color: var(--primary-blue);
    opacity: 0.3;
}

.step-content {
    flex: 1;
}

.step-icon {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lottoland-navy);
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.step-subtitle {
    font-size: 0.875rem;
    color: var(--primary-blue);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.step-tip {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.step-visual {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

/* Frequency Bars */
.frequency-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 100px;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.freq-bar {
    flex: 1;
    border-radius: 4px 4px 0 0;
    transition: all 0.3s ease;
}

.step-card:hover .freq-bar {
    transform: scaleY(1.1);
}

.visual-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
}

.hot-label {
    color: #ef4444;
}

.cold-label {
    color: #3b82f6;
}

/* Multiplier Display */
.multiplier-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.multiplier-symbol {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-blue);
}

.multiplier-value {
    font-size: 4rem;
    font-weight: 900;
    color: var(--lottoland-green);
    font-family: var(--font-heading);
}

.step-card:hover .multiplier-value {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Balance Chart */
.balance-chart {
    display: flex;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.balance-half {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 700;
    transition: all 0.3s ease;
}

.balance-half span {
    font-size: 2rem;
    font-family: var(--font-heading);
}

.balance-half small {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.balance-half.even {
    background: var(--primary-blue);
}

.balance-half.odd {
    background: var(--lottoland-green);
}

.step-card:hover .balance-half {
    transform: scaleY(1.05);
}

/* Roadmap Connector */
.roadmap-connector {
    width: 3px;
    height: 40px;
    background: linear-gradient(to bottom, #e2e8f0, var(--primary-blue), #e2e8f0);
    margin: 0 auto;
    border-radius: 2px;
}

/* Responsive */
@media (max-width: 768px) {
    .step-card {
        flex-direction: column;
        padding: 1.5rem;
    }

    .step-number {
        font-size: 3rem;
        width: 100%;
        text-align: left;
    }

    .roadmap-connector {
        height: 30px;
    }
}

/* --- END roadmap.css --- */

/* --- START jackpot-cap.css --- */
/* Jackpot Cap Visual Module - EuroMillions Blue Theme */
.jackpot-cap-module {
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    border-radius: 20px;
    padding: 3rem;
    margin: 4rem 0;
    position: relative;
    overflow: hidden;
    border: 2px solid #bfdbfe;
    box-shadow: 0 20px 60px rgba(0, 95, 204, 0.15);
}

.jackpot-cap-module::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), #fbbf24, transparent);
}

/* Header */
.cap-header {
    text-align: center;
    margin-bottom: 3rem;
}

.cap-title {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0284c7 50%, #fbbf24 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cap-subtitle {
    color: #64748b;
    font-size: 1rem;
    font-weight: 500;
}

/* Progress Bar Container */
.cap-progress-container {
    margin-bottom: 3rem;
}

.progress-milestones {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    position: relative;
}

.milestone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.milestone-marker {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid var(--primary-blue);
    box-shadow: 0 0 15px rgba(0, 95, 204, 0.4);
}

.milestone.end .milestone-marker.pulsing {
    background: #fbbf24;
    border-color: #fbbf24;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 15px rgba(251, 191, 36, 0.6), 0 0 30px rgba(251, 191, 36, 0.3);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 25px rgba(251, 191, 36, 0.8), 0 0 50px rgba(251, 191, 36, 0.4);
        transform: scale(1.2);
    }
}

.milestone-label {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--lottoland-navy);
    font-family: var(--font-heading);
}

.milestone.end .milestone-label {
    color: #f59e0b;
    font-size: 1.5rem;
}

.milestone-desc {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Progress Bar */
.progress-bar-wrapper {
    position: relative;
    margin-top: 2rem;
}

.progress-bar {
    height: 24px;
    background: #e0f2fe;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    border: 2px solid #bfdbfe;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue) 0%, #0284c7 50%, #0ea5e9 100%);
    border-radius: 12px;
    position: relative;
    transition: width 1s ease-out;
    box-shadow: 0 0 20px rgba(0, 95, 204, 0.4);
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.progress-glow {
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    bottom: -10px;
    background: radial-gradient(ellipse at center, rgba(0, 95, 204, 0.2), transparent);
    pointer-events: none;
}

/* Overflow Section */
.overflow-section {
    background: #ffffff;
    border: 2px solid #bfdbfe;
    border-left: 4px solid var(--primary-blue);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    box-shadow: 0 4px 6px rgba(0, 95, 204, 0.05);
}

.overflow-icon {
    color: var(--primary-blue);
    flex-shrink: 0;
    animation: bounce-arrow 2s ease-in-out infinite;
}

@keyframes bounce-arrow {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

.overflow-content {
    flex: 1;
}

.overflow-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.overflow-text {
    color: #475569;
    line-height: 1.8;
    font-size: 0.95rem;
}

.overflow-text strong {
    color: var(--lottoland-navy);
    font-weight: 700;
}

.must-win {
    color: #f59e0b;
    font-weight: 900;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.6);
    font-size: 1.05em;
}

/* Cap Growth Info */
.cap-growth-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.growth-card {
    background: #ffffff;
    border: 2px solid #bfdbfe;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.growth-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-blue);
    box-shadow: 0 10px 30px rgba(0, 95, 204, 0.2);
}

.growth-icon {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.growth-card p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .jackpot-cap-module {
        padding: 2rem 1.5rem;
    }

    .cap-title {
        font-size: 1.75rem;
    }

    .progress-milestones {
        flex-direction: column;
        gap: 1.5rem;
    }

    .milestone {
        flex-direction: row;
        justify-content: flex-start;
    }

    .overflow-section {
        flex-direction: column;
    }

    .cap-growth-info {
        grid-template-columns: 1fr;
    }
}

/* --- END jackpot-cap.css --- */

/* --- START cta-design-3.css --- */
/* Offer Card - Design Option 3 (Deep Blue Premium) */
.offer-card {
    background: linear-gradient(145deg, var(--primary-blue), #004799);
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 71, 153, 0.5);
    width: 100%;
    max-width: 550px;
    margin-top: 2rem;
    padding: 2.5rem 2rem;
    color: #ffffff;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* Hide design 2 specific elements/resets if any leak (though we usually replace HTML) */
.offer-header,
.offer-body {
    background: transparent;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
}

.offer-header .jackpot-label-small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.offer-header .jackpot-highlight {
    font-size: 3.8rem;
    margin-bottom: 2rem;
    /* Inheritance from global .jackpot-highlight handles the rest */
}

.deal-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.deal-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    color: var(--lottoland-navy);
    font-weight: 800;
    font-size: 0.8rem;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.deal-price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    /* Increased top margin to clear badge */
    margin-bottom: 0.5rem;
}

.deal-old {
    position: relative;
    text-decoration: none;
    color: #cbd5e1;
    /* Lighter grey for better contrast on blue */
    font-size: 2.2rem;
    font-weight: 500;
    margin-right: 0;
    padding: 0 4px;
    line-height: 1;
}

/* Línea horizontal alta y transparente */
.deal-old::after {
    content: '';
    position: absolute;
    left: -5%;
    right: -5%;
    top: 50%;
    /* Centered strike */
    height: 2px;
    background-color: #ef4444;
    /* Red strike */
    transform: rotate(-10deg);
    /* Angled strike looks better */
    opacity: 0.8;
    border-radius: 99px;
}

.deal-new {
    font-size: 3rem;
    /* Bigger new price */
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.deal-info {
    font-size: 1.1rem;
    color: #bef264;
    /* Lime green (lighter/brighter) for better contrast on blue */
    font-weight: 700;
    margin-left: 0;
    margin-top: 0.5rem;
    width: 100%;
    /* Force new line */
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.btn-offer {
    background: var(--lottoland-green);
    color: #ffffff;
    border-radius: 50px;
    /* Rounded for this friendly/premium look */
    padding: 1.25rem;
    font-size: 1.25rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    width: 100%;
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.btn-offer:hover {
    background: #5daf06;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.offer-timer {
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

/* --- END cta-design-3.css --- */

/* --- START simulator.css --- */
/* Simulator Section */
.simulator-section {
    padding: 6rem 0;
    overflow: hidden;
    background: #ffffff;
}

.simulator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Left Side: Steps */
.simulator-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sim-step {
    padding: 2.5rem;
    background: #f8fafc;
    border-radius: 24px;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.sim-step::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 6px;
    background: var(--primary-blue);
    border-radius: 0 4px 4px 0;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.sim-step.active {
    background: #ffffff;
    border-color: #f1f5f9;
    transform: translateX(20px);
    box-shadow: 0 20px 50px rgba(0, 71, 153, 0.12);
}

.sim-step.active::before {
    transform: scaleY(1);
}

.sim-step:not(.active):hover {
    background: #f1f5f9;
    transform: translateX(8px);
}

.sim-step:not(.active):hover .step-number {
    border-color: #cbd5e1;
    color: var(--primary-blue);
    transform: scale(1.05);
}

.sim-step .step-number {
    width: 64px;
    height: 64px;
    background: #ffffff;
    color: #cbd5e1;
    border: 4px solid #f1f5f9;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.sim-step.active .step-number {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 10px 20px rgba(0, 95, 204, 0.3);
}

.sim-step h3 {
    font-size: 1.7rem;
    margin-bottom: 1rem;
    color: var(--lottoland-navy);
    font-weight: 800;
}

.sim-step p {
    color: #475569;
    line-height: 1.8;
    margin: 0;
    font-size: 1.1rem;
}

/* Right Side: 3D Ticket */
.simulator-visual {
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 500px;
}

.ticket-3d {
    width: 300px;
    height: 420px;
    background: #fff;
    border-radius: 10px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s ease;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.ticket-header {
    border-bottom: 2px dashed #e2e8f0;
    padding-bottom: 10px;
    margin-bottom: 15px;
    text-align: center;
}

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

.ticket-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.ticket-dot {
    width: 28px;
    height: 28px;
    background: #f1f5f9;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.ticket-dot.marked {
    background: #3b82f6;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
    transform: scale(1.1);
}

.ticket-stars {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    /* Move stars to the left */
    padding-left: 10px;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}

.ticket-star {
    width: 30px;
    height: 30px;
    background: #fef3c7;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    transition: all 0.3s ease;
}

.ticket-star.marked {
    background: #fbbf24;
    transform: scale(1.2) rotate(360deg);
}

/* Animations based on state */
.simulator-visual.state-1 .ticket-3d {
    animation: float 4s ease-in-out infinite, glow 2s ease-in-out infinite;
    transform: rotateY(0deg) rotateX(0deg);
}

.simulator-visual.state-2 .ticket-3d {
    transform: rotateY(0deg) rotateX(0deg) scale(1.05);
}

.simulator-visual.state-3 .ticket-3d {
    transform: translateY(-200px) rotateY(180deg) scale(0);
    opacity: 0;
}

@keyframes float {

    0%,
    100% {
        transform: rotateY(0deg) rotateX(0deg) translateY(0);
    }

    50% {
        transform: rotateY(0deg) rotateX(0deg) translateY(-20px);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    }

    50% {
        box-shadow: 0 0 40px rgba(0, 95, 204, 0.3);
    }
}

/* Confirmed Badge */
.ticket-confirm {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: var(--lottoland-green);
    color: white;
    padding: 12px 24px;
    border-radius: 40px;
    font-weight: 800;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 10;
    box-shadow: 0 10px 25px rgba(105, 165, 7, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.simulator-visual.state-3 .ticket-confirm {
    transform: translate(-50%, -50%) scale(1.5);
}

/* Mobile Adjustments */
@media (max-width: 992px) {
    .simulator-wrapper {
        grid-template-columns: 1fr;
    }

    .simulator-visual {
        height: 400px;
        order: -1;
    }
}

/* --- END simulator.css --- */
/* EuroMillions Checker Styles */

/* Checker Widget Container (Inner - Security Ticket Look) */
#checker-widget {
    padding: 3rem;
    background-color: #fffbea;
    /* Warm cream base */
    background-image: repeating-linear-gradient(45deg,
            transparent,
            transparent 10px,
            rgba(217, 119, 6, 0.03) 10px,
            /* Very faint gold/orange lines */
            rgba(217, 119, 6, 0.03) 11px);
}

/* Checker Controls (Date Selector) */
.checker-controls {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 10;
}

.control-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.checker-section-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #64748b;
    /* Soft dark grey */
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: none;
    border: none;
    box-shadow: none;
    display: block;
    width: 100%;
}

/* Bolas Seleccionables - Minimalist/Flat */
.num-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    /* Explicit border again */
    background: #ffffff;
    color: #64748b;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.15s ease-out;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    /* No shadow */
}

/* Remove shiny pseudo-element */
.num-btn::after {
    display: none;
}

.num-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    /* very subtle hover shadow */
}

/* Estado Seleccionado - Main (Flat Blue) */
.num-btn.selected.main {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: #ffffff;
    box-shadow: none;
    text-shadow: none;
    transform: scale(1.05);
}

/* Estado Seleccionado - Star (Flat Gold) */
.num-btn.selected.star {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--lottoland-navy);
    box-shadow: none;
    text-shadow: none;
    transform: scale(1.05);
}

.number-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

/* Actions */
.checker-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    border-top: 1px solid #f1f5f9;
    padding-top: 2.5rem;
}

.btn-check {
    background: linear-gradient(180deg, #69A507 0%, #4d7c04 100%);
    color: white;
    font-size: 1.35rem;
    font-weight: 800;
    padding: 1.25rem 4rem;
    border-radius: 99px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 10px 20px rgba(77, 124, 4, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 500px;
}

.btn-check:hover:not(:disabled) {
    background: linear-gradient(180deg, #74b808 0%, #568b05 100%);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(77, 124, 4, 0.3);
}

.btn-check:disabled {
    background: rgba(255, 255, 255, 0.5);
    color: #64748b;
    cursor: default;
    box-shadow: none;
    transform: none;
    text-shadow: none;
    border: 2px dashed #cbd5e1;
    opacity: 0.7;
}

.btn-reset {
    background: none;
    border: none;
    color: #94a3b8;
    text-decoration: underline;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-reset:hover {
    color: #64748b;
}

/* Responsive */
@media (max-width: 600px) {
    .checker-widget {
        padding: 1.5rem;
    }

    .num-btn {
        width: 38px;
        height: 38px;
        font-size: 0.9rem;
    }
}

/* EuroMillions GO Section Styles */
.go-section h2 {
    transition: all 0.3s ease;
    cursor: default;
}

.go-section h2:hover {
    transform: scale(1.02);
    text-shadow: 0 4px 15px rgba(37, 99, 235, 0.15);
}

.btn-go:hover {
    transform: scale(1.05) translateY(-2px) !important;
    background: #6ab036 !important;
    box-shadow: 0 6px 15px rgba(122, 193, 66, 0.5) !important;
}

/* EuroMillions GO Section Grid */
.go-widget-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* --- Global Article Styles (Contrast Fix) --- */
.article-content {
    color: #334155 !important;
}

.article-content p,
.article-content li,
.article-content div,
.article-content span:not([class]),
.article-content strong {
    color: #334155 !important;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    color: #1e293b !important;
    background: none !important;
    -webkit-text-fill-color: #1e293b !important;
}

.article-content a {
    color: var(--primary-blue) !important;
    text-decoration: underline;
    transition: all 0.2s ease;
    font-weight: 600;
}

.article-content a:hover {
    color: #0f172a !important;
    background-color: #fbbf24 !important;
    text-decoration: none;
    padding: 2px 4px;
    margin: -2px -4px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(251, 191, 36, 0.3);
}

/* Overrides for Article Components with Dark Backgrounds */
.article-content .jackpot-display,
.article-content .jackpot-display div,
.article-content .jackpot-display p,
.article-content .jackpot-display span,
.article-content .article-category,
.article-content .btn,
.article-content .button,
.article-content .number-ball {
    color: white !important;
}

.article-content .number-ball.star,
.article-content .number-ball.lucky-star {
    color: #1e293b !important;
}

.article-content .jackpot-amount {
    color: #fbbf24 !important;
}

/* === ARTICLE CONVERSION MODULE === */
.article-offer-card {
    background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    /* Mobile first stack */
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

/* Desktop Layout */
@media (min-width: 640px) {
    .article-offer-card {
        flex-direction: row;
        align-items: center;
        text-align: left;
    }
}

/* Decorative Accent */
.article-offer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #eab308;
    /* Yellow/Gold Accent */
}

.article-offer-card .offer-content {
    flex: 1;
}

.article-offer-card .offer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.article-offer-card .offer-desc {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 0;
}

.article-offer-card .offer-price {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    background: #eff6ff;
    padding: 6px 12px;
    border-radius: 6px;
    margin-top: 0.75rem;
    font-size: 1rem;
}

.article-offer-card .price-old {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 0.85rem;
}

.article-offer-card .price-new {
    color: #005fcc;
    font-weight: 700;
    font-size: 1.1rem;
}

.article-offer-card .offer-action {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    min-width: 180px;
}

.article-offer-card .btn-article-cta {
    background: #005fcc;
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    transition: background 0.2s;
    text-align: center;
    width: 100%;
    font-size: 0.95rem;
    box-shadow: 0 2px 4px rgba(0, 95, 204, 0.2);
}

.article-offer-card .btn-article-cta:hover {
    background: #004cb3;
}

.article-offer-card .compliance-text {
    font-size: 0.65rem;
    color: #94a3b8;
    text-align: center;
    line-height: 1.4;
}

.article-offer-card .offer-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #fef3c7;
    color: #b45309;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Draw Simulator Styles */

/* External H2 */
.sim-external-title {
    color: #1e293b;
    font-family: var(--font-heading, sans-serif);
    font-size: 1.8rem;
    letter-spacing: 0.5px;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    font-weight: 800;
}

.draw-machine-stage {
    /* Modern Light/Brand Blue Box with Custom Background */
    background: url('..//images/hero-bg.png') no-repeat center center;
    background-size: cover;
    border-radius: 24px;
    padding: 3rem 2rem 2rem;
    position: relative;
    height: 550px;
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Stars Removed */
.stage-star {
    display: none;
}

/* More Star Positions */
.stage-star.star-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.stage-star.star-2 {
    top: 20%;
    right: 15%;
    animation-delay: 1.5s;
    font-size: 2rem;
}

.stage-star.star-3 {
    bottom: 30%;
    left: 5%;
    animation-delay: 2.5s;
    font-size: 1.5rem;
}

.stage-star.star-4 {
    bottom: 20%;
    right: 10%;
    animation-delay: 3s;
    font-size: 1.2rem;
}

.stage-star.star-5 {
    top: 5%;
    right: 30%;
    animation-delay: 0.5s;
    font-size: 1rem;
}

.stage-star.star-6 {
    top: 40%;
    left: 2%;
    animation-delay: 2s;
    font-size: 1.8rem;
}

.stage-star.star-7 {
    bottom: 10%;
    left: 20%;
    animation-delay: 1s;
    font-size: 1.2rem;
}

.stage-star.star-8 {
    top: 15%;
    left: 40%;
    animation-delay: 4s;
    font-size: 0.8rem;
}

.stage-star.star-9 {
    bottom: 40%;
    right: 5%;
    animation-delay: 1.2s;
    font-size: 2.2rem;
}

.stage-star.star-10 {
    top: 60%;
    left: 10%;
    animation-delay: 3.5s;
    font-size: 1.4rem;
}

.stage-star.star-11 {
    top: 5%;
    right: 5%;
    animation-delay: 0.2s;
    font-size: 1.6rem;
}

.stage-star.star-12 {
    bottom: 5%;
    right: 40%;
    animation-delay: 2.8s;
    font-size: 1rem;
}


@keyframes starFloat {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-10px);
        opacity: 0.9;
    }
}

/* Remove old date text if present, handled by H2 now */
.draw-date-text {
    display: none;
}

.machine-header {
    display: none;
    /* Hide internal header */
}

/* Modern Drum - Bigger */
.drum-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    width: 480px;
    height: 480px;
    transform-style: preserve-3d;
    z-index: 10;
}

.drum-sphere {
    width: 100%;
    height: 100%;
    background: transparent;
    border-radius: 50%;
    border: none;
    position: absolute;
    left: 0;
    overflow: hidden;
    z-index: 5;
    box-shadow: none;
}

.drum-sphere.spinning::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml;utf8,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="20" cy="20" r="5" fill="rgba(255,255,255,0.5)"/><circle cx="80" cy="80" r="8" fill="rgba(255,255,255,0.5)"/><circle cx="50" cy="50" r="6" fill="rgba(255,255,255,0.5)"/></svg>');
    animation: rotateDrum 1s linear infinite;
}

.drum-rim,
.drum-stand,
.drum-inner-shine {
    display: none;
}

/* Churning Balls Animation */
.churn-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: rotateDrum 4s linear infinite;
    /* Slow churn base */
}

/* When spinning fast */
.drum-sphere.spinning .churn-container {
    animation: rotateDrum 0.5s linear infinite;
    /* Fast spin */
}

.churn-ball {
    position: absolute;
    border-radius: 50%;
    box-shadow: inset -1px -1px 2px rgba(0, 0, 0, 0.5);
}

.churn-ball.ball-blue {
    background: radial-gradient(circle at 30% 30%, #3b82f6, #1e3a8a);
}

.churn-ball.ball-gold {
    background: radial-gradient(circle at 30% 30%, #fbbf24, #b45309);
}

@keyframes rotateDrum {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.drop-shoot {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 70px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0 0 10px 10px;
    z-index: 1;
    backdrop-filter: blur(5px);
}

/* The Tray */
.ball-tray {
    display: flex;
    gap: 8px;
    /* Tighter gap */
    background: rgba(15, 23, 42, 0.95);
    padding: 10px 15px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: absolute;
    bottom: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    z-index: 20;
    transform: scale(0.9);
    /* Fit within narrower box */
}

.tray-slot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-width: 40px;
    /* Force fixed width */
    max-width: 40px;
    flex-shrink: 0;
}

.tray-divider {
    width: 2px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 2px;
}

/* Animated Ball */
.sim-ball {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    border-radius: 50%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    box-shadow: inset -4px -4px 8px rgba(0, 0, 0, 0.5), 0 5px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 50;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    max-width: 40px;
    /* Prevent huge expansion */
    max-height: 40px;
}

/* Metallic Blue Main Balls */
.sim-ball.main-ball {
    background: radial-gradient(circle at 30% 30%, #3b82f6, #172554);
    color: #fff;
    border: 1px solid #1e40af;
}

/* Metallic Gold Star Balls */
.sim-ball.star-ball {
    background: radial-gradient(circle at 30% 30%, #fcd34d, #b45309);
    color: #fff;
    border: 1px solid #d97706;
}

.sim-ball.dropping {
    animation: ballDrop 0.5s ease-in forwards;
}

@keyframes ballDrop {
    0% {
        transform: translate(0, -50px) scale(0.5);
        opacity: 0;
    }

    30% {
        opacity: 1;
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}


.start-draw-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(to bottom, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    /* Removed border for modern look */
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    /* Subtle top highlight */
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.5);
    /* Modern soft shadow */
    z-index: 30;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.start-draw-btn:hover {
    transform: translate(-50%, -52%) scale(1.05);
    background: linear-gradient(to bottom, #60a5fa, #2563eb);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.7);
}

.draw-status {
    position: absolute;
    bottom: 80px;
    color: #94a3b8;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: rgba(15, 23, 42, 0.9);
    padding: 4px 12px;
    border-radius: 12px;
    pointer-events: none;
    z-index: 25;
}

/* =========================================
   INFO SECTION GRID (Rules Page)
   ========================================= */
.info-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* =========================================
   ANALYZER BALLS RESPONSIVE
   ========================================= */
.analyzer-ball {
    width: 60px;
    height: 60px;
    aspect-ratio: 1;
    min-width: 60px;
    border-radius: 50%;
    border: 2px solid #bfdbfe;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e3a8a;
    padding: 0 !important;
    line-height: 56px;
    background: white;
    box-sizing: border-box;
}

.analyzer-ball.star {
    border: 2px solid #fbbf24;
    background: #fffbeb;
    color: #92400e;
}

.analyzer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

/* =========================================
   SUPERDRAW JACKPOT CARD
   ========================================= */
.superdraw-tracker-card {
    margin-top: 2.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.superdraw-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.superdraw-progress {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.sd-bg-shine {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    opacity: 0.1;
}

/* =========================================
   PATTERNS SECTION (Zahlenmuster verstehen)
   ========================================= */
.patterns-wrapper {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.patterns-text {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.patterns-text h3 {
    color: #1e3a8a;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.patterns-text p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
}

.patterns-widget-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}