/* LugaFlix website (movies.mruodel.com): additions to site.css (the lugaflix.store stylesheet). */

.i { flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.btn .i, .chip .i { margin: 0 -2px; }
.center { text-align: center; justify-content: center; }
.right { text-align: right; }
.small-caps { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.header-avatar { display: inline-flex; }
.notice > div { min-width: 0; }
.notice a { color: inherit; text-decoration: underline; }

/* Page heads, breadcrumbs, pages */
.page-head { margin: 4px 0 6px; }
.page-head h1 { margin-bottom: 4px; }
.page-head p { max-width: 760px; }
.page-head.center p { margin: 0 auto; }
.crumbs { margin: 4px 0 12px; font-size: 13px; color: var(--faint); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; }
.crumbs li { display: inline-flex; align-items: center; gap: 4px; min-width: 0; }
.crumbs li + li::before { content: "/"; color: var(--line-2); }
.crumbs a:hover { color: var(--text); }
.crumbs span { color: var(--muted); max-width: 46vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.title-hero .crumbs { position: relative; padding-top: 12px; margin-bottom: 0; }
.grid-head { margin: 22px 0 12px; }
.page-count { margin-top: 12px; text-align: center; }

.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 28px 0 4px; }
.pager-n, .pager-step { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 40px; height: 40px; padding: 0 10px; border-radius: var(--r-s); border: 1px solid var(--line); color: var(--muted); font-size: 14px; font-weight: 500; }
.pager a:hover { border-color: var(--line-2); color: var(--text); background: var(--surface); }
.pager-n.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.pager-gap { color: var(--faint); padding: 0 2px; }
@media (max-width: 520px) { .pager-step span { display: none; } }

/* Footer */
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 22px; font-size: 13px; }
.footer-links a { color: var(--faint); }
.footer-links a:hover { color: var(--text); }
.store-badge { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: var(--r-s); font-size: 13px; font-weight: 600; color: var(--text); }
.store-badge:hover { background: var(--surface); }

/* Home */
.hero-carousel { min-height: 0; }
.hero-slide { display: none; position: relative; }
.hero-slide.on { display: block; animation: fade .45s ease; }
@keyframes fade { from { opacity: .35; } to { opacity: 1; } }
.hero-poster { display: block; }
.hero-h { font-size: 22px; line-height: 1.2; margin-bottom: 4px; }
.kicker { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.hero-dots { position: relative; display: flex; gap: 6px; padding-bottom: 14px; margin-top: -6px; }
.hero-dots button { width: 22px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .25); }
.hero-dots button[aria-selected="true"] { background: var(--brand-2); width: 34px; }
@media (min-width: 900px) { .hero-h { font-size: 40px; margin-bottom: 8px; } .hero-dots { margin-top: -18px; padding-bottom: 20px; } }
.intro { padding: 18px 0 4px; }
.intro h1 { font-size: 20px; }
@media (min-width: 900px) { .intro h1 { font-size: 24px; } }
.seo-text { margin: 28px 0 8px; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-l); color: var(--muted); font-size: 14px; }
.seo-text h2 { color: var(--text); font-size: 17px; margin-bottom: 8px; }
.seo-text p + p { margin-top: 8px; }
.home-plans .plan { color: inherit; }
.home-plans .plan:hover { border-color: var(--brand-2); }
.chip.on { background: var(--brand); border-color: var(--brand); color: #fff; }
.chip .faint { font-size: 12px; }
.browse-chips { margin: 12px 0 18px; }

/* Genres and VJs */
.genre-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 16px; }
@media (min-width: 640px) { .genre-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .genre-grid { grid-template-columns: repeat(4, 1fr); } }
.genre-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 120px; padding: 14px; border-radius: var(--r-l); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.genre-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; transition: opacity .15s, transform .3s; }
.genre-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 20%, rgba(0, 0, 0, .85)); }
.genre-tile:hover img { opacity: .55; transform: scale(1.04); }
.genre-name, .genre-count { position: relative; z-index: 1; }
.genre-name { font-size: 18px; font-weight: 700; }
.genre-count { font-size: 12px; color: var(--muted); }
.vj-list { display: grid; gap: 6px; margin-top: 16px; }
@media (min-width: 720px) { .vj-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .vj-list { grid-template-columns: repeat(3, 1fr); } }
.vj-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r); }
.vj-row:hover { background: var(--surface); border-color: var(--line-2); }
.vj-row .list-main { display: flex; flex-direction: column; }
.vj-row > .i { color: var(--faint); }

/* A title's page */
.title-hero .hero-bg { position: absolute; inset: -24px; background-size: cover; background-position: center 20%; filter: blur(28px) brightness(.3) saturate(1.1); }
.fact-link { display: inline-flex; align-items: center; gap: 4px; color: var(--brand-2); }
.fact-link:hover { text-decoration: underline; }
.title-actions .btn.on { border-color: var(--brand-2); background: var(--brand-soft); }
.title-actions .btn.on .i { color: var(--brand-2); }
.btn.icon-only { width: 44px; padding: 0; }
.btn-s.icon-only { width: 36px; }
[data-toggle] .when-on, [data-toggle].on .when-off { display: none; }
[data-toggle].on .when-on { display: inline-flex; align-items: center; gap: 8px; }
[data-toggle] .when-off { display: inline-flex; align-items: center; gap: 8px; }
.btn[data-toggle^="/my/like"].on .i { fill: var(--bad); stroke: var(--bad); }
.gate-note { margin-bottom: 18px; }
.title-cols { margin-bottom: 8px; }
.episodes-block { margin-top: 22px; }
.episodes-block .between { margin-bottom: 12px; flex-wrap: wrap; }
.season-tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.episode .i { color: var(--faint); }
.episode:hover .i { color: var(--brand-2); }
.episode-t { display: flex; flex-direction: column; gap: 4px; }
.ep-progress { display: block; height: 3px; border-radius: 2px; background: var(--surface-2); overflow: hidden; max-width: 140px; }
.ep-progress i { display: block; height: 100%; background: var(--brand-2); }
.season-label { grid-column: 1 / -1; margin: 8px 0 2px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }

