:root {
    --bg-main: #050304;
    --bg-soft: rgba(18, 12, 14, 0.78);
    --bg-panel: rgba(20, 14, 17, 0.9);
    --line: rgba(255, 255, 255, 0.09);
    --line-strong: rgba(228, 162, 75, 0.24);
    --gold: #e4a24b;
    --gold-soft: #fff2d4;
    --accent: #c96e31;
    --success: #6cd08b;
    --danger: #ef6b64;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(228, 162, 75, 0.16), transparent 34%),
        radial-gradient(circle at top right, rgba(201, 110, 49, 0.12), transparent 26%),
        linear-gradient(180deg, #090607 0%, #050304 100%);
    color: #f5f5f4;
    font-family: "Sora", sans-serif;
    overflow-x: hidden;
}

.storefront-body {
    font-family: "Manrope", sans-serif;
}

::selection {
    background: rgba(228, 162, 75, 0.28);
    color: #fffaf0;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-thumb {
    background: rgba(228, 162, 75, 0.28);
    border-radius: 999px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

.page-glow {
    pointer-events: none;
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(228, 162, 75, 0.06), transparent 28%),
        radial-gradient(circle at 82% 10%, rgba(201, 110, 49, 0.08), transparent 18%);
    z-index: 0;
}

.panel,
.cinema-panel {
    position: relative;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(28, 20, 24, 0.94), rgba(15, 11, 13, 0.92));
    border-radius: 28px;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(16px);
}

.cinema-panel {
    min-height: 420px;
    isolation: isolate;
    border-color: var(--line-strong);
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(5, 3, 4, 0.94) 10%, rgba(5, 3, 4, 0.72) 40%, rgba(5, 3, 4, 0.4) 100%),
        linear-gradient(180deg, rgba(8, 5, 6, 0.12), rgba(8, 5, 6, 0.74));
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.hero-backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at center right, rgba(228, 162, 75, 0.18), transparent 28%),
        linear-gradient(180deg, transparent, rgba(5, 3, 4, 0.76));
}

.badge-chip,
.filter-chip,
.ghost-button,
.primary-button,
.pill-input {
    border-radius: 999px;
}

.badge-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 247, 222, 0.1);
    color: var(--gold-soft);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    padding: 0.8rem 1rem;
    text-transform: uppercase;
}

.filter-chip {
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(245, 245, 244, 0.78);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.85rem 1.1rem;
    transition: 180ms ease;
    white-space: nowrap;
}

.filter-chip:hover,
.filter-chip:focus-visible {
    border-color: rgba(228, 162, 75, 0.26);
    color: #fff;
    transform: translateY(-1px);
}

.filter-chip.is-active {
    border-color: rgba(228, 162, 75, 0.45);
    background: rgba(228, 162, 75, 0.14);
    color: var(--gold-soft);
    box-shadow: 0 12px 30px rgba(202, 126, 49, 0.16);
}

.primary-button,
.ghost-button {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.95rem 1.3rem;
    transition: 180ms ease;
}

.primary-button {
    background: linear-gradient(135deg, #f1ba68, #c96e31);
    color: #140c09;
    box-shadow: 0 18px 40px rgba(202, 126, 49, 0.22);
}

.primary-button:hover,
.primary-button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 22px 50px rgba(202, 126, 49, 0.3);
}

.ghost-button {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 248, 235, 0.92);
}

.ghost-button:hover,
.ghost-button:focus-visible {
    border-color: rgba(228, 162, 75, 0.24);
    background: rgba(255, 255, 255, 0.05);
}

.pill-input {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #fafaf9;
    font-size: 0.95rem;
    outline: none;
    padding: 1rem 1.15rem;
    transition: 180ms ease;
}

.pill-input:focus {
    border-color: rgba(228, 162, 75, 0.3);
    box-shadow: 0 0 0 4px rgba(228, 162, 75, 0.1);
}

.eyebrow {
    color: rgba(245, 239, 224, 0.68);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.35em;
    margin: 0;
    text-transform: uppercase;
}

.stat-label {
    color: rgba(245, 239, 224, 0.66);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    margin: 0;
    text-transform: uppercase;
}

.stat-value {
    color: #fff8eb;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.35rem, 5vw, 3.4rem);
    line-height: 1;
    margin-top: 0.75rem;
}

