@import url("/skins/landing/inter.css");

:root {
  --ink: #0a0515;
  --ink-2: #1a0f2e;
  --ink-3: #050208;
  --panel: #1a1525;
  --bar: #0f0a1f;
  --line: #3d3366;
  --lav: #b7adff;
  --violet: #837aff;
  --pink: #ffa3ff;
  --soft: #c5b3ff;
  --grey: #b3b3b3;
  --gold: #ffd700;
  --lav-rgb: 183, 173, 255;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  color: #fff;
  font: 400 16px/1.6 var(--font);
  background: radial-gradient(ellipse at 50% 0%, var(--ink-2) 0%, var(--ink) 50%, var(--ink-3) 100%);
  overflow-x: hidden;
}
body.is-home { background: linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 50%, var(--ink) 100%); }
body.drawer-open { overflow: hidden; }

h1, h2, h3, h4, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; }

.sprite { position: absolute; }
.ic { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: -0.125em; }
.ic { fill: currentColor; }
.ic.grad { fill: url(#g-brand); color: var(--lav); }

.empty, .error { color: var(--soft); padding: 40px 0; text-align: center; }
.error { color: #ff9bb5; }

/* ---------- shared pill buttons ---------- */

.pill-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  color: #fff; font-weight: 600; white-space: nowrap;
  background: linear-gradient(135deg, var(--lav), var(--violet));
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 50px;
  box-shadow: 0 4px 15px rgba(var(--lav-rgb), .3);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.pill-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(var(--lav-rgb), .5); }
.pill-btn:active { transform: translateY(-1px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 32px; border-radius: 50px;
  font-size: 15px; font-weight: 700; line-height: 24px; letter-spacing: .5px; color: #fff;
  background: linear-gradient(135deg, var(--lav), var(--violet));
  border: 1px solid rgba(255, 255, 255, .1);
  box-shadow: 0 8px 24px rgba(var(--lav-rgb), .4);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background-color .4s var(--ease), border-color .4s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(var(--lav-rgb), .6); }
.btn:active { transform: translateY(-1px); }
.btn.ghost {
  background: rgba(var(--lav-rgb), .15); border-color: rgba(var(--lav-rgb), .3); box-shadow: none;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn.ghost:hover { background: rgba(var(--lav-rgb), .25); border-color: rgba(var(--lav-rgb), .5); box-shadow: 0 8px 24px rgba(var(--lav-rgb), .2); }
.btn.small { padding: 8px 18px; font-size: 13px; }

/* ====================================================================
   Start page
   ==================================================================== */

.landing { position: relative; }
.landing::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(var(--lav-rgb), .4), transparent),
    radial-gradient(2px 2px at 60% 70%, rgba(255, 163, 255, .3), transparent),
    radial-gradient(1px 1px at 50% 50%, rgba(var(--lav-rgb), .3), transparent),
    radial-gradient(1px 1px at 80% 10%, rgba(255, 163, 255, .3), transparent),
    radial-gradient(2px 2px at 90% 60%, rgba(var(--lav-rgb), .25), transparent),
    radial-gradient(1px 1px at 33% 80%, rgba(255, 255, 255, .25), transparent),
    radial-gradient(1px 1px at 12% 62%, rgba(255, 255, 255, .2), transparent);
  background-size: 550px 550px, 650px 650px, 300px 300px, 400px 400px, 500px 500px, 350px 350px, 450px 450px;
}
.landing::after {
  content: ""; position: fixed; left: -50vw; top: -50vh; width: 200vw; height: 200vh;
  pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(var(--lav-rgb), .1) 0%, transparent 50%);
}
.l-wrap { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.l-hero { padding: 80px 20px 60px; text-align: center; }
.l-brand { margin-bottom: 30px; }
.l-mark {
  display: inline-block; width: 150px; height: 150px; margin-bottom: 26px; vertical-align: top;
  filter: drop-shadow(0 22px 70px rgba(236, 166, 255, .9));
  animation: l-float 6s ease-in-out infinite;
}
.l-name {
  font-size: 84px; line-height: 1; font-weight: 900; letter-spacing: -2px;
  background: linear-gradient(135deg, var(--lav) 0%, var(--pink) 50%, var(--lav) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 30px rgba(var(--lav-rgb), .65)) drop-shadow(0 0 60px rgba(255, 163, 255, .3));
  animation: l-sheen 8s ease-in-out infinite;
}
.l-tagline {
  font-size: 26px; line-height: 1.2; letter-spacing: .5px; color: rgba(197, 179, 255, .9);
  text-shadow: 0 2px 20px rgba(var(--lav-rgb), .3); margin-bottom: 50px;
}

.l-search { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 15px; margin-bottom: 30px; }
.l-filter {
  height: 60px; padding: 17px 34px; gap: 10px; font-size: 16px; font-weight: 700; letter-spacing: .5px;
  background: linear-gradient(135deg, var(--violet) 0%, var(--lav) 50%, var(--pink) 100%) 0 0 / 200% 100%;
  border-color: rgba(255, 255, 255, .2); border-radius: 60px;
  box-shadow: 0 8px 30px rgba(131, 122, 255, .5);
}
.l-filter:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 14px 40px rgba(131, 122, 255, .7); }
.l-searchbox { position: relative; flex: 1 1 300px; max-width: 650px; }
.l-searchbox input {
  width: 100%; height: 60px; padding: 18px 65px 18px 28px;
  font-size: 17px; color: #fff;
  background: rgba(var(--lav-rgb), .08); border: 2px solid rgba(var(--lav-rgb), .2); border-radius: 60px;
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  outline: none; -webkit-appearance: none; appearance: none;
  transition: transform .4s var(--ease), border-color .4s var(--ease), background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.l-searchbox input::placeholder, .h-search input::placeholder { color: rgba(197, 179, 255, .6); opacity: 1; }
.l-searchbox input::-webkit-search-cancel-button, .h-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.l-searchbox input:focus {
  transform: translateY(-2px); border-color: var(--lav); background: rgba(var(--lav-rgb), .15);
  box-shadow: 0 0 0 4px rgba(var(--lav-rgb), .15), 0 10px 40px rgba(var(--lav-rgb), .3);
}
.l-searchgo {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  color: var(--lav); font-size: 18px; transition: color .3s;
}
.l-searchgo:hover { color: #fff; }

.l-top { font-size: 14px; line-height: 1.25; color: var(--grey); margin-bottom: 32px; }
.l-top strong { color: #fff; font-weight: 700; margin-right: 10px; }
.l-top a { color: var(--lav); margin: 0 5px; transition: color .3s; }
.l-top a:hover { color: #fff; }

.l-cta {
  display: inline-block; margin-bottom: 50px; padding: 22px 60px; border-radius: 60px;
  font-size: 22px; line-height: 1.2; font-weight: 800; letter-spacing: .5px; color: #fff;
  background: linear-gradient(135deg, var(--lav) 0%, var(--violet) 50%, var(--pink) 100%) 0 0 / 200% 100%;
  border: 2px solid rgba(255, 255, 255, .3);
  box-shadow: 0 15px 50px rgba(var(--lav-rgb), .6), 0 0 60px rgba(255, 163, 255, .3);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-position .5s var(--ease);
}
.l-cta .ic { margin-left: 10px; vertical-align: -0.14em; }
.l-cta:hover { background-position: 100% 0; transform: translateY(-8px) scale(1.03); box-shadow: 0 25px 70px rgba(var(--lav-rgb), .8), 0 0 90px rgba(255, 163, 255, .5); }
.l-cta:active { transform: translateY(-3px); }

.l-panel {
  margin: 40px 0; padding: 80px 20px; border-radius: 20px; text-align: center;
  background: rgba(0, 0, 0, .3);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.l-title {
  font-size: 42px; line-height: 1.2; font-weight: 700; margin-bottom: 20px;
  background: linear-gradient(45deg, #fff, var(--grey));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.l-intro { max-width: 900px; margin: 0 auto 50px; font-size: 18px; line-height: 1.8; color: var(--grey); }
.l-features-title { font-size: 32px; line-height: 1.2; font-weight: 700; color: var(--lav); margin-bottom: 40px; }
.l-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 30px; margin-top: 40px; text-align: left; }
.l-card {
  position: relative; overflow: hidden; padding: 40px 35px; border-radius: 24px;
  background: linear-gradient(145deg, rgba(var(--lav-rgb), .1) 0%, rgba(131, 122, 255, .05) 100%);
  border: 1px solid rgba(var(--lav-rgb), .2);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  transition: transform .5s var(--ease), border-color .5s var(--ease), box-shadow .5s var(--ease);
}
.l-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: radial-gradient(circle at 30% 0%, rgba(var(--lav-rgb), .18), transparent 60%);
  transition: opacity .5s var(--ease);
}
.l-card:hover { transform: translateY(-15px) scale(1.02); border-color: rgba(var(--lav-rgb), .5); box-shadow: 0 25px 70px rgba(var(--lav-rgb), .3); }
.l-card:hover::before { opacity: 1; }
.l-icon {
  display: inline-block; height: 63px; margin-bottom: 24px; font-size: 52px; line-height: 63px;
  filter: drop-shadow(0 4px 20px rgba(var(--lav-rgb), .5));
  transition: transform .5s var(--ease);
}
.l-icon .ic { vertical-align: middle; }
.l-card:hover .l-icon { transform: scale(1.12) rotate(4deg); }
.l-card h3 { font-size: 24px; line-height: 1.2; font-weight: 700; letter-spacing: -.5px; margin-bottom: 16px; }
.l-card p { font-size: 16px; line-height: 1.7; color: rgba(197, 179, 255, .85); }

.l-footer { position: relative; z-index: 1; padding: 40px 20px; text-align: center; font-size: 14px; line-height: 1.25; color: #666; }
.l-footer a { color: var(--lav); transition: color .3s; }
.l-footer a:hover { color: #fff; }
.l-footer .l-small { font-size: 12px; margin-top: 10px; }

@keyframes l-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(1.5deg); } }
@keyframes l-sheen { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes l-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.l-brand, .l-tagline, .l-search, .l-top, .l-cta, .l-panel { animation: l-rise .7s var(--ease) both; }
.l-tagline { animation-delay: .08s; }
.l-search { animation-delay: .16s; }
.l-top { animation-delay: .22s; }
.l-cta { animation-delay: .28s; }
.l-panel { animation-delay: .34s; }

/* ====================================================================
   Catalogue view
   ==================================================================== */

.h-container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }

.h-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 20px 0;
  background: rgba(15, 10, 31, .7);
  -webkit-backdrop-filter: blur(20px) saturate(1.8); backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid rgba(var(--lav-rgb), .1);
}
.h-bar { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.h-logo { display: flex; align-items: center; gap: 12px; flex: none; }
.h-mark { width: 45px; height: 45px; display: block; transition: transform .3s; }
.h-logo:hover .h-mark { transform: scale(1.08) rotate(-4deg); }
.h-word { font-size: 32px; font-weight: 700; line-height: 1.6; letter-spacing: 2px; color: #fff; }
.h-word span { color: var(--lav); }

.h-nav { display: flex; gap: 30px; }
.h-nav a { position: relative; font-weight: 500; transition: color .3s; }
.h-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -5px; width: 100%; height: 3px; border-radius: 2px;
  background: var(--lav); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.h-nav a:hover, .h-nav a.active { color: var(--lav); }
.h-nav a.active::after, .h-nav a:hover::after { transform: scaleX(1); }

.h-actions { display: flex; align-items: center; gap: 15px; min-width: 0; }
.h-search { position: relative; display: block; min-width: 0; }
.h-search input {
  display: block; width: 250px; max-width: 100%; height: 39px; padding: 11px 45px 11px 18px;
  font-size: 13.33px; color: #fff;
  background: rgba(var(--lav-rgb), .08); border: 1px solid rgba(var(--lav-rgb), .2); border-radius: 50px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  outline: none; -webkit-appearance: none; appearance: none;
  transition: width .4s var(--ease), border-color .4s var(--ease), background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.h-search input:focus { width: 280px; border-color: var(--lav); background: rgba(var(--lav-rgb), .15); box-shadow: 0 0 0 3px rgba(var(--lav-rgb), .15); }
.h-search .ic { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); font-size: 16px; color: var(--soft); pointer-events: none; }
.h-filter { height: 40px; padding: 11px 22px; font-size: 14px; }
.h-menu-btn { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; font-size: 26px; color: #fff; border-radius: 10px; flex: none; }

/* featured slider */
.h-hero { position: relative; height: 650px; margin-top: 70px; overflow: hidden; border-radius: 0 0 40px 40px; }
.h-slides { position: relative; height: 100%; }
.h-slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  background-color: var(--panel); background-size: cover; background-position: center;
  opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s .5s;
}
.h-slide.active { opacity: 1; visibility: visible; transition: opacity .5s; }
.h-slide-box { width: 100%; max-width: 640px; margin: 0 auto; padding: 0 20px; }
.h-slide-content { max-width: 600px; }
.h-chip {
  display: inline-block; padding: 5px 15px; margin-bottom: 15px; border-radius: 20px;
  font-size: 14px; line-height: 1.6; background: rgba(var(--lav-rgb), .8);
}
.h-slide-title { font-size: 56px; line-height: 1.2; padding: .2em 0; font-weight: 700; margin-bottom: 15px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; text-shadow: 2px 2px 10px rgba(0, 0, 0, .8); overflow-wrap: anywhere; }
.h-slide-desc { font-size: 18px; line-height: 1.6; color: var(--soft); margin-bottom: 20px; text-shadow: 1px 1px 5px rgba(0, 0, 0, .8); }
.h-slide-meta { display: flex; gap: 20px; margin-bottom: 25px; }
.h-slide-meta span { display: flex; align-items: center; gap: 5px; }
.h-slide-actions { display: flex; gap: 15px; }
.h-slide-actions .btn .ic { font-size: 15px; }
.h-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  font-size: 20px; color: #fff; background: rgba(0, 0, 0, .5); transition: background-color .3s, transform .3s;
}
.h-arrow.prev { left: 20px; }
.h-arrow.next { right: 20px; }
.h-arrow:hover { background: rgba(var(--lav-rgb), .8); transform: translateY(-50%) scale(1.1); }

/* list banner */
.h-banner {
  margin-top: 92px; padding: 60px 20px; text-align: center;
  background: linear-gradient(135deg, rgba(131, 122, 255, .1), rgba(255, 163, 255, .08));
  border-bottom: 1px solid rgba(var(--lav-rgb), .1);
}
.h-banner h1 {
  display: inline-block; font-size: 48px; line-height: 1.6; font-weight: 800; letter-spacing: -.5px; margin-bottom: 10px;
  background: linear-gradient(135deg, var(--lav), var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent; overflow-wrap: anywhere;
}
.h-banner p { font-size: 18px; color: rgba(197, 179, 255, .85); letter-spacing: .3px; }

/* sections */
.h-section { position: relative; padding: 60px 0; }
#sections .h-section + .h-section::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(80%, 900px); height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--lav-rgb), .2), transparent);
}
.h-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.h-section-title {
  position: relative; font-size: 36px; line-height: 1.6; font-weight: 800; letter-spacing: -.5px;
  background: linear-gradient(135deg, var(--lav) 0%, var(--pink) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.h-section-title::after {
  content: ""; position: absolute; left: 0; bottom: -8px; width: 60px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--lav), transparent);
}
.h-more { display: flex; align-items: center; gap: 8px; color: var(--lav); transition: gap .3s, color .3s; }
.h-more:hover { gap: 12px; color: #fff; }

/* title cards */
.tc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 30px; }
.tc {
  position: relative; display: block; width: 100%; overflow: hidden; text-align: left; color: #fff;
  background: linear-gradient(145deg, rgba(26, 21, 37, .6), rgba(20, 15, 30, .8));
  border: 1px solid rgba(var(--lav-rgb), .1); border-radius: 20px;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.tc:hover, .tc:focus-visible {
  transform: translateY(-15px) scale(1.02); border-color: rgba(var(--lav-rgb), .4); z-index: 2;
  box-shadow: 0 20px 60px rgba(var(--lav-rgb), .3), 0 0 0 1px rgba(var(--lav-rgb), .3);
}
.tc-img { position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden; background-color: rgba(26, 21, 37, .9); }
.tc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tc:hover .tc-img img { transform: scale(1.06); }
.tc-noart { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 18px; font-size: 18px; font-weight: 700; line-height: 1.3; }
.tc-badge {
  position: absolute; top: 12px; right: 12px; z-index: 2; padding: 6px 14px; border-radius: 20px;
  font-size: 11px; line-height: 1.6; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  background: linear-gradient(135deg, var(--lav), var(--violet));
  border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 4px 15px rgba(var(--lav-rgb), .4);
}
.tc-over {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 15px;
  font-size: 14px; line-height: 1.5;
  background: linear-gradient(to top, rgba(0, 0, 0, .9), rgba(0, 0, 0, 0));
  opacity: 0; transition: opacity .3s;
}
.tc-play {
  position: absolute; left: 50%; top: 42%; width: 70px; height: 70px; margin: -35px 0 0 -35px; padding-left: 4px;
  display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 28px;
  background: linear-gradient(135deg, var(--lav), var(--pink));
  border: 2px solid rgba(255, 255, 255, .3); box-shadow: 0 10px 40px rgba(var(--lav-rgb), .6);
  opacity: 0; transform: scale(.5); transition: opacity .3s, transform .5s cubic-bezier(.68, -.55, .265, 1.55);
}
.tc:hover .tc-over, .tc:focus-visible .tc-over { opacity: 1; }
.tc:hover .tc-play, .tc:focus-visible .tc-play { opacity: 1; transform: scale(1); }
.tc-info { display: block; padding: 18px; }
.tc-title {
  display: block; margin-bottom: 10px; font-size: 15px; line-height: 1.6; font-weight: 700; letter-spacing: .3px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tc-meta { display: flex; align-items: center; justify-content: space-between; font-size: 13px; line-height: 1.6; color: var(--soft); }
.tc-rating {
  display: flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 12px;
  font-weight: 600; color: var(--gold);
  background: linear-gradient(135deg, rgba(255, 215, 0, .2), rgba(255, 193, 7, .15));
  border: 1px solid rgba(255, 215, 0, .3);
}

/* footer */
.h-footer {
  position: relative; margin-top: 100px; padding: 60px 0 30px;
  background: linear-gradient(180deg, rgba(26, 21, 37, .5) 0%, rgba(15, 10, 31, .9) 100%);
  border-top: 1px solid rgba(var(--lav-rgb), .12);
}
.h-footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.h-footer h3 { font-size: 18.72px; line-height: 1.6; font-weight: 700; color: var(--lav); margin-bottom: 20px; }
.h-footer h4 { font-size: 16px; font-weight: 700; color: var(--lav); margin-bottom: 20px; }
.h-footer p { line-height: 1.8; color: var(--soft); }
.h-footer li { margin-bottom: 10px; }
.h-footer li a { color: var(--soft); transition: color .3s; }
.h-footer li a:hover { color: #fff; }
.h-lang {
  display: flex; align-items: center; gap: 10px; max-width: 260px; height: 40px; padding: 0 14px; border-radius: 50px;
  background: rgba(255, 255, 255, .1); color: #fff; transition: background-color .3s;
}
.h-lang:hover, .h-lang:focus-within { background: rgba(var(--lav-rgb), .35); }
.h-lang select { flex: 1; min-width: 0; height: 100%; background: transparent; border: 0; outline: none; font-size: 14px; cursor: pointer; }
.h-lang option { color: #fff; background: var(--panel); }
.h-footer-bottom { padding-top: 20px; text-align: center; border-top: 1px solid rgba(var(--lav-rgb), .1); }
.h-footer-bottom p { font-size: 14px; line-height: 1.6; margin-bottom: 5px; }

/* ---------- drawers ---------- */

.scrim { position: fixed; inset: 0; z-index: 900; background: rgba(0, 0, 0, .7); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
.drawer-open .scrim { opacity: 1; visibility: visible; transition: opacity .3s; }
.drawer {
  position: fixed; top: 0; bottom: 0; z-index: 1000; overflow-y: auto; color: #fff;
  background: var(--violet); visibility: hidden;
}
.drawer-filter { right: -350px; width: 350px; max-width: 100%; box-shadow: -5px 0 15px rgba(0, 0, 0, .5); transition: right .3s, visibility 0s .3s; }
.drawer-filter.open { right: 0; visibility: visible; transition: right .3s; }
.drawer-menu { left: -300px; width: 300px; max-width: 100%; box-shadow: 5px 0 15px rgba(0, 0, 0, .5); transition: left .3s, visibility 0s .3s; }
.drawer-menu.open { left: 0; visibility: visible; transition: left .3s; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 24px; line-height: 1.6; font-weight: 700; }
.drawer-menu .drawer-head { background: var(--bar); }
.drawer-menu .drawer-head h3 { color: var(--lav); }
.drawer-close { width: 34px; height: 34px; display: grid; place-items: center; font-size: 22px; color: #fff; border-radius: 50%; transition: color .3s, transform .3s; }
.drawer-close:hover { color: var(--bar); transform: rotate(90deg); }
.drawer-menu .drawer-close:hover { color: var(--lav); }
.drawer-filter .drawer-body { padding: 20px; }
.drawer-menu .drawer-body { padding: 20px 0; }

.f-group { margin-bottom: 25px; }
.f-group label { display: block; margin-bottom: 10px; font-weight: 600; color: var(--soft); }
.f-group select {
  display: block; width: 100%; height: 44px; padding: 0 12px; font-size: 14px; color: #fff;
  background: var(--panel); border: 1px solid var(--line); border-radius: 5px;
}
.f-group select:focus { outline: none; border-color: var(--lav); box-shadow: 0 0 0 3px rgba(255, 255, 255, .25); }
.f-apply {
  display: block; width: 100%; padding: 12px; margin-top: 9px; border-radius: 5px;
  font-size: 16px; line-height: 18px; font-weight: 600; color: #fff; background: var(--lav);
  transition: background-color .3s, transform .3s;
}
.f-apply:hover { background: #a195ff; transform: translateY(-2px); }
.f-reset { display: block; width: 100%; margin-top: 12px; padding: 10px; font-size: 14px; color: rgba(255, 255, 255, .85); border-radius: 5px; transition: color .3s, background-color .3s; }
.f-reset:hover { color: #fff; background: rgba(15, 10, 31, .18); }

.m-link { display: flex; align-items: center; gap: 15px; padding: 15px 20px; font-weight: 500; color: #fff; transition: background-color .3s, padding-left .3s; }
.m-link .ic { width: 20px; height: 18px; }
.m-link:hover, .m-link.active { background: rgba(15, 10, 31, .25); padding-left: 26px; }
.m-link.small { padding: 12px 20px 12px 55px; font-size: 14px; font-weight: 400; }
.m-link.small:hover { padding-left: 61px; }
.m-rule { height: 1px; margin: 15px 0; background: var(--line); }
.drawer-menu h4 { padding: 15px 20px 10px; font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--soft); }

/* ---------- detail dialog ---------- */

dialog {
  width: min(860px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; overflow: auto; color: #fff;
  background: linear-gradient(145deg, #1d1630, #120c20);
  border: 1px solid rgba(var(--lav-rgb), .25); border-radius: 20px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .7), 0 0 60px rgba(var(--lav-rgb), .18);
}
dialog[open] { animation: l-rise .35s var(--ease) both; }
dialog::backdrop { background: rgba(5, 2, 8, .8); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.player { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; background: #000; }
.player:empty::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, #171027 0%, rgba(23, 16, 39, 0) 45%); }
.player video { width: 100%; height: 100%; }
.player .notice {
  max-width: 440px; margin: 16px; padding: 16px 22px; border-radius: 16px; text-align: center; font-size: 14px; color: var(--soft);
  background: rgba(15, 10, 31, .82); border: 1px solid rgba(var(--lav-rgb), .25);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.dialog-body { padding: 24px 28px 28px; }
.dialog-body h2 {
  font-size: 30px; line-height: 1.3; font-weight: 800; letter-spacing: -.5px; margin-bottom: 8px;
  background: linear-gradient(135deg, var(--lav), var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.dialog-body .meta { font-size: 14px; color: var(--soft); margin-bottom: 14px; }
.dialog-body p { color: rgba(255, 255, 255, .82); line-height: 1.7; }
.dialog-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.eps-tabs { display: flex; gap: 8px; overflow-x: auto; margin-top: 20px; padding-bottom: 4px; }
.eps-tabs button {
  padding: 7px 16px; border-radius: 20px; white-space: nowrap; font-size: 13px; font-weight: 600; color: var(--soft);
  background: rgba(var(--lav-rgb), .1); border: 1px solid rgba(var(--lav-rgb), .2); transition: background-color .3s, color .3s;
}
.eps-tabs button:hover { color: #fff; background: rgba(var(--lav-rgb), .2); }
.eps-tabs button[aria-selected="true"] { color: #fff; background: linear-gradient(135deg, var(--lav), var(--violet)); border-color: rgba(255, 255, 255, .2); }
.eps { margin-top: 12px; max-height: 250px; overflow-y: auto; display: grid; gap: 6px; padding-right: 4px; }
.eps button {
  width: 100%; padding: 10px 14px; text-align: left; font-size: 14px; border-radius: 10px;
  background: rgba(26, 21, 37, .9); border: 1px solid rgba(var(--lav-rgb), .1); transition: border-color .3s, background-color .3s;
}
.eps button:hover { border-color: rgba(var(--lav-rgb), .4); }
.eps button[aria-current="true"] { border-color: var(--lav); background: rgba(var(--lav-rgb), .16); }

/* ====================================================================
   Responsive
   ==================================================================== */

@media (max-width: 1024px) {
  .h-container { padding: 0 15px; }
  .h-hero { height: 500px; }
  .h-slide-title { font-size: 42px; }
  .h-slide-desc { font-size: 16px; }
  .tc-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
  .h-banner h1 { font-size: 40px; }
}

@media (max-width: 768px) {
  .l-mark { width: 142px; height: 142px; }
  .l-name { font-size: 32px; letter-spacing: -1px; }
  .l-tagline { font-size: 20px; }
  .l-search { flex-direction: column; align-items: stretch; }
  .l-filter { height: 54px; justify-content: flex-start; }
  .l-searchbox { flex: none; max-width: 100%; }
  .l-cta { font-size: 18px; padding: 15px 40px; }
  .l-title { font-size: 32px; }
  .l-features { grid-template-columns: 1fr; }

  .h-header { padding: 10px 0; }
  .h-bar { gap: 15px; }
  .h-nav { display: none; }
  .h-menu-btn { display: flex; }
  .h-actions { flex: 1; gap: 8px; }
  .h-search { flex: 1; }
  .h-search input, .h-search input:focus { width: 100%; height: 38px; padding: 10px 40px 10px 15px; font-size: 14px; }
  .h-filter { width: 48px; height: 44px; padding: 0; font-size: 16px; }
  .h-filter span { display: none; }

  .h-hero { height: 450px; margin-top: 60px; }
  .h-slide-box { max-width: none; padding: 0 15px; }
  .h-slide-content { max-width: none; }
  .h-slide-title { font-size: 32px; padding: 0; }
  .h-slide-desc { font-size: 14px; line-height: 1.5; margin-bottom: 15px; }
  .h-slide-meta { margin-bottom: 20px; }
  .h-slide-actions { flex-wrap: wrap; gap: 10px; }
  .h-slide-actions .btn { padding: 10px 20px; font-size: 14px; line-height: 22px; }
  .h-arrow { width: 40px; height: 40px; font-size: 16px; }
  .h-arrow.prev { left: 10px; }
  .h-arrow.next { right: 10px; }

  .h-banner { margin-top: 72px; padding: 40px 15px; }
  .h-banner h1 { font-size: 32px; }
  .h-banner p { font-size: 15px; }
  .h-section-head { flex-direction: column; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
  .h-section-title { font-size: 24px; }
  .h-more { font-size: 14px; }
  .tc-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .tc-title { font-size: 14px; }
  .tc-meta { font-size: 12px; }

  .h-footer { margin-top: 60px; padding: 40px 0 20px; }
  .h-footer-cols { grid-template-columns: 1fr; gap: 30px; }

  .dialog-body { padding: 20px; }
  .dialog-body h2 { font-size: 24px; }
  .dialog-actions .btn { padding: 10px 22px; font-size: 14px; }
}

@media (max-width: 480px) {
  .l-mark { width: 87px; height: 87px; margin-bottom: 22px; }
  .l-name { font-size: 24px; }
  .l-tagline { font-size: 16px; line-height: 1.25; }
  .l-top { font-size: 12px; }

  .h-container { padding: 0 12px; }
  .h-bar { gap: 8px; }
  .h-logo { gap: 6px; }
  .h-mark { width: 32px; height: 32px; }
  .h-word { font-size: 20px; letter-spacing: 1px; line-height: 40px; }
  .h-actions { gap: 6px; }
  .h-search input, .h-search input:focus { height: 37px; padding: 10px 35px 10px 12px; font-size: 13px; }
  .h-search .ic { right: 12px; font-size: 14px; }
  .h-filter { width: 40px; height: 40px; }
  .h-menu-btn { width: 40px; height: 40px; font-size: 24px; }

  .h-hero { height: 400px; margin-top: 55px; }
  .h-slide-box { padding: 0 22px; }
  .h-chip { font-size: 12px; padding: 4px 12px; }
  .h-slide-title { font-size: 24px; margin-bottom: 10px; }
  .h-slide-desc { font-size: 13px; margin-bottom: 12px; }
  .h-slide-meta { font-size: 13px; gap: 12px; margin-bottom: 18px; }
  .h-slide-actions { flex-direction: column; gap: 8px; }
  .h-slide-actions .btn { width: 100%; padding: 10px 15px; font-size: 13px; line-height: 21px; }
  .h-arrow { width: 35px; height: 35px; font-size: 14px; }
  .h-arrow.prev { left: 5px; }
  .h-arrow.next { right: 5px; }

  .h-banner { margin-top: 61px; padding: 30px 12px; }
  .h-banner h1 { font-size: 26px; }
  .h-section { padding: 30px 0; }
  .h-section-title { font-size: 20px; }
  .h-more { font-size: 13px; }
  .tc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tc-info { padding: 10px; }
  .tc-title { font-size: 13px; padding: 0 8px; }
  .tc-meta { font-size: 11px; }
  .tc-play { width: 54px; height: 54px; margin: -27px 0 0 -27px; font-size: 22px; }

  .h-footer { padding: 30px 0 15px; }
  .h-footer-cols { gap: 25px; }
}

@media (hover: none) {
  .tc:hover { transform: none; }
  .tc:hover .tc-over, .tc:hover .tc-play { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