/* The player page */
.player { outline: none; }
.player.gate { display: flex; }
.gate-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(14px) brightness(.4); }
.player.gate .player-cover { background: rgba(0, 0, 0, .55); }
.player-cover h2 { font-size: 18px; }
.player-cover .cluster.center { justify-content: center; }
.gate-plans { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.gate-plan { display: flex; flex-direction: column; align-items: center; min-width: 96px; padding: 8px 12px; border-radius: var(--r); border: 1px solid var(--line-2); background: rgba(20, 23, 28, .9); }
.gate-plan:hover, .gate-plan.best { border-color: var(--brand-2); }
.gate-plan strong { font-size: 15px; }
.gate-plan span { font-size: 12px; color: var(--muted); }
@media (max-width: 560px) { .player-cover h2 { font-size: 15px; } .player-cover p { display: none; } .gate-plan { min-width: 76px; padding: 6px 8px; } }
.player-help { margin-top: 10px; }
.player .player-cover .btn { color: var(--text); }
.player-notes .spinner { width: 34px; height: 34px; border-width: 3px; }
body.watching .footer { margin-top: 8px; }

/* Search */
.search-big { position: relative; display: flex; align-items: center; margin-bottom: 8px; }
.search-big > .i { position: absolute; left: 16px; color: var(--faint); pointer-events: none; }
.search-big .input { min-height: 52px; padding-left: 46px; border-radius: 99px; font-size: 17px; }
.search-h { margin: 16px 0 6px; font-size: 22px; }
.inline-search { display: flex; gap: 8px; width: 100%; max-width: 460px; margin-top: 8px; }
.suggest a { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 12px; font-size: 14px; }
.suggest a:hover, .suggest a.on { background: var(--surface-2); }
.suggest img { width: 30px; height: 44px; object-fit: cover; border-radius: 4px; background: var(--surface-2); flex: none; }
.suggest .s-icon { width: 30px; height: 30px; border-radius: 50%; background: var(--surface-2); display: flex; align-items: center; justify-content: center; flex: none; color: var(--muted); }
.suggest .s-text { min-width: 0; display: flex; flex-direction: column; }
.suggest .s-text b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.suggest .s-text small { color: var(--faint); font-size: 12px; }
.suggest .s-all { color: var(--brand-2); font-weight: 600; border-top: 1px solid var(--line); }

/* Plans and paying */
.plans-page { margin-top: 20px; }
.plan-name { font-size: 17px; }
.pay-how { max-width: 620px; margin: 30px auto 0; }
.pay-how h2 { margin-bottom: 12px; }
.pay-how .steps { margin-bottom: 12px; }
.pay-h { margin: 10px 0 14px; font-size: 24px; }
.pay-note { margin: 10px 0 0; display: flex; gap: 6px; align-items: flex-start; }
.pay-box .form { margin-top: 18px; }
.pay-box .notice { margin-top: 14px; }
.pay-state { margin-top: 8px; }
.pay-state .steps { max-width: 380px; }
.ok-icon { color: var(--ok); }
.bad-icon { color: var(--bad); }
.pay-box > .small { margin-top: 12px; }
.mini-plans { display: grid; gap: 8px; }
@media (min-width: 640px) { .mini-plans { grid-template-columns: repeat(2, 1fr); } }
.mini-plan { display: flex; flex-direction: column; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--r); }
.mini-plan:hover, .mini-plan.best { border-color: var(--brand-2); }
.mini-plan span { font-size: 13px; color: var(--muted); }

/* Sign-in pages */
.google-btn { background: #fff; color: #1f1f1f; border-color: #fff; }
.google-btn:hover { background: #e9edf2; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--muted); }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.code-input { letter-spacing: .3em; font-size: 20px; font-weight: 700; text-transform: uppercase; }

/* Account */
.acct-out { margin-top: 12px; padding: 0 4px; }
@media (max-width: 899px) { .acct-out { display: none; } }
.acct-tiles { margin: 14px 0; }
.card-wrap { position: relative; min-width: 0; }
.plan-days small { font-size: 15px; font-weight: 500; }
.acct-main > .panel + .row, .acct-main > .row + .panel { margin-top: 14px; }

/* Contact, about */
.contact-cols { display: grid; gap: 20px; }
@media (min-width: 960px) { .contact-cols { grid-template-columns: 1fr 1fr; align-items: start; } }
.contact-list { display: flex; flex-direction: column; gap: 14px; margin: 18px 0; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list li > .i { color: var(--brand-2); margin-top: 2px; }
.contact-list strong { display: block; font-size: 14px; }
.company { margin-top: 20px; }
.company p { color: var(--muted); font-size: 14px; }
.company-grid { display: grid; gap: 12px; margin-top: 12px; }
@media (min-width: 640px) { .company-grid { grid-template-columns: 1fr 1fr; } }
.about-tiles { margin: 18px 0; max-width: 760px; }
.feature { color: inherit; }
a.feature:hover { border-color: var(--line-2); }
.faq { max-width: 860px; }
.prose table { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.prose td, .prose th { border: 1px solid var(--line); padding: 6px 8px; text-align: left; }

/* Toasts from site.js */
.toast { animation: rise .2s ease; }
@keyframes rise { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