.helper-text {
    color: rgba(231, 229, 228, 0.66);
    font-size: 0.86rem;
    line-height: 1.7;
    margin-top: 0.7rem;
}

.field-label {
    color: rgba(245, 239, 224, 0.78);
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 0.65rem;
    text-transform: uppercase;
}

.field-input,
.field-textarea,
.field-select {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 18px;
    color: #fafaf9;
    font-size: 0.95rem;
    outline: none;
    padding: 1rem 1rem;
    transition: 180ms ease;
}

.field-input:focus,
.field-textarea:focus,
.field-select:focus {
    border-color: rgba(228, 162, 75, 0.32);
    box-shadow: 0 0 0 4px rgba(228, 162, 75, 0.08);
}

.field-textarea {
    min-height: 138px;
    resize: vertical;
}

.movie-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: 220ms ease;
}

.movie-card:hover {
    transform: translateY(-4px);
    border-color: rgba(228, 162, 75, 0.22);
}

.movie-poster {
    aspect-ratio: 2 / 3;
    width: 100%;
    object-fit: cover;
    transition: transform 260ms ease;
}

.movie-card:hover .movie-poster {
    transform: scale(1.04);
}

.movie-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 32%, rgba(5, 3, 4, 0.2) 58%, rgba(5, 3, 4, 0.88) 100%);
}

.movie-admin-card {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
    overflow: hidden;
}

.status-note {
    border-radius: 20px;
    padding: 0.95rem 1rem;
    font-size: 0.92rem;
    line-height: 1.7;
}

.status-note.is-info {
    background: rgba(228, 162, 75, 0.1);
    border: 1px solid rgba(228, 162, 75, 0.24);
    color: #fff0cf;
}

.status-note.is-success {
    background: rgba(108, 208, 139, 0.12);
    border: 1px solid rgba(108, 208, 139, 0.26);
    color: #d9ffe4;
}

.status-note.is-error {
    background: rgba(239, 107, 100, 0.12);
    border: 1px solid rgba(239, 107, 100, 0.28);
    color: #ffd7d4;
}

.checkbox-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.checkbox-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.85rem 1rem;
}

.checkbox-chip input {
    accent-color: var(--gold);
}

.toast {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(19, 13, 16, 0.96);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
    color: #fff8eb;
    padding: 1rem 1.1rem;
    transform: translateY(14px);
    opacity: 0;
    transition: 180ms ease;
}

.toast.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.storefront-body {
    position: relative;
    isolation: isolate;
    background:
        linear-gradient(180deg, #000000 0%, #020202 40%, #050505 100%);
}

.storefront-body::before,
.storefront-body::after {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    width: min(26vw, 340px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.95;
}

.storefront-body::before {
    left: -4%;
    background:
        linear-gradient(90deg, rgba(225, 9, 20, 0.22) 0%, rgba(225, 9, 20, 0.12) 22%, rgba(225, 9, 20, 0.02) 62%, transparent 100%),
        radial-gradient(circle at 8% 50%, rgba(255, 40, 40, 0.38), rgba(160, 0, 0, 0.18) 34%, rgba(0, 0, 0, 0) 72%);
    filter: blur(26px);
}

.storefront-body::after {
    right: -4%;
    background:
        linear-gradient(270deg, rgba(225, 9, 20, 0.22) 0%, rgba(225, 9, 20, 0.12) 22%, rgba(225, 9, 20, 0.02) 62%, transparent 100%),
        radial-gradient(circle at 92% 28%, rgba(255, 48, 48, 0.44), rgba(160, 0, 0, 0.18) 34%, rgba(0, 0, 0, 0) 74%);
    filter: blur(30px);
}

.storefront-body .page-glow {
    background:
        radial-gradient(circle at 50% 6%, rgba(229, 9, 20, 0.1), transparent 18%),
        radial-gradient(circle at 78% 20%, rgba(229, 9, 20, 0.08), transparent 16%);
    opacity: 0.9;
}

.storefront-body .panel,
.storefront-body .cinema-panel {
    border-color: rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(18, 18, 18, 0.96), rgba(8, 8, 8, 0.94));
}

.storefront-body .font-display,
.storefront-body .billboard-stat__value,
.storefront-body .store-promise__title,
.storefront-body .stream-shelf__title,
.storefront-body .stream-card__index {
    font-family: "Bebas Neue", sans-serif;
    letter-spacing: 0.02em;
}

.storefront-body .cinema-panel {
    min-height: 72vh;
    border-color: rgba(229, 9, 20, 0.16);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
}

.storefront-body .hero-backdrop::after {
    background:
        radial-gradient(circle at center right, rgba(229, 9, 20, 0.24), transparent 24%),
        linear-gradient(180deg, transparent, rgba(5, 5, 5, 0.94));
}

.storefront-body .primary-button {
    background: linear-gradient(135deg, #ffffff, #dddddd);
    color: #0f0f0f;
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.08);
}

.storefront-body .primary-button:hover,
.storefront-body .primary-button:focus-visible {
    box-shadow: 0 24px 50px rgba(255, 255, 255, 0.12);
}

.storefront-body .ghost-button {
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(109, 109, 110, 0.28);
    color: #fff;
}

.storefront-body .ghost-button:hover,
.storefront-body .ghost-button:focus-visible {
    border-color: rgba(229, 9, 20, 0.28);
    background: rgba(109, 109, 110, 0.45);
}

.storefront-body .badge-chip {
    border-color: rgba(229, 9, 20, 0.32);
    background: rgba(229, 9, 20, 0.16);
    color: #fff1f2;
}

.storefront-body .filter-chip.is-active {
    border-color: rgba(229, 9, 20, 0.45);
    background: rgba(229, 9, 20, 0.18);
    color: #fff;
    box-shadow: 0 14px 34px rgba(229, 9, 20, 0.14);
}

.storefront-body .pill-input:focus {
    border-color: rgba(229, 9, 20, 0.34);
    box-shadow: 0 0 0 4px rgba(229, 9, 20, 0.12);
}

.store-shell {
    position: relative;
    z-index: 1;
}

.store-header {
    background: linear-gradient(180deg, rgba(4, 4, 4, 0.98), rgba(4, 4, 4, 0.82));
}

.store-brand-mark {
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.94), rgba(123, 10, 17, 0.98));
    color: #fff;
}

