/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    margin-bottom: 30px;
}

.promo-banner {
    background: linear-gradient(135deg, var(--nfl-blue), #1e5090);
    border-radius: 4px;
    padding: 40px;
    color: white;
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: rgba(255, 255, 255, 0.05);
    transform: rotate(30deg);
}

.promo-content {
    position: relative;
    z-index: 1;
}

.promo-badge {
    background-color: var(--nfl-red);
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.promo-content h2 {
    font-size: 32px;
    margin: 15px 0;
    font-weight: 900;
}

.promo-content p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 20px;
}

.promo-cta {
    display: inline-block;
    background-color: white;
    color: var(--nfl-blue);
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.promo-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 600px) {
    .promo-banner {
        padding: 28px 20px;
    }

    .promo-content h2 {
        font-size: 22px;
        margin: 10px 0;
    }

    .promo-content p {
        font-size: 14px;
    }

    .promo-cta {
        padding: 10px 22px;
        font-size: 13px;
    }
}

/* ============================================
   Featured Section
   ============================================ */
.featured-section {
    margin-bottom: 30px;
}

.featured-card {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    background-color: #000;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.play-button:hover {
    background-color: var(--nfl-red);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button svg {
    width: 30px;
    height: 30px;
    margin-left: 5px;
}

.video-duration {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--nfl-dark);
}

.card-content p {
    color: var(--nfl-gray);
    font-size: 14px;
}

/* ============================================
   News Section
   ============================================ */
.news-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--nfl-dark);
    margin-bottom: 20px;
}

/* Grille : grande carte à gauche, sidebar à droite */
.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    align-items: start;
}

/* Carte news générique */
.news-card {
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 5px 9px -5px #dddddd;
    border: 1px solid transparent;
    cursor: pointer;
    display: block;
}

.news-card:hover {
    border: 1px solid #000;
}

.news-card.large {
    height: 100%;
}

.news-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.news-content {
    padding: 15px;
}

.news-tag {
    background-color: var(--nfl-red);
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.news-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 10px 0;
    color: var(--nfl-dark);
    line-height: 1.3;
}

.news-card.large .news-content h3 {
    font-size: 22px;
}

.news-content p {
    color: var(--nfl-gray);
    font-size: 14px;
}

/* Sidebar droite */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Liste des headlines */
.news-list {
    background: white;
    border-radius: 4px;
    box-shadow: 0 5px 9px -5px #dddddd;
    overflow: hidden;
}

.news-list-header {
    background: var(--nfl-blue);
    padding: 12px 15px;
}

.news-list-header h3 {
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-list-item {
    display: block;
    padding: 12px 15px;
    border-bottom: 1px solid #e0e0e0;
    transition: background-color 0.2s;
}

.news-list-item:last-child {
    border-bottom: none;
}

.news-list-item:hover {
    background-color: #f8f8f8;
}

.news-list-tag {
    display: inline-block;
    background-color: var(--nfl-red);
    color: white;
    padding: 2px 6px;
    border-radius: 2px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.3px;
    margin-bottom: 5px;
}

.news-list-item h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--nfl-dark);
    line-height: 1.4;
    margin-bottom: 4px;
}

.news-list-time {
    font-size: 11px;
    color: var(--nfl-gray);
}

.news-list-footer {
    padding: 12px 15px;
    text-align: center;
}

.news-list-see-more {
    display: inline-block;
    color: var(--nfl-dark);
    font-size: 13px;
    font-weight: 600;
    transition: color 0.3s;
}

.news-list-see-more:hover {
    color: var(--nfl-blue);
}

