/**
 * Styles Crescendo - Fichier CSS complet
 * Inclut: Page tirage, archive, calculateur de gains
 * Emplacement: css/crescendo.css
 */

/* ============================================
   VARIABLES CRESCENDO
   ============================================ */
:root {
    --crescendo-orange: #FF6B35;
    --crescendo-orange-light: #FF8B5E;
    --crescendo-orange-dark: #E05A2B;
    --crescendo-gold: #F7931E;
    --crescendo-gold-light: #FFD700;
    --crescendo-blue: #0d6efd;
    --crescendo-blue-dark: #6610f2;
    --crescendo-gradient: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    --crescendo-gold-gradient: linear-gradient(135deg, #F7931E 0%, #FFD700 100%);
    --crescendo-dark-gradient: linear-gradient(135deg, #E05A2B 0%, #FF6B35 100%);
    --crescendo-full-gradient: linear-gradient(135deg, #FF6B35 0%, #F7931E 50%, #FFD700 100%);
}

/* ============================================
   HERO CARD CRESCENDO
   ============================================ */
.hero-tirage-card.crescendo {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 50%, #FED7AA 100%);
    border: 1px solid var(--crescendo-orange);
    border-top: 5px solid var(--crescendo-orange);
}

.hero-badge.crescendo {
    background: var(--crescendo-gradient);
    color: white;
    font-weight: 700;
}

/* ============================================
   BOULES CRESCENDO
   ============================================ */

/* Boules orange (num�ros) */
.ball.crescendo-orange {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(180deg, #FF8B5E 0%, #FF6B35 50%, #E05A2B 100%);
    border: 3px solid #C44A20;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
}

/* Boule lettre (bleue) */
.ball.crescendo-lettre {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(180deg, #3B82F6 0%, #0d6efd 50%, #6610f2 100%);
    border: 3px solid #4338CA;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}

/* Mini boules Crescendo orange */
.mini-ball.crescendo-orange {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(180deg, #FF8B5E 0%, #FF6B35 50%, #E05A2B 100%);
    border: 2px solid #C44A20;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 11px;
}

/* Mini boule lettre bleue */
.mini-ball.crescendo-blue {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(180deg, #3B82F6 0%, #0d6efd 50%, #6610f2 100%);
    border: 2px solid #4338CA;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 11px;
}

/* ============================================
   GRILLE DES NUM�ROS CRESCENDO
   ============================================ */
.crescendo-numbers-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    max-width: 520px;
    margin: 0 auto;
}

/* ============================================
   ONGLETS HORAIRES CRESCENDO
   ============================================ */
.crescendo-horaire-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f3f4f6;
}

.crescendo-horaire-tab {
    padding: 10px 20px;
    background: #f3f4f6;
    border: 2px solid transparent;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
}

.crescendo-horaire-tab:hover {
    border-color: var(--crescendo-orange);
    color: var(--crescendo-orange);
    background: #FFF7ED;
}

.crescendo-horaire-tab.active {
    background: var(--crescendo-gradient);
    color: white;
    border-color: var(--crescendo-orange);
}

.crescendo-trophy-icon {
    margin-left: 4px;
    font-size: 12px;
}

/* ============================================
   PANNEAUX DE TIRAGE CRESCENDO
   ============================================ */
.crescendo-tirage-panel {
    display: none;
}

.crescendo-tirage-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   HEADER CRESCENDO
   ============================================ */
.tirage-results-card.crescendo .tirage-results-header {
    background: var(--crescendo-full-gradient);
}

.crescendo-header-sub {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    margin: 6px 0 0 0;
    font-weight: 500;
}

.tirage-results-card.crescendo {
    border-top: 5px solid var(--crescendo-orange);
}

.tirage-results-card.crescendo .tirage-badge.crescendo {
    background: var(--crescendo-gradient);
    color: white;
}

.tirage-results-card.crescendo .tirage-badge.crescendo-jackpot {
    background: var(--crescendo-gold-gradient);
    color: #92400E;
}

.tirage-results-card.crescendo .tirage-h1 {
    color: #fff;
}

.tirage-results-card.crescendo .tirage-section-title {
    color: #1f2937;
}

/* ============================================
   JACKPOT DISPLAY
   ============================================ */
.crescendo-jackpot-display {
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.crescendo-jackpot-display.won {
    background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
    border: 2px solid #10B981;
}

.crescendo-jackpot-display.redistributed {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    border: 2px solid #3B82F6;
}

.crescendo-jackpot-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--crescendo-orange);
    margin-bottom: 8px;
}

.crescendo-jackpot-display.won .crescendo-jackpot-amount {
    color: #059669;
}

.crescendo-jackpot-status {
    margin-top: 8px;
}

.crescendo-jackpot-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.crescendo-jackpot-badge.won {
    background: linear-gradient(135deg, #059669 0%, #10B981 100%);
    color: white;
}

.crescendo-jackpot-badge.not-won {
    background: #e5e7eb;
    color: #6b7280;
}

.crescendo-jackpot-badge.redistributed {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    color: white;
}

/* ============================================
   TABLEAU DES GAINS CRESCENDO
   ============================================ */
.gains-table.crescendo thead {
    background: var(--crescendo-gradient) !important;
}

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

.gains-table.crescendo .jackpot-row {
    background: linear-gradient(90deg, #FFF7ED 0%, #FFEDD5 100%);
}

.gains-table.crescendo .jackpot {
    color: var(--crescendo-orange);
    font-weight: 800;
}

.crescendo-rang-desc {
    font-size: 13px;
    white-space: nowrap;
}

/* Tableau r�capitulatif */
.gains-table.crescendo.recap-table .crescendo-recap-numbers {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    align-items: center;
}

.crescendo-heure {
    color: var(--crescendo-orange);
    font-size: 16px;
}

/* ============================================
   STATUS BADGES
   ============================================ */
.crescendo-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.crescendo-status-badge.won {
    background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
    color: #059669;
}

.crescendo-status-badge.not-won {
    background: #f3f4f6;
    color: #6b7280;
}

.crescendo-status-badge.redistributed {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    color: #2563EB;
}

.crescendo-mini-badge {
    font-size: 14px;
}

/* ============================================
   TIRAGES R�CENTS
   ============================================ */
.crescendo-recent-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
    font-size: 12px;
}

.crescendo-recent-tirages {
    color: #6b7280;
    font-weight: 500;
}

.crescendo-recent-jackpot {
    color: var(--crescendo-orange);
    font-weight: 700;
}

/* ============================================
   SIDEBAR WIDGETS CRESCENDO
   ============================================ */
.widget-header.crescendo {
    background: var(--crescendo-gradient);
}

.widget-header.crescendo h3 {
    color: white;
}

.widget-header.jackpot.crescendo {
    background: var(--crescendo-gold-gradient);
    color: #92400E;
}

.widget-header.jackpot.crescendo h3 {
    color: #92400E;
}

.btn-widget-cta.crescendo {
    background: var(--crescendo-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.crescendo:hover {
    background: var(--crescendo-dark-gradient);
}

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

.widget-header.tools.crescendo h3 {
    color: white;
}

/* ============================================
   BOUTONS CTA CRESCENDO
   ============================================ */
.btn-cta-play.crescendo {
    background: var(--crescendo-gradient);
}

.btn-cta-play.crescendo:hover {
    background: var(--crescendo-dark-gradient);
}

.cta-intermediate.crescendo {
    background: var(--crescendo-full-gradient);
}

.cta-intermediate.crescendo .btn-cta-intermediate {
    background: white;
    color: var(--crescendo-orange);
}

.cta-intermediate.crescendo .btn-cta-intermediate:hover {
    background: #FFF7ED;
}

/* ============================================
   SECTION GAINS CRESCENDO (page tirage)
   ============================================ */
.tirage-gains-section.crescendo .section-title-page {
    color: #1f2937;
}

.crescendo-gains-section-inner .gains-table-wrapper {
    overflow-x: auto;
}

/* ============================================
   HEADER PAGE CRESCENDO (r�sultats/archive)
   ============================================ */
.resultats-header.crescendo {
    background: var(--crescendo-full-gradient);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

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

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

/* ============================================
   ACCORD�ON CRESCENDO (archive)
   ============================================ */
.accordion-item.crescendo {
    border-top: 3px solid var(--crescendo-orange);
}

.accordion-item.crescendo:hover {
    border-top-color: var(--crescendo-gold);
}

.accordion-item.crescendo.open {
    border-left-color: var(--crescendo-gold);
}

.btn-detail.crescendo {
    display: inline-block;
    padding: 10px 20px;
    background: white;
    color: var(--crescendo-orange);
    border: 2px solid var(--crescendo-orange);
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-detail.crescendo:hover {
    background: var(--crescendo-orange);
    color: white;
}

/* ============================================
   RESULTATS CRESCENDO - Page Archive
   ============================================ */

/* Bouton "Voir le détail" dans le hero */
.btn-voir-gains.crescendo {
    background: white;
    color: var(--crescendo-orange);
    border: 1.5px solid var(--crescendo-orange);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-voir-gains.crescendo:hover {
    background: var(--crescendo-orange);
    color: white;
}

/* Hero recap table */
.gains-table-hero.crescendo {
    border-collapse: collapse;
    font-size: 0.85rem;
}

.gains-table-hero.crescendo thead th {
    background: var(--crescendo-gradient);
    color: white;
    padding: 8px 10px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.gains-table-hero.crescendo thead th:first-child {
    border-radius: 8px 0 0 0;
}

.gains-table-hero.crescendo thead th:last-child {
    border-radius: 0 8px 0 0;
}

.gains-table-hero.crescendo tbody td {
    padding: 6px 10px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.gains-table-hero.crescendo tbody tr:hover {
    background: #FFF7ED;
}

.gains-table-hero.crescendo tbody tr.jackpot-row {
    background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
}

/* Badge "+5" dans preview de l'accordéon */
.crescendo-more-nums {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 22px;
    background: #FFF7ED;
    color: var(--crescendo-orange);
    border: 1.5px solid var(--crescendo-orange);
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0 6px;
    margin-left: 2px;
}

/* Mini badge jackpot dans l'accordéon header */
.crescendo-jackpot-mini-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-left: 6px;
    white-space: nowrap;
}

.crescendo-jackpot-mini-badge.won {
    background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
    color: #059669;
    border: 1px solid #10B981;
}

.crescendo-jackpot-mini-badge.redistributed {
    background: linear-gradient(135deg, #EFF6FF 0%, #DBEAFE 100%);
    color: #2563EB;
    border: 1px solid #3B82F6;
}

/* Mini recap table dans l'accordéon */
.crescendo-mini-recap-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.crescendo-mini-recap-table thead th {
    background: var(--crescendo-gradient);
    color: white;
    padding: 6px 8px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.crescendo-mini-recap-table thead th:first-child {
    border-radius: 6px 0 0 0;
}

.crescendo-mini-recap-table thead th:last-child {
    border-radius: 0 6px 0 0;
}

.crescendo-mini-recap-table tbody td {
    padding: 5px 8px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.crescendo-mini-recap-table tbody tr:hover {
    background: #FFF7ED;
}

.crescendo-mini-recap-table tbody tr.jackpot-row {
    background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
}

/* Responsive : cacher la colonne Jackpot sur mobile */
@media (max-width: 768px) {
    .crescendo-mini-recap-table .hide-mobile,
    .gains-table-hero.crescendo .hide-mobile {
        display: none;
    }
    
    .crescendo-jackpot-mini-badge {
        display: none;
    }
    
    .crescendo-more-nums {
        display: none;
    }
    
    .gains-table-hero.crescendo {
        font-size: 0.78rem;
    }
    
    .crescendo-mini-recap-table {
        font-size: 0.75rem;
    }
}

/* ============================================
   LEGEND DOTS
   ============================================ */
.legend-dot.crescendo-orange {
    background: var(--crescendo-orange);
}

.legend-dot.crescendo-blue {
    background: var(--crescendo-blue);
}

/* ============================================
   STATISTIQUES CRESCENDO
   ============================================ */
.stats-header.crescendo {
    background: var(--crescendo-full-gradient);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.stats-header.crescendo h1 {
    color: white;
    margin: 0 0 8px 0;
}

.stats-header.crescendo .stats-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 4px 0;
}

.stats-header.crescendo .stats-update {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin: 0;
}

/* Stats table */
.stats-table.crescendo thead {
    background: var(--crescendo-gradient) !important;
}

.stats-table.crescendo thead th {
    color: white !important;
    font-weight: 600 !important;
    padding: 14px 12px;
    background: transparent !important;
}

/* Stats balls */
.card-ball.crescendo-stat-orange {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--crescendo-gradient);
    color: white;
    font-weight: 800;
    font-size: 18px;
    border: 3px solid var(--crescendo-orange-dark);
}

.mini-ball.crescendo-stat-orange {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--crescendo-gradient);
    color: white;
    font-weight: 700;
    font-size: 14px;
    border: 2px solid var(--crescendo-orange-dark);
}

.table-ball.crescendo-stat-orange {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--crescendo-gradient);
    color: white;
    font-weight: 700;
    font-size: 13px;
    border: 2px solid var(--crescendo-orange-dark);
}

.widget-header.stats.crescendo {
    background: var(--crescendo-gradient);
}

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

/* Palmares tabs */
.stats-page-container.crescendo .palmares-tab.active {
    background: var(--crescendo-gradient);
    color: white;
    border-color: var(--crescendo-orange-dark);
}

.stats-page-container.crescendo .palmares-tab:hover:not(.active) {
    border-color: var(--crescendo-orange);
    color: var(--crescendo-orange);
}

/* ============================================
   CALCULATEUR CRESCENDO
   ============================================ */
.calculateur-header.crescendo {
    background: var(--crescendo-full-gradient);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
}

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

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

.calculateur-card.crescendo {
    border-top: 5px solid var(--crescendo-orange);
}

.step-num.crescendo {
    background: var(--crescendo-gradient);
    color: white;
}

.btn-calculer.crescendo {
    background: var(--crescendo-gradient);
    color: white;
}

.btn-calculer.crescendo:hover:not(:disabled) {
    background: var(--crescendo-dark-gradient);
}

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

.gains-table-calc.crescendo thead th {
    color: white !important;
    background: transparent !important;
}

.gains-table-calc.crescendo .current-rang {
    background: linear-gradient(90deg, #FFF7ED 0%, #FFEDD5 100%) !important;
    outline: 2px solid var(--crescendo-orange);
}

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

.gains-table-calc.crescendo .jackpot {
    color: var(--crescendo-orange);
    font-weight: 800;
}

/* ============================================
   SEO CONTENT CRESCENDO
   ============================================ */
.seo-content.crescendo .disclaimer {
    background: #fff8f1;
    border: 1px solid #fed7aa;
    border-radius: 6px;
    padding: 15px 20px;
    margin-top: 20px;
}

/* ============================================
   HERO CRESCENDO - OVERRIDES TEXTE (fond clair)
   ============================================ */
.hero-tirage-card.crescendo .hero-date {
    color: #1f2937 !important;
}

.hero-tirage-card.crescendo .hero-label {
    color: #374151 !important;
}

.hero-tirage-card.crescendo .hero-section-header {
    color: #374151;
}

/* ============================================
   BOUTONS ACTIONS HERO CRESCENDO
   ============================================ */
.hero-tirage-card.crescendo .btn-hero-action.primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    color: var(--crescendo-orange);
    border: 2px solid var(--crescendo-orange);
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.15);
}

.hero-tirage-card.crescendo .btn-hero-action.primary:hover {
    background: var(--crescendo-orange);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.25);
}

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

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

/* ============================================
   WIDGET SIDEBAR OVERRIDES
   ============================================ */
.widget-jackpot-big.crescendo {
    background: var(--crescendo-gradient);
    color: white;
}

.widget-jackpot-big.crescendo .widget-loto-logo {
    background: rgba(255, 255, 255, 0.2);
}

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

.btn-jouer-widget.crescendo {
    background: white;
    color: var(--crescendo-orange);
}

.btn-jouer-widget.crescendo:hover {
    background: #FFF7ED;
}

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

.btn-voir-resultats.crescendo:hover {
    background: var(--crescendo-dark-gradient);
}

/* ============================================
   RESPONSIVE CRESCENDO
   ============================================ */
@media (max-width: 768px) {
    .ball.crescendo-orange,
    .ball.crescendo-lettre {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    .mini-ball.crescendo-orange,
    .mini-ball.crescendo-blue {
        width: 24px;
        height: 24px;
        font-size: 10px;
    }

    .crescendo-numbers-grid {
        gap: 6px;
    }

    .crescendo-horaire-tabs {
        gap: 4px;
    }

    .crescendo-horaire-tab {
        padding: 8px 14px;
        font-size: 13px;
    }

    .crescendo-jackpot-amount {
        font-size: 1.5rem;
    }

    /* R�cap table : cacher les num�ros sur mobile */
    .gains-table.crescendo.recap-table .crescendo-recap-numbers {
        display: none;
    }

    .gains-table.crescendo.recap-table td:nth-child(2) {
        display: none;
    }

    .gains-table.crescendo.recap-table th:nth-child(2) {
        display: none;
    }

    .crescendo-rang-desc {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .ball.crescendo-orange,
    .ball.crescendo-lettre {
        width: 34px;
        height: 34px;
        font-size: 13px;
        border-width: 2px;
    }

    .crescendo-numbers-grid {
        gap: 5px;
    }

    .crescendo-horaire-tab {
        padding: 6px 10px;
        font-size: 12px;
    }

    .crescendo-jackpot-amount {
        font-size: 1.3rem;
    }
}

/* ============================================
   PAGE PROCHAIN TIRAGE CRESCENDO
   ============================================ */

/* Titre article */
.prochain-tirage-container.crescendo .article-header h1 {
    color: var(--crescendo-orange);
}

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

.prochain-tirage-container.crescendo .pronostic-inline strong {
    color: var(--crescendo-orange);
}

/* Info boxes */
.info-box-hot-numbers.crescendo {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
    border-color: var(--crescendo-orange-light);
}

.info-box-essential.crescendo {
    border-color: var(--crescendo-orange);
}

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

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

.btn-jouer-fdj.crescendo:hover {
    background: var(--crescendo-dark-gradient);
}

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

.pronostic-ball.crescendo-orange {
    background: linear-gradient(180deg, #FF8B5E 0%, #FF6B35 50%, #E05A2B 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;
    border: 3px solid #C44A20;
    box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
}

.pronostic-ball.crescendo-blue {
    background: linear-gradient(180deg, #3B82F6 0%, #0d6efd 50%, #6610f2 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;
    border: 3px solid #4338CA;
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}

/* Bouton voir resultats */
.prochain-tirage-container.crescendo .btn-voir-resultats.crescendo {
    background: var(--crescendo-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;
}

.prochain-tirage-container.crescendo .btn-voir-resultats.crescendo:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

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

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

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

.prochain-tirage-container.crescendo .widget-jackpot-header.crescendo .logo-text {
    color: white;
    font-size: 18px;
    font-weight: 700;
}

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

.jackpot-sublabel {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 12px;
    font-style: italic;
}

.prochain-tirage-container.crescendo .btn-jouer-widget.crescendo {
    background: var(--crescendo-gradient);
    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.crescendo .btn-jouer-widget.crescendo:hover {
    transform: translateY(-2px);
}

/* Widget 7 Tirages */
.widget-7tirages {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
    border-radius: 12px;
    overflow: hidden;
    margin-top: 20px;
}

.widget-7tirages-header {
    background: var(--crescendo-gold-gradient);
    padding: 12px;
    text-align: center;
}

.tirages-badge {
    color: white;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.widget-7tirages-content {
    padding: 20px;
    text-align: center;
}

.tirages-horaires {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-bottom: 12px;
}

.heure-pill {
    background: var(--crescendo-gradient);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.tirages-description {
    font-size: 14px;
    color: #78350F;
    margin: 0;
    line-height: 1.5;
}

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

.prochain-tirage-container.crescendo .widget-tools.crescendo .tools-list a:hover {
    color: var(--crescendo-orange);
}

/* Responsive prochain tirage */
@media (max-width: 768px) {
    .pronostic-ball.crescendo-orange,
    .pronostic-ball.crescendo-blue {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
    
    .prochain-tirage-container.crescendo .jackpot-amount.crescendo {
        font-size: 24px;
    }
    
    .heure-pill {
        padding: 4px 10px;
        font-size: 12px;
    }
}
/* ============================================
   PAGE HUB CRESCENDO (/crescendo/)
   Migré depuis page-crescendo.php
   ============================================ */
/* ============================================
   PAGE CRESCENDO HOME - CSS STRUCTUREL
   ============================================ */

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

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

/* Hero */
.crescendo-hero {
    background: var(--crescendo-full-gradient, linear-gradient(135deg, #FF6B35 0%, #F7931E 50%, #FFD700 100%));
    padding: 2rem 0;
    color: #fff;
}
.crescendo-hero-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
    align-items: center;
}
.crescendo-hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(4px);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(255,255,255,0.3);
}
.crescendo-hero h1 {
    font-size: 1.75rem;
    font-weight: 800;
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
    color: #fff;
}
.crescendo-hero-desc {
    font-size: 1rem;
    opacity: 0.95;
    margin: 0;
    line-height: 1.6;
}

/* Jackpot Widget */
.crescendo-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;
}
.crescendo-jackpot-header { margin-bottom: 0.5rem; display: flex; justify-content: space-between; align-items: center; }
.crescendo-jackpot-label { font-size: 0.9rem; color: #64748b; }
.crescendo-jackpot-schedule { font-size: 0.85rem; color: #94a3b8; }
.crescendo-jackpot-amount {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--crescendo-gradient, linear-gradient(135deg, #FF6B35, #F7931E));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0.5rem 0;
    line-height: 1.2;
}
.crescendo-jackpot-sub { color: #64748b; font-size: 0.9rem; }
.crescendo-jackpot-mechanism { color: #059669; font-weight: 600; font-size: 0.8rem; margin-top: 0.25rem; }
.crescendo-jackpot-play-btn {
    display: inline-block;
    background: var(--crescendo-gradient, linear-gradient(135deg, #FF6B35, #F7931E));
    color: #fff;
    padding: 0.75rem 1.75rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    margin-top: 1rem;
}
.crescendo-jackpot-play-btn:hover { background: linear-gradient(135deg, #e55a2b, #d9821a); transform: scale(1.03); }

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

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

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

/* Dernier résultat card */
.crescendo-resultat-card {
    border-top: 4px solid var(--crescendo-orange, #FF6B35);
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.crescendo-home-page .resultat-date { font-size: 0.95rem; color: #374151; font-weight: 500; }
.crescendo-home-page .resultat-heure-badge {
    display: inline-block;
    background: var(--crescendo-gradient, linear-gradient(135deg, #FF6B35, #F7931E));
    color: #fff;
    padding: 0.2rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-left: 0.5rem;
}
.crescendo-home-page .resultat-section-label { font-size: 0.9rem; color: #6b7280; margin-bottom: 0.75rem; font-weight: 500; }

/* Balls in hero result */
.crescendo-resultat-balls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin: 1rem 0;
}
.crescendo-resultat-balls .ball.crescendo-ball-hub {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    background: var(--crescendo-gradient, linear-gradient(135deg, #FF6B35, #F7931E));
    color: #fff;
    box-shadow: 0 3px 6px rgba(255, 107, 53, 0.3), inset 0 2px 4px rgba(255,255,255,0.3);
}
.crescendo-resultat-balls .ball.crescendo-lettre-hub {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    background: linear-gradient(180deg, #3B82F6 0%, #0d6efd 50%, #6610f2 100%);
    color: #fff;
    box-shadow: 0 3px 6px rgba(67, 56, 202, 0.3), inset 0 2px 4px rgba(255,255,255,0.3);
    margin-left: 6px;
}
.crescendo-resultat-balls .ball-count-label {
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

/* Jackpot + Heures badges in result */
.crescendo-result-extras {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}
.crescendo-result-jackpot-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
}
.crescendo-result-jackpot-badge.won {
    background: linear-gradient(135deg, #059669, #047857);
}
.crescendo-result-jackpot-badge.not-won {
    background: linear-gradient(135deg, #D97706, #B45309);
}
.crescendo-result-heures-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Gains résumé crescendo */
.crescendo-gains-resume {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid #e2e8f0;
}
.crescendo-gains-resume-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.crescendo-gains-resume-item { text-align: center; padding: 1rem; border-radius: 8px; background: #f8fafc; }
.crescendo-gains-resume-item.jackpot { background: linear-gradient(135deg, #FFF7ED, #FFEDD5); }
.crescendo-gains-resume-item.heures { background: linear-gradient(135deg, #f5f3ff, #ede9fe); }
.crescendo-gains-resume-label { display: block; font-size: 0.75rem; color: #64748b; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.5rem; }
.crescendo-gains-resume-value { display: block; font-size: 1.1rem; font-weight: 700; margin-bottom: 0.25rem; }
.crescendo-gains-resume-value.crescendo-jackpot-val { color: var(--crescendo-orange, #FF6B35); }
.crescendo-gains-resume-value.crescendo-heures-val { color: #6366f1; }
.crescendo-gains-resume-sub { display: block; font-size: 0.75rem; color: #94a3b8; }

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

/* Tirages récents (cards grid) */
.crescendo-home-page .tirages-recents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
}
.crescendo-home-page .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;
}
.crescendo-home-page .tirage-recent-card:hover { border-color: var(--crescendo-orange, #FF6B35); box-shadow: 0 4px 12px rgba(255,107,53,0.15); transform: translateY(-2px); }
.crescendo-home-page .recent-card-header {
    background: var(--crescendo-gradient, linear-gradient(135deg, #FF6B35, #F7931E));
    color: #fff;
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
}
.crescendo-home-page .recent-card-body { padding: 0.75rem; text-align: center; }
.crescendo-home-page .recent-numbers { display: flex; gap: 3px; justify-content: center; flex-wrap: wrap; }

/* Mini balls Crescendo */
.crescendo-home-page .mini-ball.crescendo-mini {
    width: 24px; height: 24px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: 0.65rem; color: #fff;
    background: var(--crescendo-gradient, linear-gradient(135deg, #FF6B35, #F7931E));
}
.crescendo-home-page .mini-ball.crescendo-lettre-mini {
    width: 24px; height: 24px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 600; font-size: 0.65rem; color: #fff;
    background: linear-gradient(180deg, #3B82F6 0%, #0d6efd 50%, #6610f2 100%);
}
.crescendo-home-page .mini-ball-more {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 2px 6px; border-radius: 10px;
    font-size: 0.65rem; font-weight: 600; color: #6b7280;
    background: #f1f5f9;
}
.crescendo-home-page .recent-heure-badge {
    display: inline-block;
    margin-top: 4px;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
}

/* Comment jouer */
.crescendo-home-page .comment-jouer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.crescendo-home-page .comment-jouer-step { text-align: center; padding: 1.25rem 1rem; }
.crescendo-home-page .comment-jouer-step h3 { font-size: 1rem; margin: 0.75rem 0 0.5rem; color: #1f2937; }
.crescendo-home-page .comment-jouer-step p { font-size: 0.875rem; color: #6b7280; line-height: 1.5; margin: 0; }
.crescendo-home-page .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(--crescendo-gradient, linear-gradient(135deg, #FF6B35, #F7931E));
}

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

/* Gains reference table */
.crescendo-home-page .table-responsive { overflow-x: auto; margin: 1rem 0; }
.crescendo-home-page .rangs-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.crescendo-home-page .rangs-table th, .crescendo-home-page .rangs-table td { padding: 0.7rem 0.75rem; border: 1px solid #e5e7eb; text-align: left; }
.crescendo-home-page .rangs-table thead { background: var(--crescendo-gradient, linear-gradient(135deg, #FF6B35, #F7931E)); }
.crescendo-home-page .rangs-table th { color: #fff; font-weight: 600; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.5px; }
.crescendo-home-page .rangs-table tr:nth-child(even) { background: #f9fafb; }
.crescendo-home-page .rang-jackpot { background: linear-gradient(90deg, #FFF7ED, #FFEDD5) !important; }
.crescendo-home-page .gain-highlight.crescendo-orange { color: var(--crescendo-orange, #FF6B35); }
.crescendo-home-page .gain-highlight.crescendo-green { color: #059669; }

/* SEO / Contenu texte */
.crescendo-home-page .seo-content h2 { font-size: 1.25rem; margin: 0 0 1rem 0; color: #1f2937; }
.crescendo-home-page .seo-content h3 { font-size: 1.05rem; color: #1f2937; margin: 1.5rem 0 0.75rem 0; }
.crescendo-home-page .seo-content p { color: #4b5563; line-height: 1.7; margin: 0 0 1rem 0; }
.crescendo-home-page .disclaimer {
    background: linear-gradient(135deg, #FFF7ED, #FFEDD5); border: 1px solid #fed7aa; border-radius: 8px;
    padding: 1rem; margin-top: 1.5rem; font-size: 0.85rem; color: #9a3412; line-height: 1.6;
}
.crescendo-home-page .no-data-card { padding: 2rem; text-align: center; color: #6b7280; background: #f9fafb; border-radius: 8px; }

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

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

.crescendo-home-page .sidebar-jackpot-amount { font-size: 1.3rem; font-weight: 700; color: var(--crescendo-orange, #FF6B35); margin-bottom: 0.25rem; }
.crescendo-home-page .sidebar-jackpot-sub { font-size: 0.85rem; color: #94a3b8; margin: 0; }
.crescendo-home-page .sidebar-jackpot-total { color: #059669; font-size: 0.85rem; margin-top: 0.25rem; font-weight: 600; }

.crescendo-home-page .tools-list, .crescendo-home-page .other-games-list { list-style: none; padding: 0; margin: 0; }
.crescendo-home-page .tools-list li { margin-bottom: 0.5rem; }
.crescendo-home-page .tools-list li:last-child { margin-bottom: 0; }
.crescendo-home-page .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;
}
.crescendo-home-page .tools-list a:hover { background: #e2e8f0; color: var(--crescendo-orange, #FF6B35); }
.crescendo-home-page .tools-list.infos li { padding: 0; margin-bottom: 0.5rem; font-size: 0.85rem; color: #4b5563; }
.crescendo-home-page .tools-list.infos li strong { color: #1f2937; }

.crescendo-home-page .other-games-list li { border-bottom: 1px solid #e2e8f0; }
.crescendo-home-page .other-games-list li:last-child { border-bottom: none; }
.crescendo-home-page .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;
}
.crescendo-home-page .other-games-list a:hover { color: var(--crescendo-orange, #FF6B35); }
.crescendo-home-page .other-games-list a:hover .game-arrow { transform: translateX(4px); }
.crescendo-home-page .game-name { font-weight: 500; }
.crescendo-home-page .game-arrow { color: #94a3b8; transition: transform 0.2s; }

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

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

@media (max-width: 768px) {
    .crescendo-hero h1 { font-size: 1.4rem; }
    .crescendo-quick-nav-grid { gap: 0.4rem; }
    .crescendo-quick-nav-item { padding: 0.5rem 0.75rem; font-size: 0.8rem; }
    .crescendo-quick-nav-text { display: none; }
    .crescendo-quick-nav-icon { font-size: 1.3rem; }
    .crescendo-resultat-balls .ball.crescendo-ball-hub { width: 34px; height: 34px; font-size: 0.8rem; }
    .crescendo-resultat-balls .ball.crescendo-lettre-hub { width: 34px; height: 34px; font-size: 0.8rem; }
    .crescendo-home-page .mini-ball.crescendo-mini { width: 20px; height: 20px; font-size: 0.6rem; }
    .crescendo-home-page .mini-ball.crescendo-lettre-mini { width: 20px; height: 20px; font-size: 0.6rem; }
    .crescendo-gains-resume-grid { grid-template-columns: 1fr; }
    .crescendo-home-page .tirages-recents-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .crescendo-home-page .comment-jouer-grid { grid-template-columns: 1fr 1fr; }
    .crescendo-home-page .resultat-actions { flex-direction: column; align-items: stretch; text-align: center; }
}

@media (max-width: 480px) {
    .crescendo-hero { padding: 1.5rem 0; }
    .crescendo-home-page .content-section { padding: 1rem; }
    .crescendo-resultat-balls .ball.crescendo-ball-hub { width: 30px; height: 30px; font-size: 0.75rem; }
    .crescendo-resultat-balls .ball.crescendo-lettre-hub { width: 30px; height: 30px; font-size: 0.75rem; }
    .crescendo-resultat-balls { gap: 4px; }
    .crescendo-jackpot-amount { font-size: 1.3rem; }
    .crescendo-gains-resume-value { font-size: 0.95rem; }
    .crescendo-home-page .comment-jouer-grid { grid-template-columns: 1fr; }
}