/*
 * Stylesheet khusus untuk Front Page Off-Season / Archival Showcase
 * Artsubs Pro Child Theme
 */

/* ==========================================================================
   1. LAYOUT RESET: PASTIKAN SECTION MEMBENTANG 100% TANPA KEKANGAN DARI .site-main > *
   ========================================================================== */
.front-page-offseason,
.site-main.front-page-offseason {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: clip !important;
    background-color: var(--background, #fff);
    color: var(--secondary, #111);
}

/* Reset paksaan container dari style.css (.site-main > *) */
.site-main.front-page-offseason > * {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
}

/* ==========================================================================
   2. KEY VISUAL: MUTLAK FULL WIDTH & 100VH VIEWPORT (CLEAN & SINEMATIK)
   ========================================================================== */
.offseason-hero-section {
    position: relative;
    width: 100% !important;
    max-width: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    background-color: #000;
    line-height: 0;
}

.offseason-hero-section .artsubs-desktop-hero,
.offseason-hero-section .artsubs-mobile-hero {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0;
}

.offseason-media-desktop {
    display: block !important;
}

.offseason-media-mobile {
    display: none !important;
}

@media (max-width: 768px) {
    .offseason-media-desktop {
        display: none !important;
    }
    .offseason-media-mobile {
        display: block !important;
    }
}

.offseason-hero-section .artsubs-video-responsive {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    background-color: #000;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.offseason-hero-section .landscape-ratio,
.offseason-hero-section .portrait-ratio {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    aspect-ratio: auto !important;
}

.offseason-hero-section .artsubs-hero-media {
    width: 100% !important;
    height: 100% !important;
    display: block;
    object-fit: cover !important;
    object-position: center !important;
    border: none;
}

/* YouTube Mode: Pengisian Layar 100vh Penuh Tanpa Letterbox */
.offseason-hero-section iframe.youtube-mode {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw !important;
    height: 56.25vw !important; /* Rasio 16:9 */
    min-height: 100vh !important;
    min-width: 177.78vh !important;
    transform: translate(-50%, -50%) scale(1.12);
    border: none;
    pointer-events: none;
}

@media (min-aspect-ratio: 16/9) {
    .offseason-hero-section iframe.youtube-mode {
        width: 100vw !important;
        height: 56.25vw !important;
    }
}

@media (max-aspect-ratio: 16/9) {
    .offseason-hero-section iframe.youtube-mode {
        width: 177.78vh !important;
        height: 100vh !important;
    }
}

.offseason-hero-section .artsubs-video-blocker {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: transparent;
}

/* ==========================================================================
   2B. CENTER LOGO SVG PADA KEY VISUAL (Mix Blend Difference & Perfectly Centered)
   ========================================================================== */
.offseason-center-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    pointer-events: none;
    user-select: none;
    mix-blend-mode: difference !important;
}

.offseason-center-logo-inner {
    width: clamp(220px, 28vw, 420px);
    max-width: 82vw;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    mix-blend-mode: difference !important;
}

.offseason-center-logo-inner svg {
    width: 100%;
    height: auto;
    display: block;
    mix-blend-mode: difference !important;
}

.offseason-center-logo-inner svg path,
.offseason-center-logo-inner svg .st0 {
    fill: #cc3332 !important;
}

.offseason-center-logo-inner img,
.offseason-center-logo-inner .custom-logo {
    width: 100%;
    height: auto;
    max-height: clamp(80px, 14vh, 150px);
    object-fit: contain;
    display: block;
    mix-blend-mode: difference !important;
}

.offseason-center-logo-text {
    font-family: 'Biotif', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: clamp(28px, 4vw, 54px);
    font-weight: 800;
    color: #cc3332 !important;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    text-align: center;
    mix-blend-mode: difference !important;
    line-height: 1;
}

/* ==========================================================================
   2C. HERO CINEMATIC GRADIENT SCRIM & OVERLAY
   ========================================================================== */
.offseason-hero-scrim {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.88) 0%,
        rgba(0, 0, 0, 0.52) 25%,
        rgba(0, 0, 0, 0.1) 50%,
        transparent 70%
    ),
    linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.45) 0%,
        transparent 25%
    );
}

.offseason-hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.offseason-hero-overlay-inner {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    padding-bottom: clamp(32px, 5vw, 64px) !important;
    gap: 24px;
}

.offseason-overlay-left {
    max-width: 820px;
    pointer-events: auto;
}

.offseason-overlay-title {
    color: #ffffff !important;
    font-size: clamp(1.8rem, 3.8vw, 3.4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.offseason-overlay-meta {
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: clamp(0.9rem, 1.3vw, 1.1rem);
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 24px 0;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5);
}

.offseason-overlay-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 18px;
}

