@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,500;12..96,800&family=Figtree:wght@400;500;600&display=swap');

:root {
    --bg: #09090a;
    --panel: #151517;
    --line: #2a2a2e;
    --text: #f5f2ee;
    --mute: #a09b95;
    --accent: #ff5a1f;
    --accent2: #e5171f;
    --ok: #3ecf8e;
    --bad: #ff6b6b
}

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

html {
    scroll-behavior: smooth
} 

body {
    font-family: 'Figtree', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden
}

h1, h2, h3, .brand {
    font-family: 'Bricolage Grotesque', sans-serif;
    line-height: 1.05;
    letter-spacing: -.02em
}

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

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    min-height: 48px;
    padding: 0 1.6rem;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--text);
    font: 600 1rem 'Figtree', sans-serif;
    cursor: pointer;
    transition: transform .2s, border-color .2s, filter .2s
}

.btn:hover {
    transform: translateY(-2px);
    border-color: #5a5a60
}

.btn-primary {
    border: 0;
    background: linear-gradient(135deg, var(--accent), var(--accent2))
}

.btn-primary:hover {
    filter: brightness(1.1)
}

.btn:disabled {
    opacity: .65;
    cursor: not-allowed;
    transform: none
}

.spin {
    width: 16px;
    height: 16px;
    border: 2px solid #fff6;
    border-top-color: #fff;
    border-radius: 50%;
    animation: s .7s linear infinite
}

@keyframes s {
    to {
        transform: rotate(360deg)
    }
}

.brand {
    display: block;
    width: 72px;
    height: 64px;
    background: url('../zynema-logo.png') center/contain no-repeat;
    font-size: 0
}

.brand i {
    font-style: normal;
    color: var(--accent)
}

.wrap {
    width: min(1160px, 100% - 2.5rem);
    margin-inline: auto
}

header.top {
    position: sticky;
    top: 0;
    z-index: 20;
    background: #09090acc;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line)
}

header.top .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 68px
}

#nav {
    display: flex;
    gap: 1.5rem;
    align-items: center
}

#nav a:not(.btn) {
    color: var(--mute)
}

#nav a:not(.btn):hover {
    color: var(--text)
}

#menu-btn {
    display: none;
    background: 0;
    border: 1px solid var(--line);
    color: var(--text);
    border-radius: 8px;
    min-height: 44px;
    padding: 0 1rem;
    font: inherit
}

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 5rem 0 4rem;
    background: radial-gradient(900px 400px at 80% 0, #ff5a1f33, transparent)
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(90deg, #09090af2 0%, #09090acc 48%, #09090a66 100%), linear-gradient(0deg, #09090a 0%, transparent 55%), var(--hero-art, radial-gradient(900px 400px at 80% 0, #ff5a1f33, transparent));
    background-position: center;
    background-size: cover;
    opacity: .9;
    transition: opacity .5s ease
}

.hero.is-changing::before {
    opacity: .08
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 5.4rem);
    font-weight: 800;
    max-width: 14ch
}

.hero p {
    color: var(--mute);
    max-width: 52ch;
    margin: 1.4rem 0 2rem;
    font-size: 1.15rem
}

.cta {
    display: flex;
    gap: .8rem;
    flex-wrap: wrap
}

.posters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1rem;
    margin-top: 3rem
}

.poster {
    aspect-ratio: 2/3;
    border-radius: 10px;
    background: #222 center/cover;
    border: 1px solid var(--line);
    transition: transform .25s
}

.poster:hover {
    transform: scale(1.04)
}

.tmdb-credit {
    margin-top: .75rem;
    color: var(--mute);
    font-size: .8rem
}

.poster:nth-child(1) {
    background-image: linear-gradient(160deg, #ff5a1f, #2a0a05)
}

.poster:nth-child(2) {
    background-image: linear-gradient(160deg, #e5171f, #14060a)
}

.poster:nth-child(3) {
    background-image: linear-gradient(160deg, #444, #0c0c0e)
}

.poster:nth-child(4) {
    background-image: linear-gradient(160deg, #ff9a3c, #1a0d05)
}

.poster:nth-child(5) {
    background-image: linear-gradient(160deg, #8a1c20, #0a0a0a)
}

.poster:nth-child(6) {
    background-image: linear-gradient(160deg, #333, #ff5a1f55)
}

section {
    padding: 4.5rem 0
}

section h2 {
    font-size: clamp(1.9rem, 4vw, 3rem);
    margin-bottom: 2rem
}

.cinema-feature {
    border-block: 1px solid var(--line);
    background: radial-gradient(700px 280px at 90% 50%, #ff5a1f1f, transparent)
}

.cinema-feature .wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .9fr);
    align-items: center;
    gap: 3rem
}

.cinema-feature-label {
    margin-bottom: .8rem;
    color: var(--accent);
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase
}

.cinema-feature h2 {
    margin-bottom: 1rem
}

.cinema-feature-copy {
    max-width: 58ch;
    color: var(--mute);
    font-size: 1.1rem
}

.cinema-feature-art {
    display: block;
    width: 100%;
    max-height: 320px
}

.watch-features {
    border-bottom: 1px solid var(--line);
    background: radial-gradient(700px 280px at 10% 50%, #e5171f12, transparent)
}

.watch-features-label {
    margin-bottom: .8rem;
    color: var(--accent);
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase
}

.watch-features h2 {
    margin-bottom: 1rem
}

.watch-features-intro {
    max-width: 58ch;
    margin-bottom: 2rem;
    color: var(--mute);
    font-size: 1.1rem
}

.watch-feature-card {
    position: relative;
    overflow: hidden
}

.watch-feature-number {
    display: block;
    margin-bottom: 1.2rem;
    color: var(--accent);
    font-family: 'Bricolage Grotesque', sans-serif;
    font-size: 1.8rem;
    font-weight: 800
}

.grid3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem
}

.card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.6rem
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: .5rem
}

.card p, .card li {
    color: var(--mute)
}

.card ul {
    padding-left: 1.1rem
}

.card.premium {
    border-color: var(--accent)
}

footer {
    border-top: 1px solid var(--line);
    padding: 2.5rem 0;
    color: var(--mute)
}

footer .wrap {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: space-between
}

footer nav {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap
}

#toasts {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 50;
    display: grid;
    gap: .5rem;
    max-width: calc(100% - 2rem)
}

.toast {
    padding: .9rem 1.2rem;
    border-radius: 10px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-left: 4px solid var(--accent)
}

.toast.error {
    border-left-color: var(--bad)
}

.toast.success {
    border-left-color: var(--ok)
}

@media(prefers-reduced-motion:reduce) {
    * {
        animation: none !important;
        transition: none !important
    }
}