/* ==========================================================================
   ICPL SEASON DETAILS — Premium Season Archive Page
   Insurance Cricket Premier League
   ========================================================================== */

/* ═══════════ SEASON DETAILS HERO ═══════════ */
.icpl-sd-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    isolation: isolate;
    padding: 120px 24px 60px;
}

.icpl-sd-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url('../image/bpl/bg.png') center/cover no-repeat;
    animation: icplSdKenBurns 30s ease-in-out infinite alternate;
    will-change: transform;
}

@keyframes icplSdKenBurns {
    from {
        transform: scale(1.05) translateY(0);
    }

    to {
        transform: scale(1.15) translateY(-12px);
    }
}

.icpl-sd-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(13, 18, 48, 0.55) 0%, rgba(8, 12, 32, 0.78) 42%, rgba(4, 7, 22, 0.94) 100%),
        linear-gradient(180deg, rgba(4, 8, 28, 0.86) 0%, rgba(8, 12, 40, 0.42) 42%, rgba(4, 8, 28, 0.96) 100%);
}

.icpl-sd-hero-grade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(115deg, rgba(0, 90, 160, 0.12) 0%, transparent 35%),
        linear-gradient(245deg, rgba(245, 197, 24, 0.10) 0%, transparent 38%),
        radial-gradient(ellipse at 50% 88%, rgba(245, 197, 24, 0.07) 0%, transparent 55%);
    mix-blend-mode: screen;
}

.icpl-sd-hero-floodlight {
    position: absolute;
    top: -10%;
    width: 2px;
    height: 120%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent 70%);
    transform-origin: top;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

.icpl-sd-hero-floodlight-1 {
    left: 15%;
    transform: rotate(8deg);
}

.icpl-sd-hero-floodlight-2 {
    right: 15%;
    transform: rotate(-8deg);
}

.icpl-sd-hero-glow {
    position: absolute;
    bottom: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 50%;
    background: radial-gradient(ellipse at center, rgba(245, 197, 24, 0.10), transparent 70%);
    pointer-events: none;
    z-index: 1;
    animation: icplSdGlowPulse 6s ease-in-out infinite;
}

@keyframes icplSdGlowPulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* Large background season number */
.icpl-sd-hero-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: clamp(280px, 45vw, 600px);
    line-height: 0.8;
    letter-spacing: 0.02em;
    color: rgba(245, 197, 24, 0.06);
    z-index: 1;
    pointer-events: none;
    user-select: none;
    text-shadow: 0 0 80px rgba(245, 197, 24, 0.08);
    animation: icplSdNumberFloat 8s ease-in-out infinite;
}

@keyframes icplSdNumberFloat {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        transform: translate(-50%, -52%) scale(1.02);
    }
}

.icpl-sd-hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s var(--icpl-ease), transform 0.9s var(--icpl-ease);
}

.icpl-sd-loaded .icpl-sd-hero-content {
    opacity: 1;
    transform: translateY(0);
}

.icpl-sd-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 32px;
    border-radius: 999px;
    background: rgba(13, 18, 48, 0.6);
    border: 1px solid rgba(245, 197, 24, 0.4);
    color: var(--icpl-gold-light);
    font-family: var(--font-display);
    font-size: clamp(24px, 4vw, 42px);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 700;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.icpl-sd-hero-badge.current {
    border-color: var(--icpl-gold);
    box-shadow: 0 0 20px var(--icpl-gold-glow), 0 0 40px rgba(245, 197, 24, 0.15);
    animation: icplSdGoldPulse 2.5s ease-in-out infinite;
}

@keyframes icplSdGoldPulse {

    0%,
    100% {
        box-shadow: 0 0 20px var(--icpl-gold-glow), 0 0 40px rgba(245, 197, 24, 0.15);
    }

    50% {
        box-shadow: 0 0 30px var(--icpl-gold-glow-strong), 0 0 60px rgba(245, 197, 24, 0.25);
    }
}

