/**
 * Styles EuroMillions - Fichier CSS complet
 * Inclut: Page resultats, archive, calculateur de gains
 * Emplacement: css/euromillions.css
 */

/* ============================================
   VARIABLES EUROMILLIONS
   ============================================ */
:root {
    --euro-blue: #003399;
    --euro-blue-light: #0055CC;
    --euro-blue-dark: #002266;
    --euro-yellow: #FCD34D;
    --euro-yellow-dark: #F59E0B;
    --euro-gradient: linear-gradient(135deg, #003399 0%, #0055CC 100%);
    --euro-yellow-gradient: linear-gradient(135deg, #FCD34D 0%, #F59E0B 100%);
}

/* ============================================
   HERO CARD EUROMILLIONS - DEGRADE PLUS CLAIR
   ============================================ */
.hero-tirage-card.euromillions {
    /* Degrade jaune/dore plus clair et lumineux */
    background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 50%, #FDE68A 100%);
    border: 1px solid #F59E0B;
    border-top: 5px solid var(--euro-blue);
}

.hero-badge.euromillions {
    background: var(--euro-yellow-gradient);
    color: #1E3A8A;
    font-weight: 700;
}

/* ============================================
   MY MILLION STYLE JOKER+ (HORIZONTAL)
   ============================================ */
.hero-joker.mymillion {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #1E3A8A 0%, #003399 100%);
    border-radius: 10px;
    width: fit-content;
}

.joker-label.mymillion {
    font-size: 13px;
    font-weight: 700;
    color: var(--euro-yellow);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.joker-code.mymillion {
    display: inline-block;
    padding: 8px 16px;
    background: white;
    color: var(--euro-blue);
    font-size: 18px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    letter-spacing: 3px;
    border-radius: 6px;
}

/* My Million code petit (dans accordeon) */
.mymillion-code-small {
    display: inline-block;
    background: linear-gradient(135deg, #1E3A8A 0%, #003399 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
}

/* ============================================
   BOUTONS ACTIONS - STYLE LOTO (FOND VISIBLE)
   ============================================ */
.hero-tirage-card.euromillions .hero-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.hero-tirage-card.euromillions .btn-hero-action.primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    color: var(--euro-blue);
    border: 2px solid var(--euro-blue);
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 51, 153, 0.15);
}

.hero-tirage-card.euromillions .btn-hero-action.primary:hover {
    background: var(--euro-blue);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 51, 153, 0.25);
}

.hero-tirage-card.euromillions .btn-hero-action.secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--euro-blue);
    color: white;
    border: 2px solid var(--euro-blue);
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hero-tirage-card.euromillions .btn-hero-action.secondary:hover {
    background: var(--euro-blue-dark);
    border-color: var(--euro-blue-dark);
    transform: translateY(-2px);
}

/* ============================================
   BOULES EUROMILLIONS
   ============================================ */

