/* Framelux App — Dark cinema theme (matches Studio palette) */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700&family=Cinzel:wght@400;500;600;700&display=swap');

:root {
    --bg: #0A0A0B;
    --bg-elevated: #141415;
    --bg-card: #1c1c1e;
    --bg-card-hover: #242426;
    --bg-input: #1c1c1e;
    --bg-overlay: rgba(10, 10, 11, 0.85);
    --text: #e8e6e0;
    --text-secondary: #a0a0b0;
    --text-muted: #6a6a7e;
    --accent: #D4AF37;
    --accent-hover: #E4C44A;
    --accent-dim: #B8952E;
    --accent-glow: rgba(212, 175, 55, 0.15);
    --border: #2a2a2c;
    --border-subtle: #1e1e20;
    --danger: #f87171;
    --success: #4ade80;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-gold: 0 0 20px rgba(212, 175, 55, 0.15);
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1400px;
    --font-display: 'Bebas Neue', 'Inter', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-logo: 'Cinzel', 'Playfair Display', serif;
}

/* ===========================
   LIQUID GRADIENT ANIMATION
   =========================== */
@property --liquid-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes liquid-rotate {
    to { --liquid-angle: 360deg; }
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 8px rgba(212, 175, 55, 0.1); }
    50% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.25); }
}

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ===========================
   NAV
   =========================== */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 10, 11, 0.75);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.3);
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    height: 60px;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-brand {
    font-family: var(--font-logo);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    flex-shrink: 0;
}

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

.nav-center a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: color var(--transition);
    white-space: nowrap;
}

.nav-center a:hover,
.nav-center a.active {
    color: var(--text);
}

.nav-search {
    position: relative;
    max-width: 280px;
    width: 100%;
    margin-left: auto;
}

.nav-search input {
    width: 100%;
    padding: 0.4rem 0.75rem 0.4rem 2rem;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 20px;
    color: var(--text);
    font-size: 0.8125rem;
    outline: none;
    transition: border-color var(--transition), background var(--transition);
}

.nav-search input::placeholder {
    color: var(--text-muted);
}

.nav-search input:focus {
    border-color: var(--accent);
    background: var(--bg-elevated);
}

.nav-search svg {
    position: absolute;
    left: 0.625rem;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    color: var(--text-muted);
    pointer-events: none;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.nav-right a,
.nav-right button {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    transition: color var(--transition);
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
}

.nav-right a:hover,
.nav-right button:hover {
    color: var(--text);
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-primary {
    position: relative;
    background: rgba(15, 12, 6, 0.7);
    color: var(--accent);
    font-weight: 600;
    border: none;
    overflow: hidden;
    box-shadow:
        0 0 6px rgba(212, 175, 55, 0.1),
        inset 0 0 12px rgba(212, 175, 55, 0.04);
}

/* Liquid border — animated conic gradient masked to border */
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1.5px;
    background: conic-gradient(
        from var(--liquid-angle),
        rgba(228, 196, 74, 0.95),
        rgba(160, 130, 30, 0.25),
        rgba(255, 220, 80, 0.85),
        rgba(139, 105, 20, 0.2),
        rgba(212, 175, 55, 0.65),
        rgba(228, 196, 74, 0.95)
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: liquid-rotate 4s linear infinite;
}

/* Second liquid layer — offset rotation for organic depth */
.btn-primary::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 2.5px;
    background: conic-gradient(
        from calc(var(--liquid-angle) + 120deg),
        transparent 0%,
        rgba(255, 228, 160, 0.45) 12%,
        transparent 28%,
        rgba(228, 196, 74, 0.35) 48%,
        transparent 62%,
        rgba(255, 220, 80, 0.3) 78%,
        transparent 100%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: liquid-rotate 7s linear infinite;
    filter: blur(2px);
}

.btn-primary:hover {
    background: rgba(20, 16, 8, 0.8);
    color: var(--accent-hover);
    box-shadow:
        0 0 10px rgba(212, 175, 55, 0.2),
        0 0 30px rgba(180, 145, 40, 0.1),
        inset 0 0 15px rgba(212, 175, 55, 0.06);
    transform: translateY(-1px);
}

.btn-primary:hover::before {
    animation-duration: 2s;
}

.btn-primary:hover::after {
    animation-duration: 3.5s;
}

.btn-outline {
    background: rgba(20, 20, 21, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent-dim);
    background: rgba(20, 20, 21, 0.7);
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.08);
}

.btn-sm {
    padding: 0.375rem 1rem;
    font-size: 0.8125rem;
    border-radius: 6px;
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    border-radius: var(--radius-lg);
}

/* ===========================
   HERO
   =========================== */
.hero {
    position: relative;
    padding: 6rem 2rem 4rem;
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

.coming-soon-banner {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8125rem;
    color: var(--accent);
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 20px;
    padding: 0.4rem 1.25rem;
    margin-bottom: 1.5rem;
}

.coming-soon-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: dotPulse 2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes dotPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1.05;
    margin-bottom: 1rem;
    max-width: 700px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.6;
    margin-bottom: 2rem;
}

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

/* ===========================
   CONTENT SECTIONS
   =========================== */
.section {
    padding: 1.5rem 2rem 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

.section-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.section-link {
    font-size: 0.8125rem;
    color: var(--accent);
    transition: color var(--transition);
}

.section-link:hover {
    color: var(--accent-hover);
}

/* ===========================
   CONTENT GRID
   =========================== */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.25rem;
}

.card {
    display: block;
    position: relative;
    background:
        rgba(20, 20, 21, 0.55) padding-box,
        conic-gradient(
            from var(--liquid-angle),
            rgba(228, 196, 74, 0.4),
            rgba(160, 130, 30, 0.08),
            rgba(255, 220, 80, 0.3),
            rgba(139, 105, 20, 0.06),
            rgba(212, 175, 55, 0.25),
            rgba(228, 196, 74, 0.4)
        ) border-box;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius-lg);
    border: 1px solid transparent;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
    box-shadow: 0 0 6px rgba(212, 175, 55, 0.05);
    animation: liquid-rotate var(--liquid-duration, 6s) linear infinite;
    animation-delay: var(--liquid-delay, 0s);
}

