/* styles/main.css — Premium overrides for the side-by-side landing page layout */

/* ─── Hero Intro Section ────────────────────────────────────────────── */
.hero-intro {
    padding: 30px 0 15px;
    max-width: 900px;
    margin: 0 auto;
}

.main-hero-title {
    font-size: clamp(38px, 4.5vw, 68px);
    line-height: 1.0;
    color: #fff;
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: clamp(15px, 1.6vw, 19px);
    color: rgba(255, 255, 255, 0.65);
    font-family: var(--ph-sans);
    font-weight: 400;
}

/* ─── Split Grid ────────────────────────────────────────────────────── */
.hero-split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 10px;
    padding-bottom: 60px;
    align-items: stretch;
}

.lane-container {
    background: #0d1b2a;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.3s ease;
}

.lane-container:hover {
    transform: translateY(-5px);
}

/* Lane Theme Headers and Gradients */
.theme-pools::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2A5BFF, #4f7eff);
}

.theme-pools:hover {
    box-shadow: 0 16px 48px -12px rgba(42, 91, 255, 0.35);
    border-color: rgba(42, 91, 255, 0.4);
}

.theme-pickems::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10B981, #f59e0b);
}

.theme-pickems:hover {
    box-shadow: 0 16px 48px -12px rgba(16, 185, 129, 0.35);
    border-color: rgba(16, 185, 129, 0.4);
}

/* ─── Lane Elements ─────────────────────────────────────────────────── */
.lane-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.lane-title {
    font-family: var(--ph-display);
    font-weight: 800;
    font-size: 32px;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin: 0;
}

.theme-pools .lane-title {
    color: #fff;
}

.theme-pickems .lane-title {
    color: #fff;
}

.lane-badge {
    font-family: var(--ph-display);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 4px;
    line-height: 1;
}

.theme-pools .lane-badge {
    background: rgba(42, 91, 255, 0.15);
    color: #8fa7ff;
}

.theme-pickems .lane-badge {
    background: rgba(16, 185, 129, 0.15);
    color: #86efac;
}

.lane-checklist {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 15.5px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
    min-height: 180px;
    /* keep checklist height equal */
}

.lane-checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.lane-checklist-item img {
    height: 18px;
    width: auto;
    margin-top: 2px;
    flex-shrink: 0;
}

.lane-cta-wrap {
    margin-bottom: 30px;
}

.lane-cta-btn {
    width: 100%;
    padding: 13px 20px;
    font-size: 15px;
    justify-content: center;
    border-radius: 999px;
}

.lane-preview-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: 20px;
}

/* ─── Custom Pick'em Card Preview Overrides ─────────────────────────── */
.ph-pickem-preview-card {
    padding: 0;
    width: 100%;
    max-width: 380px;
    border: 3px solid #10B981 !important;
    background: #FFFFFF !important;
    box-shadow: 0 8px 24px -16px rgba(16, 185, 129, 0.3);
    margin-bottom: 10px;
    color: #14161D !important;
}

.ph-pickem-preview-card .pool-card-body-new {
    padding: 18px 22px;
    background: #FFFFFF !important;
    color: #14161D !important;
}

.ph-pickem-preview-card .pool-card-stat-num {
    color: #14161D !important;
}

.ph-pickem-preview-card .pool-mini-grid-link {
    display: block !important;
    text-decoration: none !important;
    position: relative !important;
    width: 108px !important;
    height: 108px !important;
    margin-bottom: 0 !important;
}

.ph-pickem-preview-card .pool-mini-grid-link:hover {
    opacity: 1 !important;
}

.ph-pickem-preview-card .pool-grid-claim-hint {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: none !important;
}

.ph-pickem-preview-card .claim-badge {
    position: relative !important;
}

.ph-pickem-preview-card .claim-badge::before,
.ph-pickem-preview-card .claim-badge::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    border-radius: 999px !important;
    animation: claim-sonar-pulse 2.4s ease-out infinite !important;
    pointer-events: none !important;
}

.ph-pickem-preview-card .claim-badge::after {
    animation-delay: 1.2s !important;
}

@keyframes claim-sonar-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(42,91,255,0.5); }
    55%  { box-shadow: 0 0 0 13px rgba(42,91,255,0.32); }
    100% { box-shadow: 0 0 0 20px rgba(42,91,255,0); }
}

.ph-preview-card {
    width: 100%;
    max-width: 380px;
    transform: none !important;
    /* disable old rotation/scale */
    margin: 0 auto 10px !important;
}