.store-nav-link {
    border: 1px solid transparent;
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.75rem 1rem;
    text-decoration: none;
    transition: 180ms ease;
}

.store-nav-link:hover,
.store-nav-link:focus-visible {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
}

.storefront-body .store-order-button {
    background: linear-gradient(135deg, #e50914, #8f0911);
    color: #fff;
    box-shadow: 0 18px 40px rgba(229, 9, 20, 0.28);
}

.storefront-body .store-order-button:hover,
.storefront-body .store-order-button:focus-visible {
    box-shadow: 0 24px 56px rgba(229, 9, 20, 0.34);
}

.billboard-panel {
    min-height: 84vh;
    padding-bottom: 2rem;
    background: linear-gradient(180deg, rgba(4, 4, 4, 0.96), rgba(2, 2, 2, 0.98));
    overflow: hidden;
}

.billboard-panel__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.82) 34%, rgba(0, 0, 0, 0.34) 64%, rgba(0, 0, 0, 0.12) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.06) 0%, rgba(0, 0, 0, 0.14) 44%, rgba(0, 0, 0, 0.92) 100%),
        radial-gradient(circle at 78% 24%, rgba(229, 9, 20, 0.1), transparent 22%);
    pointer-events: none;
}

.billboard-panel::before,
.billboard-panel::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 1;
    border-radius: 999px;
}

.billboard-panel::before {
    left: -10%;
    top: 12%;
    width: 32%;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.16), rgba(229, 9, 20, 0.04) 44%, transparent 72%);
    filter: blur(38px);
}

.billboard-panel::after {
    right: -8%;
    top: 8%;
    width: 36%;
    aspect-ratio: 1;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.18), rgba(229, 9, 20, 0.05) 42%, transparent 72%);
    filter: blur(42px);
}

.billboard-copy {
    padding-top: 1.25rem;
    position: relative;
    z-index: 3;
}

.billboard-description {
    font-size: 1rem;
    max-width: 44rem;
    text-wrap: pretty;
}

.hero-figure-wrap {
    position: absolute;
    inset: 0 0 0 auto;
    width: min(52%, 760px);
    pointer-events: none;
    z-index: 1;
}

.hero-figure {
    position: absolute;
    right: -4%;
    bottom: 0;
    width: min(100%, 760px);
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    filter: saturate(0.92) contrast(1.04) brightness(0.88);
    opacity: 0.94;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.88) 24%, #000 48%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.88) 24%, #000 48%, #000 100%);
}