.icpl-sd-hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 7.5vw, 118px);
    line-height: 0.92;
    letter-spacing: 0.06em;
    color: #F5F7FA;
    text-transform: uppercase;
    text-shadow: 0 0 40px rgba(0, 212, 255, 0.3);
    margin: 0;
}

.icpl-sd-hero-year {
    font-size: clamp(16px, 2vw, 22px);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--icpl-cyan);
    margin: 0;
}

.icpl-sd-hero-tagline {
    font-family: var(--font-display);
    font-size: clamp(20px, 3vw, 32px);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.icpl-sd-hero-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
    width: 100%;
    max-width: 400px;
}

.icpl-sd-hero-divider span {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(245, 197, 24, 0.6), transparent);
}

.icpl-sd-hero-divider i {
    color: var(--icpl-gold-light);
    font-size: 20px;
    text-shadow: 0 0 20px var(--icpl-gold-glow);
}

.icpl-sd-hero-winner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 16px 32px;
    border-radius: 16px;
    background: rgba(13, 18, 48, 0.6);
    border: 1px solid rgba(245, 197, 24, 0.3);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(245, 197, 24, 0.08);
}

.icpl-sd-hero-winner-label {
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.icpl-sd-hero-winner-name {
    font-family: var(--font-display);
    font-size: clamp(24px, 3.5vw, 36px);
    letter-spacing: 0.06em;
    color: var(--icpl-gold-light);
    text-shadow: 0 0 30px var(--icpl-gold-glow);
}

/* ═══════════ SEASON NAVIGATION ═══════════ */
.icpl-sd-nav {
    position: sticky;
    top: 78px;
    z-index: 100;
    background: rgba(8, 12, 32, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(245, 197, 24, 0.15);
    padding: 12px 24px;
}

.icpl-sd-nav-inner {
    max-width: var(--icpl-max-w);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.icpl-sd-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--icpl-white);
    font-family: var(--font-display);
    font-size: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s var(--icpl-ease);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
}

.icpl-sd-nav-btn:hover,
.icpl-sd-nav-btn.active {
    border-color: var(--icpl-cyan);
    background: rgba(0, 212, 255, 0.15);
    color: var(--icpl-cyan);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 212, 255, 0.3);
}

.icpl-sd-nav-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
}

.icpl-sd-nav-current {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.icpl-sd-nav-current-label {
    font-size: 9px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.icpl-sd-nav-current-num {
    font-family: var(--font-display);
    font-size: 28px;
    line-height: 1;
    color: var(--icpl-gold-light);
    text-shadow: 0 0 20px var(--icpl-gold-glow);
}

/* ═══════════ SEASON OVERVIEW ═══════════ */
.icpl-sd-overview {
    padding: 100px 24px;
    background: linear-gradient(180deg, var(--icpl-black), var(--icpl-navy));
    position: relative;
}

.icpl-sd-overview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--icpl-gold), transparent);
    opacity: 0.4;
}

.icpl-sd-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.icpl-sd-section-header .icpl-sec-label {
    justify-content: center;
}

.icpl-sd-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.icpl-sd-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px 20px;
    border-radius: 18px;
    background: rgba(13, 18, 48, 0.6);
    border: 1px solid rgba(245, 197, 24, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-align: center;
    transition: all 0.4s var(--icpl-ease);
    position: relative;
    overflow: hidden;
}

.icpl-sd-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--icpl-gold), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.icpl-sd-stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 197, 24, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(245, 197, 24, 0.1);
}

.icpl-sd-stat-card:hover::before {
    opacity: 1;
}

.icpl-sd-stat-label {
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.icpl-sd-stat-value {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 36px);
    line-height: 1.1;
    letter-spacing: 0.04em;
    color: var(--icpl-gold-light);
    text-shadow: 0 0 20px var(--icpl-gold-glow);
    word-break: break-word;
}

/* ═══════════ OFFICIAL PARTNERS ═══════════ */
.icpl-sd-partners {
    padding: 100px 24px;
    background: radial-gradient(ellipse at 50% 0%, var(--icpl-navy-2), var(--icpl-black) 70%);
    position: relative;
}

