/* =========================================================
   ToxicFilm — design tokens
   ========================================================= */
:root {
    --bg: #F6F7FB;
    --surface: #FFFFFF;
    --text-main: #1E2230;
    --text-muted: #5C6273;
    --border: rgba(30, 34, 48, 0.08);

    /* accent-1: warm amber/red spark ("toxic"), accent-2: cool soft indigo */
    --accent-1: 255, 99, 61;
    --accent-2: 99, 91, 224;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-soft: 0 4px 20px rgba(30, 34, 48, 0.06);
    --shadow-hover: 0 10px 28px rgba(30, 34, 48, 0.10);

    --font-head: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text-main);
    line-height: 1.6;
    font-size: 16px;
}

img { max-width: 100%; display: block; }

.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.25; }

a { text-decoration: none; color: inherit; }

.accent-word {
    background: linear-gradient(90deg, rgba(var(--accent-1), 1), rgba(var(--accent-2), 1));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* =========================================================
   Header
   ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    padding-bottom: 16px;
}

.logo {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--text-main);
}
.logo span {
    background: linear-gradient(90deg, rgba(var(--accent-1), 1), rgba(var(--accent-2), 1));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 28px;
}
.main-nav a {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--text-muted);
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}
.main-nav a:hover,
.main-nav a.active {
    color: var(--text-main);
    border-bottom-color: rgba(var(--accent-1), 0.8);
}

.btn-cta {
    background: linear-gradient(135deg, rgba(var(--accent-1), 1), rgba(var(--accent-2), 1));
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    box-shadow: 0 6px 16px rgba(var(--accent-1), 0.28);
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(var(--accent-1), 0.35); }

/* =========================================================
   Breadcrumb
   ========================================================= */
.breadcrumb {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 18px 0 0;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: rgba(var(--accent-1), 1); }
.breadcrumb .sep { margin: 0 6px; opacity: 0.5; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
    padding: 48px 0 40px;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}
.hero-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(var(--accent-1), 1);
    background: linear-gradient(135deg, rgba(var(--accent-1), 0.12), rgba(var(--accent-2), 0.10));
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 16px;
}
.hero h1 {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.hero p.lead {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 52ch;
    margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 14px; }

.btn-outline {
    border: 1px solid var(--border);
    background: var(--surface);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    color: var(--text-main);
    transition: border-color 0.2s ease;
}
.btn-outline:hover { border-color: rgba(var(--accent-2), 0.5); }

.poster-frame {
    background: linear-gradient(160deg, rgba(var(--accent-1), 0.14), rgba(var(--accent-2), 0.12));
    border-radius: var(--radius-lg);
    padding: 14px;
    box-shadow: var(--shadow-soft);
}
.poster-placeholder {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.6);
    border: 1.5px dashed rgba(30,34,48,0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 20px;
}

/* =========================================================
   Fact strip (signature element — quick, scannable movie facts)
   ========================================================= */
.fact-strip {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    margin: 8px 0 44px;
}
.fact-chip {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 14px;
    text-align: left;
    box-shadow: var(--shadow-soft);
}
.fact-chip .fact-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.fact-chip .fact-value {
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.95rem;
}

/* =========================================================
   Sections / cards
   ========================================================= */
section.block { padding: 44px 0; }
section.block.alt { background: rgba(var(--accent-2), 0.035); }

.section-head { margin-bottom: 28px; max-width: 62ch; }
.section-head h2 { font-size: 1.65rem; margin-bottom: 8px; }
.section-head p { color: var(--text-muted); }

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }

.card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 0.92rem; }

.card .tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, rgba(var(--accent-1), 0.14), rgba(var(--accent-2), 0.12));
    color: rgba(var(--accent-2), 1);
}

/* highlighted info panel */
.info-panel {
    background: linear-gradient(135deg, rgba(var(--accent-1), 0.08), rgba(var(--accent-2), 0.07));
    border: 1px solid rgba(var(--accent-2), 0.15);
    border-radius: var(--radius-md);
    padding: 22px 26px;
    margin: 20px 0;
}
.info-panel h4 { font-size: 0.95rem; margin-bottom: 6px; }
.info-panel p { color: var(--text-muted); font-size: 0.92rem; }

/* image placeholder blocks used inside content pages */
.image-slot {
    border: 1.5px dashed rgba(30,34,48,0.22);
    border-radius: var(--radius-md);
    background: rgba(30,34,48,0.02);
    padding: 26px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 20px 0;
}
.image-slot strong { color: var(--text-main); display: block; margin-bottom: 4px; }

