/* Homepage UI enhancements — UCPL 1.1.3 */

:root {
    --ucpl-orange: #ff6b00;
    --ucpl-orange-hot: #ff8c00;
    --ucpl-black: #0a0a0a;
    --ucpl-ink: #111111;
}

/* ---- Hero overlay: compact bottom-left stack ---- */
.slideshow-overlay-content {
    position: absolute;
    left: 28px;
    bottom: 42px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: auto;
    max-width: min(420px, calc(100% - 56px));
    margin: 0;
    padding: 14px 16px;
    pointer-events: none;
    box-sizing: border-box;
}

/* Soft readable pocket — action slides only */
.slideshow-overlay-content::before {
    content: '';
    position: absolute;
    inset: -6px -12px -8px -8px;
    z-index: -1;
    pointer-events: none;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.45);
}

.slideshow-overlay-content > * {
    pointer-events: auto;
    position: relative;
}

.hero-season-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    margin: 0;
    border-radius: 999px;
    border: none;
    background: var(--ucpl-orange);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    animation: heroFadeUp 0.6s ease-out both;
}

.hero-tagline {
    margin: 0;
    color: #fff;
    font-size: clamp(1.25rem, 2.6vw, 1.7rem);
    font-weight: 800;
    letter-spacing: 0.03em;
    line-height: 1.2;
    text-transform: uppercase;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
    animation: heroFadeUp 0.6s ease-out 0.06s both;
}

.hero-tagline-line {
    display: block;
    white-space: nowrap;
}

.hero-support {
    display: none;
}

.hero-cta-group {
    display: contents;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
    animation: heroFadeUp 0.6s ease-out 0.1s both;
}

.hero-cta-primary {
    background: #fff;
    color: #111;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.hero-cta-primary:hover {
    background: var(--ucpl-orange);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.35);
}

.hero-cta-secondary {
    display: none;
}

/* Light Season 3 banner: dark type, no muddy blur */
.slideshow.is-brand-slide .slideshow-overlay-content::before {
    display: none;
}

.slideshow.is-brand-slide .hero-tagline {
    color: #111;
    text-shadow: none;
}

.slideshow.is-brand-slide .hero-cta-primary {
    background: var(--ucpl-orange);
    color: #fff;
    box-shadow: 0 6px 18px rgba(255, 107, 0, 0.28);
}

.slideshow.is-brand-slide .hero-cta-primary:hover {
    background: var(--ucpl-orange-hot);
    color: #fff;
}

.slideshow.is-brand-slide::after {
    background: none;
}

.slideshow-dots {
    position: absolute;
    left: 50%;
    bottom: 20px;
    z-index: 4;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}

.slideshow-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, width 0.2s ease;
}

.slideshow-dot.active {
    width: 28px;
    border-radius: 999px;
    background: var(--ucpl-orange);
}

.slideshow-dot:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

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

/* ---- Season 3 upcoming block ---- */
.season3-block {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 48px 20px 56px;
    margin: 0;
    background: #faf8f5;
    text-align: center;
}

.season3-block .section-header-modern,
.season3-block-inner {
    position: relative;
    z-index: 1;
}

.season3-block .section-header-modern {
    margin-bottom: 28px;
}

.season3-block-inner {
    max-width: 1040px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 28px;
    align-items: center;
    text-align: left;
}

.season3-block-media {
    margin: 0;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(255, 107, 0, 0.14);
    box-shadow: 0 16px 40px rgba(255, 107, 0, 0.12);
    background: #fff;
}

.season3-block-media img {
    display: block;
    width: 100%;
    height: auto;
}

.season3-block-lead {
    margin: 0 0 20px;
    color: #444;
    font-size: 1rem;
    line-height: 1.55;
}

.season3-forms-title {
    margin: 0 0 14px;
    color: #111;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.season3-forms-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.season3-form-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.season3-form-card:hover {
    border-color: rgba(255, 107, 0, 0.35);
    box-shadow: 0 12px 28px rgba(255, 107, 0, 0.12);
    transform: translateY(-1px);
}

.season3-form-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: linear-gradient(145deg, rgba(255, 107, 0, 0.16), rgba(255, 179, 71, 0.2));
    color: #ff6b00;
    flex-shrink: 0;
}

.season3-form-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.season3-form-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #111;
}

.season3-form-desc {
    color: #666;
    font-size: 0.82rem;
    line-height: 1.4;
}

.season3-form-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(255, 107, 0, 0.1);
    color: #ff6b00;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.season3-form-action:hover {
    background: #ff6b00;
    color: #fff;
}

.season3-more-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    color: #ff6b00;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
}

.season3-more-link:hover {
    text-decoration: underline;
}

@media (max-width: 800px) {
    .season3-block-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .season3-form-card {
        grid-template-columns: auto 1fr;
        grid-template-areas:
            "icon text"
            "action action";
    }

    .season3-form-icon { grid-area: icon; }
    .season3-form-text { grid-area: text; }
    .season3-form-action {
        grid-area: action;
        justify-content: center;
        width: 100%;
    }
}

/* Stronger card hover glow on home */
.update-card-modern:hover,
.gallery-preview-card:hover,
.video-card:hover {
    box-shadow: 0 20px 50px rgba(255, 107, 0, 0.22);
}

/* Empty schedule CTA */
.schedule-preview-empty .empty-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 22px;
}

.schedule-preview-empty .empty-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: transform 0.2s ease, background 0.2s ease;
}

.schedule-preview-empty .empty-cta-primary {
    background: var(--ucpl-orange);
    color: #fff;
}

.schedule-preview-empty .empty-cta-primary:hover {
    background: var(--ucpl-orange-hot);
    transform: translateY(-2px);
}

.schedule-preview-empty .empty-cta-secondary {
    border: 1.5px solid rgba(0, 0, 0, 0.18);
    background: #fff;
    color: #222;
}

.schedule-preview-empty .empty-cta-secondary:hover {
    border-color: var(--ucpl-orange);
    color: var(--ucpl-orange);
    background: rgba(255, 107, 0, 0.06);
    transform: translateY(-2px);
}

.schedule-preview-section.is-empty .schedule-preview-header-title {
    display: none;
}

@media (max-width: 768px) {
    .slideshow-overlay-content {
        left: 16px;
        right: 16px;
        bottom: 34px;
        max-width: none;
        width: auto;
        padding: 12px 14px;
        gap: 8px;
    }

    .slideshow-overlay-content::before {
        inset: -8px -16px -10px -10px;
    }

    .hero-tagline {
        font-size: 1.28rem;
        max-width: none;
    }

    .hero-cta {
        padding: 10px 14px;
        font-size: 0.72rem;
    }

    .slideshow-dots {
        bottom: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-season-badge,
    .hero-tagline,
    .hero-support,
    .hero-cta-group {
        animation: none;
    }

    .hero-cta:hover,
    .update-card-modern:hover,
    .gallery-preview-card:hover,
    .video-card:hover {
        transform: none;
    }
}