/* Second liquid layer — offset rotation for organic depth */
.card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: conic-gradient(
        from calc(var(--liquid-angle) + 140deg),
        transparent 0%,
        rgba(255, 228, 160, 0.25) 10%,
        transparent 25%,
        rgba(228, 196, 74, 0.2) 45%,
        transparent 60%,
        rgba(255, 220, 80, 0.15) 78%,
        transparent 100%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: liquid-rotate var(--liquid-duration-slow, 9s) linear infinite;
    animation-delay: var(--liquid-delay, 0s);
    filter: blur(1.5px);
    z-index: 1;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(212, 175, 55, 0.12);
}

.card:hover::before {
    animation-duration: 4s;
}

.card-thumb {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--bg-elevated);
    overflow: hidden;
}

.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover .card-thumb img {
    transform: scale(1.05);
}

.card-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.card-duration {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    font-size: 0.6875rem;
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    font-variant-numeric: tabular-nums;
}

.card-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--accent);
    border-radius: 0 0 0 var(--radius-lg);
    transition: width 0.3s;
}

.card-body {
    padding: 0.75rem 0.875rem;
}

.card-title {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.card-views {
    font-size: 0.72rem;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
    margin-top: 0.15rem;
}

/* Featured card (larger, with liquid gradient border) */
.card-featured {
    position: relative;
    grid-column: span 2;
    grid-row: span 2;
    background:
        rgba(10, 10, 11, 0.5) padding-box,
        conic-gradient(
            from var(--liquid-angle),
            rgba(228, 196, 74, 0.7),
            rgba(160, 130, 30, 0.15),
            rgba(255, 220, 80, 0.55),
            rgba(139, 105, 20, 0.1),
            rgba(212, 175, 55, 0.45),
            rgba(228, 196, 74, 0.7)
        ) border-box;
    border: 1.5px solid transparent;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow:
        0 0 8px rgba(212, 175, 55, 0.1),
        0 0 25px rgba(180, 145, 40, 0.07),
        inset 0 0 20px rgba(212, 175, 55, 0.04);
    animation: liquid-rotate 6s linear infinite;
}

/* Second liquid layer for featured cards */
.card-featured::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-lg);
    padding: 2.5px;
    background: conic-gradient(
        from calc(var(--liquid-angle) + 150deg),
        transparent 0%,
        rgba(255, 228, 160, 0.35) 10%,
        transparent 25%,
        rgba(228, 196, 74, 0.25) 45%,
        transparent 60%,
        rgba(255, 220, 80, 0.2) 75%,
        transparent 100%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: liquid-rotate 9s linear infinite;
    filter: blur(2px);
    z-index: 1;
}

.card-featured:hover {
    box-shadow:
        0 0 12px rgba(212, 175, 55, 0.18),
        0 0 35px rgba(180, 145, 40, 0.1),
        inset 0 0 25px rgba(212, 175, 55, 0.06);
    transform: translateY(-4px);
}

.card-featured:hover::after {
    animation-duration: 4.5s;
}

