:root {
  --bg: #f4f4f6;
  --surface: #ffffff;
  --surface-2: #f9f9fb;
  --text: #18181d;
  --muted: #71717d;
  --line: #e5e5ea;
  --dark: #111116;
  --dark-2: #1a1a21;
  --accent: #e51b47;
  --accent-dark: #bd1036;
  --accent-soft: #fff0f4;
  --green: #0ca56e;
  --blue: #287ee8;
  --orange: #ed7b24;
  --shadow: 0 14px 38px rgba(22, 22, 28, .08);
  --radius: 16px;
  --container: 1500px;
}

body.light-mode {
  --dark: #ffffff;
  --dark-2: #f3f3f6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }
.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.age-strip { background: #08080b; color: #bcbcc5; font-size: 12px; }
.age-strip__inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.age-strip strong { color: #fff; background: var(--accent); border-radius: 5px; padding: 2px 6px; margin-right: 5px; }
.text-button { border: 0; color: #d6d6dd; background: transparent; padding: 4px 0; font-size: 12px; }
.text-button:hover { color: #fff; }

.site-header { background: var(--dark); color: #fff; position: relative; z-index: 20; box-shadow: 0 7px 20px rgba(0,0,0,.15); }
.header-main { min-height: 88px; display: grid; grid-template-columns: auto minmax(280px, 600px) auto; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: -1.1px; }
.brand__mark { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: #fff; font-size: 24px; font-style: italic; background: linear-gradient(135deg, #ff315d, #bd0a30); box-shadow: 0 8px 24px rgba(229,27,71,.28); transform: rotate(-4deg); }
.brand__text { font-size: 25px; }
.brand__text span { color: var(--accent); }
.search { height: 46px; display: flex; align-items: center; overflow: hidden; background: #fff; border: 2px solid transparent; border-radius: 9px; transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(229,27,71,.15); }
.search svg { width: 20px; margin-left: 15px; fill: none; stroke: #8a8a94; stroke-width: 2; stroke-linecap: round; }
.search input { width: 100%; height: 100%; min-width: 0; border: 0; outline: 0; padding: 0 13px; color: #19191e; background: transparent; }
.search button { height: 100%; border: 0; background: var(--accent); color: #fff; font-weight: 800; padding: 0 23px; transition: background .2s; }
.search button:hover { background: var(--accent-dark); }
.menu-button { display: none; width: 42px; height: 42px; border: 1px solid #34343d; border-radius: 8px; background: #1e1e25; padding: 10px; }
.menu-button span { display: block; height: 2px; background: #fff; margin: 4px 0; }
.main-nav { border-top: 1px solid #26262d; background: var(--dark-2); }
.main-nav__inner { display: flex; align-items: center; gap: 4px; min-height: 48px; }
.main-nav a { position: relative; padding: 13px 18px; color: #b7b7c0; font-size: 13px; font-weight: 700; }
.main-nav a:hover, .main-nav a.active { color: #fff; }
.main-nav a.active::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: 0; height: 3px; background: var(--accent); border-radius: 2px 2px 0 0; }

.trend-bar { background: #fff; border-bottom: 1px solid var(--line); }
.trend-bar__inner { min-height: 52px; display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.trend-label { flex: 0 0 auto; color: #22222a; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; margin-right: 4px; }
.trend-chip { flex: 0 0 auto; border: 1px solid var(--line); color: #6b6b75; background: var(--surface-2); border-radius: 999px; padding: 6px 11px; font-size: 12px; transition: .2s; }
.trend-chip:hover { color: var(--accent); border-color: #f6a8ba; background: var(--accent-soft); }

.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; padding-top: 28px; padding-bottom: 56px; align-items: start; }
.content-column { min-width: 0; }
.hero-panel { position: relative; min-height: 340px; overflow: hidden; display: grid; grid-template-columns: 1.2fr .8fr; background: radial-gradient(circle at 88% 18%, rgba(255,57,100,.18), transparent 32%), linear-gradient(135deg, #16161d 0%, #1f1f29 70%, #27151d 100%); color: #fff; border-radius: 20px; box-shadow: var(--shadow); }
.hero-panel::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: linear-gradient(90deg, var(--accent), #ff8ca7, transparent); }
.hero-panel__copy { z-index: 2; padding: 48px 44px; }
.eyebrow, .section-kicker, .sidebar-kicker { display: inline-block; color: #ff8ca7; font-size: 11px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.hero-panel h1 { max-width: 650px; margin: 8px 0 14px; font-size: clamp(29px, 4vw, 46px); line-height: 1.1; letter-spacing: -1.8px; }
.hero-panel p { max-width: 650px; color: #bdbdc7; margin: 0; font-size: 15px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 25px; }
.button { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 9px; padding: 9px 16px; font-size: 13px; font-weight: 800; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--accent); color: #fff; box-shadow: 0 9px 22px rgba(229,27,71,.2); }
.button--primary:hover { background: var(--accent-dark); }
.button--ghost { border-color: #44444e; background: rgba(255,255,255,.04); color: #fff; }
.button--ghost:hover { background: rgba(255,255,255,.09); border-color: #686874; }
.button--light { background: #fff; color: #111116; }
.hero-panel__visual { position: relative; min-height: 100%; }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; }
.orbit--one { width: 310px; height: 310px; top: 25px; right: -45px; }
.orbit--two { width: 205px; height: 205px; top: 78px; right: 8px; border-style: dashed; }
.hero-card { position: absolute; width: 118px; padding: 15px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.08); backdrop-filter: blur(10px); border-radius: 15px; box-shadow: 0 18px 40px rgba(0,0,0,.2); }
.hero-card span { display: block; color: #fff; font-size: 25px; font-weight: 900; }
.hero-card b { color: #aeadb8; font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.hero-card--one { top: 55px; right: 74px; transform: rotate(5deg); }
.hero-card--two { top: 175px; right: 155px; transform: rotate(-6deg); }
.hero-card--three { top: 210px; right: 24px; transform: rotate(4deg); }

.hero-slider {
  position: relative;
  min-height: 420px;
  display: block;
  padding: 0;
  background: #101015;
}
.hero-slider::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #ff8ca7, transparent);
  z-index: 3;
}
.hero-slider__track {
  position: relative;
  min-height: 420px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: stretch;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .5s ease, visibility .5s ease;
  background-position: center;
  background-size: cover;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.hero-slide .hero-panel__copy {
  position: relative;
  z-index: 2;
  padding: 48px 44px;
}
.hero-slide h1,
.hero-slide p,
.hero-slide .eyebrow,
.hero-slide .button { position: relative; z-index: 2; }
.hero-slide__stats {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 36px;
}
.hero-slide__stats::before,
.hero-slide__stats::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.11);
}
.hero-slide__stats::before {
  width: 320px;
  height: 320px;
}
.hero-slide__stats::after {
  width: 210px;
  height: 210px;
  border-style: dashed;
}
.hero-stat-card {
  width: 124px;
  min-height: 118px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 34px rgba(0,0,0,.24);
}
.hero-stat-card:nth-child(1) { transform: translateY(-58px) rotate(5deg); }
.hero-stat-card:nth-child(2) { transform: translateY(22px) rotate(-7deg); }
.hero-stat-card:nth-child(3) { transform: translateY(48px) rotate(4deg); }
.hero-stat-card span {
  display: block;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}
.hero-stat-card b {
  margin-top: 8px;
  color: #c8c8d0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.hero-slider__ui {
  position: absolute;
  right: 24px;
  bottom: 18px;
  left: 24px;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.hero-slider__arrows {
  display: flex;
  gap: 8px;
}
.hero-slider__arrow,
.hero-slider__dot {
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
}
.hero-slider__arrow {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #fff;
  font-size: 28px;
  line-height: 1;
}
.hero-slider__arrow:hover,
.hero-slider__dot:hover {
  background: rgba(255,255,255,.18);
}
.hero-slider__dots {
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-slider__dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 999px;
}
.hero-slider__dot.is-active {
  width: 34px;
  background: var(--accent);
  border-color: var(--accent);
}

.notice-box { margin: 18px 0 0; display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 12px 15px; background: var(--accent-soft); color: #8f1733; border: 1px solid #ffc4d1; border-radius: 10px; font-size: 13px; }
.notice-box button { border: 0; background: transparent; color: var(--accent); font-weight: 900; }
.directory-section { margin-top: 26px; padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 7px 24px rgba(30,30,40,.04); }
.directory-section[hidden] { display: none; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.section-kicker { color: var(--accent); }
.section-heading h2 { margin: 2px 0 2px; font-size: 25px; letter-spacing: -.6px; line-height: 1.3; }
.section-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.count-pill { flex: 0 0 auto; margin-top: 6px; border: 1px solid var(--line); background: var(--surface-2); border-radius: 999px; padding: 5px 10px; color: var(--muted); font-size: 11px; font-weight: 800; }
.site-list { display: grid; }
.site-card { position: relative; display: grid; grid-template-columns: 42px 82px minmax(0, 1fr) auto; align-items: center; gap: 15px; padding: 19px 0; border-bottom: 1px solid var(--line); transition: background .2s; }
.site-card:last-child { border-bottom: 0; padding-bottom: 0; }
.site-card[hidden] { display: none; }
.site-card:hover { background: linear-gradient(90deg, transparent, #fafafd, transparent); }
.rank { width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); font-size: 12px; font-weight: 900; }
.rank--gold { color: #875800; border-color: #f1d180; background: #fff5d8; }
.rank--silver { color: #5a626a; border-color: #ccd0d4; background: #f4f6f7; }
.rank--bronze { color: #87502d; border-color: #e2b398; background: #fff0e6; }
.thumb { width: 82px; height: 62px; position: relative; overflow: hidden; display: grid; place-items: center; border-radius: 10px; color: rgba(255,255,255,.93); font-weight: 900; letter-spacing: -.5px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.thumb::before, .mini-logo::before { content: ""; position: absolute; width: 45px; height: 45px; border: 9px solid rgba(255,255,255,.16); border-radius: 50%; top: -14px; right: -12px; }
.thumb span { position: relative; z-index: 2; font-size: 21px; }
.thumb--ruby { background: linear-gradient(135deg, #f12857, #7d0522); }
.thumb--violet { background: linear-gradient(135deg, #9f4ff0, #391766); }
.thumb--amber { background: linear-gradient(135deg, #ffad2e, #a84503); }
.thumb--blue { background: linear-gradient(135deg, #3e9cff, #17479f); }
.thumb--mint { background: linear-gradient(135deg, #28c894, #0b6253); }
.thumb--coral { background: linear-gradient(135deg, #ff7160, #9e2636); }
.site-card__body { min-width: 0; }
.site-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.site-title-row h3 { margin: 0; font-size: 18px; letter-spacing: -.25px; }
.verified { width: 17px; height: 17px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; font-size: 10px; font-weight: 900; }
.badge { border-radius: 5px; padding: 3px 6px; font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.badge--green { color: #08734e; background: #e5f8f0; }
.badge--blue { color: #175ca9; background: #e9f3ff; }
.badge--orange { color: #9a4a0d; background: #fff0e2; }
.badge--pink { color: #a3143d; background: #ffe8ef; }
.badge--gray { color: #5a5a63; background: #eeeeF2; }
.rating { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin: 2px 0 5px; font-size: 11px; }
.rating span { color: #f4a623; letter-spacing: 1px; }
.rating b { color: #37373e; }
.rating small { color: #9a9aa3; }
.site-card p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.meta-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.meta-tags span { border: 1px solid var(--line); background: var(--surface-2); border-radius: 5px; padding: 2px 6px; color: #7c7c86; font-size: 9px; font-weight: 700; }
.visit-button { min-height: 38px; display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; color: #3c3c45; background: #fff; font-size: 11px; font-weight: 900; transition: .2s; }
.visit-button:hover { color: #fff; border-color: var(--accent); background: var(--accent); transform: translateY(-1px); }
.visit-button span { font-size: 14px; }

.compact-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; padding-top: 18px; }
.compact-card { min-width: 0; display: grid; grid-template-columns: 46px minmax(0,1fr) auto; gap: 11px; align-items: center; padding: 11px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); transition: .2s; }
.compact-card[hidden] { display: none; }
.compact-card:hover { background: #fff; border-color: #f0a1b3; box-shadow: 0 8px 20px rgba(20,20,25,.06); transform: translateY(-2px); }
.mini-logo { width: 46px; height: 38px; position: relative; overflow: hidden; display: grid; place-items: center; border-radius: 7px; color: #fff; font-size: 11px; font-weight: 900; }
.compact-card > span:nth-child(2) { min-width: 0; display: flex; flex-direction: column; }
.compact-card b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.compact-card small { color: var(--muted); font-size: 10px; }
.compact-card em { color: #f19a14; font-size: 11px; font-weight: 900; font-style: normal; }

.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px; padding-top: 18px; }
.feature-card { position: relative; min-height: 190px; overflow: hidden; border: 1px solid var(--line); border-radius: 13px; padding: 22px; background: linear-gradient(145deg, #fff, #f7f7fa); }
.feature-card[hidden] { display: none; }
.feature-card::after { content: ""; position: absolute; width: 90px; height: 90px; right: -35px; bottom: -35px; border-radius: 50%; background: var(--accent-soft); }
.feature-icon { width: 38px; height: 38px; display: grid; place-items: center; color: var(--accent); background: var(--accent-soft); border-radius: 9px; font-size: 20px; }
.live-dot { position: absolute; top: 22px; right: 22px; color: #fff; background: var(--accent); border-radius: 5px; padding: 3px 6px; font-size: 8px; font-weight: 900; letter-spacing: .08em; }
.feature-card h3 { margin: 16px 0 3px; font-size: 17px; }
.feature-card p { margin: 0 0 15px; color: var(--muted); font-size: 12px; }
.feature-card a { position: relative; z-index: 2; color: var(--accent); font-size: 11px; font-weight: 900; }

.premium-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 13px; padding-top: 18px; }
.premium-card { border: 1px solid var(--line); border-radius: 13px; padding: 20px; background: var(--surface-2); }
.premium-card[hidden] { display: none; }
.premium-card:first-child { color: #fff; border-color: #292932; background: linear-gradient(145deg, #18181f, #2b1a21); }
.premium-label { color: var(--accent); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.premium-card:first-child .premium-label { color: #ff8da5; }
.premium-card h3 { margin: 3px 0 7px; font-size: 18px; }
.premium-card p { min-height: 57px; margin: 0; color: var(--muted); font-size: 11px; }
.premium-card:first-child p { color: #bdbdc7; }
.premium-card ul { list-style: none; padding: 0; margin: 15px 0; }
.premium-card li { position: relative; padding: 5px 0 5px 17px; color: var(--muted); font-size: 10px; }
.premium-card:first-child li { color: #c4c4cc; }
.premium-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.premium-card .button { width: 100%; }
.premium-card:not(:first-child) .button--ghost { color: #33333b; border-color: var(--line); background: #fff; }

.sidebar { display: grid; gap: 18px; position: sticky; top: 18px; }
.sidebar-card { padding: 21px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 7px 24px rgba(30,30,40,.04); }
.sidebar-card--accent { border-top: 4px solid var(--accent); }
.sidebar-kicker { color: var(--accent); }
.sidebar-card h2 { margin: 2px 0 14px; font-size: 18px; letter-spacing: -.3px; }
.category-list { display: grid; }
.category-list button { display: flex; align-items: center; justify-content: space-between; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 10px 0; color: #414149; text-align: left; font-size: 12px; }
.category-list button:last-child { border-bottom: 0; padding-bottom: 0; }
.category-list button:hover span { color: var(--accent); transform: translateX(3px); }
.category-list span { transition: .2s; }
.category-list b { min-width: 28px; border-radius: 999px; color: #90909a; background: var(--surface-2); padding: 2px 6px; text-align: center; font-size: 9px; }
.sidebar-title-row { display: flex; align-items: center; justify-content: space-between; }
.sidebar-title-row span { color: var(--accent); }
.weekly-list { list-style: none; padding: 0; margin: 0; }
.weekly-list li { display: grid; grid-template-columns: 26px minmax(0,1fr) auto; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.weekly-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.weekly-list li > span { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); color: #6f6f78; font-size: 9px; font-weight: 900; }
.weekly-list div { min-width: 0; display: flex; flex-direction: column; }
.weekly-list b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.weekly-list small { color: var(--muted); font-size: 9px; }
.weekly-list em { color: var(--green); font-size: 11px; font-style: normal; font-weight: 900; }
.weekly-list li:nth-child(4) em { color: var(--accent); }
.deal-card { position: relative; overflow: hidden; color: #fff; border: 0; background: radial-gradient(circle at 90% 10%, rgba(255,255,255,.18), transparent 30%), linear-gradient(135deg, #e51b47, #9b0e2c); }
.deal-card::after { content: ""; position: absolute; width: 120px; height: 120px; right: -55px; bottom: -55px; border: 18px solid rgba(255,255,255,.08); border-radius: 50%; }
.deal-card__badge { border-radius: 5px; padding: 3px 7px; color: #9b0e2c; background: #fff; font-size: 8px; font-weight: 900; }
.deal-card h2 { margin: 10px 0 4px; }
.deal-card p { margin: 0 0 15px; color: #ffd6e0; font-size: 11px; }
.deal-card .button { position: relative; z-index: 2; }
.info-card p { color: var(--muted); font-size: 11px; }
.info-card a { color: var(--accent); font-size: 11px; font-weight: 900; }

.empty-state { margin-top: 26px; padding: 70px 25px; text-align: center; border: 1px dashed #d0d0d7; border-radius: var(--radius); background: var(--surface); }
.empty-state > div { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 12px; border-radius: 50%; color: var(--accent); background: var(--accent-soft); font-size: 28px; }
.empty-state h2 { margin: 0; }
.empty-state p { margin: 6px auto 18px; max-width: 450px; color: var(--muted); }

.site-footer { color: #b7b7c0; background: #101015; }
.footer-grid { display: grid; grid-template-columns: 1.7fr repeat(3, 1fr); gap: 45px; padding-top: 52px; padding-bottom: 40px; }
.brand--footer { color: #fff; }
.footer-grid > div:first-child p { max-width: 400px; color: #7f7f89; font-size: 12px; }
.footer-grid h2 { margin: 0 0 12px; color: #fff; font-size: 13px; }
.footer-grid div:not(:first-child) { display: flex; flex-direction: column; align-items: flex-start; }
.footer-grid div:not(:first-child) a { padding: 4px 0; color: #8d8d97; font-size: 11px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid #26262d; color: #777781; font-size: 10px; }
.footer-bottom strong { color: #fff; }
.back-to-top { position: fixed; right: 22px; bottom: 22px; width: 42px; height: 42px; z-index: 30; border: 0; border-radius: 10px; color: #fff; background: var(--accent); box-shadow: 0 10px 28px rgba(229,27,71,.3); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .2s; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

body.light-mode .site-header { color: #1c1c22; border-bottom: 1px solid var(--line); }
body.light-mode .main-nav { border-top-color: var(--line); }
body.light-mode .main-nav a { color: #5c5c66; }
body.light-mode .main-nav a:hover, body.light-mode .main-nav a.active { color: var(--accent); }
body.light-mode .brand__text { color: #1b1b20; }
body.light-mode .menu-button { background: #efeff2; border-color: #dddde3; }
body.light-mode .menu-button span { background: #222; }

@media (min-width: 1400px) {
  .page-grid { grid-template-columns: minmax(0, 1fr) 350px; gap: 30px; }
  .hero-panel h1 { max-width: 760px; }
  .hero-slide .hero-panel__copy { padding-left: 52px; padding-right: 52px; }
  .directory-section { padding-left: 30px; padding-right: 30px; }
}

@media (max-width: 1050px) {
  .page-grid { grid-template-columns: minmax(0,1fr) 285px; gap: 20px; }
  .header-main { gap: 22px; }
  .hero-panel { grid-template-columns: 1fr .65fr; }
  .hero-panel__copy { padding: 40px 35px; }
  .hero-slide { grid-template-columns: 1fr .75fr; }
  .hero-slide .hero-panel__copy { padding: 40px 35px; }
  .hero-slide__stats { gap: 16px; padding: 34px 28px; }
  .hero-stat-card { width: 112px; min-height: 108px; }
  .premium-grid { grid-template-columns: 1fr; }
  .premium-card p { min-height: 0; }
}

@media (max-width: 860px) {
  .header-main { min-height: 75px; grid-template-columns: auto 1fr auto; }
  .search { grid-column: 1 / -1; margin-bottom: 16px; }
  .menu-button { display: block; justify-self: end; }
  .main-nav { display: none; }
  .main-nav.open { display: block; }
  .main-nav__inner { align-items: stretch; flex-direction: column; padding: 10px 0; }
  .main-nav a { padding: 9px 0; }
  .main-nav a.active::after { display: none; }
  .page-grid { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: repeat(2, minmax(0,1fr)); position: static; }
  .sidebar-card--accent, .deal-card { grid-row: span 2; }
  .hero-panel { grid-template-columns: 1fr; }
  .hero-panel__visual { display: none; }
  .hero-slider { min-height: 400px; }
  .hero-slider__track { min-height: 400px; }
  .hero-slide { grid-template-columns: 1fr; }
  .hero-slide__stats { display: none; }
  .hero-slider__ui { left: 18px; right: 18px; bottom: 14px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 22px), var(--container)); }
  .age-strip__inner { min-height: 40px; }
  .age-strip__inner > span { max-width: 72%; line-height: 1.35; }
  .header-main { grid-template-columns: 1fr auto; gap: 12px; }
  .brand__mark { width: 38px; height: 38px; }
  .brand__text { font-size: 22px; }
  .search { height: 44px; }
  .search button { padding-inline: 17px; }
  .trend-bar__inner { min-height: 48px; }
  .page-grid { padding-top: 15px; }
  .hero-panel { min-height: auto; border-radius: 15px; }
  .hero-panel__copy { padding: 32px 23px; }
  .hero-panel h1 { font-size: 31px; letter-spacing: -1.1px; }
  .hero-slider { min-height: 390px; }
  .hero-slider__track { min-height: 390px; }
  .hero-slide .hero-panel__copy { padding: 32px 23px 84px; }
  .hero-slider__ui { align-items: center; }
  .hero-slider__arrow { width: 38px; height: 38px; font-size: 24px; }
  .hero-slider__dot { width: 11px; height: 11px; }
  .hero-slider__dot.is-active { width: 28px; }
  .directory-section { margin-top: 15px; padding: 20px 16px; border-radius: 13px; }
  .section-heading { gap: 10px; }
  .section-heading h2 { font-size: 22px; }
  .count-pill { display: none; }
  .site-card { grid-template-columns: 31px 62px minmax(0,1fr); align-items: start; gap: 10px; }
  .rank { width: 27px; height: 27px; }
  .thumb { width: 62px; height: 52px; }
  .site-title-row h3 { font-size: 16px; }
  .site-card p { display: none; }
  .visit-button { grid-column: 2 / -1; width: 100%; justify-content: center; margin-top: -2px; }
  .compact-grid, .feature-grid, .sidebar, .footer-grid { grid-template-columns: 1fr; }
  .sidebar-card--accent, .deal-card { grid-row: auto; }
  .footer-grid { gap: 26px; padding-top: 40px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 17px; }
  .footer-bottom p { margin: 0; }
}

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

/* Category list wall */
.directory-section.category-wall-section {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.category-wall-section .section-heading {
  padding: 0 0 16px;
}
.category-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.list-panel {
  --panel-color: #2c93b4;
  --panel-soft: #e7f7fc;
  min-width: 0;
  height: 520px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 2px solid var(--panel-color);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(26, 31, 40, .07);
}
.list-panel[hidden] { display: none; }
.list-panel--cyan { --panel-color: #3193b3; --panel-soft: #e6f7fc; }
.list-panel--blue { --panel-color: #3d9bb5; --panel-soft: #e8f8fc; }
.list-panel--green { --panel-color: #56c664; --panel-soft: #ebfaed; }
.list-panel--orange { --panel-color: #f39a16; --panel-soft: #fff4e1; }
.list-panel--mint { --panel-color: #45a26d; --panel-soft: #e9f7ef; }
.list-panel--violet { --panel-color: #9b67dd; --panel-soft: #f2eafb; }
.list-panel--pink { --panel-color: #e56b99; --panel-soft: #fdebf2; }
.list-panel--red { --panel-color: #e86670; --panel-soft: #feedef; }
.list-panel__header {
  min-height: 132px;
  padding: 16px 14px 12px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-soft), var(--surface) 86%);
}
.list-panel__icon {
  min-width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 4px;
  padding: 0 7px;
  border: 1px solid var(--panel-color);
  border-radius: 10px;
  color: var(--panel-color);
  background: #fff;
  font-size: 17px;
  font-weight: 1000;
  line-height: 1;
  box-shadow: 0 5px 12px rgba(20, 25, 35, .08);
}
.list-panel__header h3 {
  margin: 0;
  color: #4a4a52;
  font-size: 15px;
  line-height: 1.25;
  letter-spacing: -.2px;
  text-transform: uppercase;
}
.list-panel__header h3::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin: 8px auto;
  border-radius: 999px;
  background: var(--panel-color);
}
.list-panel__header p {
  margin: 0 auto;
  max-width: 255px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}
.ranked-links {
  min-height: 0;
  flex: 1;
  margin: 0;
  padding: 9px 10px 9px 39px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #a9a9b1 transparent;
}
.ranked-links::-webkit-scrollbar { width: 5px; }
.ranked-links::-webkit-scrollbar-thumb { background: #aaaab2; border-radius: 99px; }
.ranked-links li {
  position: relative;
  min-height: 29px;
  padding: 3px 2px;
  color: #92929a;
  font-size: 10px;
  line-height: 1.3;
}
.ranked-links li::marker {
  color: #909099;
  font-size: 9px;
}
.ranked-links li:hover a { color: var(--panel-color); }
.ranked-links a {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: calc(100% - 30px);
  overflow: hidden;
  color: #222229;
  font-size: 12px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color .18s;
}
.site-dot {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 8px;
  font-weight: 1000;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.25);
}
.site-dot--ruby { background: #d91f4d; }
.site-dot--black { background: #17171c; }
.site-dot--blue { background: #2689de; }
.site-dot--violet { background: #8650d2; }
.site-dot--orange { background: #ef8b1f; }
.site-dot--green { background: #2fad68; }
.site-dot--pink { background: #eb5b9b; }
.site-dot--navy { background: #294f8d; }
.site-dot--coral { background: #e55e55; }
.site-dot--gold { background: #d69a13; }
.site-dot--teal { background: #258d89; }
.site-dot--purple { background: #6e47aa; }
.mini-badge {
  display: inline-block;
  margin-left: 3px;
  padding: 1px 4px;
  border-radius: 3px;
  color: #fff;
  background: #2698bd;
  font-size: 7px;
  font-weight: 1000;
  line-height: 1.45;
  vertical-align: middle;
}
.mini-badge--ai { background: #009bd0; }
.mini-badge--new { color: #805200; background: #ffd65b; }
.mini-badge--hot { background: #e3294e; }
.mini-badge--live { background: #54b95f; }
.trend-up {
  margin-left: 3px;
  color: #24b15c;
  font-size: 13px;
  font-weight: 1000;
}
.list-panel__cta {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0 10px 10px;
  border-radius: 9px;
  color: #fff;
  background: var(--panel-color);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  transition: filter .2s, transform .2s;
}
.list-panel__cta:hover {
  filter: brightness(.92);
  transform: translateY(-1px);
}
.list-panel__cta span { font-size: 17px; line-height: 1; }

@media (max-width: 640px) {
  .directory-section.category-wall-section { padding: 0; }
  .category-wall { grid-template-columns: 1fr; }
  .list-panel { height: 500px; }
  .list-panel__header { min-height: 126px; }
}

/* Movie card showcase */
.movie-showcase {
  margin-top: 22px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid #252933;
  border-radius: 18px;
  color: #f7f7fa;
  background:
    radial-gradient(circle at 92% 8%, rgba(229, 27, 71, .13), transparent 24%),
    linear-gradient(145deg, #090b10, #0f1219 65%, #0b0d12);
  box-shadow: 0 14px 38px rgba(15, 18, 25, .15);
}
.movie-strip + .movie-strip {
  margin-top: 34px;
}
.movie-strip__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}
.movie-strip__heading h2 {
  margin: 0;
  color: #fff;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -.35px;
}
.movie-strip__heading h2 span {
  margin-right: 3px;
  font-size: 20px;
}
.movie-view-all {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  color: #b8c1d5;
  background: transparent;
  padding: 5px 0;
  font-size: 11px;
  font-weight: 700;
  transition: color .2s;
}
.movie-view-all:hover {
  color: #fff;
}
.movie-view-all span {
  font-size: 20px;
  line-height: .8;
}
.movie-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 170px;
  gap: 15px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 8px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: #3b4150 transparent;
}
.movie-carousel::-webkit-scrollbar {
  height: 6px;
}
.movie-carousel::-webkit-scrollbar-track {
  background: transparent;
}
.movie-carousel::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #3b4150;
}
.movie-strip.is-expanded .movie-carousel {
  grid-auto-flow: row;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  grid-auto-columns: unset;
  overflow: visible;
}
.movie-card {
  min-width: 0;
  scroll-snap-align: start;
}
.movie-card__poster {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 11px;
  background: #1a1e28;
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
}
.movie-card__poster::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.46));
}
.movie-card__poster img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .32s ease, filter .32s ease;
}
.movie-card:hover .movie-card__poster img {
  transform: scale(1.045);
  filter: brightness(1.06);
}
.movie-badge,
.movie-rating {
  position: absolute;
  z-index: 2;
  border-radius: 5px;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
}
.movie-badge {
  top: 9px;
  left: 9px;
  padding: 4px 7px;
  letter-spacing: .02em;
}
.movie-badge--hot,
.movie-badge--new {
  background: #f41427;
}
.movie-rating {
  right: 8px;
  bottom: 8px;
  padding: 4px 7px;
  color: #ffc107;
  background: rgba(5, 7, 10, .86);
  backdrop-filter: blur(5px);
}
.movie-card h3 {
  margin: 9px 0 2px;
  overflow: hidden;
  color: #fff;
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.movie-card h3 a:hover {
  color: #ff7897;
}
.movie-card p {
  margin: 0;
  overflow: hidden;
  color: #8e9ab3;
  font-size: 10px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 1400px) {
  .movie-carousel {
    grid-auto-columns: 180px;
    gap: 16px;
  }
}

@media (max-width: 860px) {
  .movie-showcase {
    padding: 20px;
  }
  .movie-carousel {
    grid-auto-columns: 160px;
  }
}

@media (max-width: 640px) {
  .movie-showcase {
    margin-top: 15px;
    padding: 18px 14px;
    border-radius: 14px;
  }
  .movie-strip + .movie-strip {
    margin-top: 28px;
  }
  .movie-strip__heading h2 {
    font-size: 18px;
  }
  .movie-carousel {
    grid-auto-columns: 145px;
    gap: 12px;
  }
  .movie-strip.is-expanded .movie-carousel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* Article content template */
.article-template {
  overflow: visible;
}
.article-heading {
  align-items: center;
}
.article-content {
  padding-top: 22px;
}
.article-cover {
  margin: 0;
}
.article-cover img {
  width: 100%;
  aspect-ratio: 1200 / 630;
  display: block;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #171820;
}
.article-cover figcaption {
  margin-top: 7px;
  color: var(--muted);
  font-size: 10px;
  text-align: right;
}
.article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 20px;
  margin: 20px 0 24px;
  padding: 12px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  background: var(--surface-2);
  font-size: 11px;
}
.article-meta span {
  position: relative;
}
.article-meta span:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -11px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #b7b7c0;
  transform: translateY(-50%);
}
.article-meta strong {
  color: var(--text);
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  align-items: start;
  gap: 34px;
}
.article-main {
  min-width: 0;
  color: #4f4f59;
  font-size: 14px;
  line-height: 1.85;
}
.article-main p {
  margin: 0 0 17px;
}
.article-main .article-lead {
  margin-bottom: 25px;
  padding-left: 18px;
  border-left: 4px solid var(--accent);
  color: #34343d;
  font-size: 16px;
  line-height: 1.75;
}
.article-main h3 {
  margin: 30px 0 10px;
  color: var(--text);
  font-size: 21px;
  line-height: 1.4;
  letter-spacing: -.35px;
  scroll-margin-top: 24px;
}
.article-main h3:first-of-type {
  margin-top: 0;
}
.article-list,
.article-steps {
  margin: 0 0 22px;
  padding-left: 20px;
}
.article-list li,
.article-steps li {
  margin: 8px 0;
  padding-left: 5px;
}
.article-list li::marker,
.article-steps li::marker {
  color: var(--accent);
  font-weight: 900;
}
.article-note {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  margin: 26px 0;
  padding: 17px;
  border: 1px solid #ffc3d0;
  border-radius: 12px;
  color: #6c2638;
  background: var(--accent-soft);
}
.article-note__icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-weight: 900;
}
.article-note strong {
  display: block;
  margin-bottom: 3px;
  color: #8f1733;
}
.article-note p {
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
}
.article-quote {
  position: relative;
  margin: 28px 0;
  padding: 22px 24px 22px 58px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: linear-gradient(135deg, #17171e, #2b1821);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
}
.article-quote::before {
  content: "“";
  position: absolute;
  top: 4px;
  left: 20px;
  color: #ff7796;
  font-size: 54px;
  line-height: 1;
}
.article-aside {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 14px;
}
.article-toc,
.article-share {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
}
.article-toc {
  padding: 17px;
}
.article-toc__label {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.article-toc a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: #50505a;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
}
.article-toc a:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.article-toc a:hover {
  color: var(--accent);
}
.article-toc a span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 9px;
  font-weight: 900;
}
.article-share {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 15px;
}
.article-share strong {
  color: #474750;
  font-size: 11px;
}
.article-share > div {
  display: flex;
  gap: 6px;
}
.article-share a {
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #555560;
  background: #fff;
  font-size: 11px;
  font-weight: 900;
}
.article-share a:hover {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

@media (max-width: 860px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-aside {
    position: static;
    grid-row: 1;
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .article-share {
    align-self: start;
  }
}

@media (max-width: 640px) {
  .article-content {
    padding-top: 18px;
  }
  .article-cover img {
    border-radius: 10px;
  }
  .article-cover figcaption {
    text-align: left;
  }
  .article-meta {
    display: grid;
    gap: 5px;
    margin: 15px 0 19px;
  }
  .article-meta span::after {
    display: none;
  }
  .article-aside {
    grid-template-columns: 1fr;
  }
  .article-main {
    font-size: 13px;
  }
  .article-main .article-lead {
    font-size: 14px;
  }
  .article-main h3 {
    font-size: 19px;
  }
  .article-note {
    grid-template-columns: 32px minmax(0, 1fr);
    padding: 14px;
  }
  .article-note__icon {
    width: 31px;
    height: 31px;
  }
  .article-quote {
    padding: 20px 18px 20px 48px;
    font-size: 13px;
  }
  .article-quote::before {
    left: 15px;
    font-size: 46px;
  }
}