.icpl-sd-partners::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--icpl-cyan), transparent);
    opacity: 0.3;
}

.icpl-sd-partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.icpl-sd-partner-category {
    padding: 28px 24px;
    border-radius: 18px;
    background: rgba(13, 18, 48, 0.6);
    border: 1px solid rgba(245, 197, 24, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s var(--icpl-ease);
}

.icpl-sd-partner-category:hover {
    border-color: rgba(245, 197, 24, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(245, 197, 24, 0.08);
}

.icpl-sd-partner-cat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(245, 197, 24, 0.15);
}

.icpl-sd-partner-cat-header i {
    color: var(--icpl-gold-light);
    font-size: 16px;
    text-shadow: 0 0 12px var(--icpl-gold-glow);
}

.icpl-sd-partner-cat-header span {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--icpl-gold-light);
    font-weight: 600;
}

.icpl-sd-partner-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.icpl-sd-partner-logo {
    padding: 10px 18px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.3s var(--icpl-ease);
}

.icpl-sd-partner-logo:hover {
    background: rgba(245, 197, 24, 0.08);
    border-color: rgba(245, 197, 24, 0.3);
    color: var(--icpl-gold-light);
}

/* ═══════════ SEASON STORY ═══════════ */
.icpl-sd-story {
    padding: 100px 24px;
    background: linear-gradient(180deg, var(--icpl-black), var(--icpl-navy));
}

.icpl-sd-story-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 36px;
    border-radius: 20px;
    background: rgba(13, 18, 48, 0.6);
    border: 1px solid rgba(245, 197, 24, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.icpl-sd-story-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--icpl-gold), var(--icpl-cyan), transparent);
}

.icpl-sd-story-card .icpl-sec-label {
    justify-content: center;
    margin-bottom: 20px;
}

.icpl-sd-story-text {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(17px, 2.5vw, 22px);
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.8);
}

/* ═══════════ BACK TO LEGACY ═══════════ */
.icpl-sd-back {
    padding: 80px 24px;
    background: radial-gradient(ellipse at 50% 100%, var(--icpl-navy-2), var(--icpl-black) 70%);
    text-align: center;
}

.icpl-sd-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 40px;
    font-size: 14px;
    letter-spacing: 1.5px;
    font-weight: 700;
    background: linear-gradient(135deg, #f9e58a 0%, #d4af37 45%, #b8860b 100%);
    color: #0a0e28;
    border-radius: 999px;
    box-shadow: 0 10px 34px rgba(245, 197, 24, 0.35), 0 4px 12px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    transition: all 0.4s var(--icpl-ease);
}

.icpl-sd-back-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 18px 50px rgba(245, 197, 24, 0.5), 0 0 34px rgba(245, 197, 24, 0.28);
}

.icpl-sd-back-sub {
    margin-top: 20px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 768px) {
    .icpl-sd-hero {
        padding: 100px 16px 40px;
    }

    .icpl-sd-hero-number {
        font-size: clamp(200px, 50vw, 350px);
    }

    .icpl-sd-nav {
        padding: 10px 12px;
    }

    .icpl-sd-nav-btn {
        padding: 8px 14px;
        font-size: 9px;
        letter-spacing: 1px;
    }

    .icpl-sd-nav-btn i {
        display: none;
    }

    .icpl-sd-overview,
    .icpl-sd-partners,
    .icpl-sd-story {
        padding: 70px 16px;
    }

    .icpl-sd-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .icpl-sd-partners-grid {
        grid-template-columns: 1fr;
    }

    .icpl-sd-story-card {
        padding: 30px 20px;
    }

    /* Champion hero responsive */
    .icpl-sd-champion-photo-wrap {
        aspect-ratio: 16 / 10;
        border-radius: 16px;
    }

    .icpl-sd-champion-photo-content {
        padding: 20px 16px;
    }

    .icpl-sd-champion-team {
        font-size: clamp(22px, 5vw, 34px);
        letter-spacing: 2px;
    }

    .icpl-sd-champion-title {
        font-size: clamp(32px, 7vw, 48px);
        letter-spacing: 3px;
        margin-bottom: 20px;
    }

    /* Stats strip responsive */
    .icpl-sd-stats-strip {
        margin-top: 32px;
        padding: 0 12px;
    }

    .icpl-sd-stats-strip-item {
        padding: 8px 16px;
    }

    .icpl-sd-stats-strip-value {
        font-size: 15px;
        letter-spacing: 1px;
    }

    .icpl-sd-stats-strip-label {
        font-size: 8px;
        letter-spacing: 2px;
    }

    .icpl-sd-stats-strip-divider {
        height: 32px;
    }
}

