/* ============================================
   EURODREAMS - VARIABLES ET COULEURS
   ============================================ */
:root {
    --dreams-purple: #282D87;
    --dreams-purple-light: #3D44A5;
    --dreams-purple-dark: #1a1f5c;
    --dreams-pink: #FF3C69;
    --dreams-pink-light: #FF6B8A;
    --dreams-pink-dark: #E62E55;
    --dreams-gradient: linear-gradient(135deg, #282D87 0%, #3D44A5 100%);
    --dreams-pink-gradient: linear-gradient(135deg, #FF3C69 0%, #FF6B8A 100%);
}

/* ============================================
   PAGE TIRAGE EURODREAMS
   ============================================ */

/* Header resultats */
.tirage-results-card.eurodreams {
    border-top: 5px solid var(--dreams-purple);
}

.tirage-results-header.eurodreams {
    background: var(--dreams-gradient);
}

/* Badge tirage */
.tirage-badge.eurodreams {
    background: var(--dreams-purple);
    font-size: 20px;
}

/* Section titre */
.tirage-section-title.eurodreams {
    color: var(--dreams-purple);
}

/* Boules EuroDreams */
.ball.dreams-purple {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--dreams-gradient);
    color: white;
    font-size: 22px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(40, 45, 135, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.3);
}

.ball.dreams-pink {
    width: 52px;
    height: 52px;
    background: var(--dreams-pink-gradient);
    color: white;
    font-size: 22px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 60, 105, 0.4), inset 0 2px 4px rgba(255, 255, 255, 0.3);
    /* Forme goutte / diamant incline */
    border-radius: 0 50% 50% 50%;
    transform: rotate(45deg);
}