.hero-figure-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, #000000 0%, transparent 25%, transparent 100%),
        linear-gradient(180deg, transparent 0%, transparent 64%, #000000 100%);
}

.hero-figure-glow {
    position: absolute;
    inset: auto 6% 12% auto;
    width: 38%;
    aspect-ratio: 1;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.12), transparent 70%);
    filter: blur(22px);
}

.stream-section-heading {
    display: flex;
    align-items: end;
    gap: 1.5rem;
    justify-content: space-between;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-meta__item {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.34);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 0.8rem 1rem;
    text-transform: uppercase;
}

.stream-shelf__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
}

.stream-shelf__title {
    color: #fff;
    font-family: "Bebas Neue", sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: 0.03em;
    line-height: 1;
    margin: 0.6rem 0 0;
}

.stream-rail {
    display: grid;
    gap: 1rem;
    grid-auto-columns: minmax(220px, 18vw);
    grid-auto-flow: column;
    overflow-x: auto;
    padding-bottom: 0.4rem;
    scroll-snap-type: x proximity;
}

.stream-rail--ranked {
    grid-auto-columns: minmax(250px, 19vw);
}

.stream-card {
    position: relative;
    min-height: 410px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #111;
    cursor: pointer;
    overflow: hidden;
    scroll-snap-align: start;
    transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.stream-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(229, 9, 20, 0.32);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.stream-card--ranked {
    min-height: 440px;
}

.stream-card__index {
    position: absolute;
    left: 1rem;
    top: 1rem;
    z-index: 2;
    color: rgba(255, 255, 255, 0.96);
    font-family: "Bebas Neue", sans-serif;
    font-size: 4.4rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 0.8;
    text-shadow: 0 10px 25px rgba(0, 0, 0, 0.42);
}

.stream-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.stream-card__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 24%, rgba(0, 0, 0, 0.66) 72%, rgba(0, 0, 0, 0.96) 100%);
}

.stream-card__content {
    position: absolute;
    inset: auto 0 0 0;
    z-index: 1;
    padding: 1.15rem;
}

.stream-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 0.85rem;
}

.stream-tag {
    border: 1px solid rgba(229, 9, 20, 0.32);
    border-radius: 999px;
    background: rgba(229, 9, 20, 0.18);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    padding: 0.4rem 0.7rem;
    text-transform: uppercase;
}

.stream-tag--muted {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
}

.stream-card__genre {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    margin: 0;
    text-transform: uppercase;
}

.stream-card__title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.25;
    margin: 0.6rem 0 0;
}

.stream-card__meta {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.84rem;
    line-height: 1.6;
    margin: 0.65rem 0 0;
}

.stream-card__actions {
    display: flex;
    gap: 0.65rem;
    margin-top: 1rem;
}

.stream-card__actions .primary-button,
.stream-card__actions .ghost-button {
    flex: 1;
    justify-content: center;
    padding: 0.75rem 0.95rem;
}

.stream-shelf__note {
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.84rem;
    line-height: 1.7;
    max-width: 19rem;
    text-align: right;
}

.storefront-body .movie-card {
    background: linear-gradient(180deg, rgba(18, 18, 18, 0.98), rgba(8, 8, 8, 0.94));
    border-color: rgba(255, 255, 255, 0.08);
    border-radius: 26px;
}

.storefront-body .movie-card:hover {
    border-color: rgba(229, 9, 20, 0.22);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.store-explore-panel {
    background: linear-gradient(180deg, rgba(16, 16, 16, 0.98), rgba(7, 7, 7, 0.94));
}

.catalog-shell.is-collapsed .catalog-shell__content {
    display: none;
}

.mobile-discovery-panel {
    border-color: rgba(229, 9, 20, 0.14);
    background: linear-gradient(180deg, rgba(16, 16, 16, 0.98), rgba(9, 9, 9, 0.96));
}

.stream-card__compact-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: space-between;
    margin-top: 0.5rem;
}

.stream-card__price {
    color: #fff1f2;
    font-size: 0.95rem;
    font-weight: 800;
}

.movie-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.7rem;
    padding: 1rem;
}