@media (max-width: 480px) {
    .icpl-sd-hero-title {
        font-size: clamp(36px, 10vw, 56px);
    }

    .icpl-sd-hero-winner {
        padding: 12px 20px;
    }

    .icpl-sd-nav-current-num {
        font-size: 22px;
    }

    .icpl-sd-stats {
        grid-template-columns: 1fr;
    }

    /* Champion hero mobile */
    .icpl-sd-champion-photo-wrap {
        aspect-ratio: 4 / 3;
    }

    .icpl-sd-champion-photo-content {
        padding: 16px 12px;
    }

    .icpl-sd-champion-winner-label {
        font-size: 8px;
        letter-spacing: 3px;
    }

    .icpl-sd-champion-team {
        font-size: clamp(18px, 6vw, 26px);
        letter-spacing: 1.5px;
    }

    /* Stats strip mobile — 2-column wrap */
    .icpl-sd-stats-strip {
        gap: 4px 0;
    }

    .icpl-sd-stats-strip-item {
        padding: 6px 12px;
        flex: 1 1 40%;
        min-width: 120px;
    }

    .icpl-sd-stats-strip-divider {
        display: none;
    }

    .icpl-sd-stats-strip-value {
        font-size: 14px;
        white-space: normal;
        word-break: break-word;
    }
}

/* ═══════════ REDUCED MOTION ═══════════ */
@media (prefers-reduced-motion: reduce) {

    .icpl-sd-hero-bg,
    .icpl-sd-hero-number,
    .icpl-sd-hero-glow,
    .icpl-sd-hero-badge.current {
        animation: none !important;
    }

    .icpl-sd-hero-content {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ═══════════ SEASON MEDIA (WINNER & HIGHLIGHTS) ═══════════ */
.icpl-sd-media {
    padding: 100px 24px;
    background: radial-gradient(ellipse at 50% 0%, var(--icpl-navy) 0%, var(--icpl-black) 70%);
    position: relative;
}

.icpl-sd-media::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--icpl-gold), transparent);
    opacity: 0.3;
}

.icpl-sd-media-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    max-width: 1100px;
    margin: 0 auto;
}

.icpl-sd-media-box {
    flex: 1 1 480px;
    max-width: 530px;
    min-width: 290px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.icpl-sd-winner-photo-wrap {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(245, 197, 24, 0.3);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(245, 197, 24, 0.08);
    aspect-ratio: 16 / 10;
    background: #0d1230;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icpl-sd-winner-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--icpl-ease);
}

.icpl-sd-winner-photo-wrap:hover img {
    transform: scale(1.04);
}

.icpl-sd-winner-photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(8, 12, 32, 0.95) 0%, rgba(8, 12, 32, 0.6) 50%, transparent 100%);
    padding: 24px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.icpl-sd-winner-team-tag {
    font-family: var(--font-display);
    font-size: 24px;
    letter-spacing: 2px;
    color: var(--icpl-gold-light);
    text-shadow: 0 0 20px var(--icpl-gold-glow);
}