.card-featured .card-thumb {
    aspect-ratio: auto;
    height: 100%;
    min-height: 300px;
}

.card-featured .card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
    z-index: 2;
}

.card-featured .card-title {
    font-size: 1.25rem;
    -webkit-line-clamp: 3;
}

/* ===========================
   CATEGORY PILLS
   =========================== */
.category-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.pill {
    display: inline-flex;
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    background: rgba(20, 20, 21, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.pill:hover,
.pill.active {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(212, 175, 55, 0.08);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.1);
}

/* ===========================
   WATCH PAGE
   =========================== */
.watch-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 2rem 3rem;
}

.video-player {
    position: relative;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
}

.video-player iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

.watch-info {
    max-width: 800px;
}

.watch-title {
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.watch-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.watch-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.watch-meta .tag {
    padding: 0.2rem 0.625rem;
    background: var(--bg-elevated);
    border-radius: 4px;
    font-size: 0.75rem;
}

.watch-views {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.watch-description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9375rem;
}

.watch-synopsis {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.9375rem;
}

/* ===========================
   FORMS (AUTH)
   =========================== */
.form-page {
    max-width: 400px;
    margin: 5rem auto;
    padding: 0 2rem;
}

.form-page h1 {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.form-page .form-subtitle {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 0.9375rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 0.375rem;
}

.form-group input {
    width: 100%;
    padding: 0.625rem 0.875rem;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--transition);
}

.form-group input:focus {
    border-color: var(--accent);
}

.form-actions {
    margin-top: 1.75rem;
}

.form-actions .btn {
    width: 100%;
}

.form-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: var(--danger);
    font-size: 0.8125rem;
    padding: 0.625rem 0.875rem;
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
}

.form-footer {
    margin-top: 1.5rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-align: center;
}

.form-footer a {
    color: var(--accent);
    font-weight: 500;
}

.form-footer a:hover {
    color: var(--accent-hover);
}

/* ===========================
   EMPTY STATE
   =========================== */
.empty-state {
    text-align: center;
    padding: 5rem 2rem;
    color: var(--text-secondary);
}

.empty-state h2 {
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.empty-state p {
    max-width: 400px;
    margin: 0 auto;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
    margin-top: auto;
    border-top: 1px solid var(--border-subtle);
    padding: 2rem;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--text-secondary);
}

/* ===========================
   SUBSCRIBE PAGE
   =========================== */
.pricing-page {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 2rem;
    text-align: center;
}

.pricing-page h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.pricing-page .pricing-subtitle {
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-size: 1.0625rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
    text-align: left;
}

.pricing-card {
    position: relative;
    background: rgba(28, 28, 30, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: border-color var(--transition), box-shadow var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.pricing-card:hover {
    border-color: var(--accent-dim);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.08);
}

.pricing-card.featured {
    background:
        rgba(10, 10, 11, 0.5) padding-box,
        conic-gradient(
            from var(--liquid-angle),
            rgba(228, 196, 74, 0.7),
            rgba(160, 130, 30, 0.15),
            rgba(255, 220, 80, 0.55),
            rgba(139, 105, 20, 0.1),
            rgba(212, 175, 55, 0.45),
            rgba(228, 196, 74, 0.7)
        ) border-box;
    border: 1.5px solid transparent;
    box-shadow:
        0 0 10px rgba(212, 175, 55, 0.12),
        0 0 30px rgba(180, 145, 40, 0.08),
        inset 0 0 20px rgba(212, 175, 55, 0.04);
    animation: liquid-rotate 6s linear infinite;
    overflow: hidden;
}

.pricing-card.featured::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-xl);
    padding: 2.5px;
    background: conic-gradient(
        from calc(var(--liquid-angle) + 150deg),
        transparent 0%,
        rgba(255, 228, 160, 0.35) 10%,
        transparent 25%,
        rgba(228, 196, 74, 0.25) 45%,
        transparent 60%,
        rgba(255, 220, 80, 0.2) 75%,
        transparent 100%
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: liquid-rotate 9s linear infinite;
    filter: blur(2px);
}

.pricing-card.featured:hover {
    box-shadow:
        0 0 15px rgba(212, 175, 55, 0.2),
        0 0 40px rgba(180, 145, 40, 0.12),
        inset 0 0 25px rgba(212, 175, 55, 0.06);
}

.pricing-card.featured:hover::after {
    animation-duration: 4.5s;
}

.pricing-tier {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 0.25rem;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-muted);
}

.pricing-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    flex: 1;
}

.pricing-features li {
    padding: 0.375rem 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features li::before {
    content: "\2713";
    color: var(--success);
    font-weight: 600;
    font-size: 0.75rem;
}

/* ===========================
   MOBILE NAV — hamburger + menu
   =========================== */
.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}