/* character / cast profile */
.profile-list { display: flex; flex-direction: column; gap: 18px; }
.profile {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 22px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-soft);
    scroll-margin-top: 100px;
}
.profile-photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: linear-gradient(160deg, rgba(var(--accent-1), 0.14), rgba(var(--accent-2), 0.12));
    border: 1.5px solid rgba(30,34,48,0.2);
    padding: 0;
}

.profile-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}
.profile-body h3 { font-size: 1.15rem; margin-bottom: 2px; }
.profile-role { color: rgba(var(--accent-2), 1); font-weight: 600; font-size: 0.85rem; margin-bottom: 10px; }
.profile-body p { color: var(--text-muted); font-size: 0.92rem; }

/* timeline (release date journey) */
.timeline { border-left: 2px solid var(--border); padding-left: 24px; display: flex; flex-direction: column; gap: 22px; }
.timeline-item { position: relative; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(var(--accent-1), 1), rgba(var(--accent-2), 1));
}
.timeline-date { font-weight: 600; font-family: var(--font-head); font-size: 0.9rem; }
.timeline-item p { color: var(--text-muted); font-size: 0.9rem; margin-top: 2px; }

/* FAQ accordion (no JS needed — native <details>) */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 4px 20px;
}
.faq-item summary {
    cursor: pointer;
    font-weight: 600;
    padding: 14px 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: rgba(var(--accent-1),1); font-size: 1.2rem; }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { color: var(--text-muted); font-size: 0.92rem; padding-bottom: 16px; }

/* table (songs / crew) */
.data-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); }
.data-table th, .data-table td { text-align: left; padding: 14px 18px; font-size: 0.92rem; border-bottom: 1px solid var(--border); }
.data-table th { background: rgba(var(--accent-2), 0.06); font-family: var(--font-head); font-weight: 600; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--text-muted); }
.data-table tr:last-child td { border-bottom: none; }

/* related links strip */
.related-links { display: flex; flex-wrap: wrap; gap: 12px; }
.related-links a {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: border-color 0.2s ease, color 0.2s ease;
}
.related-links a:hover { border-color: rgba(var(--accent-1), 0.5); color: rgba(var(--accent-1), 1); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { margin-top: 40px; border-top: 1px solid var(--border); background: var(--surface); }
.footer-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
    padding: 48px 0 32px;
}
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; margin-top: 14px; }
.footer-col h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 14px; color: var(--text-muted); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul.plain li { font-size: 0.85rem; color: var(--text-muted); }
.footer-col ul.plain li span { color: var(--text-main); font-weight: 600; }
.footer-col a { font-size: 0.88rem; color: var(--text-muted); }
.footer-col a:hover { color: rgba(var(--accent-1), 1); }

.footer-bottom { border-top: 1px solid var(--border); }
.footer-bottom-inner { padding: 18px 0; font-size: 0.8rem; color: var(--text-muted); text-align: center; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .fact-strip { grid-template-columns: repeat(3, 1fr); }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .profile { grid-template-columns: 110px 1fr; }
}
@media (max-width: 600px) {
    .main-nav { display: none; }
    .fact-strip { grid-template-columns: repeat(2, 1fr); }
    .card-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2rem; }
    .profile { grid-template-columns: 1fr; }
    .profile-photo { max-width: 160px; }
}

.trailer-switch {
    margin-bottom: 14px;
}

.trailer-switch-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    transition: all 0.2s ease;
}

.trailer-switch-link:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-1px);
}

.trailer-switch-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--accent, #e5b84b);
    color: #111;
    font-size: 14px;
}

.trailer-switch-link strong {
    display: block;
    color: #fff;
    font-size: 15px;
    line-height: 1.3;
}

.trailer-switch-link small {
    display: block;
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
}

.trailer-switch-arrow {
    margin-left: auto;
    color: var(--accent, #e5b84b);
    font-size: 20px;
    transition: transform 0.2s ease;
}

.trailer-switch-link:hover .trailer-switch-arrow {
    transform: translateX(4px);
}

@media (max-width: 600px) {
    .trailer-switch-link {
        padding: 12px 14px;
        gap: 11px;
    }

    .trailer-switch-icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        font-size: 12px;
    }

    .trailer-switch-link strong {
        font-size: 13px;
    }

    .trailer-switch-link small {
        font-size: 11px;
    }
}