.movie-card__title-mobile {
    color: #fff;
    display: -webkit-box;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.movie-card__footer {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: auto;
}

.movie-card__price-mobile {
    color: #fff1f2;
    font-size: 0.98rem;
    font-weight: 800;
}

.movie-card__button-mobile {
    justify-content: center;
    width: 100%;
}

.sheet-handle {
    display: none;
    width: 3rem;
    height: 0.32rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    margin: 0 auto 0.9rem;
}

.mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 35;
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    padding: 0.85rem 1rem calc(0.85rem + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(7, 7, 7, 0.92), rgba(7, 7, 7, 0.98));
    backdrop-filter: blur(22px);
}

.mobile-bottom-nav__action {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    align-items: flex-start;
    justify-content: center;
    min-height: 4.1rem;
    padding: 0.8rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.84);
    transition: 180ms ease;
}

.mobile-bottom-nav__action.is-active {
    border-color: rgba(229, 9, 20, 0.28);
    background: rgba(229, 9, 20, 0.12);
    color: #fff;
}

.mobile-bottom-nav__action--accent {
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.16), rgba(143, 9, 17, 0.18));
}

.mobile-bottom-nav__title {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.mobile-bottom-nav__meta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.mobile-bottom-nav__count {
    display: inline-flex;
    min-width: 1.45rem;
    justify-content: center;
    align-items: center;
    padding: 0.2rem 0.4rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.34);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
}