.ball.dreams-pink span,
.ball.dreams-pink {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Le texte dans la boule pink doit etre droit */
.numbers-row.eurodreams .ball.dreams-pink {
    position: relative;
}

/* Legende */
.legend-dot.purple {
    background: var(--dreams-purple);
}

.legend-dot.pink {
    background: var(--dreams-pink);
}

/* Bouton calculer gains */
.btn-calculer-gains.eurodreams {
    background: white;
    color: var(--dreams-purple);
    border: 2px solid var(--dreams-purple);
}

.btn-calculer-gains.eurodreams:hover {
    background: var(--dreams-purple);
    color: white;
}

/* CTA Box */
.tirage-cta-box.eurodreams {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
    border-top: 1px solid #ddd6fe;
}

.btn-cta-play.eurodreams {
    background: var(--dreams-gradient);
}

.btn-cta-play.eurodreams:hover {
    background: linear-gradient(135deg, var(--dreams-purple-dark) 0%, var(--dreams-purple) 100%);
}

/* ============================================
   TABLEAU DES GAINS EURODREAMS
   ============================================ */

/* IMPORTANT: Selecteurs ultra-specifiques pour forcer l'en-tete violet */
body .tirage-gains-section.eurodreams .gains-table thead,
body .gains-table.eurodreams thead,
.tirage-page-container.eurodreams .gains-table thead,
.tirage-gains-section.eurodreams table thead,
body.page-tirage-eurodreams .gains-table thead {
    background: linear-gradient(135deg, #282D87 0%, #3D44A5 100%) !important;
}

body .tirage-gains-section.eurodreams .gains-table thead th,
body .gains-table.eurodreams thead th,
.tirage-page-container.eurodreams .gains-table thead th,
.tirage-gains-section.eurodreams table thead th,
body.page-tirage-eurodreams .gains-table thead th {
    color: white !important;
    background: transparent !important;
    font-weight: 600;
    padding: 14px 12px;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.tirage-gains-section.eurodreams .gains-table thead {
    background: var(--dreams-gradient) !important;
}

.tirage-gains-section.eurodreams .gains-table thead th {
    color: white !important;
}

.gains-table.eurodreams thead {
    background: var(--dreams-gradient) !important;
}

.gains-table.eurodreams thead th {
    color: white !important;
    font-weight: 600;
    padding: 14px 12px;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
}

/* Mini boules dans tableau */
.combo-balls.eurodreams .mini-ball.purple {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--dreams-purple);
    display: inline-block;
    margin-right: 3px;
}

.combo-balls.eurodreams .mini-ball.pink {
    width: 20px;
    height: 20px;
    background: var(--dreams-pink);
    display: inline-block;
    margin-left: 4px;
    border-radius: 0 50% 50% 50%;
    transform: rotate(45deg);
}

/* Ligne jackpot */
.gains-table.eurodreams .jackpot-row {
    background: linear-gradient(90deg, #f5f3ff 0%, #ede9fe 100%);
}

.gains-table.eurodreams .jackpot-row td {
    font-weight: 600;
}

.gains-table.eurodreams .gains-cell.jackpot-dreams {
    color: var(--dreams-purple);
    font-weight: 700;
    font-size: 14px;
}

/* Second rang (6 numeros sans Dream) */
.gains-table.eurodreams .second-rang-row {
    background: linear-gradient(90deg, #fdf2f8 0%, #fce7f3 100%);
}

.gains-table.eurodreams .gains-cell.second-rang {
    color: var(--dreams-pink);
    font-weight: 700;
}

/* ============================================
   CTA INTERMEDIAIRE
   ============================================ */
.cta-intermediate.eurodreams {
    background: var(--dreams-gradient);
}

.btn-cta-intermediate.eurodreams {
    background: var(--dreams-pink);
    color: white;
}

.btn-cta-intermediate.eurodreams:hover {
    background: var(--dreams-pink-dark);
}

/* ============================================
   TIRAGES RECENTS
   ============================================ */
.tirage-recent-card.eurodreams {
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.tirage-recent-card.eurodreams:hover {
    border-color: var(--dreams-purple);
    box-shadow: 0 4px 12px rgba(40, 45, 135, 0.15);
}

.recent-card-header.eurodreams {
    background: var(--dreams-gradient);
    color: white;
}

.recent-numbers.eurodreams .mini-ball.purple {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--dreams-gradient);
    color: white;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.recent-numbers.eurodreams .mini-ball.pink {
    width: 28px;
    height: 28px;
    background: var(--dreams-pink-gradient);
    color: white;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 50% 50% 50%;
    transform: rotate(45deg);
}

.recent-numbers.eurodreams .mini-ball.pink span {
    transform: rotate(-45deg);
}

.btn-voir-plus.eurodreams {
    color: var(--dreams-purple);
}

.btn-voir-plus.eurodreams:hover {
    background: var(--dreams-purple);
    color: white;
}

/* ============================================
   SIDEBAR WIDGETS
   ============================================ */
.widget-header.eurodreams {
    background: var(--dreams-gradient);
    color: white;
}

.widget-header.jackpot.eurodreams {
    background: var(--dreams-pink-gradient);
}

.widget-header.tools.eurodreams {
    background: var(--dreams-gradient);
}

.btn-widget-cta.eurodreams {
    background: var(--dreams-gradient);
    color: white;
}

.btn-widget-cta.eurodreams:hover {
    background: linear-gradient(135deg, var(--dreams-purple-dark) 0%, var(--dreams-purple) 100%);
}

.jackpot-amount.eurodreams {
    color: var(--dreams-pink);
    font-size: 28px;
    font-weight: 700;
}

.jackpot-total {
    color: #64748b;
    font-size: 14px;
    margin-top: 5px;
}

.btn-widget-link.eurodreams {
    color: var(--dreams-purple);
}

/* ============================================
   PAGE CONTAINER
   ============================================ */
.tirage-page-container.eurodreams .tirage-nav-btn:hover:not(.disabled) {
    background: var(--dreams-purple);
    color: white;
}

.tirage-page-container.eurodreams .select-annee:focus,
.tirage-page-container.eurodreams .select-tirage:focus {
    border-color: var(--dreams-purple);
    box-shadow: 0 0 0 3px rgba(40, 45, 135, 0.1);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .ball.dreams-purple,
    .ball.dreams-pink {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    
    .numbers-row.eurodreams {
        gap: 6px;
    }
    
    .recent-numbers.eurodreams .mini-ball {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .ball.dreams-purple,
    .ball.dreams-pink {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}

/* ============================================
   PAGE RESULTATS / ARCHIVE EURODREAMS
   ============================================ */

/* Header page resultats */
.resultats-header.eurodreams {
    border-bottom: 3px solid var(--dreams-purple);
}

/* Hero tirage */
.hero-tirage.eurodreams .hero-tirage-card {
    border-top: 5px solid var(--dreams-purple);
}

.hero-tirage.eurodreams .hero-badge {
    background: var(--dreams-gradient);
}

.hero-tirage.eurodreams .btn-voir-gains {
    color: var(--dreams-purple);
}

.hero-tirage.eurodreams .btn-voir-gains:hover {
    color: var(--dreams-purple-dark);
}

/* Legende boules dans le hero */
.hero-legend {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.legend-dot.purple {
    background: var(--dreams-purple);
}

.legend-dot.pink {
    background: var(--dreams-pink);
    border-radius: 0 50% 50% 50%;
    transform: rotate(45deg);
    width: 11px;
    height: 11px;
}

/* Hero gains table EuroDreams */
.gains-table-hero.eurodreams thead {
    background: var(--dreams-gradient);
}

.gains-table-hero.eurodreams thead th {
    color: white;
}

.gains-table-hero.eurodreams .jackpot-row {
    background: linear-gradient(90deg, #f5f3ff 0%, #ede9fe 100%);
}

.gains-table-hero.eurodreams .jackpot-row td {
    font-weight: 600;
}

.gains-table-hero.eurodreams .jackpot-dreams,
.gains-table-mini.eurodreams .jackpot-dreams {
    color: var(--dreams-purple);
    font-weight: 700;
}

.gains-table-hero.eurodreams .second-rang-row,
.gains-table-mini.eurodreams .second-rang-row {
    background: linear-gradient(90deg, #fdf2f8 0%, #fce7f3 100%);
}

.gains-table-hero.eurodreams .second-rang,
.gains-table-mini.eurodreams .second-rang {
    color: var(--dreams-pink);
    font-weight: 700;
}

/* Hero actions */
.btn-hero-action.eurodreams {
    border-color: var(--dreams-purple);
    color: var(--dreams-purple);
}

.btn-hero-action.eurodreams:hover {
    background: var(--dreams-purple);
    color: white;
}

/* ============================================
   ACCORDION EURODREAMS
   ============================================ */

/* Mini boules dans l'accordeon */
.accordion-numbers.eurodreams .mini-ball.purple {
    background: var(--dreams-gradient);
    color: white;
    border-radius: 50%;
}

.accordion-numbers.eurodreams .mini-ball.pink-dream {
    width: 28px;
    height: 28px;
    font-size: 12px;
    font-weight: 600;
    background: var(--dreams-pink-gradient);
    color: white;
    border-radius: 0 50% 50% 50%;
    transform: rotate(45deg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 4px;
}

.accordion-numbers.eurodreams .mini-ball.pink-dream span {
    transform: rotate(-45deg);
    display: inline-block;
    font-size: inherit;
    font-weight: inherit;
    line-height: 1;
}

/* Accordion item hover */
.accordion-item.eurodreams .accordion-header:hover {
    border-left-color: var(--dreams-purple);
}

.accordion-item.eurodreams.open .accordion-header {
    border-left-color: var(--dreams-purple);
}

/* Gains table mini dans accordeon */
.gains-table-mini.eurodreams thead {
    background: var(--dreams-gradient);
}

.gains-table-mini.eurodreams thead th {
    color: white;
}

.gains-table-mini.eurodreams .jackpot-row {
    background: linear-gradient(90deg, #f5f3ff 0%, #ede9fe 100%);
}

.gains-table-mini.eurodreams .jackpot-row td {
    font-weight: 600;
}

/* Btn detail dans accordeon */
.btn-detail.eurodreams {
    color: var(--dreams-purple);
    border-color: var(--dreams-purple);
}

.btn-detail.eurodreams:hover {
    background: var(--dreams-purple);
    color: white;
}

/* ============================================
   PAGINATION EURODREAMS
   ============================================ */
.resultats-page-container.eurodreams .pagination .page-item.active .page-link {
    background: var(--dreams-purple);
    border-color: var(--dreams-purple);
}

.resultats-page-container.eurodreams .pagination .page-link:hover {
    color: var(--dreams-purple);
    border-color: var(--dreams-purple);
}

/* ============================================
   SIDEBAR EURODREAMS (RESULTATS PAGE)
   ============================================ */
.resultats-page-container.eurodreams .widget-header.eurodreams {
    background: var(--dreams-gradient);
    color: white;
}

.resultats-page-container.eurodreams .widget-header.jackpot.eurodreams {
    background: var(--dreams-pink-gradient);
    color: white;
}

.resultats-page-container.eurodreams .widget-header.tools.eurodreams {
    background: var(--dreams-gradient);
    color: white;
}

.resultats-page-container.eurodreams .btn-widget-cta.eurodreams {
    background: var(--dreams-gradient);
    color: white;
}

.resultats-page-container.eurodreams .btn-widget-cta.eurodreams:hover {
    background: linear-gradient(135deg, var(--dreams-purple-dark) 0%, var(--dreams-purple) 100%);
}

.jackpot-amount.eurodreams {
    color: var(--dreams-pink);
    font-size: 26px;
    font-weight: 700;
}

.jackpot-total {
    color: #64748b;
    font-size: 13px;
    margin-top: 4px;
}

/* ============================================
   RESPONSIVE RESULTATS EURODREAMS
   ============================================ */
@media (max-width: 768px) {
    .accordion-numbers.eurodreams .mini-ball {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }
    
    .hero-legend {
        gap: 12px;
        margin-top: 8px;
    }
    
    .gains-table-hero.eurodreams th,
    .gains-table-hero.eurodreams td,
    .gains-table-mini.eurodreams th,
    .gains-table-mini.eurodreams td {
        font-size: 12px;
        padding: 8px 6px;
    }
}

@media (max-width: 480px) {
    .accordion-numbers.eurodreams .mini-ball {
        width: 22px;
        height: 22px;
        font-size: 10px;
    }
    
    .hero-legend {
        font-size: 11px;
    }
}

/* ============================================
   CALCULATEUR DE GAINS EURODREAMS
   ============================================ */

/* Header */
.calculateur-header.eurodreams {
    border-bottom-color: var(--dreams-purple);
}

/* Steps */
.calculateur-card.eurodreams .step-num.eurodreams {
    background: var(--dreams-gradient);
}

/* Form select */
.form-select.eurodreams:focus {
    border-color: var(--dreams-purple);
    box-shadow: 0 0 0 3px rgba(40, 45, 135, 0.1);
}

/* Grille numeros EuroDreams (40 numeros) */
.numeros-grid.eurodreams {
    grid-template-columns: repeat(8, 1fr);
}

.numero-btn.eurodreams.selected {
    background: var(--dreams-gradient);
    color: white;
    border-color: var(--dreams-purple);
    box-shadow: 0 2px 8px rgba(40, 45, 135, 0.3);
}

.numero-btn.eurodreams:hover:not(.selected) {
    border-color: var(--dreams-purple-light);
    color: var(--dreams-purple);
}

/* Grille Dream */
.dream-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    max-width: 320px;
}

.dream-btn {
    width: 100%;
    aspect-ratio: 1;
    max-width: 56px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 0 40% 40% 40%;
    font-size: 18px;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s ease;
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dream-btn span,
.dream-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dream-btn:hover:not(.selected) {
    border-color: var(--dreams-pink);
    color: var(--dreams-pink);
}

.dream-btn.selected {
    background: var(--dreams-pink-gradient);
    color: white;
    border-color: var(--dreams-pink);
    box-shadow: 0 2px 8px rgba(255, 60, 105, 0.4);
    transform: rotate(45deg) scale(1.05);
}

/* Bouton calculer */
.btn-calculer.eurodreams {
    background: var(--dreams-gradient);
}

.btn-calculer.eurodreams:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--dreams-purple-dark) 0%, var(--dreams-purple) 100%);
}

/* R�sultats */
.resultats-card.eurodreams .resultats-title {
    color: var(--dreams-purple);
}

/* Boules r�sultat */
.result-ball.eurodreams.good {
    background: var(--dreams-gradient);
    color: white;
}

.result-ball.eurodreams.bad {
    background: #f1f5f9;
    color: #94a3b8;
}

.result-ball.dream {
    border-radius: 0 40% 40% 40%;
    transform: rotate(45deg);
}

.result-ball.dream > * {
    transform: rotate(-45deg);
}

.result-ball.dream.good {
    background: var(--dreams-pink-gradient);
    color: white;
}

.result-ball.dream.bad {
    background: #fce7f3;
    color: #f9a8d4;
}

.result-ball.official.eurodreams {
    background: var(--dreams-gradient);
    color: white;
}

.result-ball.official.dream {
    background: var(--dreams-pink-gradient);
    color: white;
    border-radius: 0 40% 40% 40%;
    transform: rotate(45deg);
}

/* Gain result */
.gain-result.jackpot.eurodreams {
    border-color: var(--dreams-purple);
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
}

.gain-result.second-rang.eurodreams {
    border-color: var(--dreams-pink);
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
}

.gain-result.win.eurodreams {
    border-color: var(--dreams-purple-light);
}

.gain-amount.jackpot-dreams {
    color: var(--dreams-purple);
    font-weight: 700;
}

.gain-amount.second-rang-dreams {
    color: var(--dreams-pink);
    font-weight: 700;
}

/* Tableau gains calculateur */
.gains-table-calc.eurodreams thead {
    background: var(--dreams-gradient);
}

.gains-table-calc.eurodreams thead th {
    color: white;
}

.gains-table-calc.eurodreams .jackpot-row {
    background: linear-gradient(90deg, #f5f3ff 0%, #ede9fe 100%);
}

.gains-table-calc.eurodreams .second-rang-row {
    background: linear-gradient(90deg, #fdf2f8 0%, #fce7f3 100%);
}

.gains-table-calc.eurodreams .current-rang {
    background: var(--dreams-purple);
    color: white;
}

.gains-table-calc.eurodreams .current-rang td {
    color: white;
    font-weight: 600;
}

.gains-table-calc.eurodreams .jackpot-dreams {
    color: var(--dreams-purple);
    font-weight: 700;
}

.gains-table-calc.eurodreams .second-rang-dreams {
    color: var(--dreams-pink);
    font-weight: 700;
}

/* Boutons r�sultat */
.btn-rejouer.eurodreams {
    border-color: var(--dreams-purple);
    color: var(--dreams-purple);
}

.btn-rejouer.eurodreams:hover {
    background: var(--dreams-purple);
    color: white;
}

.btn-voir-tirage.eurodreams {
    background: var(--dreams-gradient);
    color: white;
}

.btn-voir-tirage.eurodreams:hover {
    background: linear-gradient(135deg, var(--dreams-purple-dark) 0%, var(--dreams-purple) 100%);
}

/* Widget dernier tirage */
.dernier-tirage-widget.eurodreams {
    border-color: var(--dreams-purple);
}

.btn-voir-resultats.eurodreams {
    background: var(--dreams-gradient);
    color: white;
}

.btn-voir-resultats.eurodreams:hover {
    background: linear-gradient(135deg, var(--dreams-purple-dark) 0%, var(--dreams-purple) 100%);
}

/* Sidebar widget jackpot */
.widget-jackpot-big.eurodreams {
    background: var(--dreams-gradient);
}

.widget-loto-logo.eurodreams {
    background: var(--dreams-pink);
}

.widget-jackpot-amount.eurodreams {
    color: white;
}

.widget-jackpot-sub {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-top: -4px;
}

.btn-jouer-widget.eurodreams {
    background: var(--dreams-pink);
    color: white;
}

.btn-jouer-widget.eurodreams:hover {
    background: var(--dreams-pink-dark);
}

/* Sphere animation EuroDreams */
.sphere-glass.eurodreams {
    border-color: var(--dreams-purple-light);
    box-shadow: 0 0 60px rgba(40, 45, 135, 0.3);
}

.sphere-base.eurodreams {
    background: var(--dreams-gradient);
}

.loto-sphere-overlay.eurodreams .sphere-ball.selected {
    background: var(--dreams-gradient);
    color: white;
}

.loto-sphere-overlay.eurodreams .sphere-ball.dream {
    background: var(--dreams-pink-gradient);
    color: white;
    border-radius: 0 40% 40% 40%;
}

/* SEO steps */
.seo-step-number.eurodreams {
    background: var(--dreams-gradient);
    color: white;
}

/* Rangs table */
.rangs-table.eurodreams .rang-jackpot {
    background: linear-gradient(90deg, #f5f3ff 0%, #ede9fe 100%);
    font-weight: 600;
}

.rangs-table.eurodreams .rang-second {
    background: linear-gradient(90deg, #fdf2f8 0%, #fce7f3 100%);
    font-weight: 600;
}

/* Mini balls widget calculateur */
.dernier-tirage-widget.eurodreams .mini-ball.purple {
    background: var(--dreams-gradient);
    color: white;
    border-radius: 50%;
}

.dernier-tirage-widget.eurodreams .mini-ball.pink-dream {
    width: 24px;
    height: 24px;
    background: var(--dreams-pink-gradient);
    color: white;
    border-radius: 0 50% 50% 50%;
    transform: rotate(45deg);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
}

.dernier-tirage-widget.eurodreams .mini-ball.pink-dream span {
    transform: rotate(-45deg);
    display: inline-block;
}

/* ============================================
   RESPONSIVE CALCULATEUR EURODREAMS
   ============================================ */
@media (max-width: 768px) {
    .numeros-grid.eurodreams {
        grid-template-columns: repeat(8, 1fr);
    }
    
    .dream-grid {
        max-width: 280px;
    }
    
    .dream-btn {
        max-width: 48px;
        font-size: 16px;
    }
    
    .gains-table-calc.eurodreams th,
    .gains-table-calc.eurodreams td {
        font-size: 12px;
        padding: 8px 6px;
    }
}

@media (max-width: 480px) {
    .numeros-grid.eurodreams {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .dream-grid {
        max-width: 240px;
    }
    
    .dream-btn {
        max-width: 40px;
        font-size: 14px;
    }
}

/* ============================================
   STATISTIQUES EURODREAMS
   ============================================ */

/* Header stats */
.stats-header.eurodreams {
    border-bottom: 3px solid var(--dreams-purple);
}

/* Container stats */
.stats-page-container.eurodreams .palmares-tab.active {
    background: var(--dreams-purple);
    border-color: var(--dreams-purple);
    color: white;
}

.stats-page-container.eurodreams .palmares-tab:hover:not(.active) {
    color: var(--dreams-purple);
    border-color: var(--dreams-purple);
}

/* Boules dans les stats */
.card-ball.dreams-stat-purple {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--dreams-gradient);
    color: white;
    font-size: 20px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(40, 45, 135, 0.3);
}

.card-ball.dreams-stat-pink {
    width: 48px;
    height: 48px;
    background: var(--dreams-pink-gradient);
    color: white;
    font-size: 20px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 60, 105, 0.3);
    border-radius: 0 50% 50% 50%;
    transform: rotate(45deg);
}

.card-ball.dreams-stat-pink span {
    transform: rotate(-45deg);
}

/* Mini boules dans hot/cold */
.mini-ball.dreams-stat-purple {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--dreams-gradient);
    color: white;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mini-ball.dreams-stat-purple.faded {
    background: linear-gradient(135deg, #9094c8 0%, #a8abcf 100%);
    opacity: 0.7;
}

.mini-ball.dreams-stat-purple.warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.mini-ball.dreams-stat-purple.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

/* Boules dans les tableaux */
.table-ball.dreams-stat-purple {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--dreams-gradient);
    color: white;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.table-ball.dreams-stat-pink {
    width: 32px;
    height: 32px;
    background: var(--dreams-pink-gradient);
    color: white;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 50% 50% 50%;
    transform: rotate(45deg);
}

.table-ball.dreams-stat-pink span {
    transform: rotate(-45deg);
}

/* Stats table header EuroDreams */
.stats-table.eurodreams thead {
    background: var(--dreams-gradient);
}

.stats-table.eurodreams thead th {
    color: white;
}

/* Sortable headers */
.stats-table.eurodreams th.sortable:hover {
    background: var(--dreams-purple-dark);
}

/* Widget sidebar stats */
.widget-header.stats.eurodreams {
    background: var(--dreams-gradient);
    color: white;
}

/* Sidebar jackpot big */
.widget-jackpot-big.eurodreams .widget-loto-logo {
    background: var(--dreams-pink);
    font-size: 12px;
}

/* Responsive stats */
@media (max-width: 768px) {
    .card-ball.dreams-stat-purple,
    .card-ball.dreams-stat-pink {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .mini-ball.dreams-stat-purple {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .table-ball.dreams-stat-purple,
    .table-ball.dreams-stat-pink {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .card-ball.dreams-stat-purple,
    .card-ball.dreams-stat-pink {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .mini-ball.dreams-stat-purple {
        width: 26px;
        height: 26px;
        font-size: 11px;
    }
}

/* ============================================
   PAGE HUB EURODREAMS (/eurodreams/)
   ============================================ */

/* Hero */
.page-jeu-hero.eurodreams {
    background: var(--dreams-gradient);
    color: white;
}

.page-jeu-hero-badge.eurodreams {
    background: var(--dreams-pink);
    color: white;
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 12px;
}

/* Jackpot widget in hero */
.jackpot-widget.eurodreams {
    background: white;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.jackpot-header.eurodreams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.jackpot-widget.eurodreams .jackpot-amount {
    font-size: 32px;
    font-weight: 800;
    color: var(--dreams-purple);
    line-height: 1.2;
}

.jackpot-widget.eurodreams .jackpot-sub {
    color: #64748b;
    font-size: 16px;
    margin-top: 2px;
}

.jackpot-total-hero {
    color: var(--dreams-pink);
    font-weight: 600;
    font-size: 14px;
    margin-top: 4px;
}

.jackpot-play-btn.eurodreams {
    display: inline-block;
    background: var(--dreams-gradient);
    color: white;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 16px;
    transition: all 0.2s;
}

.jackpot-play-btn.eurodreams:hover {
    background: linear-gradient(135deg, var(--dreams-purple-dark) 0%, var(--dreams-purple) 100%);
    transform: translateY(-1px);
}

/* Quick nav */
.quick-nav-item.eurodreams:hover {
    border-color: var(--dreams-purple);
    color: var(--dreams-purple);
}

/* Section links */
.section-link.eurodreams {
    color: var(--dreams-purple);
}

.section-link.eurodreams:hover {
    color: var(--dreams-purple-dark);
}

/* Dernier résultat card */
.dernier-resultat-card.eurodreams {
    border-top: 4px solid var(--dreams-purple);
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.resultat-balls.eurodreams {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 16px 0;
}

.resultat-legend {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 8px;
}

/* Gains résumé */
.resultat-gains-resume.eurodreams {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.gains-resume-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.gains-resume-item {
    text-align: center;
    padding: 16px;
    border-radius: 8px;
    background: #f8fafc;
}

.gains-resume-item.jackpot {
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
}

.gains-resume-item.second {
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
}

.gains-resume-label {
    display: block;
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.gains-resume-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
}

.gains-resume-value.eurodreams-jackpot {
    color: var(--dreams-purple);
}

.gains-resume-value.eurodreams-second {
    color: var(--dreams-pink);
}

.gains-resume-winners {
    display: block;
    font-size: 12px;
    color: #94a3b8;
}

/* Boutons résultat */
.resultat-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-resultat-detail.eurodreams {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: var(--dreams-gradient);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-resultat-detail.eurodreams:hover {
    background: linear-gradient(135deg, var(--dreams-purple-dark) 0%, var(--dreams-purple) 100%);
}

.btn-resultat-calc.eurodreams {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    background: white;
    color: var(--dreams-purple);
    border: 2px solid var(--dreams-purple);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.btn-resultat-calc.eurodreams:hover {
    background: var(--dreams-purple);
    color: white;
}

/* Comment jouer steps */
.comment-jouer-step .step-number.eurodreams {
    background: var(--dreams-gradient);
    color: white;
}

/* Info boxes */
.info-box.eurodreams {
    border-top: 3px solid var(--dreams-purple);
}

/* Tableau des rangs */
.gain-highlight.eurodreams-purple {
    color: var(--dreams-purple);
}

.gain-highlight.eurodreams-pink {
    color: var(--dreams-pink);
}

/* ============================================
   PAGE PROCHAIN TIRAGE EURODREAMS
   ============================================ */

/* Titre article */
.prochain-tirage-container.eurodreams .article-header h1 {
    color: var(--dreams-purple);
}

/* Pronostic inline */
.prochain-tirage-container.eurodreams .pronostic-inline {
    background: #f0f0fb;
    border: 1px solid #c7c7f0;
    border-radius: 6px;
    padding: 15px 20px;
    margin: 20px 0;
    font-size: 15px;
}

.prochain-tirage-container.eurodreams .pronostic-inline strong {
    color: var(--dreams-purple);
}

/* Info boxes */
.info-box-hot-numbers.eurodreams {
    background: linear-gradient(135deg, #EDEDFA 0%, #DDDDF7 100%);
    border-color: var(--dreams-purple-light);
}

.info-box-essential.eurodreams {
    border-color: var(--dreams-purple);
}

.info-box-essential.eurodreams .info-box-header {
    background: var(--dreams-gradient);
    color: white;
}

/* Bouton jouer FDJ */
.btn-jouer-fdj.eurodreams {
    background: var(--dreams-gradient);
}

.btn-jouer-fdj.eurodreams:hover {
    background: linear-gradient(135deg, var(--dreams-purple-dark) 0%, var(--dreams-purple) 100%);
}

/* Tableau pronostics */
.pronostic-table.eurodreams .pronostic-header {
    background: var(--dreams-gradient);
    color: white;
}

.pronostic-ball.dreams-purple {
    background: var(--dreams-gradient);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin: 5px;
}

.pronostic-ball.dreams-pink {
    background: var(--dreams-pink-gradient);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin: 5px;
}

/* Bouton voir résultats */
.btn-voir-resultats.eurodreams {
    background: var(--dreams-gradient);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-voir-resultats.eurodreams:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(40, 45, 135, 0.3);
}

/* Widget Jackpot sidebar prochain tirage */
.prochain-tirage-container.eurodreams .widget-jackpot.eurodreams {
    border: 2px solid var(--dreams-purple);
    border-radius: 12px;
    overflow: hidden;
}

.prochain-tirage-container.eurodreams .widget-jackpot-header.eurodreams {
    background: var(--dreams-gradient);
    padding: 15px;
    text-align: center;
}

.prochain-tirage-container.eurodreams .widget-jackpot-header.eurodreams img {
    max-height: 40px;
}

.prochain-tirage-container.eurodreams .jackpot-amount.eurodreams {
    font-size: 28px;
    font-weight: 800;
    color: var(--dreams-purple);
    margin: 10px 0 2px;
}

.jackpot-total-info {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.btn-jouer-widget.eurodreams {
    background: var(--dreams-gradient);
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: block;
    text-align: center;
    transition: transform 0.2s;
}

.btn-jouer-widget.eurodreams:hover {
    transform: translateY(-2px);
}

/* Widget 2ème Rang */
.widget-second-rang {
    background: linear-gradient(135deg, #FFF0F3 0%, #FFE0E8 100%);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 20px;
}

.widget-second-rang-header {
    background: var(--dreams-pink-gradient);
    padding: 12px;
    text-align: center;
}

.rang-badge {
    color: white;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.widget-second-rang-content {
    padding: 20px;
    text-align: center;
}

.second-rang-prize {
    font-size: 24px;
    font-weight: 800;
    color: var(--dreams-pink);
    margin-bottom: 5px;
}

.second-rang-description {
    font-size: 14px;
    color: #78184F;
    margin-bottom: 5px;
}

.second-rang-total {
    font-size: 13px;
    color: #999;
    font-style: italic;
}

/* Widget Tools prochain tirage */
.prochain-tirage-container.eurodreams .widget-tools.eurodreams .widget-title {
    color: var(--dreams-purple);
    border-bottom-color: var(--dreams-purple);
}

.prochain-tirage-container.eurodreams .widget-tools.eurodreams .tools-list a:hover {
    color: var(--dreams-purple);
}

/* Responsive prochain tirage */
@media (max-width: 768px) {
    .pronostic-ball.dreams-purple,
    .pronostic-ball.dreams-pink {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    
    .prochain-tirage-container.eurodreams .jackpot-amount.eurodreams {
        font-size: 24px;
    }
}

/* Responsive hub */
@media (max-width: 768px) {
    .gains-resume-grid {
        grid-template-columns: 1fr;
    }
    
    .jackpot-widget.eurodreams .jackpot-amount {
        font-size: 26px;
    }
    
    .resultat-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn-resultat-detail.eurodreams,
    .btn-resultat-calc.eurodreams {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .jackpot-widget.eurodreams .jackpot-amount {
        font-size: 22px;
    }
    
    .gains-resume-value {
        font-size: 15px;
    }
}
/* ============================================
   PAGE HUB EURODREAMS (/eurodreams/)
   Migré depuis page-eurodreams.php
   ============================================ */
/* ============================================
   PAGE EURODREAMS HOME - CSS STRUCTUREL
   ============================================ */

/* Variables EuroDreams */
:root {
    --ed-purple: #282D87;
    --ed-purple-light: #3D44A5;
    --ed-purple-dark: #1a1f5c;
    --ed-pink: #FF3C69;
    --ed-pink-light: #FF6B8A;
    --ed-gradient: linear-gradient(135deg, #282D87 0%, #3D44A5 100%);
    --ed-pink-gradient: linear-gradient(135deg, #FF3C69 0%, #FF6B8A 100%);
}

.eurodreams-home-page {
    background: #f5f7fa;
    min-height: 100vh;
}

.eurodreams-home-page .container {
    max-width: calc(1300px + 4rem);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero */
.ed-hero {
    background: var(--ed-gradient);
    padding: 2rem 0;
    color: #fff;
}
.ed-hero-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    align-items: center;
}
.ed-hero-badge {
    display: inline-block;
    background: var(--ed-pink);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}
.ed-hero h1 {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}
.ed-hero-desc {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
    line-height: 1.6;
}

/* Jackpot Widget */
.ed-jackpot-widget {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    color: #1f2937;
}
.ed-jackpot-header { margin-bottom: 0.5rem; display: flex; justify-content: space-between; align-items: center; }
.ed-jackpot-label { font-size: 0.9rem; color: #64748b; }
.ed-jackpot-date { font-size: 0.85rem; color: #94a3b8; }
.ed-jackpot-amount { font-size: 2rem; font-weight: 800; color: var(--ed-purple); margin: 0.5rem 0; line-height: 1.2; }
.ed-jackpot-sub { color: #64748b; font-size: 0.95rem; }
.ed-jackpot-total { color: var(--ed-pink); font-weight: 600; font-size: 0.875rem; margin-top: 0.25rem; }
.ed-jackpot-play-btn {
    display: inline-block;
    background: var(--ed-gradient);
    color: #fff;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    margin-top: 1rem;
}
.ed-jackpot-play-btn:hover { background: linear-gradient(135deg, var(--ed-purple-dark), var(--ed-purple)); transform: scale(1.03); }

/* Quick Nav */
.ed-quick-nav {
    background: #fff;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.ed-quick-nav-grid { display: flex; justify-content: center; gap: 0.5rem; flex-wrap: wrap; }
.ed-quick-nav-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: #f3f4f6;
    border-radius: 8px;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s;
    border: 1px solid transparent;
}
.ed-quick-nav-item:hover { border-color: var(--ed-purple); color: var(--ed-purple); }
.ed-quick-nav-icon { font-size: 1.1rem; }

/* Content Grid (main + sidebar) */
.ed-content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 1.5rem;
    padding: 1.5rem 0 3rem;
}

/* Sections */
.content-section {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f3f4f6;
}
.section-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.section-icon { font-size: 1.1rem; }
.section-link { color: var(--ed-purple); text-decoration: none; font-weight: 600; font-size: 0.9rem; white-space: nowrap; }
.section-link:hover { text-decoration: underline; color: var(--ed-purple-dark); }

/* Dernier résultat card */
.ed-resultat-card {
    border-top: 4px solid var(--ed-purple);
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.resultat-date { font-size: 0.95rem; color: #374151; font-weight: 500; }
.resultat-section-label { font-size: 0.9rem; color: #6b7280; margin-bottom: 0.75rem; font-weight: 500; }

/* Balls */
.resultat-balls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}
.ball {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.15rem;
    box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}
.ball.dreams-purple {
    width: 52px;
    height: 52px;
    background: var(--ed-gradient);
    color: #fff;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(40, 45, 135, 0.4), inset 0 2px 4px rgba(255,255,255,0.3);
}
.ball.dreams-pink {
    width: 52px;
    height: 52px;
    background: var(--ed-pink-gradient);
    color: #fff;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(255, 60, 105, 0.4), inset 0 2px 4px rgba(255,255,255,0.3);
    border-radius: 0 50% 50% 50%;
    transform: rotate(45deg);
}
.ball.dreams-pink span { display: inline-flex; align-items: center; justify-content: center; }
.ball-separator { font-size: 1.25rem; font-weight: bold; color: #64748b; margin: 0 0.25rem; }

/* Legend */
.resultat-legend {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #64748b;
}
.legend-item { display: flex; align-items: center; gap: 0.4rem; }
.legend-dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.legend-dot.purple { background: var(--ed-purple); }
.legend-dot.pink { background: var(--ed-pink); border-radius: 0 50% 50% 50%; transform: rotate(45deg); width: 11px; height: 11px; }

/* Gains résumé */
.ed-gains-resume {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e2e8f0;
}
.gains-resume-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.gains-resume-item { text-align: center; padding: 1rem; border-radius: 8px; background: #f8fafc; }
.gains-resume-item.jackpot { background: linear-gradient(135deg, #f5f3ff, #ede9fe); }
.gains-resume-item.second { background: linear-gradient(135deg, #fdf2f8, #fce7f3); }
.gains-resume-label { display: block; font-size: 0.75rem; color: #64748b; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.5rem; }
.gains-resume-value { display: block; font-size: 1.1rem; font-weight: 700; margin-bottom: 0.25rem; }
.gains-resume-value.eurodreams-jackpot { color: var(--ed-purple); }
.gains-resume-value.eurodreams-second { color: var(--ed-pink); }
.gains-resume-winners { display: block; font-size: 0.75rem; color: #94a3b8; }

/* Boutons résultat */
.resultat-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.25rem; }
.btn-resultat-detail {
    display: inline-flex; align-items: center; padding: 0.65rem 1.25rem;
    background: var(--ed-gradient); color: #fff; border-radius: 8px;
    text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: all 0.2s;
}
.btn-resultat-detail:hover { background: linear-gradient(135deg, var(--ed-purple-dark), var(--ed-purple)); transform: translateY(-1px); }
.btn-resultat-calc {
    display: inline-flex; align-items: center; padding: 0.65rem 1.25rem;
    background: #fff; color: var(--ed-purple); border: 2px solid var(--ed-purple); border-radius: 8px;
    text-decoration: none; font-weight: 600; font-size: 0.9rem; transition: all 0.2s;
}
.btn-resultat-calc:hover { background: var(--ed-purple); color: #fff; }

/* Tirages récents (cards grid) */
.tirages-recents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
}
.tirage-recent-card {
    display: block;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: #374151;
    transition: all 0.2s;
}
.tirage-recent-card:hover { border-color: var(--ed-purple); box-shadow: 0 4px 12px rgba(40,45,135,0.15); transform: translateY(-2px); }
.recent-card-header {
    background: var(--ed-gradient);
    color: #fff;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
}
.recent-card-body { padding: 0.75rem; text-align: center; }
.recent-numbers { display: flex; gap: 0.25rem; justify-content: center; flex-wrap: wrap; }

/* Mini balls */
.mini-ball {
    width: 28px; height: 28px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: 0.75rem; color: #fff;
}
.mini-ball.purple { background: var(--ed-gradient); }
.mini-ball.pink {
    background: var(--ed-pink-gradient);
    border-radius: 0 50% 50% 50%;
    transform: rotate(45deg);
}
.mini-ball.pink span { transform: rotate(-45deg); display: inline-flex; align-items: center; justify-content: center; }

/* Comment jouer */
.comment-jouer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.comment-jouer-step { text-align: center; padding: 1.25rem 1rem; }
.comment-jouer-step h3 { font-size: 1rem; margin: 0.75rem 0 0.5rem; color: #1f2937; }
.comment-jouer-step p { font-size: 0.875rem; color: #6b7280; line-height: 1.5; margin: 0; }
.step-number {
    width: 40px; height: 40px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.1rem; font-weight: 800; color: #fff;
    background: var(--ed-gradient);
}

/* Info boxes */
.info-boxes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}
.info-box {
    padding: 1.25rem;
    background: #f9fafb;
    border-radius: 10px;
    border-top: 3px solid var(--ed-purple);
}
.info-box-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.info-box h3 { font-size: 1rem; margin: 0 0 0.5rem; color: #1f2937; }
.info-box p { font-size: 0.875rem; color: #6b7280; line-height: 1.5; margin: 0; }

/* Table des rangs */
.table-responsive { overflow-x: auto; margin: 1rem 0; }
.rangs-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.rangs-table th, .rangs-table td { padding: 0.7rem 0.75rem; border: 1px solid #e5e7eb; text-align: left; }
.rangs-table thead { background: var(--ed-gradient); }
.rangs-table th { color: #fff; font-weight: 600; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.5px; }
.rangs-table tr:nth-child(even) { background: #f9fafb; }
.rang-jackpot { background: linear-gradient(90deg, #f5f3ff, #ede9fe) !important; }
.rang-second { background: linear-gradient(90deg, #fdf2f8, #fce7f3) !important; }
.gain-highlight.eurodreams-purple { color: var(--ed-purple); }
.gain-highlight.eurodreams-pink { color: var(--ed-pink); }

/* SEO / Contenu texte */
.seo-content h2 { font-size: 1.25rem; margin: 0 0 1rem 0; color: #1f2937; }
.seo-content h3 { font-size: 1.05rem; color: #1f2937; margin: 1.5rem 0 0.75rem 0; }
.seo-content p { color: #4b5563; line-height: 1.7; margin: 0 0 1rem 0; }
.disclaimer {
    background: #fef3c7; border: 1px solid #fde68a; border-radius: 8px;
    padding: 1rem; margin-top: 1.5rem; font-size: 0.85rem; color: #78350f; line-height: 1.6;
}
.no-data-card { padding: 2rem; text-align: center; color: #6b7280; background: #f9fafb; border-radius: 8px; }

/* Sidebar */
.ed-sidebar { display: flex; flex-direction: column; gap: 1rem; }
.sidebar-widget { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.widget-header { padding: 0.85rem 1rem; color: #fff; }
.widget-header h3 { margin: 0; font-size: 0.95rem; font-weight: 600; }
.widget-header.ed-purple { background: var(--ed-gradient); }
.widget-header.ed-pink { background: var(--ed-pink-gradient); }
.widget-header.ed-tools { background: var(--ed-gradient); }
.widget-header.ed-stats { background: var(--ed-gradient); }
.widget-header.ed-other { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.widget-body { padding: 1rem; }
.widget-body p { margin: 0 0 0.75rem; font-size: 0.875rem; color: #64748b; }

.btn-widget-cta {
    display: block; width: 100%; padding: 0.75rem 1rem; text-align: center;
    background: var(--ed-gradient); color: #fff; text-decoration: none;
    border-radius: 8px; font-weight: 600; font-size: 0.875rem; transition: all 0.2s;
}
.btn-widget-cta:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(40,45,135,0.3); }

.sidebar-jackpot-amount { font-size: 1.75rem; font-weight: 700; color: var(--ed-pink); margin-bottom: 0.25rem; }
.sidebar-jackpot-sub { font-size: 0.85rem; color: #94a3b8; }
.sidebar-jackpot-total { color: #64748b; font-size: 0.85rem; margin-top: 0.25rem; }

.tools-list, .other-games-list { list-style: none; padding: 0; margin: 0; }
.tools-list li { margin-bottom: 0.5rem; }
.tools-list li:last-child { margin-bottom: 0; }
.tools-list a {
    display: block; padding: 0.65rem 0.75rem; background: #f1f5f9; color: #1e293b;
    text-decoration: none; border-radius: 6px; font-size: 0.875rem; transition: all 0.2s;
}
.tools-list a:hover { background: #e2e8f0; color: var(--ed-purple); }
.tools-list.infos li { padding: 0; margin-bottom: 0.5rem; font-size: 0.85rem; color: #4b5563; }
.tools-list.infos li strong { color: #1f2937; }

.other-games-list li { border-bottom: 1px solid #e2e8f0; }
.other-games-list li:last-child { border-bottom: none; }
.other-games-list a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.75rem 0; color: #1e3a5f; text-decoration: none; font-size: 0.875rem; transition: all 0.2s;
}
.other-games-list a:hover { color: var(--ed-purple); }
.other-games-list a:hover .game-arrow { transform: translateX(4px); }
.game-name { font-weight: 500; }
.game-arrow { color: #94a3b8; transition: transform 0.2s; }

.widget-ad { background: #f1f5f9; }
.ad-placeholder { display: flex; align-items: center; justify-content: center; height: 250px; color: #94a3b8; font-size: 0.85rem; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .ed-hero-grid { grid-template-columns: 1fr; text-align: center; }
    .ed-hero-jackpot { max-width: 350px; margin: 0 auto; }
    .ed-content-grid { grid-template-columns: 1fr; }
    .ed-sidebar { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
}

@media (max-width: 768px) {
    .ed-hero h1 { font-size: 1.4rem; }
    .ed-quick-nav-grid { gap: 0.4rem; }
    .ed-quick-nav-item { padding: 0.5rem 0.75rem; font-size: 0.8rem; }
    .ed-quick-nav-text { display: none; }
    .ed-quick-nav-icon { font-size: 1.3rem; }
    .ball.dreams-purple, .ball.dreams-pink { width: 44px; height: 44px; font-size: 1.05rem; }
    .mini-ball { width: 24px; height: 24px; font-size: 0.7rem; }
    .gains-resume-grid { grid-template-columns: 1fr; }
    .tirages-recents-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .comment-jouer-grid { grid-template-columns: 1fr 1fr; }
    .resultat-actions { flex-direction: column; align-items: stretch; text-align: center; }
}

@media (max-width: 480px) {
    .ed-hero { padding: 1.5rem 0; }
    .content-section { padding: 1rem; }
    .ball.dreams-purple, .ball.dreams-pink { width: 38px; height: 38px; font-size: 0.95rem; }
    .ed-jackpot-amount { font-size: 1.5rem; }
    .gains-resume-value { font-size: 0.95rem; }
    .comment-jouer-grid { grid-template-columns: 1fr; }
}