.icpl-sd-video-frame-wrap {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(245, 197, 24, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    aspect-ratio: 16 / 9;
    width: 100%;
}

.icpl-sd-video-frame-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ─── All Seasons Championship Archive Styling ─── */

/* --- Season navigation filters --- */
.icpl-sd-nav-filter-btn {
    padding: 6px 14px;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.icpl-sd-nav-filter-btn:hover {
    background: rgba(245, 197, 24, 0.1);
    border-color: var(--icpl-gold);
    color: var(--icpl-gold-light);
}

.icpl-sd-nav-filter-btn.active {
    background: var(--icpl-gold);
    border-color: var(--icpl-gold);
    color: #0a0e28;
    box-shadow: 0 4px 15px rgba(245, 197, 24, 0.4);
}

/* --- Vertically Stacked Season Blocks --- */
.icpl-sd-season-block {
    padding: 100px 24px;
    border-bottom: 1px solid rgba(245, 197, 24, 0.1);
    position: relative;
}

.icpl-sd-season-block:nth-child(even) {
    background: radial-gradient(ellipse at 50% 50%, var(--icpl-navy-2) 0%, var(--icpl-black) 100%);
}

.icpl-sd-season-block:nth-child(odd) {
    background: radial-gradient(ellipse at 50% 50%, var(--icpl-black) 0%, var(--icpl-navy) 100%);
}

/* ═══════════ CHAMPION HERO ═══════════ */
.icpl-sd-champion-hero {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.icpl-sd-champion-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 76px);
    letter-spacing: 4px;
    line-height: 1;
    text-transform: uppercase;
    color: var(--icpl-white);
    margin: 0 0 28px;
    text-shadow: 0 0 40px rgba(255, 255, 255, 0.12);
}

.icpl-sd-champion-title-gold {
    color: var(--icpl-gold);
    background: linear-gradient(135deg, #fff 25%, var(--icpl-gold) 60%, var(--icpl-gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    display: inline-block;
}

.icpl-sd-champion-photo-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 21 / 9;
    background: #0d1230;
    border: 1px solid rgba(245, 197, 24, 0.25);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 50px rgba(245, 197, 24, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icpl-sd-champion-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s var(--icpl-ease);
}

.icpl-sd-champion-photo-wrap:hover img {
    transform: scale(1.03);
}

.icpl-sd-champion-photo-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 12, 32, 0.10) 0%, rgba(8, 12, 32, 0.25) 45%, rgba(8, 12, 32, 0.92) 100%);
    pointer-events: none;
}

.icpl-sd-champion-photo-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}

.icpl-sd-champion-winner-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
}

.icpl-sd-champion-team {
    font-family: var(--font-display);
    font-size: clamp(28px, 4.5vw, 52px);
    letter-spacing: 3px;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--icpl-gold-light);
    text-shadow: 0 0 30px var(--icpl-gold-glow), 0 2px 12px rgba(0, 0, 0, 0.6);
}

/* ═══════════ CHAMPIONSHIP STATS STRIP ═══════════ */
.icpl-sd-stats-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
    max-width: 1100px;
    margin: 44px auto 0;
    padding: 0 24px;
}

.icpl-sd-stats-strip-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 8px 28px;
    text-align: center;
    min-width: 0;
}

.icpl-sd-stats-strip-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
}

.icpl-sd-stats-strip-value {
    font-family: var(--font-display);
    font-size: clamp(16px, 2vw, 22px);
    letter-spacing: 1.5px;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--icpl-white);
    white-space: nowrap;
}

.icpl-sd-stats-strip-value-gold {
    color: var(--icpl-gold-light);
    text-shadow: 0 0 20px var(--icpl-gold-glow);
}

.icpl-sd-stats-strip-divider {
    width: 1px;
    height: 38px;
    background: linear-gradient(180deg, transparent, rgba(245, 197, 24, 0.35), transparent);
    flex-shrink: 0;
}

/* --- Highlights dynamic block --- */
.icpl-sd-highlights-section {
    margin-top: 80px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 60px;
}

.icpl-sd-highlights-header {
    text-align: center;
    margin-bottom: 40px;
}

.icpl-sd-highlights-header .icpl-sec-label {
    justify-content: center;
}