/* ─── Responsive Adjustments (Mobile Slider) ─────────────────────────── */
@media (max-width: 991.98px) {
    .mobile-slider-viewport {
        overflow: hidden;
        position: relative;
        width: 100%;
        padding: 0 4px;
    }

    .hero-split-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        width: 200% !important;
        grid-template-columns: none !important;
        gap: 0 !important;
        align-items: flex-start !important;
        transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
        padding-bottom: 20px;
    }

    .lane-checklist {
        min-height: auto;
        /* collapse standard height on single column */
    }

    .lane-container {
        width: calc(50% - 16px) !important;
        margin: 0 8px !important;
        flex-shrink: 0 !important;
        padding: 28px 20px !important;
    }

    .ph-preview-card,
    .ph-pickem-preview-card {
        max-width: 100% !important;
    }

    #ildWrap,
    #ipldWrap {
        width: 100% !important;
        max-width: 100% !important;
    }
    #ipldWrap {
        margin-top: 26px !important;
    }

    #lsBanner {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-top: 36px !important;
        margin-bottom: -15px !important;
    }

    #lsBannerPickem {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-top: 36px !important;
        margin-bottom: -15px !important;
    }
}

/* ─── Mobile Slider Navigation Tabs ─── */
.mobile-slider-nav-wrap {
    display: flex;
    justify-content: center;
    margin-top: -12px !important;
    margin-bottom: 16px !important;
    padding: 0 16px;
}

.mobile-slider-nav {
    display: flex;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    padding: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.mobile-slider-nav .nav-tab {
    position: relative;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 10px 24px;
    font-family: var(--ph-display);
    font-weight: 800;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    z-index: 2;
    transition: color 0.3s ease;
    outline: none;
}

.mobile-slider-nav .nav-tab.active {
    color: #fff;
}

.mobile-slider-nav .nav-active-pill {
    position: absolute;
    top: 4px;
    bottom: 4px;
    background: #2A5BFF;
    border-radius: 99px;
    z-index: 1;
    transition: left 0.4s cubic-bezier(0.25, 1, 0.5, 1), width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 2px 10px rgba(42, 91, 255, 0.4);
}

/* ─── Changing Header Layout Stability (Prevents site layout shift/dance) ─── */
@media (min-width: 768px) {
    .main-hero-title {
        white-space: nowrap !important;
    }
    #ipldWrap {
        margin-top: 22px !important;
    }
}

/* ─── Live Scoring Banners (Pool & Pickem) ─── */
.ls-banner-wrap {
    text-align: center;
    position: relative;
    z-index: 10;
}

#lsBanner, #lsBannerPickem {
    margin-left: 0;
    margin-right: 0;
    padding-top: 36px;
    margin-bottom: -15px;
}

@media (min-width: 992px) {
    #lsBanner {
        margin-left: -45px !important;
        padding-top: 80px !important; /* Moved down a smidge from 60px */
        margin-bottom: -15px !important; /* Reduced overlap from -28px */
    }
    #lsBannerPickem {
        margin-left: -45px !important;
        padding-top: 60px !important;
        margin-bottom: -15px !important; /* Reduced overlap from -28px */
    }
}

.ls-banner-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #0a0c14;
    border-radius: 999px;
    padding: 11px 24px;
    white-space: nowrap !important;
}

.ls-banner-pill--blue {
    border: 2px solid #2A5BFF;
    box-shadow: 0 0 20px rgba(42, 91, 255, 0.2);
    transform: rotate(6deg);
    transform-origin: center;
}

.ls-banner-pill--green {
    border: 2px solid #10B981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
    transform: rotate(-6deg);
    transform-origin: center;
}

.ls-banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    flex-shrink: 0;
    animation: ph-pulse 1.4s ease-in-out infinite;
}

.ls-banner-txt {
    font-family: var(--ph-display);
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap !important;
}

.ls-banner-sep {
    color: rgba(255, 255, 255, 0.3);
    font-size: 13px;
    white-space: nowrap !important;
}

.ls-banner-icon {
    flex-shrink: 0;
}

/* Mobile responsive scaling for banners to prevent wrap/overflow */
@media (max-width: 767.98px) {
    .ls-banner-pill {
        padding: 10px 20px;
        gap: 10px;
    }
    .ls-banner-txt {
        font-size: 14px;
    }
    .ls-banner-sep {
        font-size: 12px;
    }
    .ls-banner-dot {
        width: 7px;
        height: 7px;
    }
    .ls-banner-icon {
        width: 14px;
        height: 14px;
    }
}