.offseason-glass-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none !important;
    border-radius: 4px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.offseason-glass-primary {
    background: #ffffff;
    color: #111111 !important;
    border: 1px solid #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.offseason-glass-primary:hover {
    background: var(--primary, #cc3332);
    border-color: var(--primary, #cc3332);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(209, 47, 47, 0.35);
}

.offseason-glass-subtle {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.offseason-glass-subtle:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff !important;
    transform: translateY(-2px);
}

.offseason-overlay-right {
    pointer-events: auto;
    display: flex;
    align-items: center;
    margin-bottom: 4px;
}

.offseason-sound-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(18, 18, 18, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 9999px;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}

.offseason-sound-btn:hover,
.offseason-sound-btn.is-active {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.offseason-sound-btn .sound-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .offseason-center-logo {
        top: 38%;
    }
    .offseason-center-logo-inner {
        width: clamp(180px, 52vw, 260px);
    }
    .offseason-hero-overlay-inner {
        flex-direction: column-reverse;
        align-items: flex-start !important;
        padding-bottom: 28px !important;
        gap: 18px;
    }
    .offseason-overlay-right {
        align-self: flex-end;
    }
    .offseason-overlay-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
    .offseason-glass-btn {
        justify-content: center;
        width: 100%;
    }
}

/* ==========================================================================
   3. CONTENT CONTAINER & UNIFIED WRAPPER (SELARAS DENGAN HEADER & FOOTER)
   ========================================================================== */
.site-main.front-page-offseason .offseason-statement-container,
.site-main.front-page-offseason .offseason-highlights-container,
.site-main.front-page-offseason .wrapper {
    width: 100% !important;
    max-width: var(--container-width, 1440px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: var(--container-padding, 40px) !important;
    padding-right: var(--container-padding, 40px) !important;
    box-sizing: border-box !important;
}

@media (max-width: 900px) {
    .site-main.front-page-offseason .offseason-statement-container,
    .site-main.front-page-offseason .offseason-highlights-container,
    .site-main.front-page-offseason .wrapper {
        padding-left: var(--container-padding-mobile, 20px) !important;
        padding-right: var(--container-padding-mobile, 20px) !important;
    }
}

/* ==========================================================================
   4. STATEMENT & ACTION SECTION
   ========================================================================== */
.offseason-statement-section {
    padding-top: clamp(60px, 7vw, 100px);
    padding-bottom: clamp(50px, 6vw, 80px);
    background-color: var(--background, #fff);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.offseason-eyebrow {
    font-family: 'Biotif', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--primary, #cc3332);
    margin-bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.offseason-eyebrow::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 2px;
    background-color: var(--primary, #cc3332);
}

.offseason-headline {
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--secondary, #111);
    margin: 0 0 24px 0;
    text-transform: uppercase;
}

.offseason-statement-body {
    max-width: 860px;
    margin-bottom: 40px;
}

.offseason-statement-body p {
    font-size: clamp(1.1rem, 1.8vw, 1.3rem);
    line-height: 1.6;
    color: #4a4a4a;
    font-weight: 400;
    margin: 0;
}

.offseason-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
}

.offseason-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none !important;
    border-radius: 4px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
}

.offseason-btn-primary {
    background-color: var(--secondary, #111);
    color: #fff !important;
    border: 1px solid var(--secondary, #111);
}

.offseason-btn-primary:hover {
    background-color: var(--primary, #cc3332);
    border-color: var(--primary, #cc3332);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(209, 47, 47, 0.2);
}

.offseason-btn-secondary {
    background-color: transparent;
    color: var(--secondary, #111) !important;
    border: 1px solid rgba(0, 0, 0, 0.25);
}

.offseason-btn-secondary:hover {
    border-color: var(--secondary, #111);
    background-color: rgba(0, 0, 0, 0.03);
    transform: translateY(-2px);
}

.offseason-link-subtle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--secondary, #111) !important;
    text-decoration: none !important;
    padding: 10px 4px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.offseason-link-subtle:hover {
    color: var(--primary, #cc3332) !important;
    transform: translateX(4px);
}

/* ==========================================================================
   5. HIGHLIGHTS & ARCHIVE EXPLORER SECTION
   ========================================================================== */
.offseason-highlights-section {
    padding-top: clamp(60px, 7vw, 90px);
    padding-bottom: clamp(70px, 8vw, 110px);
    background-color: #fafafa;
}

.offseason-highlights-header {
    margin-bottom: 48px;
}

.offseason-section-title {
    font-size: clamp(1.6rem, 2.8vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--secondary, #111);
    margin: 0 0 12px 0;
}

.offseason-section-subtitle {
    font-size: 1.05rem;
    color: #666;
    margin: 0;
    max-width: 640px;
    line-height: 1.5;
}

.offseason-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

@media (max-width: 992px) {
    .offseason-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.offseason-card {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.offseason-card:hover {
    transform: translateY(-4px);
    border-color: rgba(209, 47, 47, 0.3);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.offseason-card-tag {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary, #cc3332);
    margin-bottom: 16px;
}

.offseason-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 14px 0;
    color: var(--secondary, #111);
}

.offseason-card-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin: 0 0 28px 0;
    flex-grow: 1;
}

.offseason-card-footer {
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.offseason-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--secondary, #111) !important;
    text-decoration: none !important;
    transition: color 0.2s ease, gap 0.2s ease;
}

.offseason-card:hover .offseason-card-link {
    color: var(--primary, #cc3332) !important;
    gap: 12px;
}

/* ==========================================================================
   6. RESPONSIVE COMPACT RULES (< 768px)
   ========================================================================== */
@media (max-width: 768px) {
    .offseason-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .offseason-btn {
        width: 100%;
    }
    .offseason-link-subtle {
        justify-content: center;
    }
}