.nav-mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-secondary);
    border-radius: 1px;
    transition: all 0.25s ease;
}

.nav-mobile-menu {
    display: none;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
    /* --- Nav: hamburger mode --- */
    .nav-center,
    .nav-search,
    .nav-right {
        display: none;
    }

    .nav-mobile-toggle {
        display: flex;
    }

    .nav-inner {
        padding: 0 1rem;
        gap: 1rem;
        justify-content: space-between;
    }

    /* Hamburger animation */
    .nav.nav-open .nav-mobile-toggle span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .nav.nav-open .nav-mobile-toggle span:nth-child(2) {
        opacity: 0;
    }
    .nav.nav-open .nav-mobile-toggle span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Mobile slide-down menu */
    .nav.nav-open .nav-mobile-menu {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 1.5rem 1.5rem;
        border-top: 1px solid var(--border-subtle);
        background: rgba(10, 10, 11, 0.97);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }

    .nav-mobile-search {
        position: relative;
    }

    .nav-mobile-search input {
        width: 100%;
        padding: 0.6rem 0.75rem 0.6rem 2.25rem;
        background: var(--bg-input);
        border: 1px solid var(--border);
        border-radius: 20px;
        color: var(--text);
        font-size: 0.875rem;
        outline: none;
        font-family: inherit;
    }

    .nav-mobile-search input::placeholder {
        color: var(--text-muted);
    }

    .nav-mobile-search input:focus {
        border-color: var(--accent);
    }

    .nav-mobile-search svg {
        position: absolute;
        left: 0.75rem;
        top: 50%;
        transform: translateY(-50%);
        width: 14px;
        height: 14px;
        color: var(--text-muted);
        pointer-events: none;
    }

    .nav-mobile-links {
        display: flex;
        flex-direction: column;
    }

    .nav-mobile-links a {
        padding: 0.625rem 0;
        font-size: 0.9375rem;
        color: var(--text-secondary);
        border-bottom: 1px solid var(--border-subtle);
        transition: color var(--transition);
    }

    .nav-mobile-links a:last-child {
        border-bottom: none;
    }

    .nav-mobile-links a:hover {
        color: var(--text);
    }

    .nav-mobile-auth {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        padding-top: 0.5rem;
    }

    /* --- Hero --- */
    .hero {
        padding: 3rem 1rem 2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.9375rem;
    }

    /* --- Sections --- */
    .section {
        padding: 1rem 1rem 1.5rem;
    }

    .section-title {
        font-size: 1.125rem;
    }

    /* --- Content grid --- */
    .content-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 0.75rem;
    }

    .card-featured {
        grid-column: span 1;
        grid-row: span 1;
    }

    .card-featured .card-thumb {
        aspect-ratio: 16/9;
        min-height: auto;
    }

    .card-featured .card-body {
        position: relative;
        background: none;
        padding: 0.75rem 0.875rem;
    }

    .card-featured .card-title {
        font-size: 0.875rem;
        -webkit-line-clamp: 2;
    }

    /* --- Watch page --- */
    .watch-page {
        padding: 0.5rem 1rem 2rem;
    }

    .video-player {
        border-radius: var(--radius);
        margin-bottom: 1rem;
    }

    .watch-title {
        font-size: 1.25rem;
    }

    .watch-title-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .watch-meta {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    /* --- Forms --- */
    .form-page {
        margin: 2rem auto;
        padding: 0 1rem;
    }

    .form-page h1 {
        font-size: 1.5rem;
    }

    /* --- Pricing --- */
    .pricing-page {
        margin: 2rem auto;
        padding: 0 1rem;
    }

    .pricing-page h1 {
        font-size: 1.75rem;
    }

    .pricing-card {
        padding: 1.5rem;
    }

    /* --- Footer --- */
    .footer {
        padding: 1.5rem 1rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .content-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .card-body {
        padding: 0.5rem 0.625rem;
    }

    .card-title {
        font-size: 0.8125rem;
    }

    .hero {
        padding: 2rem 1rem 1.5rem;
    }

    .hero h1 {
        font-size: 1.625rem;
    }

    .hero-subtitle {
        font-size: 0.875rem;
        margin-bottom: 1.5rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .watch-title {
        font-size: 1.125rem;
    }

    .watch-description,
    .watch-synopsis {
        font-size: 0.875rem;
    }

    .pricing-page h1 {
        font-size: 1.5rem;
    }

    .pricing-price {
        font-size: 2rem;
    }

    .empty-state {
        padding: 3rem 1rem;
    }
}