.icpl-sd-highlights-title {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 1px;
    color: var(--icpl-white);
    margin: 6px 0 0;
}

.icpl-sd-highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.icpl-sd-highlight-card {
    background: rgba(13, 18, 48, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.icpl-sd-highlight-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 197, 24, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(245, 197, 24, 0.05);
}

.icpl-sd-hl-thumb-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.icpl-sd-hl-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.icpl-sd-highlight-card:hover .icpl-sd-hl-thumb-wrap img {
    transform: scale(1.05);
}

.icpl-sd-hl-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 50px;
    height: 50px;
    background: var(--icpl-gold);
    color: #0a0e28;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    opacity: 0.85;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(245, 197, 24, 0.5);
}

.icpl-sd-highlight-card:hover .icpl-sd-hl-play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
    background: #fff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
}

.icpl-sd-hl-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.icpl-sd-hl-title {
    font-size: 15px;
    letter-spacing: 1px;
    color: var(--icpl-gold-light);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.icpl-sd-hl-caption {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* --- Social (Facebook) Cards — small, below photos --- */
.icpl-sd-social-section {
    margin-top: 60px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 50px;
}

.icpl-sd-social-header {
    text-align: center;
    margin-bottom: 30px;
}

.icpl-sd-social-header .icpl-sec-label {
    justify-content: center;
}

.icpl-sd-social-title {
    font-family: var(--font-display);
    font-size: 24px;
    letter-spacing: 1px;
    color: var(--icpl-white);
    margin: 6px 0 0;
}

.icpl-sd-social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 14px;
}

.icpl-sd-social-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(13, 18, 48, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.icpl-sd-social-card:hover {
    border-color: rgba(24, 119, 242, 0.5);
    background: rgba(24, 119, 242, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.icpl-sd-social-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1877f2 0%, #0d5ab5 100%);
    color: #fff;
    font-size: 16px;
}

.icpl-sd-social-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.icpl-sd-social-title {
    font-size: 12px;
    letter-spacing: 0.5px;
    color: var(--icpl-gold-light);
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.icpl-sd-social-caption {
    font-size: 11px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.6);
    margin: 2px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- Photo Gallery --- */
.icpl-sd-photos-section {
    margin-top: 80px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 60px;
}

.icpl-sd-photos-header {
    text-align: center;
    margin-bottom: 40px;
}

.icpl-sd-photos-header .icpl-sec-label {
    justify-content: center;
}

.icpl-sd-photos-title {
    font-family: var(--font-display);
    font-size: 28px;
    letter-spacing: 1px;
    color: var(--icpl-white);
    margin: 6px 0 0;
}

.icpl-sd-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.icpl-sd-photo-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    background: rgba(13, 18, 48, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.icpl-sd-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.icpl-sd-photo-card:hover {
    border-color: rgba(245, 197, 24, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(245, 197, 24, 0.05);
}

.icpl-sd-photo-card:hover img {
    transform: scale(1.06);
}

/* --- Photo-Based Highlights (photo cards with title + caption overlay) --- */
.icpl-sd-highlight-photos-section {
    margin-top: 80px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    padding-top: 60px;
}

.icpl-sd-highlight-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.icpl-sd-highlight-photo-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    background: rgba(13, 18, 48, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.icpl-sd-highlight-photo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.icpl-sd-highlight-photo-card:hover {
    border-color: rgba(245, 197, 24, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(245, 197, 24, 0.05);
}

.icpl-sd-highlight-photo-card:hover img {
    transform: scale(1.06);
}

.icpl-sd-hp-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(8, 12, 32, 0.95) 0%, rgba(8, 12, 32, 0.6) 50%, transparent 100%);
    padding: 18px 16px 12px;
    display: flex;
    flex-direction: column;
    opacity: 0.92;
}

.icpl-sd-hp-title {
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--icpl-gold-light);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.icpl-sd-hp-caption {
    font-size: 11px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.65);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .icpl-sd-highlight-photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }
}

/* --- Photo Lightbox --- */
.icpl-photo-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(4, 7, 22, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: zoom-out;
}

/* --- Facebook Embed Modal --- */
.icpl-facebook-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.icpl-facebook-modal.open {
    opacity: 1;
    visibility: visible;
}

.icpl-facebook-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(4, 7, 20, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.icpl-facebook-modal-content {
    position: relative;
    width: 92%;
    max-width: 600px;
    max-height: 92vh;
    z-index: 10;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.icpl-facebook-modal.open .icpl-facebook-modal-content {
    transform: scale(1);
}

.icpl-facebook-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 20;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.icpl-facebook-modal-close:hover {
    background: rgba(24, 119, 242, 0.9);
    transform: rotate(90deg);
}

.icpl-facebook-modal-frame {
    position: relative;
    width: 100%;
    min-height: 500px;
    max-height: 85vh;
    overflow-y: auto;
    background: #f0f2f5;
}

.icpl-facebook-modal-frame iframe {
    width: 100%;
    min-height: 500px;
    border: 0;
    display: block;
}

.icpl-photo-lightbox.open {
    opacity: 1;
    visibility: visible;
}

.icpl-photo-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    object-fit: contain;
}

.icpl-photo-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 48px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.icpl-photo-lightbox-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .icpl-sd-photos-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }

    .icpl-photo-lightbox {
        padding: 20px;
    }
}

/* --- Premium Video Modal --- */
.icpl-video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.icpl-video-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.icpl-video-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(4, 7, 20, 0.95);
    backdrop-filter: blur(10px);
}

.icpl-video-modal-content {
    position: relative;
    width: 90%;
    max-width: 960px;
    aspect-ratio: 16 / 9;
    z-index: 10;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.icpl-video-modal.open .icpl-video-modal-content {
    transform: scale(1);
}

.icpl-video-modal-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    transition: color 0.3s;
}

.icpl-video-modal-close:hover {
    color: var(--icpl-gold);
}

.icpl-video-modal-title {
    position: absolute;
    top: -40px;
    left: 0;
    color: var(--icpl-gold-light);
    font-family: var(--font-display);
    font-size: clamp(14px, 2vw, 18px);
    letter-spacing: 2px;
}

.icpl-video-modal-frame {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(245, 197, 24, 0.3);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
}

.icpl-video-modal-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE VIEW IMPROVEMENTS — ICPL SEASON DETAILS
   Comprehensive mobile optimizations for better UX on small screens
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Safe area insets for notched phones ─── */
.icpl-sd-nav {
    padding-top: env(safe-area-inset-top);
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}

/* ─── Prevent horizontal overflow ─── */
.icpl-sd-body {
    overflow-x: hidden;
}

/* ─── Improve tap highlight for mobile ─── */
.icpl-sd-nav-filter-btn,
.icpl-sd-tab-btn,
.icpl-sd-photo-item,
.icpl-sd-video-thumb {
    -webkit-tap-highlight-color: rgba(245, 197, 24, 0.2);
}

/* ─── Touch target improvements ─── */
.icpl-sd-nav-filter-btn,
.icpl-sd-tab-btn {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ─── Hero section - mobile optimization ─── */
@media (max-width: 375px) {
    .icpl-sd-hero {
        padding: 80px 12px 30px;
    }
    
    .icpl-sd-hero-title {
        font-size: clamp(32px, 9vw, 48px);
    }
    
    .icpl-sd-hero-subtitle {
        font-size: 16px;
    }
    
    .icpl-sd-hero-stats {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .icpl-sd-hero-stat-num {
        font-size: 24px;
    }
    
    .icpl-sd-hero-stat-label {
        font-size: 9px;
    }
}

/* ─── Navigation filters - horizontal scroll ─── */
.icpl-sd-nav-filters {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--icpl-gold) rgba(255, 255, 255, 0.1);
}

.icpl-sd-nav-filters::-webkit-scrollbar {
    height: 4px;
}

.icpl-sd-nav-filters::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.icpl-sd-nav-filters::-webkit-scrollbar-thumb {
    background: var(--icpl-gold);
    border-radius: 4px;
}

/* ─── Video modal - small screen optimization ─── */
@media (max-width: 480px) {
    .icpl-video-modal-content {
        width: 95%;
        aspect-ratio: 16/9;
    }
    
    .icpl-video-modal-close {
        top: -40px;
        font-size: 28px;
    }
    
    .icpl-video-modal-title {
        font-size: 12px;
        letter-spacing: 1px;
    }
}

/* ─── Facebook modal - mobile optimization ─── */
@media (max-width: 768px) {
    .icpl-facebook-modal-frame {
        min-height: 400px;
    }
    
    .icpl-facebook-modal-frame iframe {
        min-height: 400px;
        width: 100% !important;
    }
    
    .icpl-facebook-modal-content {
        width: 95%;
        max-width: 400px;
    }
}

/* ─── Photo gallery - mobile optimization ─── */
@media (max-width: 480px) {
    .icpl-sd-photos-grid,
    .icpl-sd-highlight-photos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
}

/* ─── Photo lightbox - mobile optimization ─── */
@media (max-width: 768px) {
    .icpl-photo-lightbox img {
        max-width: 95vw;
        max-height: 85vh;
    }
    
    .icpl-photo-lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 36px;
    }
}

/* ─── Tabs - mobile optimization ─── */
@media (max-width: 768px) {
    .icpl-sd-tab-btn {
        font-size: 12px;
        padding: 8px 12px;
    }
}

/* ─── Stats grid - very small screens ─── */
@media (max-width: 360px) {
    .icpl-sd-stats-grid,
    .icpl-sd-highlight-stats {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .icpl-sd-stat-num {
        font-size: 20px;
    }
    
    .icpl-sd-stat-label {
        font-size: 8px;
        letter-spacing: 1px;
    }
}

/* ─── Fix for iOS Safari 100vh issue ─── */
@supports (-webkit-touch-callout: none) {
    .icpl-sd-hero {
        min-height: -webkit-fill-available;
    }
}

/* ─── Improve scrolling performance on mobile ─── */
.icpl-sd-nav-filters,
.icpl-sd-tabs {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

/* ─── Reduce motion for users who prefer it ─── */
@media (prefers-reduced-motion: reduce) {
    .icpl-sd-nav-filter-btn,
    .icpl-sd-tab-btn {
        transition-duration: 0.01ms;
    }
    
    .icpl-sd-hero-bg {
        animation: none;
    }
}

/* ─── Landscape phone optimizations ─── */
@media (max-height: 500px) and (orientation: landscape) {
    .icpl-sd-hero {
        min-height: auto;
        padding: 80px 16px 30px;
    }
    
    .icpl-sd-hero-title {
        font-size: 36px;
    }
}

/* ─── Fix for devices with notches in landscape ─── */
@media (orientation: landscape) {
    .icpl-sd-nav {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
    }
    
    .icpl-sd-section {
        padding-left: max(16px, env(safe-area-inset-left));
        padding-right: max(16px, env(safe-area-inset-right));
    }
}

/* ─── Fix text truncation on small screens ─── */
@media (max-width: 375px) {
    .icpl-sd-section-subtitle,
    .icpl-sd-hero-desc {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .icpl-sd-card-title {
        font-size: 16px;
    }
}

/* ─── Improve modal scrolling on mobile ─── */
.icpl-video-modal-frame,
.icpl-facebook-modal-frame {
    -webkit-overflow-scrolling: touch;
}

/* ─── Fix for sticky hover states on touch devices ─── */
@media (hover: none) and (pointer: coarse) {
    .icpl-sd-nav-filter-btn:hover,
    .icpl-sd-tab-btn:hover,
    .icpl-sd-photo-item:hover {
        transform: none;
        box-shadow: none;
    }
    
    .icpl-sd-nav-filter-btn:active,
    .icpl-sd-tab-btn:active {
        transform: scale(0.95);
        opacity: 0.8;
    }
}