.news-see-more-btn {
    display: block;
    text-align: center;
    padding: 14px 20px;
    margin-top: 15px;
    background-color: var(--nfl-blue);
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.news-see-more-btn:hover {
    background-color: #012754;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Shop Sidebar Block */
.shop-sidebar {
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.shop-sidebar-header {
    background: var(--nfl-red);
    padding: 12px 15px;
}

.shop-sidebar-header h3 {
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.shop-sidebar-content {
    padding: 15px;
    text-align: center;
}

.shop-sidebar-image {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 12px;
}

.shop-sidebar-content p {
    font-size: 13px;
    color: var(--nfl-gray);
    margin-bottom: 15px;
}

.shop-sidebar-btn {
    display: inline-block;
    background-color: var(--nfl-blue);
    color: white;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s, transform 0.3s;
}

.shop-sidebar-btn:hover {
    background-color: #012754;
    transform: translateY(-2px);
}

/* ── News responsive ── */

/* Tablette : sidebar passe en dessous, liste en grille 2 colonnes */
@media (max-width: 900px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card.large {
        height: auto;
    }

    /* La sidebar devient une grille 2 colonnes côte à côte */
    .news-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
}

/* Mobile : tout en colonne simple */
@media (max-width: 600px) {
    .news-sidebar {
        grid-template-columns: 1fr;
    }

    .news-card.large .news-content h3 {
        font-size: 18px;
    }

    .section-title {
        font-size: 20px;
    }
}

/* ============================================
   Shop Section
   ============================================ */
.shop-section {
    margin-bottom: 30px;
}

.shop-banner {
    background: linear-gradient(to right, rgba(26, 26, 26, 0.95) 0%, rgba(26, 26, 26, 0.7) 40%, rgba(0, 0, 0, 0.3) 100%),
                url('https://images.unsplash.com/photo-1529139574466-a303027c1d8b?w=1200&h=800&fit=crop');
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    padding: 80px 60px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.shop-banner-content {
    position: relative;
    z-index: 1;
    text-align: left;
    max-width: 450px;
}

.shop-banner-content h2 {
    color: white;
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 10px;
    line-height: 1.1;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.shop-banner-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 18px;
    margin-bottom: 25px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.shop-btn {
    display: inline-block;
    background-color: var(--nfl-red);
    color: white;
    padding: 16px 40px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
}

.shop-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background-color: #b50909;
}

/* Slider container */
.shop-slider-container {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.shop-nav {
    flex-shrink: 0;
    background: white;
    border: 1px solid #e0e0e0;
    font-size: 28px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    padding: 10px 14px;
    z-index: 10;
    transition: all 0.3s;
    border-radius: 4px;
    user-select: none;
}

.shop-nav:hover {
    color: var(--nfl-blue);
    border-color: var(--nfl-blue);
}

.shop-nav:disabled {
    opacity: 0.35;
    cursor: default;
}

/* Le wrapper masque le débordement */
.shop-slider-wrapper {
    flex: 1;
    overflow: hidden;
    min-width: 0;
}

/* La piste défilante */
.shop-slider {
    display: flex;
    gap: 15px;
    transition: transform 0.35s ease;
    will-change: transform;
}

/* Carte produit — largeur calculée dynamiquement via JS */
.product-card {
    flex-shrink: 0;
    width: 180px;
    background: white;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.product-image {
    aspect-ratio: 1/1;
    overflow: hidden;
    background: #f5f5f5;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 12px;
}

.product-info h4 {
    font-size: 13px;
    font-weight: 600;
    color: var(--nfl-dark);
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--nfl-blue);
}

/* ── Shop responsive ── */
@media (max-width: 768px) {
    .shop-banner {
        padding: 48px 28px;
        min-height: 220px;
    }

    .shop-banner-content h2 {
        font-size: 28px;
    }

    .shop-banner-content p {
        font-size: 15px;
        margin-bottom: 18px;
    }

    .shop-btn {
        padding: 12px 28px;
        font-size: 14px;
    }

    .shop-nav {
        font-size: 22px;
        padding: 8px 10px;
    }
}

@media (max-width: 480px) {
    .shop-banner {
        padding: 36px 20px;
    }

    .shop-banner-content h2 {
        font-size: 22px;
    }

    .shop-banner-content p {
        font-size: 13px;
    }

    /* Sur très petit écran, masquer les boutons nav et laisser le scroll natif */
    .shop-nav {
        display: none;
    }

    .shop-slider-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .shop-slider-wrapper::-webkit-scrollbar {
        display: none;
    }

    .shop-slider {
        transition: none;
    }
}

/* ============================================
   Teams / Divisions Section
   ============================================ */
.teams-section {
    margin-bottom: 30px;
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.conference h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--nfl-dark);
    padding-bottom: 10px;
    border-bottom: 3px solid var(--nfl-blue);
    margin-bottom: 20px;
}

.division {
    margin-bottom: 20px;
}

.division h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--nfl-gray);
    margin-bottom: 10px;
}

.division-teams {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.team-item {
    background: white;
    border-radius: 4px;
    padding: 15px 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.team-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.team-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 8px;
}

.team-item span {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--nfl-dark);
}

/* ============================================
   Divisions Section (D1 / D2 / D3)
   ============================================ */
.divisions-section {
    margin-bottom: 40px;
}

.divisions-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.divisions-section-header .section-title {
    margin-bottom: 0;
}

.d3-see-all {
    font-size: 13px;
    font-weight: 600;
    color: var(--nfl-blue);
    transition: color 0.2s;
    white-space: nowrap;
}

.d3-see-all:hover {
    color: var(--nfl-red);
}

/* Onglets */
.divisions-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 24px;
    overflow-x: auto;
    scrollbar-width: none;
}

.divisions-tabs::-webkit-scrollbar {
    display: none;
}

.divisions-tab {
    padding: 10px 22px;
    font-size: 15px;
    font-weight: 700;
    color: var(--nfl-gray);
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s, border-color 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}

.divisions-tab:hover {
    color: var(--nfl-dark);
}

.divisions-tab.active {
    color: var(--nfl-blue);
    border-bottom-color: var(--nfl-blue);
}

/* Panels */
.divisions-panel {
    display: none;
}

.divisions-panel.active {
    display: block;
}

/* Conférence */
.d3-conference {
    margin-bottom: 36px;
}

.d3-conference-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--nfl-dark);
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--nfl-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Grille des équipes */
.d3-teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 12px;
}

/* Carte équipe */
.d3-team-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 8px;
    background: white;
    border-radius: 6px;
    border: 1px solid #eee;
    text-decoration: none;
    transition: border-color 0.2s;
    cursor: pointer;
}

.d3-team-card:hover {
    border: 1px solid #000;
}

.d3-team-logo {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.d3-team-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.d3-team-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--nfl-dark);
    text-align: center;
    line-height: 1.3;
    word-break: break-word;
    hyphens: auto;
}

/* ── Divisions responsive ── */
@media (max-width: 600px) {
    .d3-teams-grid {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 8px;
    }

    .d3-team-logo {
        width: 44px;
        height: 44px;
    }

    .d3-conference-title {
        font-size: 16px;
    }

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