/* ==========================================================================
   foryou.reviews - Theatrical Review Experience
   ========================================================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background-color: #0C0C0F;
    color: #F0EDE6;
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(15px, 1.6vw, 19px);
    line-height: 1.75;
    overflow-x: hidden;
}

/* --- Hero Section --- */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0C0C0F;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    opacity: 0;
}

.hero-title {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: clamp(48px, 10vw, 140px);
    letter-spacing: 0.01em;
    line-height: 0.95;
    color: #F0EDE6;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-title__for,
.hero-title__you {
    display: inline-block;
    opacity: 0;
    transform: scale(0.95);
}

.hero-subtitle {
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
    font-size: clamp(18px, 3vw, 42px);
    color: #F0EDE6;
    opacity: 0;
    letter-spacing: 0.15em;
    margin-top: 0.2em;
    transform: translateY(-10px);
}

/* --- Spotlight Cones --- */
.spotlight-cone {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.spotlight-cone--gold {
    background: conic-gradient(
        from 255deg at 50% 0%,
        transparent 0deg,
        rgba(255, 224, 102, 0.08) 15deg,
        rgba(255, 224, 102, 0.06) 25deg,
        transparent 30deg
    );
    opacity: 0;
}

.spotlight-cone--section {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.spotlight-cone--gold-tint {
    background: conic-gradient(
        from 255deg at 50% 0%,
        transparent 0deg,
        rgba(255, 224, 102, 0.06) 15deg,
        rgba(255, 224, 102, 0.04) 25deg,
        transparent 30deg
    );
}

.spotlight-cone--blue-tint {
    background: conic-gradient(
        from 255deg at 50% 0%,
        transparent 0deg,
        rgba(74, 144, 217, 0.06) 15deg,
        rgba(74, 144, 217, 0.04) 25deg,
        transparent 30deg
    );
}

.spotlight-cone--rose-tint {
    background: conic-gradient(
        from 255deg at 50% 0%,
        transparent 0deg,
        rgba(255, 51, 102, 0.06) 15deg,
        rgba(255, 51, 102, 0.04) 25deg,
        transparent 30deg
    );
}

/* --- Botanical Silhouettes --- */
/* Nature Olive: #4A5C3A used in SVG botanical elements */
.botanical {
    position: absolute;
    top: 0;
    height: 100%;
    width: 200px;
    z-index: 1;
    opacity: 0;
    pointer-events: none;
    color: #4A5C3A;
}

.botanical--left {
    left: 0;
}

.botanical--right {
    right: 0;
}

.botanical svg {
    width: 100%;
    height: 100%;
}

/* --- HUD Rating Circles --- */
.hud-circle {
    display: block;
}

.hud-circle--hero {
    width: 80px;
    height: 80px;
    margin: 30px auto 0;
    opacity: 0;
}

.hud-ring {
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    transform-origin: center;
    transform: rotate(-90deg);
}

.hud-ring--outer {
    stroke: #FFE066;
    filter: drop-shadow(0 0 4px rgba(255, 224, 102, 0.4));
}

.hud-ring--middle {
    stroke: #4A90D9;
    filter: drop-shadow(0 0 4px rgba(74, 144, 217, 0.4));
}

.hud-ring--inner {
    stroke: #FF3366;
    filter: drop-shadow(0 0 4px rgba(255, 51, 102, 0.4));
}

.hud-score {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 24px;
    fill: #FFE066;
}

.hud-label {
    font-family: 'Orbitron', sans-serif;
    font-weight: 400;
    font-size: 9px;
    fill: #8A8A94;
    letter-spacing: 0.15em;
}

/* --- Review Sections --- */
.review-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0C0C0F;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.review-section.is-visible {
    opacity: 1;
}

.review-section.is-visible .spotlight-cone--section {
    opacity: 1;
}

.vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 200px 100px rgba(0, 0, 0, 0.8);
    pointer-events: none;
    z-index: 1;
}

.review-content {
    position: relative;
    z-index: 2;
    width: 60%;
    max-width: 900px;
    display: flex;
    align-items: flex-start;
    gap: 50px;
    transition: filter 0.3s ease;
}

@media (max-width: 900px) {
    .review-content {
        width: 85%;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
}

.review-hud {
    flex-shrink: 0;
}

.review-hud .hud-circle {
    width: 160px;
    height: 160px;
}

.review-text {
    flex: 1;
}

/* --- Review Badge --- */
.review-badge {
    display: inline-block;
    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    padding: 4px 14px;
    border-radius: 2px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.review-badge--verified {
    color: #FFE066;
    border: 1px solid rgba(255, 224, 102, 0.3);
    background: rgba(255, 224, 102, 0.06);
}

.review-badge--trusted {
    color: #4A90D9;
    border: 1px solid rgba(74, 144, 217, 0.3);
    background: rgba(74, 144, 217, 0.06);
}

.review-badge--top {
    color: #FF3366;
    border: 1px solid rgba(255, 51, 102, 0.3);
    background: rgba(255, 51, 102, 0.06);
}

/* --- Review Typography --- */
.review-title {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: clamp(28px, 5vw, 64px);
    letter-spacing: 0.01em;
    color: #F0EDE6;
    margin-bottom: 20px;
    line-height: 1.15;
}

.review-body {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 400;
    font-size: clamp(15px, 1.6vw, 19px);
    line-height: 1.75;
    color: #F0EDE6;
    margin-bottom: 24px;
}

.review-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.review-author {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 14px;
    color: #8A8A94;
}

.review-author strong {
    font-weight: 600;
    color: #F0EDE6;
}

.review-category {
    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.15em;
    color: #8A8A94;
    text-transform: uppercase;
}

/* --- Credits Section --- */
.credits-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0C0C0F;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.credits-section.is-visible {
    opacity: 1;
}

.credits-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.credits-title {
    font-family: 'Roboto Slab', serif;
    font-weight: 400;
    font-size: clamp(18px, 3vw, 32px);
    letter-spacing: 0.2em;
    color: #8A8A94;
    text-transform: uppercase;
    margin-bottom: 50px;
}

.credits-list {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 60px;
}

.credits-entry {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.credits-role {
    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: #8A8A94;
    text-transform: uppercase;
}

.credits-name {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: clamp(18px, 2.5vw, 28px);
    color: #F0EDE6;
    letter-spacing: 0.01em;
}

.credits-footer-text {
    margin-top: 40px;
}

.credits-tagline {
    font-family: 'IBM Plex Sans', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #8A8A94;
    margin-bottom: 10px;
}

.credits-brand {
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: clamp(20px, 3vw, 36px);
    color: #FFE066;
    letter-spacing: 0.01em;
}

/* --- HUD Ring Animations --- */
.hud-ring {
    stroke-dasharray: 0, 9999;
    transition: stroke-dasharray 1.2s ease-out;
}

/* --- Utility: animated class triggers --- */
.review-section.is-visible .hud-ring {
    /* stroke-dasharray is set via JS based on data-score */
}

/* --- Scrollbar styling --- */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #0C0C0F;
}

::-webkit-scrollbar-thumb {
    background: #8A8A94;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #FFE066;
}