/* Boules bleues EuroMillions (grandes) */
.ball.euro-blue {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(180deg, #4A7DD9 0%, #003399 50%, #002266 100%);
    border: 3px solid #001A4D;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0, 51, 153, 0.3);
}

/* Etoiles EuroMillions (grandes) - forme etoile */
.ball.euro-star {
    width: 56px;
    height: 56px;
    background: var(--euro-yellow-gradient);
    color: #1E3A8A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 22px;
    border: none;
    box-shadow: 0 4px 15px rgba(252, 211, 77, 0.5);
    /* Forme etoile */
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* Mini boules bleues EuroMillions */
.mini-ball.euro-blue {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(180deg, #4A7DD9 0%, #003399 50%, #002266 100%);
    border: 2px solid #001A4D;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
}

/* Mini etoiles EuroMillions - forme etoile */
.mini-ball.euro-star {
    width: 32px;
    height: 32px;
    background: var(--euro-yellow-gradient);
    color: #1E3A8A;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
    /* Forme etoile */
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* ============================================
   HEADER PAGE EUROMILLIONS
   ============================================ */
.resultats-header.euromillions {
    background: var(--euro-gradient);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.resultats-header.euromillions h1 {
    color: white;
    margin: 0 0 8px 0;
}

.resultats-header.euromillions .resultats-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* ============================================
   BOUTON VOIR LES GAINS
   ============================================ */
.btn-voir-gains.euromillions {
    padding: 8px 16px;
    background: white;
    color: var(--euro-blue);
    border: 2px solid var(--euro-blue);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-voir-gains.euromillions:hover {
    background: var(--euro-blue);
    color: white;
}

/* ============================================
   ACCORDEON EUROMILLIONS
   ============================================ */
.accordion-item.euromillions {
    border-top: 3px solid var(--euro-blue);
}

.accordion-item.euromillions:hover {
    border-top-color: var(--euro-yellow-dark);
}

.accordion-item.euromillions.open {
    border-left-color: var(--euro-yellow-dark);
}

/* ============================================
   TABLEAU DES GAINS EUROMILLIONS
   ============================================ */
.gains-table-hero.euromillions thead,
.gains-table-mini.euromillions thead,
.gains-table.euromillions thead {
    background: var(--euro-gradient);
}

.gains-table-hero.euromillions thead th,
.gains-table-mini.euromillions thead th,
.gains-table.euromillions thead th {
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    padding: 12px 15px;
}

.gains-table-hero.euromillions .jackpot-row,
.gains-table-mini.euromillions .jackpot-row,
.gains-table.euromillions .jackpot-row {
    background: linear-gradient(90deg, #FEF3C7 0%, #FDE68A 100%);
}

.gains-table-hero.euromillions .jackpot,
.gains-table-mini.euromillions .jackpot,
.gains-table.euromillions .jackpot {
    color: var(--euro-blue);
    font-weight: 800;
}

/* ============================================
   SIDEBAR WIDGETS EUROMILLIONS
   ============================================ */
.widget-header.euromillions {
    background: var(--euro-gradient);
}

.widget-header.jackpot.euromillions {
    background: var(--euro-yellow-gradient);
    color: #1E3A8A;
}

.widget-header.jackpot.euromillions h3 {
    color: #1E3A8A;
}

.btn-widget-cta.euromillions {
    background: var(--euro-gradient);
    color: white;
    display: block;
    text-align: center;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-widget-cta.euromillions:hover {
    background: linear-gradient(135deg, #002266 0%, #003399 100%);
}

.jackpot-amount.euromillions {
    color: var(--euro-blue);
    font-size: 28px;
    font-weight: 800;
}

.btn-widget-link.euromillions {
    color: var(--euro-blue);
}

.btn-widget-link.euromillions:hover {
    color: var(--euro-blue-light);
}

/* Widget My Million */
.widget-header.mymillion {
    background: var(--euro-gradient);
}

.mymillion-prize {
    font-size: 24px;
    font-weight: 800;
    color: var(--euro-blue);
    text-align: center;
    margin-bottom: 10px;
}

.mymillion-description,
.mymillion-desc {
    font-size: 13px;
    color: #64748b;
    text-align: center;
    margin-bottom: 12px;
}

.btn-widget-link.mymillion {
    color: var(--euro-blue);
}

.btn-widget-link.mymillion:hover {
    color: var(--euro-blue-light);
}

/* ============================================
   BOUTON DETAIL ACCORDEON
   ============================================ */
.btn-detail.euromillions {
    display: inline-block;
    padding: 10px 20px;
    background: white;
    color: var(--euro-blue);
    border: 2px solid var(--euro-blue);
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-detail.euromillions:hover {
    background: var(--euro-blue);
    color: white;
}

/* ============================================
   CALCULATEUR - HEADER
   ============================================ */
.calculateur-header.euromillions {
    background: var(--euro-gradient);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: center;
}

.calculateur-header.euromillions h1 {
    color: white;
    margin: 0 0 8px 0;
}

.calculateur-header.euromillions .calculateur-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

/* ============================================
   CALCULATEUR - CARTE
   ============================================ */
.calculateur-card.euromillions {
    border-top: 5px solid var(--euro-blue);
}

.calculateur-card.euromillions .step-num {
    background: var(--euro-gradient);
}

.calculateur-page-container.euromillions .form-select.euromillions {
    border: 2px solid var(--euro-blue);
}

.calculateur-page-container.euromillions .form-select.euromillions:focus {
    border-color: var(--euro-blue-dark);
    box-shadow: 0 0 0 3px rgba(0, 51, 153, 0.1);
}

/* ============================================
   CALCULATEUR - GRILLE DES NUMEROS (1-50)
   ============================================ */
.numeros-grid.euromillions {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 8px;
    margin-bottom: 15px;
}

.numero-btn.euromillions {
    width: 100%;
    aspect-ratio: 1;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    background: white;
    color: #1e293b;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.numero-btn.euromillions:hover {
    border-color: var(--euro-blue);
    background: #EBF5FF;
}

.numero-btn.euromillions.selected {
    background: var(--euro-gradient);
    border-color: var(--euro-blue-dark);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 51, 153, 0.3);
}

/* ============================================
   CALCULATEUR - GRILLE DES ETOILES (1-12)
   ============================================ */
.etoiles-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-bottom: 15px;
    max-width: 400px;
}

.etoile-btn {
    width: 100%;
    aspect-ratio: 1;
    border: none;
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    color: #92400E;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    /* Forme etoile */
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.etoile-btn:hover {
    background: var(--euro-yellow-gradient);
    transform: scale(1.1);
}

.etoile-btn.selected {
    background: var(--euro-yellow-gradient);
    color: #1E3A8A;
    transform: scale(1.15);
    box-shadow: 0 4px 15px rgba(252, 211, 77, 0.5);
}

.selection-info.etoiles {
    color: #92400E;
}

/* Alignement des compteurs de selection */
.calculateur-page-container.euromillions .selection-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.calculateur-page-container.euromillions .selection-info .counter-text {
    text-align: left;
    font-size: 14px;
    color: #64748b;
}

.calculateur-page-container.euromillions .selection-info #numeros-count,
.calculateur-page-container.euromillions .selection-info #etoiles-count {
    font-weight: 700;
    color: var(--euro-blue);
    font-size: 16px;
}

.calculateur-page-container.euromillions .selection-info.etoiles #etoiles-count {
    color: #92400E;
}

/* ============================================
   CALCULATEUR - OPTION ETOILE+
   ============================================ */
.option-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.3s;
    border-radius: 26px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
    background: var(--euro-gradient);
}

.toggle-switch input:checked + .toggle-slider:before {
    transform: translateX(24px);
}

.toggle-label {
    font-size: 14px;
    color: #475569;
}

/* ============================================
   CALCULATEUR - BOUTON CALCULER
   ============================================ */
.btn-calculer.euromillions {
    background: var(--euro-gradient);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-calculer.euromillions:hover:not(:disabled) {
    background: linear-gradient(135deg, var(--euro-blue-dark) 0%, var(--euro-blue) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 51, 153, 0.3);
}

.btn-calculer.euromillions:disabled {
    background: #94a3b8;
    cursor: not-allowed;
}

/* ============================================
   CALCULATEUR - RESULTATS
   ============================================ */
.resultats-card.euromillions {
    border-top: 5px solid var(--euro-blue);
}

/* Tableau des gains dans resultats calculateur */
.resultats-card.euromillions .gains-table-wrapper {
    margin-top: 20px;
}

/* Selecteurs ultra-specifiques pour overrider outils.css */
body.page-calculateur-gains-euromillions .gains-table thead,
.calculateur-page-container.euromillions .gains-table thead,
.resultats-card.euromillions .gains-table thead {
    background: linear-gradient(135deg, #003399 0%, #0055CC 100%) !important;
}

body.page-calculateur-gains-euromillions .gains-table thead th,
.calculateur-page-container.euromillions .gains-table thead th,
.resultats-card.euromillions .gains-table thead th {
    color: white !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 12px !important;
    letter-spacing: 0.5px;
    padding: 14px 16px !important;
    text-align: left;
    background: transparent !important;
}

.resultats-card.euromillions .gains-table,
.calculateur-page-container.euromillions .gains-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.resultats-card.euromillions .gains-table thead th:last-child,
.calculateur-page-container.euromillions .gains-table thead th:last-child {
    text-align: right;
}

.resultats-card.euromillions .gains-table tbody td,
.calculateur-page-container.euromillions .gains-table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
}

.resultats-card.euromillions .gains-table tbody td:last-child,
.calculateur-page-container.euromillions .gains-table tbody td:last-child {
    text-align: right;
    font-weight: 600;
}

.resultats-card.euromillions .gains-table tbody tr:hover,
.calculateur-page-container.euromillions .gains-table tbody tr:hover {
    background: #f8fafc;
}

.grille-numeros.euromillions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.result-ball.euro-num {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.result-ball.euro-num.good {
    background: var(--euro-gradient);
    color: white;
    box-shadow: 0 0 15px rgba(0, 51, 153, 0.5);
}

.result-ball.euro-num.bad {
    background: #fee2e2;
    color: #991b1b;
    border: 2px solid #fca5a5;
}

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

.result-ball.euro-star {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.result-ball.euro-star.good {
    background: var(--euro-yellow-gradient);
    color: #1E3A8A;
    box-shadow: 0 0 15px rgba(252, 211, 77, 0.5);
}

.result-ball.euro-star.bad {
    background: #fef3c7;
    color: #92400e;
}

.result-ball.euro-star.official {
    background: var(--euro-yellow-gradient);
    color: #1E3A8A;
}

/* ============================================
   CALCULATEUR - GAIN RESULT
   ============================================ */
.gain-result.euromillions.jackpot {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 50%, #FCD34D 100%);
    border: 3px solid var(--euro-yellow-dark);
}

.gain-result.euromillions.win {
    background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
    border: 2px solid #10B981;
}

.gain-result.euromillions.lose {
    background: linear-gradient(135deg, #FEF2F2 0%, #FECACA 100%);
    border: 2px solid #EF4444;
}

.gain-amount.euromillions {
    background: var(--euro-gradient);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 24px;
    font-weight: 800;
}

.etoileplus-badge {
    display: inline-block;
    background: var(--euro-gradient);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 8px;
}

/* ============================================
   CALCULATEUR - ANIMATION SPHERE EUROMILLIONS
   ============================================ */
.euro-sphere-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 51, 153, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.euro-sphere-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sphere-container.euromillions {
    text-align: center;
}

.sphere-glass.euromillions {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 100%);
    border: 4px solid rgba(252, 211, 77, 0.5);
    position: relative;
    margin: 0 auto 30px;
    overflow: hidden;
    box-shadow: 
        0 0 60px rgba(252, 211, 77, 0.3),
        inset 0 0 60px rgba(255,255,255,0.1);
}

.sphere-base.euromillions {
    width: 200px;
    height: 30px;
    background: linear-gradient(180deg, var(--euro-yellow) 0%, var(--euro-yellow-dark) 100%);
    border-radius: 50%;
    margin: -15px auto 0;
}

.sphere-text.euromillions {
    color: white;
    font-size: 24px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Boules dans la sphere */
.sphere-ball {
    position: absolute;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    animation: ballBounce var(--duration, 2s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
    transform: translate3d(var(--start-x, 0), var(--start-y, 0), var(--start-z, 0));
}

.sphere-ball.numero {
    background: var(--euro-gradient);
    color: white;
    border: 2px solid white;
    box-shadow: 0 4px 15px rgba(0, 51, 153, 0.5);
}

.sphere-ball.etoile {
    background: var(--euro-yellow-gradient);
    color: #1E3A8A;
    border: 2px solid white;
    box-shadow: 0 4px 15px rgba(252, 211, 77, 0.5);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    width: 40px;
    height: 40px;
}

.sphere-ball.random {
    background: linear-gradient(180deg, #94a3b8 0%, #64748b 100%);
    color: white;
    opacity: 0.6;
}

.sphere-ball.etoile-random {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    opacity: 0.5;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    width: 38px;
    height: 38px;
}

@keyframes ballBounce {
    0%, 100% {
        transform: translate3d(var(--start-x), var(--start-y), var(--start-z)) rotate(0deg);
    }
    25% {
        transform: translate3d(calc(var(--start-x) * -0.5), calc(var(--start-y) + 30px), calc(var(--start-z) * 0.5)) rotate(90deg);
    }
    50% {
        transform: translate3d(calc(var(--start-x) * 0.3), calc(var(--start-y) - 20px), calc(var(--start-z) * -0.3)) rotate(180deg);
    }
    75% {
        transform: translate3d(calc(var(--start-x) * -0.8), calc(var(--start-y) + 10px), calc(var(--start-z) * 0.8)) rotate(270deg);
    }
}

/* ============================================
   CALCULATEUR - WIDGET DERNIER TIRAGE
   ============================================ */
.dernier-tirage-widget.euromillions {
    background: linear-gradient(135deg, #003399 0%, #0055CC 100%) !important;
    border: none;
    border-radius: 12px;
    padding: 20px;
    margin-top: 30px;
}

.dernier-tirage-widget.euromillions .widget-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.dernier-tirage-widget.euromillions .widget-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.dernier-tirage-widget.euromillions .widget-date {
    color: white !important;
    font-weight: 600;
    font-size: 15px;
}

.widget-balls.euromillions {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-voir-resultats.euromillions {
    background: var(--euro-yellow) !important;
    color: var(--euro-blue) !important;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-voir-resultats.euromillions:hover {
    background: var(--euro-yellow-dark) !important;
    transform: translateY(-2px);
}

/* ============================================
   CALCULATEUR - SIDEBAR WIDGETS
   ============================================ */
.widget-jackpot-big.euromillions {
    background: var(--euro-gradient);
    color: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
}

.widget-euro-logo {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: var(--euro-yellow);
}

.widget-jackpot-amount.euromillions {
    font-size: 32px;
    font-weight: 800;
    color: var(--euro-yellow);
    margin: 10px 0;
}

.btn-jouer-widget.euromillions {
    display: inline-block;
    background: var(--euro-yellow);
    color: var(--euro-blue);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s ease;
}

.btn-jouer-widget.euromillions:hover {
    background: var(--euro-yellow-dark);
    transform: translateY(-2px);
}

.widget-header.tools.euromillions {
    background: var(--euro-gradient);
}

/* ============================================
   CALCULATEUR - SEO CONTENT
   ============================================ */
.seo-content.euromillions .seo-step-number.euromillions {
    background: var(--euro-gradient);
}

/* Tableau des rangs dans la section SEO */
.rangs-table.euromillions table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.rangs-table.euromillions table thead,
body.page-calculateur-gains-euromillions .rangs-table table thead {
    background: linear-gradient(135deg, #003399 0%, #0055CC 100%) !important;
}

.rangs-table.euromillions table thead th,
body.page-calculateur-gains-euromillions .rangs-table table thead th {
    color: white !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    padding: 14px 16px;
    text-align: left;
    background: transparent !important;
}

.rangs-table.euromillions table tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
}

.rangs-table.euromillions .rang-jackpot {
    background: linear-gradient(90deg, #FEF3C7 0%, #FDE68A 100%);
    font-weight: 700;
}

/* ============================================
   CALCULATEUR - BOUTONS ACTIONS
   ============================================ */
.btn-rejouer.euromillions {
    background: white;
    color: var(--euro-blue);
    border: 2px solid var(--euro-blue);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-rejouer.euromillions:hover {
    background: var(--euro-blue);
    color: white;
}

.btn-voir-tirage.euromillions {
    display: inline-block;
    background: var(--euro-gradient);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-voir-tirage.euromillions:hover {
    background: linear-gradient(135deg, var(--euro-blue-dark) 0%, var(--euro-blue) 100%);
}

/* ============================================
   PAGE STATISTIQUES EUROMILLIONS
   ============================================ */

/* Header Stats */
.stats-header.euromillions {
    background: var(--euro-gradient);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: center;
}

.stats-header.euromillions h1 {
    color: white;
    margin: 0 0 10px 0;
}

.stats-header.euromillions .stats-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin: 0 0 5px 0;
}

.stats-header.euromillions .stats-update {
    color: var(--euro-yellow);
    font-size: 14px;
    margin: 0;
}

/* Overview Cards */
.stats-overview.euromillions .overview-card.etoile {
    border-top-color: var(--euro-yellow);
}

.stats-overview.euromillions .card-ball.euro-blue {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--euro-gradient);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
}

.stats-overview.euromillions .card-ball.euro-star {
    width: 54px;
    height: 54px;
    background: var(--euro-yellow-gradient);
    color: #1E3A8A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* Hot Cold Section */
.stats-hot-cold.euromillions .mini-ball.euro-blue {
    background: var(--euro-gradient);
    color: white;
}

.stats-hot-cold.euromillions .mini-ball.euro-blue.faded {
    opacity: 0.5;
}

.stats-hot-cold.euromillions .mini-ball.euro-blue.warning {
    background: linear-gradient(180deg, #F59E0B 0%, #D97706 100%);
}

.stats-hot-cold.euromillions .mini-ball.euro-blue.success {
    background: linear-gradient(180deg, #10B981 0%, #059669 100%);
}

/* Section Etoiles Stats */
.stats-etoiles {
    margin: 40px 0;
}

.stats-etoiles h2 {
    margin-bottom: 20px;
}

.etoiles-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.etoiles-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.etoiles-card h3 {
    font-size: 16px;
    margin: 0 0 15px 0;
    color: #1e293b;
}

.etoiles-card.hot {
    border-top: 4px solid #EF4444;
}

.etoiles-card.late {
    border-top: 4px solid #F59E0B;
}

.etoiles-card.paires {
    border-top: 4px solid var(--euro-blue);
}

.balls-row.etoiles {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.paires-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.paire-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 8px;
}

.paire-separator {
    color: #94a3b8;
    font-weight: 600;
}

.paire-count {
    margin-left: auto;
    font-weight: 600;
    color: var(--euro-blue);
}

/* Palmares EuroMillions */
.stats-palmares.euromillions .palmares-tab.active {
    background: var(--euro-gradient);
    color: white;
    border-color: var(--euro-blue);
}

.stats-palmares.euromillions .palmares-tab:hover:not(.active) {
    border-color: var(--euro-blue);
    color: var(--euro-blue);
}

/* Table Stats EuroMillions */
.stats-table.euromillions thead,
body.page-statistiques-euromillions .stats-table thead,
.stats-page-container.euromillions .stats-table thead {
    background: linear-gradient(135deg, #003399 0%, #0055CC 100%) !important;
}

.stats-table.euromillions thead th,
body.page-statistiques-euromillions .stats-table thead th,
.stats-page-container.euromillions .stats-table thead th {
    color: white !important;
    font-weight: 600 !important;
    padding: 14px 12px;
    background: transparent !important;
}

.stats-table.euromillions .table-ball.euro-blue {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--euro-gradient);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.stats-table.euromillions .table-ball.euro-star {
    width: 36px;
    height: 36px;
    background: var(--euro-yellow-gradient);
    color: #1E3A8A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.stats-table.euromillions .table-ball.euro-star.small {
    width: 28px;
    height: 28px;
    font-size: 12px;
}

.stats-table.euromillions .paire-sep {
    color: #94a3b8;
    margin: 0 4px;
}

/* Mini ball etoile warning */
.mini-ball.euro-star.warning {
    opacity: 0.7;
    box-shadow: 0 0 0 2px #F59E0B;
}

/* Info Boxes EuroMillions */
.stats-info-boxes.euromillions .info-box {
    border-top: 4px solid var(--euro-blue);
}

/* SEO Content EuroMillions */
.seo-content.euromillions .disclaimer {
    background: #fefce8;
    border: 1px solid #fde68a;
    border-radius: 6px;
    padding: 15px 20px;
    margin-top: 20px;
}

/* Sidebar Stats EuroMillions */
.widget-header.stats.euromillions {
    background: var(--euro-gradient);
}

.widget-header.stats.euromillions h3 {
    color: white;
}

/* Responsive Stats */
@media (max-width: 992px) {
    .etoiles-stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .etoiles-card.paires {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .etoiles-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .etoiles-card.paires {
        grid-column: span 1;
    }
    
    .stats-overview.euromillions .card-ball.euro-star {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }
}

/* ============================================
   RESPONSIVE EUROMILLIONS
   ============================================ */
@media (max-width: 768px) {
    .ball.euro-blue {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    
    .ball.euro-star {
        width: 48px;
        height: 48px;
        font-size: 18px;
    }
    
    .mini-ball.euro-star {
        width: 28px;
        height: 28px;
        font-size: 11px;
    }
    
    .hero-joker.mymillion {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        text-align: center;
    }
    
    .joker-code.mymillion {
        font-size: 16px;
        padding: 8px 14px;
    }
    
    .hero-tirage-card.euromillions .hero-actions {
        flex-direction: column;
    }
    
    .hero-tirage-card.euromillions .btn-hero-action {
        width: 100%;
        justify-content: center;
    }
    
    /* Calculateur responsive */
    .numeros-grid.euromillions {
        grid-template-columns: repeat(7, 1fr);
        gap: 6px;
    }
    
    .numero-btn.euromillions {
        font-size: 12px;
    }
    
    .etoiles-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 100%;
    }
    
    .etoile-btn {
        font-size: 14px;
    }
    
    .sphere-glass.euromillions {
        width: 220px;
        height: 220px;
    }
    
    .sphere-ball {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .sphere-ball.etoile,
    .sphere-ball.etoile-random {
        width: 34px;
        height: 34px;
    }
    
    .result-ball.euro-num {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .result-ball.euro-star {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .ball.euro-blue {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    
    .ball.euro-star {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
    
    .mini-ball.euro-star {
        width: 26px;
        height: 26px;
        font-size: 10px;
    }
    
    .joker-code.mymillion {
        font-size: 14px;
        letter-spacing: 2px;
    }
    
    /* Calculateur responsive */
    .numeros-grid.euromillions {
        grid-template-columns: repeat(5, 1fr);
    }
    
    .etoiles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .btn-calculer.euromillions {
        width: 100%;
        justify-content: center;
    }
    
    .gain-amount.euromillions {
        font-size: 20px;
        padding: 10px 16px;
    }
}
/* ============================================
   ============================================
   PAGE HUB EUROMILLIONS (/euromillions/)
   Migré depuis page-euromillions.php <style>
   ============================================
   ============================================ */

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

/* Container aligné sur le header (1300px) */
.euro-home-page .container {
    max-width: calc(1300px + 4rem);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Breadcrumb hub - aligné sur le header */
.euro-home-page .breadcrumb-nav {
    background: #fff;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}
.euro-home-page .breadcrumb-nav .container {
    max-width: calc(1300px + 4rem);
    margin: 0 auto;
    padding: 0 2rem;
}
.euro-home-page .breadcrumb-nav .breadcrumb {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
}
.euro-home-page .breadcrumb-nav .breadcrumb-item {
    display: flex;
    align-items: center;
}
.euro-home-page .breadcrumb-nav .breadcrumb-item::after {
    content: "›";
    margin: 0 0.5rem;
    color: #9ca3af;
}
.euro-home-page .breadcrumb-nav .breadcrumb-item:last-child::after {
    display: none;
}
.euro-home-page .breadcrumb-nav .breadcrumb-item a {
    color: #2563eb;
    text-decoration: none;
}
.euro-home-page .breadcrumb-nav .breadcrumb-item a:hover {
    text-decoration: underline;
}
.euro-home-page .breadcrumb-nav .breadcrumb-item.active span {
    color: #6b7280;
}

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

/* Jackpot Widget */
.euro-jackpot-widget {
    background: linear-gradient(145deg, #FFFBEB, #FEF3C7, #FDE68A);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border: 2px solid var(--euro-yellow-dark);
}
.euro-jackpot-header { margin-bottom: 0.5rem; }
.euro-jackpot-label { display: block; font-size: 0.9rem; color: #92400e; font-weight: 600; }
.euro-jackpot-date { display: block; font-size: 0.85rem; color: #78350f; opacity: 0.8; }
.euro-jackpot-amount { font-size: 2.25rem; font-weight: 800; margin: 0.5rem 0; color: var(--euro-blue); }
.euro-jackpot-bonus { background: rgba(0,51,153,0.1); color: var(--euro-blue); padding: 0.35rem 0.75rem; border-radius: 20px; font-size: 0.8rem; display: inline-block; margin-bottom: 1rem; font-weight: 600; }
.euro-jackpot-play-btn {
    display: block;
    background: var(--euro-gradient);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s;
}
.euro-jackpot-play-btn:hover { transform: scale(1.03); background: linear-gradient(135deg, var(--euro-blue-dark), var(--euro-blue)); }

/* Quick Nav */
.euro-quick-nav {
    background: #fff;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.euro-quick-nav-grid { display: flex; justify-content: center; gap: 0.5rem; flex-wrap: wrap; }
.euro-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;
}
.euro-quick-nav-item:hover { background: var(--euro-blue); color: #fff; }
.euro-quick-nav-icon { font-size: 1.1rem; }

/* Content Grid */
.euro-content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 1.5rem;
    padding: 1.5rem 0 3rem;
}

/* Sections */
.euro-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);
}
.euro-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f3f4f6;
}
.euro-section-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.euro-section-icon { font-size: 1.1rem; }
.euro-section-link { color: var(--euro-blue); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.euro-section-link:hover { text-decoration: underline; }

/* Result Showcase */
.euro-result-showcase {
    background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 50%, #FDE68A 100%);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid #F59E0B;
}
.euro-result-main { margin-bottom: 1.25rem; }
.euro-result-label { font-size: 0.9rem; color: #92400e; margin-bottom: 0.75rem; font-weight: 500; }
.euro-result-balls { display: flex; justify-content: center; gap: 0.5rem; flex-wrap: wrap; align-items: center; }

/* Balls EuroMillions (Hub page) */
.ball-euro {
    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-euro-blue {
    background: linear-gradient(180deg, #4A7DD9 0%, #003399 50%, #002266 100%);
    border: 3px solid #001A4D;
    color: #fff;
}
.ball-euro-star {
    width: 52px;
    height: 52px;
    background: var(--euro-yellow-gradient);
    color: #1E3A8A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.15rem;
    border: none;
    box-shadow: 0 4px 15px rgba(252, 211, 77, 0.5);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.ball-euro-cold {
    background: linear-gradient(145deg, #6b7280, #4b5563);
    color: #fff;
}
.ball-separator-euro {
    font-size: 1.25rem;
    font-weight: 700;
    color: #92400e;
    margin: 0 0.25rem;
}
.mini-ball-euro {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    background: linear-gradient(180deg, #4A7DD9 0%, #003399 50%, #002266 100%);
    border: 2px solid #001A4D;
    color: #fff;
}
.mini-ball-euro-star {
    width: 32px;
    height: 32px;
    background: var(--euro-yellow-gradient);
    color: #1E3A8A;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.8rem;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

/* My Million (Hub) */
.euro-result-mymillion {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed #d97706;
}
.mymillion-box {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, #1E3A8A 0%, #003399 100%);
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
}
.mymillion-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--euro-yellow);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.mymillion-code {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: white;
    color: var(--euro-blue);
    font-size: 1.1rem;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    letter-spacing: 3px;
    border-radius: 6px;
}
.euro-result-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-top: 1.25rem; }

/* Buttons (Hub) */
.euro-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 0.95rem;
    text-align: center;
}
.euro-btn-primary { background: var(--euro-gradient); color: #fff; }
.euro-btn-primary:hover { background: linear-gradient(135deg, var(--euro-blue-dark), var(--euro-blue)); transform: translateY(-1px); }
.euro-btn-secondary { background: var(--euro-yellow-gradient); color: #1E3A8A; }
.euro-btn-secondary:hover { background: linear-gradient(135deg, #F59E0B, #D97706); }
.euro-btn-outline { background: #fff; color: var(--euro-blue); border: 2px solid var(--euro-blue); }
.euro-btn-outline:hover { background: var(--euro-blue); color: #fff; }
.euro-btn-play { background: linear-gradient(135deg, #f97316, #ea580c); color: #fff; }
.euro-btn-play:hover { background: linear-gradient(135deg, #fb923c, #f97316); }
.euro-btn-large { padding: 1rem 2rem; font-size: 1rem; }

/* Tirages List (Hub) */
.euro-tirages-list { display: flex; flex-direction: column; gap: 0.5rem; }
.euro-tirage-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    background: #f9fafb;
    border-radius: 8px;
    text-decoration: none;
    color: #374151;
    transition: all 0.2s;
}
.euro-tirage-item:hover { background: #f3f4f6; transform: translateX(3px); }
.euro-tirage-date { min-width: 110px; }
.euro-tirage-day { display: block; font-weight: 600; font-size: 0.9rem; color: #1f2937; }
.euro-tirage-full-date { font-size: 0.8rem; color: #6b7280; }
.euro-tirage-numbers { display: flex; gap: 0.25rem; flex: 1; justify-content: center; align-items: center; }
.euro-tirage-arrow { color: var(--euro-blue); font-weight: 700; }

/* Next Draw (Hub) */
.euro-next-draw-card { background: var(--euro-gradient); border-radius: 12px; padding: 1.5rem; color: #fff; }
.euro-next-draw-info { display: flex; justify-content: space-around; margin-bottom: 1.25rem; text-align: center; }
.euro-next-day { display: block; font-size: 1.1rem; font-weight: 600; }
.euro-next-date { display: block; font-size: 0.95rem; }
.euro-next-time { display: block; font-size: 0.85rem; opacity: 0.7; }
.euro-jackpot-small-label { display: block; font-size: 0.85rem; opacity: 0.8; }
.euro-jackpot-big-amount { display: block; font-size: 1.75rem; font-weight: 800; color: var(--euro-yellow); }
.euro-next-draw-actions { display: flex; gap: 0.75rem; justify-content: center; }
.euro-next-draw-actions .euro-btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.euro-next-draw-actions .euro-btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* Stats (Hub) */
.euro-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 1rem; }
.euro-stats-card { background: #f9fafb; border-radius: 10px; padding: 1rem; }
.euro-stats-card h3 { font-size: 0.9rem; margin: 0 0 0.75rem 0; color: #374151; }
.euro-stats-balls { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.euro-stat-ball-item { text-align: center; }
.euro-stat-ball-item .ball-euro { width: 40px; height: 40px; font-size: 1rem; }
.euro-stat-ball-item .ball-euro-star { width: 44px; height: 44px; font-size: 1rem; }
.euro-stat-count { display: block; font-size: 0.75rem; color: #6b7280; margin-top: 0.25rem; }
.euro-section-cta { text-align: center; margin-top: 1rem; }

/* Calculator Promo (Hub) */
.euro-calculator-promo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #93C5FD;
}
.euro-promo-text { font-size: 1rem; color: #1e3a8a; margin: 0 0 0.75rem 0; font-weight: 500; }
.euro-promo-features { list-style: none; padding: 0; margin: 0; }
.euro-promo-features li { padding: 0.3rem 0; color: #1e40af; font-size: 0.9rem; }
.euro-calculator-promo-action { flex-shrink: 0; }

/* Content Text (Hub) */
.euro-content-text h2 { font-size: 1.3rem; margin: 0 0 1rem 0; display: flex; align-items: center; gap: 0.5rem; }
.euro-content-text h3 { font-size: 1.1rem; color: #1f2937; margin: 1.5rem 0 0.75rem 0; }
.euro-content-text p { color: #4b5563; line-height: 1.7; margin: 0 0 1rem 0; }
.euro-content-text ul { margin: 0.5rem 0 1rem 0; padding-left: 1.25rem; color: #4b5563; }
.euro-content-text li { margin-bottom: 0.4rem; line-height: 1.6; }

/* Table (Hub) */
.euro-table-responsive { overflow-x: auto; margin: 1rem 0; }
.euro-gains-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.euro-gains-table th, .euro-gains-table td { padding: 0.7rem 0.75rem; border: 1px solid #e5e7eb; text-align: left; }
.euro-gains-table th { background: var(--euro-gradient); font-weight: 600; color: #fff; }
.euro-gains-table tr:nth-child(even) { background: #f9fafb; }
.euro-gains-table tr.euro-highlight { background: linear-gradient(90deg, #FEF3C7 0%, #FDE68A 100%); }
.euro-cta-box { text-align: center; margin: 1.5rem 0; }

/* Sidebar (Hub) */
.euro-sidebar { display: flex; flex-direction: column; gap: 1rem; }
.euro-sidebar-widget { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }

.euro-widget-cta-header { background: var(--euro-gradient); padding: 1rem; text-align: center; }
.euro-widget-logo { font-size: 1.25rem; font-weight: 800; color: #fff; }
.euro-widget-cta-body { padding: 1.25rem; text-align: center; }
.euro-widget-jackpot { display: block; font-size: 1.75rem; font-weight: 800; color: var(--euro-blue); margin-bottom: 0.25rem; }
.euro-widget-date { display: block; font-size: 0.9rem; color: #6b7280; margin-bottom: 1rem; }
.euro-btn-widget {
    display: block;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}
.euro-btn-widget:hover { background: linear-gradient(135deg, #fb923c, #f97316); }

/* My Million Widget (Hub sidebar) */
.euro-widget-mymillion-header { background: var(--euro-gradient); padding: 1rem; text-align: center; }
.euro-widget-mymillion-header h3 { color: #fff; margin: 0; font-size: 1rem; }
.euro-widget-mymillion-body { padding: 1.25rem; text-align: center; }
.euro-widget-mymillion-prize { font-size: 1.5rem; font-weight: 800; color: var(--euro-blue); margin-bottom: 0.5rem; }
.euro-widget-mymillion-desc { font-size: 0.85rem; color: #64748b; margin-bottom: 0.75rem; }
.euro-widget-mymillion-link { color: var(--euro-blue); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.euro-widget-mymillion-link:hover { text-decoration: underline; }

.euro-widget-nav h3, .euro-widget-other h3, .euro-widget-info h3 {
    font-size: 1rem;
    padding: 0.85rem 1rem;
    margin: 0;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
}
.euro-sidebar-widget ul { list-style: none; padding: 0; margin: 0; }
.euro-sidebar-widget ul li { border-bottom: 1px solid #f3f4f6; }
.euro-sidebar-widget ul li:last-child { border-bottom: none; }
.euro-sidebar-widget ul li a {
    display: block;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s;
}
.euro-sidebar-widget ul li a:hover { background: #EFF6FF; color: var(--euro-blue); }
.euro-info-list li { padding: 0.6rem 1rem !important; font-size: 0.85rem; color: #4b5563; }
.euro-info-list strong { color: #1f2937; }

/* Warning (Hub) */
.euro-warning-section { background: #fff3cd; padding: 1rem 0; margin-top: 2rem; }
.euro-warning-box { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.euro-warning-badge { background: #dc2626; color: #fff; padding: 0.5rem 0.75rem; border-radius: 6px; font-weight: 700; font-size: 0.9rem; }
.euro-warning-box p { margin: 0; font-size: 0.85rem; color: #78350f; flex: 1; }

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

@media (max-width: 768px) {
    .euro-hero h1 { font-size: 1.4rem; }
    .euro-quick-nav-grid { gap: 0.4rem; }
    .euro-quick-nav-item { padding: 0.5rem 0.75rem; font-size: 0.8rem; }
    .euro-quick-nav-text { display: none; }
    .euro-quick-nav-icon { font-size: 1.3rem; }
    .ball-euro { width: 42px; height: 42px; font-size: 1rem; }
    .ball-euro-star { width: 46px; height: 46px; font-size: 1rem; }
    .mini-ball-euro { width: 24px; height: 24px; font-size: 0.7rem; }
    .mini-ball-euro-star { width: 28px; height: 28px; font-size: 0.7rem; }
    .euro-tirage-numbers { display: none; }
    .euro-next-draw-info { flex-direction: column; gap: 1rem; }
    .euro-next-draw-actions { flex-direction: column; }
    .euro-calculator-promo { flex-direction: column; text-align: center; }
    .mymillion-box { flex-direction: column; gap: 0.5rem; width: 100%; text-align: center; }
}

@media (max-width: 480px) {
    .euro-hero { padding: 1.5rem 0; }
    .euro-content-section { padding: 1rem; }
    .euro-result-showcase { padding: 1rem; }
    .ball-euro { width: 38px; height: 38px; font-size: 0.95rem; }
    .ball-euro-star { width: 42px; height: 42px; font-size: 0.95rem; }
    .euro-result-actions { flex-direction: column; }
    .euro-btn { width: 100%; }
}

/* ============================================
   ============================================
   PAGE PROCHAIN TIRAGE EUROMILLIONS
   Migré depuis prochain-tirage-euromillions.php
   ============================================
   ============================================ */

/* Couleurs EuroMillions */
.prochain-tirage-container.euromillions .article-header h1 {
    color: #1E3A8A;
}

/* Pronostic inline */
.pronostic-inline {
    background: #EFF6FF;
    border: 1px solid #bfdbfe;
    border-radius: 6px;
    padding: 15px 20px;
    margin: 20px 0;
    font-size: 15px;
}
.pronostic-inline strong {
    color: #1E3A8A;
}

/* Info box hot numbers */
.info-box-hot-numbers {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border: 1px solid #F59E0B;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 20px 0;
}
.info-box-hot-numbers.euromillions {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border-color: #3B82F6;
}
.info-box-hot-numbers p {
    margin: 0;
    font-size: 15px;
}

.info-box-essential.euromillions {
    border-color: #1E3A8A;
}
.info-box-essential.euromillions .info-box-header {
    background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
    color: white;
}

.btn-jouer-fdj.euromillions {
    background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
}
.btn-jouer-fdj.euromillions:hover {
    background: linear-gradient(135deg, #1E40AF 0%, #2563EB 100%);
}

.pronostic-table.euromillions .pronostic-header {
    background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
    color: white;
}

.pronostic-ball.euro-blue {
    background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
    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.euro-star {
    background: linear-gradient(135deg, #F59E0B 0%, #FCD34D 100%);
    color: #000;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin: 5px;
}

.prochain-tirage-container.euromillions .btn-voir-resultats {
    background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%) !important;
    color: white !important;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: transform 0.2s, box-shadow 0.2s;
}
.prochain-tirage-container.euromillions .btn-voir-resultats:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

/* Widget Jackpot EuroMillions (Prochain tirage) */
.widget-jackpot.euromillions {
    border: 2px solid #1E3A8A;
    border-radius: 12px;
    overflow: hidden;
}
.widget-jackpot-header.euromillions {
    background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
    padding: 15px;
    text-align: center;
}
.widget-jackpot-header.euromillions img {
    max-height: 40px;
}
/* btn-jouer-widget spécifique prochain tirage (bleu) vs calculateur (jaune) */
.prochain-tirage-container.euromillions .btn-jouer-widget {
    background: linear-gradient(135deg, #1E3A8A 0%, #3B82F6 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    display: block;
    text-align: center;
    transition: transform 0.2s;
}
.prochain-tirage-container.euromillions .btn-jouer-widget:hover {
    transform: translateY(-2px);
}

/* Widget My Million (Prochain tirage) */
.widget-mymillion {
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 20px;
}
.widget-mymillion-header {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    padding: 12px;
    text-align: center;
}
.widget-mymillion-header img {
    max-height: 30px;
}
.widget-mymillion-content {
    padding: 20px;
    text-align: center;
}
.btn-mymillion-link {
    color: #B45309;
    font-weight: 600;
    text-decoration: none;
}
.btn-mymillion-link:hover {
    text-decoration: underline;
}

/* Widget Tools EuroMillions (Prochain tirage) */
.widget-tools.euromillions .widget-title {
    color: #1E3A8A;
    border-bottom-color: #1E3A8A;
}
.widget-tools.euromillions .tools-list a:hover {
    color: #1E3A8A;
}

/* Prochain tirage responsive */
@media (max-width: 768px) {
    .pronostic-ball.euro-blue,
    .pronostic-ball.euro-star {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}

/* ============================================
   ============================================
   PAGE TIRAGE DETAIL EUROMILLIONS
   Migré depuis tirage-euromillions.php
   ============================================
   ============================================ */

/* Tableau des gains complet */
.gains-table-full {
    font-size: 14px;
}
.gains-table-full th,
.gains-table-full td {
    padding: 10px 8px;
    vertical-align: middle;
}
.gains-table-full .rang-cell {
    white-space: nowrap;
}
.gains-table-full .combo-balls {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-right: 8px;
}
.gains-table-full .combo-label {
    font-size: 13px;
    color: #666;
}
.gains-table-full .highlight-col {
    background: linear-gradient(90deg, rgba(30, 58, 138, 0.05) 0%, rgba(30, 58, 138, 0.1) 100%);
    font-weight: 600;
}
.gains-table-full .gains-cumule.has-value {
    color: #1E3A8A;
    font-weight: 700;
}
.gains-table-full .etoileplus-cell {
    color: #666;
    font-size: 13px;
}
.gains-table-full .jackpot-row {
    background: linear-gradient(90deg, rgba(252, 211, 77, 0.1) 0%, rgba(252, 211, 77, 0.2) 100%);
}
.gains-table-full .jackpot-row td {
    font-weight: 600;
}
.gains-table-full .etoileplus-row {
    background: rgba(0,0,0,0.02);
    font-style: italic;
}
.gains-table-full .gains-cell.jackpot {
    color: #B8860B;
    font-weight: 700;
    font-size: 15px;
}

/* Légende */
.gains-legend {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 13px;
}
.gains-legend ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
.gains-legend li {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Tirage detail responsive */
@media (max-width: 992px) {
    .gains-table-full {
        font-size: 12px;
    }
    .gains-table-full th,
    .gains-table-full td {
        padding: 8px 5px;
    }
    .gains-table-full .combo-label {
        display: none;
    }
}

@media (max-width: 768px) {
    .gains-table-wrapper {
        overflow-x: auto;
    }
    .gains-table-full {
        min-width: 700px;
    }
}