@media (max-width: 768px) {
    html {
        scroll-padding-bottom: calc(6.5rem + env(safe-area-inset-bottom));
    }

    .storefront-body::before,
    .storefront-body::after {
        width: 38vw;
        opacity: 0.72;
    }

    .mobile-bottom-nav:not(.hidden) {
        display: grid;
    }

    .store-shell {
        padding-bottom: calc(9rem + env(safe-area-inset-bottom));
    }

    .store-header > div:first-child {
        gap: 0.9rem;
        padding-top: 0.9rem;
        padding-bottom: 0.9rem;
    }

    #brand-name {
        font-size: 2rem;
    }

    .store-brand-mark {
        height: 2.85rem;
        width: 2.85rem;
        border-radius: 1rem;
        font-size: 1.5rem;
    }

    .storefront-body .store-order-button {
        min-height: 3rem;
        padding: 0.85rem 1.05rem;
    }

    .cinema-panel {
        min-height: 360px;
    }

    .storefront-body .cinema-panel {
        min-height: clamp(29rem, 52vh, 34rem);
    }

    .billboard-panel {
        min-height: auto;
        padding: 1.35rem;
    }

    .hero-figure-wrap {
        width: min(58%, 260px);
    }

    .hero-figure {
        right: -16%;
        object-position: center top;
    }

    .billboard-panel::before {
        width: 36%;
        left: -16%;
    }

    .billboard-panel::after {
        width: 38%;
        right: -14%;
    }

    .billboard-copy {
        max-width: 18rem;
        padding-top: 0;
    }

    #hero-kicker {
        margin-top: 0.85rem;
        letter-spacing: 0.28em;
    }

    #hero-title {
        display: -webkit-box;
        font-size: clamp(2.4rem, 12vw, 4rem);
        margin-top: 0.85rem;
        max-width: 8ch;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .hero-meta {
        gap: 0.45rem;
        margin-top: 1rem;
    }

    .hero-meta__item {
        font-size: 0.67rem;
        letter-spacing: 0.11em;
        padding: 0.55rem 0.8rem;
    }

    .hero-meta__item:nth-child(2) {
        display: none;
    }

    .billboard-description {
        display: -webkit-box;
        font-size: 0.9rem;
        line-height: 1.55;
        margin-top: 1rem;
        max-width: 16rem;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .billboard-copy > div:last-child {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
        margin-top: 1rem;
    }

    .billboard-copy > div:last-child .primary-button,
    .billboard-copy > div:last-child .ghost-button {
        min-height: 3rem;
        padding: 0.8rem 0.75rem;
    }

    .stream-section-heading {
        align-items: start;
        flex-direction: column;
        gap: 0.85rem;
    }

    .stream-rail {
        gap: 0.75rem;
        grid-auto-columns: minmax(154px, 46vw);
        padding-bottom: 0.2rem;
    }

    .stream-rail--ranked {
        grid-auto-columns: minmax(166px, 48vw);
    }

    .stream-card {
        min-height: 17.2rem;
        border-radius: 20px;
    }

    .stream-card--ranked {
        min-height: 18.5rem;
    }

    .stream-card__index {
        font-size: 2.75rem;
        left: 0.75rem;
        top: 0.75rem;
    }

    .stream-card__content {
        padding: 0.9rem;
    }

    .stream-card__tags {
        gap: 0.3rem;
        margin-bottom: 0.45rem;
    }

    .stream-tag {
        font-size: 0.56rem;
        letter-spacing: 0.12em;
        padding: 0.28rem 0.5rem;
    }

    .stream-card__genre {
        font-size: 0.58rem;
        letter-spacing: 0.16em;
    }

    .stream-card__title {
        display: -webkit-box;
        font-size: 1rem;
        line-height: 1.18;
        margin-top: 0.35rem;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .stream-card__meta {
        font-size: 0.72rem;
        line-height: 1.35;
        margin-top: 0;
    }

    .stream-card__compact-meta {
        margin-top: 0.4rem;
    }

    .stream-card__price {
        font-size: 0.9rem;
    }

    .stream-card__actions {
        gap: 0.5rem;
        margin-top: 0.75rem;
    }

    .stream-card__actions .primary-button,
    .stream-card__actions .ghost-button {
        min-height: 2.75rem;
        padding: 0.68rem 0.78rem;
    }

    .stream-shelf__head {
        align-items: start;
        flex-direction: column;
    }

    .stream-shelf__note {
        max-width: none;
        text-align: left;
    }

    .mobile-discovery-panel {
        margin-top: 2rem;
        padding: 1rem;
    }

    .catalog-shell {
        margin-top: 2rem;
    }

    .store-explore-panel {
        padding: 1rem;
    }

    #catalog-heading {
        font-size: 3rem;
    }

    #genre-filters {
        gap: 0.65rem;
        margin-top: 0.9rem;
    }

    .filter-chip {
        font-size: 0.78rem;
        padding: 0.72rem 0.95rem;
    }

    #catalog-grid {
        gap: 0.75rem;
        margin-top: 0.85rem;
    }

    .storefront-body .movie-card--compact {
        border-radius: 20px;
        overflow: hidden;
        transform: none;
    }

    .movie-card--compact .movie-poster {
        aspect-ratio: 2 / 2.9;
    }

    .movie-card__body {
        gap: 0.55rem;
        padding: 0.85rem;
    }

    .movie-card__title-mobile {
        font-size: 0.95rem;
    }

    .movie-card__footer {
        gap: 0.55rem;
    }

    .movie-card__price-mobile {
        font-size: 0.94rem;
    }

    .movie-card__button-mobile {
        min-height: 2.7rem;
        padding: 0.68rem 0.72rem;
    }

    #empty-state {
        padding: 1.4rem 1rem;
    }

    #empty-state h3 {
        font-size: 2.6rem;
    }

    #cart-drawer {
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        height: min(88vh, 46rem);
        max-width: none;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 28px 28px 0 0;
        padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom));
    }

    #cart-drawer.translate-x-full {
        transform: translateY(calc(100% + env(safe-area-inset-bottom)));
    }

    #cart-drawer:not(.translate-x-full) {
        transform: translateY(0);
    }

    .sheet-handle {
        display: block;
    }

    #details-modal {
        align-items: end;
        justify-content: stretch;
        padding: 0;
    }

    .details-sheet {
        border-radius: 28px 28px 0 0;
        margin: 0;
        max-height: 88vh;
        overflow-y: auto;
        padding: 1rem 1rem calc(1rem + env(safe-area-inset-bottom));
    }

    #details-close {
        padding: 0.8rem 1rem;
        right: 1rem;
        top: 1rem;
    }

    #details-title {
        font-size: 3.2rem;
        line-height: 0.95;
    }

    #details-synopsis {
        font-size: 0.92rem;
        line-height: 1.6;
    }

    #toast-stack {
        bottom: calc(6.2rem + env(safe-area-inset-bottom));
        left: 0.9rem;
        max-width: none;
        right: 0.9rem;
    }
}

@media (max-width: 420px) {
    #brand-name {
        font-size: 1.8rem;
    }

    #hero-title {
        font-size: 2.15rem;
    }

    .stream-rail {
        grid-auto-columns: minmax(146px, 52vw);
    }

    .stream-rail--ranked {
        grid-auto-columns: minmax(156px, 54vw);
    }

    .movie-card__button-mobile {
        font-size: 0.74rem;
    }
}