:root {
  --bg: #f7f8fc;
  --bg-dark: #0b1220;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --blue: #1a56db;
  --blue-dark: #1240a8;
  --gold: #c9a227;
  --gold-soft: #f5e7b2;
  --orange: #f97316;
  --border: #e2e8f0;
  --shadow: 0 12px 40px rgba(15, 23, 42, .08);
  --radius: 18px;
  --radius-sm: 12px;
  --font: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: "Trebuchet MS", "Segoe UI", sans-serif;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(226,232,240,.9);
  box-shadow: 0 4px 20px rgba(15,23,42,.04);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .7rem 0;
}
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: inherit; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.nav-links {
  display: flex; align-items: center; gap: .2rem;
  background: #f1f5f9; border-radius: 999px; padding: .25rem;
}
.nav-link {
  color: #475569; font-weight: 700; font-size: .88rem; text-decoration: none;
  padding: .5rem .9rem; border-radius: 999px; transition: .15s ease;
}
.nav-link:hover { color: var(--blue); background: #fff; text-decoration: none; }
.nav-link.is-active {
  color: #fff; background: linear-gradient(135deg, var(--blue), #3b82f6);
  box-shadow: 0 4px 12px rgba(26,86,219,.28);
}
.nav-cta { display: flex; gap: .5rem; align-items: center; }
.menu-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--border);
  background: #fff; border-radius: 12px; cursor: pointer;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.menu-toggle span {
  display: block; width: 18px; height: 2px; background: #0f172a; border-radius: 2px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  border: 0; border-radius: 999px; padding: .75rem 1.25rem;
  font-weight: 700; cursor: pointer; text-decoration: none; transition: .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--blue), #3b82f6); color: #fff; box-shadow: 0 8px 20px rgba(26,86,219,.28); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-gold { background: linear-gradient(135deg, var(--gold), #e4c35a); color: #1a1300; }
.btn-outline { background: transparent; border: 1.5px solid var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: .45rem .9rem; font-size: .85rem; }

.hero {
  padding: 3.5rem 0 2.5rem;
  display: grid; gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.1fr .9fr; padding: 4.5rem 0 3rem; }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .4rem;
  background: #fff; border: 1px solid var(--border); color: var(--blue);
  border-radius: 999px; padding: .35rem .8rem; font-size: .8rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
}
.hero h1 {
  font-family: var(--display); font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  line-height: 1.08; margin: .9rem 0 .75rem; letter-spacing: -.02em;
}
.hero p.lead { font-size: 1.1rem; color: var(--muted); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero-visual {
  border-radius: 28px; overflow: hidden; min-height: 320px;
  box-shadow: var(--shadow); position: relative; background: #111;
}
.hero-slide {
  position: absolute; inset: 0;
  background: center/cover no-repeat;
  opacity: 0; transition: opacity .7s ease;
}
.hero-slide.is-active { opacity: 1; }
.hero-visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(15,23,42,.1), rgba(15,23,42,.45));
  pointer-events: none;
}
.hero-visual .badge-float {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2;
  background: rgba(255,255,255,.95); padding: .7rem 1rem; border-radius: 14px;
  font-weight: 700; font-size: .9rem; color: var(--text); text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,.18); transition: .15s ease;
}
.hero-visual .badge-float:hover {
  transform: translateY(-2px); text-decoration: none; color: var(--blue);
}
.hero-dots {
  position: absolute; right: 1rem; bottom: 1rem; z-index: 2;
  display: flex; gap: .35rem;
}
.hero-dots button {
  width: 8px; height: 8px; border-radius: 99px; border: 0; padding: 0;
  background: rgba(255,255,255,.45); cursor: pointer;
}
.hero-dots button.is-active { background: #fff; width: 18px; }

.section { padding: 3.5rem 0; }
.section-dark {
  background: var(--bg-dark); color: #fff;
  background-image:
    radial-gradient(800px 300px at 20% 0%, rgba(26,86,219,.35), transparent 60%),
    radial-gradient(600px 280px at 90% 20%, rgba(201,162,39,.2), transparent 55%);
}
.section-dark .muted { color: #94a3b8; }
.section-head { text-align: center; margin-bottom: 2rem; }
.section-head h2 {
  font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin: .5rem 0; letter-spacing: -.02em;
}
.section-head p { color: var(--muted); max-width: 40rem; margin: 0 auto; }
.section-dark .section-head p { color: #94a3b8; }
.pill-badge {
  display: inline-flex; gap: .35rem; align-items: center;
  border: 1px solid rgba(249,115,22,.5); color: #fdba74;
  border-radius: 999px; padding: .3rem .75rem; font-size: .78rem; font-weight: 700;
}

.top10-controls { display: flex; justify-content: flex-end; gap: .5rem; margin-bottom: 1rem; }
.chip {
  border: 0; border-radius: 999px; padding: .45rem .9rem; font-weight: 700;
  background: #1e293b; color: #cbd5e1; cursor: pointer;
}
.chip.is-active { background: var(--orange); color: #fff; }

.carousel {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: .5rem; -webkit-overflow-scrolling: touch;
}
.carousel::-webkit-scrollbar { height: 6px; }
.carousel::-webkit-scrollbar-thumb { background: #334155; border-radius: 99px; }
.carousel.loop-track { animation: none; width: auto; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.media-card { flex: 0 0 160px; }
.media-card img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.poster-grid--compact {
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px) {
  .poster-grid--compact { grid-template-columns: repeat(4, 1fr); }
}
.section-soft { background: #fff7ed; }
.section-faq { padding-top: 1rem; }

/* Showcase cinematográfico */
.showcase-section {
  position: relative;
  overflow: hidden;
}
.showcase-section--cinema {
  background:
    radial-gradient(900px 420px at 10% 0%, rgba(26,86,219,.18), transparent 60%),
    radial-gradient(700px 380px at 90% 30%, rgba(249,115,22,.14), transparent 55%),
    #0b1220;
  color: #fff;
}
.showcase-section--dorama {
  background:
    radial-gradient(800px 400px at 80% 0%, rgba(244,63,94,.22), transparent 55%),
    radial-gradient(700px 360px at 0% 40%, rgba(168,85,247,.18), transparent 50%),
    linear-gradient(180deg, #1a1024 0%, #120b1a 100%);
  color: #fff;
}
.showcase-section .section-head p,
.showcase-head p { color: #94a3b8; }
.showcase-kicker {
  display: inline-flex;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: .4rem;
}
.showcase-kicker--rose { color: #fda4af; }
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
}
.showcase-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 2 / 3;
  border: 0;
  padding: 0;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  background: #111;
  isolation: isolate;
  transform: translateZ(0);
  transition: transform .35s ease, box-shadow .35s ease;
  box-shadow: 0 18px 40px rgba(0,0,0,.35);
}
.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease, filter .35s ease;
  filter: saturate(1.05) contrast(1.05);
}
.showcase-card__glow {
  position: absolute; inset: -40%;
  background: conic-gradient(from 180deg, transparent, rgba(59,130,246,.55), transparent 40%, rgba(249,115,22,.45), transparent 70%);
  opacity: 0;
  transition: opacity .35s ease;
  z-index: 0;
  animation: showcaseSpin 8s linear infinite;
  pointer-events: none;
}
.showcase-card--dorama .showcase-card__glow {
  background: conic-gradient(from 90deg, transparent, rgba(244,63,94,.55), transparent 35%, rgba(168,85,247,.5), transparent 65%);
}
.showcase-card__veil {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, transparent 35%, rgba(2,6,23,.92) 100%);
  pointer-events: none;
}
.showcase-card__meta {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  display: flex; flex-direction: column; gap: .2rem;
  padding: 1rem .9rem 1.05rem;
  text-align: left;
  color: #fff;
}
.showcase-card__meta strong {
  font-size: .95rem;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.showcase-card__meta em {
  font-style: normal;
  font-size: .78rem;
  color: #94a3b8;
}
.showcase-card__type {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #fdba74;
}
.showcase-card--dorama .showcase-card__type { color: #fda4af; }
.showcase-card__vote {
  position: absolute;
  top: .7rem; right: .7rem;
  z-index: 2;
  background: rgba(15,23,42,.78);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px;
  padding: .25rem .55rem;
  font-size: .75rem;
  font-weight: 800;
  color: #fff;
}
.showcase-card:hover,
.showcase-card:focus-visible {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 28px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.12);
  outline: none;
}
.showcase-card:hover img,
.showcase-card:focus-visible img {
  transform: scale(1.08);
  filter: saturate(1.2) contrast(1.08) brightness(1.05);
}
.showcase-card:hover .showcase-card__glow,
.showcase-card:focus-visible .showcase-card__glow { opacity: .55; }
@keyframes showcaseSpin {
  to { transform: rotate(360deg); }
}
.media-card--click { cursor: pointer; }
.media-card--click:focus-visible { outline: 2px solid #3b82f6; outline-offset: 2px; }

@media (max-width: 1100px) {
  .showcase-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .showcase-card { border-radius: 16px; }
}

.media-card {
  flex: 0 0 180px; scroll-snap-align: start;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; overflow: hidden; position: relative;
}
.media-card img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.media-card .rank {
  position: absolute; left: .35rem; bottom: 4.8rem;
  font-size: 3.2rem; font-weight: 900; color: #fff; text-shadow: 0 4px 12px rgba(0,0,0,.6);
  line-height: 1; pointer-events: none;
}
.media-card .tags { position: absolute; top: .5rem; left: .5rem; right: .5rem; display: flex; justify-content: flex-end; gap: .35rem; }
.tag {
  font-size: .68rem; font-weight: 800; padding: .2rem .4rem; border-radius: 6px;
  background: var(--orange); color: #fff;
}
.tag-rating { background: rgba(15,23,42,.75); display: inline-flex; gap: .2rem; align-items: center; }
.media-meta { padding: .7rem .75rem .9rem; }
.media-meta .source { color: #fb7185; font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.media-meta h3 { margin: .2rem 0; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.media-meta .year { color: #94a3b8; font-size: .8rem; }

.poster-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
@media (min-width: 700px) { .poster-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .poster-grid { grid-template-columns: repeat(6, 1fr); } }
.poster-tile {
  border-radius: 16px; overflow: hidden; box-shadow: var(--shadow);
  background: #111; position: relative; aspect-ratio: 2/3;
}
.poster-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.poster-tile:hover img { transform: scale(1.05); }
.poster-tile figcaption {
  position: absolute; inset: auto 0 0 0; padding: .8rem;
  background: linear-gradient(transparent, rgba(0,0,0,.85)); color: #fff; font-weight: 700; font-size: .85rem;
}

.compare-grid {
  display: grid; gap: 1.25rem;
}
@media (min-width: 900px) { .compare-grid { grid-template-columns: 1fr 1fr; } }
.compare-card {
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px; padding: 1.4rem;
}
.compare-card.highlight { border-color: rgba(249,115,22,.55); box-shadow: 0 0 0 1px rgba(249,115,22,.2); }
.compare-card h3 { margin-top: 0; }
.compare-list { list-style: none; padding: 0; margin: 1rem 0; }
.compare-list li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .55rem 0; border-bottom: 1px solid rgba(255,255,255,.06); color: #cbd5e1; font-size: .92rem;
}
.check-list { list-style: none; padding: 0; margin: 1rem 0; }
.check-list li { padding: .4rem 0 .4rem 1.5rem; position: relative; color: #e2e8f0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 900; }
.account-card .check-list li,
.legal .check-list li { color: var(--text); }
.price-strike { text-decoration: line-through; opacity: .7; font-size: 1.6rem; font-weight: 800; }
.price-big { font-size: 1.8rem; font-weight: 900; }

.blog-carousel { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .25rem; }
.blog-card {
  flex: 0 0 min(320px, 85vw); scroll-snap-align: start;
  background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--border); display: flex; flex-direction: column;
}
.blog-card .thumb {
  height: 150px; background: linear-gradient(135deg, #1a56db, #312e81);
  color: #fff; display: grid; place-items: center; font-weight: 800; padding: 1rem; text-align: center;
}
.blog-card .body { padding: 1rem 1.1rem 1.2rem; flex: 1; display: flex; flex-direction: column; }
.blog-card .date { color: var(--orange); font-size: .72rem; font-weight: 800; letter-spacing: .04em; }
.blog-card h3 { margin: .4rem 0; font-size: 1.05rem; line-height: 1.3; color: var(--text); }
.blog-card p { color: var(--muted); font-size: .9rem; flex: 1; }
.blog-card .more { margin-top: .8rem; font-weight: 700; }

/* News premium (home) */
.news-section {
  background:
    radial-gradient(700px 280px at 0% 0%, rgba(26,86,219,.08), transparent 60%),
    #f8fafc;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
  width: 100%;
}
.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(226,232,240,.9);
  box-shadow: 0 14px 34px rgba(15,23,42,.06);
  transition: transform .25s ease, box-shadow .25s ease;
  height: 100%;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(15,23,42,.12);
  text-decoration: none;
  color: inherit;
}
.news-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0f172a;
}
.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.news-card:hover .news-card__media img { transform: scale(1.06); }
.news-card__badge {
  position: absolute;
  left: .8rem;
  top: .8rem;
  background: rgba(255,255,255,.92);
  color: #0f172a;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .35rem .6rem;
  border-radius: 999px;
}
.news-card__body {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  padding: 1.05rem 1.1rem 1.2rem;
  flex: 1;
}
.news-card__date {
  color: var(--orange);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.news-card__body h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card__body p {
  margin: 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.news-card__cta {
  margin-top: .35rem;
  font-weight: 800;
  color: var(--blue);
  font-size: .9rem;
}
@media (max-width: 1100px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .news-grid { grid-template-columns: 1fr; }
}

.plans-grid {
  display: grid; gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .plans-grid { grid-template-columns: repeat(2, 1fr); } }
.plan-card {
  background: #121212; color: #fff; border: 1px solid rgba(249,115,22,.55);
  border-radius: 20px; padding: 1.4rem; position: relative;
}
.plan-card .label { color: var(--orange); font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.plan-card h3 { margin: .35rem 0 1rem; }
.plan-badge {
  position: absolute; top: 1.2rem; right: 1.2rem;
  background: var(--orange); color: #fff; font-size: .68rem; font-weight: 800;
  padding: .3rem .5rem; border-radius: 6px;
}
.plan-price { font-size: 2.2rem; font-weight: 900; }
.plan-price small { font-size: 1rem; font-weight: 600; opacity: .8; }
.plan-note { color: #94a3b8; font-size: .88rem; margin: .35rem 0 1rem; }
.plan-card .check-list li { color: #e2e8f0; }
.plan-foot { color: #94a3b8; font-size: .78rem; text-align: center; margin-top: .7rem; }

.filters-box {
  background: rgba(15,23,42,.92); color: #fff; border-radius: 20px; padding: 1.2rem;
  margin-bottom: 1.5rem; border: 1px solid rgba(255,255,255,.08);
}
.filters-box input[type="search"] {
  width: 100%; border: 0; border-radius: 12px; padding: .9rem 1rem; margin-bottom: 1rem;
  background: #0b1220; color: #fff; border: 1px solid #334155;
}
.filter-row { margin-bottom: .8rem; }
.filter-row label { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .08em; color: #94a3b8; margin-bottom: .45rem; }
.filter-pills { display: flex; flex-wrap: wrap; gap: .4rem; }
.filter-pills button {
  border: 0; border-radius: 999px; padding: .4rem .75rem; font-weight: 700; font-size: .82rem;
  background: #1e293b; color: #e2e8f0; cursor: pointer;
}
.filter-pills button.is-active { background: var(--orange); color: #fff; }

.catalog-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px) { .catalog-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .catalog-grid { grid-template-columns: repeat(5, 1fr); } }

.platform-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px) { .platform-grid { grid-template-columns: repeat(3, 1fr); } }
.platform-card {
  background: #111827; border-radius: 18px; padding: 1rem; text-align: center;
  border: 1px solid #1f2937; cursor: pointer; transition: .2s ease; color: #fff;
}
.platform-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.platform-logo {
  background: #fff; border-radius: 12px; height: 88px; display: grid; place-items: center;
  margin-bottom: .8rem; color: #0f172a; font-weight: 800; font-size: .95rem; padding: .5rem;
}
.platform-card h3 { margin: 0; font-size: 1rem; font-weight: 700; }

.modal-backdrop {
  position: fixed; inset: 0; background: rgba(2,6,23,.72); z-index: 100;
  display: none; align-items: center; justify-content: center; padding: 1rem;
}
.modal-backdrop.is-open { display: flex; }
.modal {
  width: min(640px, 100%); max-height: min(92vh, 900px); overflow: auto;
  background: #0b0e14; color: #fff; border-radius: 24px; border: 1px solid #1f2937;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.modal-hero {
  position: relative; min-height: 220px; background: #111 center/cover no-repeat;
}
.modal-close {
  position: absolute; top: .8rem; right: .8rem; width: 36px; height: 36px;
  border-radius: 50%; border: 0; background: rgba(0,0,0,.7); color: #fff; cursor: pointer; font-size: 1.1rem;
}
.modal-body { padding: 1.2rem 1.3rem 1.5rem; }
.meta-row { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin-bottom: .7rem; font-size: .88rem; }
.gold-border { border: 1px solid var(--gold); color: var(--gold); border-radius: 8px; padding: .2rem .5rem; font-size: .75rem; font-weight: 800; }
.genre-chips { display: flex; flex-wrap: wrap; gap: .35rem; margin: .7rem 0 1rem; }
.genre-chips span { background: #1f2937; border-radius: 999px; padding: .25rem .65rem; font-size: .78rem; }
.cta-box {
  margin-top: 1.2rem; border: 1px solid rgba(249,115,22,.55); border-radius: 16px;
  padding: 1rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  box-shadow: 0 0 24px rgba(249,115,22,.12);
}
.cta-box .eyebrow-orange { color: var(--orange); font-size: .72rem; font-weight: 800; letter-spacing: .06em; }

.page-hero { padding: 2.5rem 0 1rem; }
.page-hero h1 { font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 0 0 .5rem; }

.form-card {
  background: #fff; border: 1px solid var(--border); border-radius: 20px;
  padding: 1.5rem; box-shadow: var(--shadow); max-width: 520px; margin: 0 auto;
}
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-weight: 700; margin-bottom: .35rem; font-size: .9rem; }
.form-group input, .form-group select {
  width: 100%; border: 1px solid var(--border); border-radius: 12px; padding: .75rem .9rem; background: #fff;
}
.alert {
  padding: .85rem 1rem; border-radius: 12px; margin-bottom: 1rem; font-weight: 600;
}
.alert-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.alert-success { background: #ecfdf5; color: #047857; border: 1px solid #a7f3d0; }
.alert-info { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }

.account-card, .admin-card {
  background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 1.25rem; box-shadow: var(--shadow);
}
.stats { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-bottom: 1.5rem; }
.stat { background: #fff; border-radius: 16px; padding: 1rem; border: 1px solid var(--border); }
.stat strong { display: block; font-size: 1.6rem; }
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
table.data th, table.data td { padding: .75rem .85rem; border-bottom: 1px solid var(--border); text-align: left; font-size: .9rem; }
table.data th { background: #f8fafc; font-size: .78rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }

.site-footer {
  background: #0b1220; color: #cbd5e1; padding: 3rem 0 2rem; margin-top: 3rem;
}
.footer-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 2rem;
}
.site-footer a { color: #e2e8f0; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer h4 { color: #fff; margin: 0 0 .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 1rem; font-size: .85rem; color: #94a3b8; }

.whatsapp-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 80;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.4); text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.05); text-decoration: none; color: #fff; }
.scroll-top {
  position: fixed; right: 1.25rem; bottom: 5.2rem; z-index: 80;
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--blue); color: #fff; cursor: pointer; display: none;
  box-shadow: var(--shadow); font-size: 1.1rem;
}
.scroll-top.is-visible { display: grid; place-items: center; }

.cookie-banner {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 90;
  background: #0f172a; color: #e2e8f0; border-radius: 16px; padding: 1rem 1.1rem;
  display: none; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap;
  box-shadow: 0 20px 50px rgba(0,0,0,.35); max-width: 900px; margin: 0 auto;
}
.cookie-banner.is-visible { display: flex; }
.cookie-banner p { margin: 0; font-size: .9rem; max-width: 560px; }
.sticky-cta {
  position: sticky; bottom: 0; z-index: 40;
  background: rgba(15,23,42,.94); color: #fff; border-top: 1px solid rgba(255,255,255,.08);
  padding: .85rem 0;
}
.sticky-cta .inner { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; }
.sticky-cta p { margin: 0; font-size: .92rem; color: #cbd5e1; }

.legal { max-width: 820px; }
.legal h2 { margin-top: 1.8rem; }
.legal p, .legal li { color: #334155; }

.pix-box {
  background: #0b1220; color: #fff; border-radius: 18px; padding: 1.25rem; text-align: center;
}
.pix-box img { margin: 1rem auto; max-width: 240px; background: #fff; padding: .5rem; border-radius: 12px; }
.pix-code {
  word-break: break-all; background: #111827; border-radius: 10px; padding: .8rem;
  font-size: .78rem; text-align: left; margin: 1rem 0;
}

.admin-nav { display: flex; gap: .75rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.admin-nav a { font-weight: 700; }

.muted { color: var(--muted); }
.text-center { text-align: center; }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }

@media (max-width: 800px) {
  .menu-toggle { display: inline-flex; }
  .nav-links {
    display: none;
  }
  .nav-links.is-open {
    display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; padding: .75rem; border-bottom: 1px solid var(--border); gap: .35rem;
    border-radius: 0; z-index: 60; box-shadow: 0 12px 30px rgba(15,23,42,.08);
  }
  .nav-links.is-open .nav-link { width: 100%; text-align: left; }
}

/* Painel (admin + conta) */
.dash-body {
  min-height: 100vh;
  background:
    radial-gradient(900px 400px at 0% 0%, rgba(26,86,219,.08), transparent 55%),
    var(--bg);
}
.dash-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(15,23,42,.04);
}
.dash-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .9rem 0; flex-wrap: wrap;
}
.dash-brand {
  display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
}
.dash-logo { display: inline-flex; text-decoration: none; }
.dash-logo img { height: 32px; width: auto; }
.dash-badge {
  font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: linear-gradient(135deg, var(--blue), #3b82f6); color: #fff;
  border-radius: 999px; padding: .28rem .65rem;
}
.dash-welcome { color: var(--muted); font-size: .95rem; }
.dash-welcome strong { color: var(--text); }
.dash-nav {
  display: flex; align-items: center; gap: .35rem; flex-wrap: wrap;
}
.dash-nav-link {
  text-decoration: none; color: var(--text); font-weight: 700; font-size: .92rem;
  padding: .5rem .85rem; border-radius: 999px; transition: .15s ease;
}
.dash-nav-link:hover { background: #eef2ff; color: var(--blue); text-decoration: none; }
.dash-nav-link.is-active {
  background: #eff6ff; color: var(--blue);
  box-shadow: inset 0 0 0 1px rgba(26,86,219,.2);
}
.dash-logout {
  margin-left: .35rem;
  border-color: #fecaca !important;
  color: #b91c1c !important;
}
.dash-logout:hover {
  background: #fef2f2 !important;
  border-color: #f87171 !important;
}
.dash-main { padding-bottom: 2.5rem; }
.dash-body .page-hero { padding-top: 1.75rem; }
.dash-body .site-footer,
.dash-body .whatsapp-float,
.dash-body .cookie-banner,
.dash-body .scroll-top { display: none !important; }

@media (max-width: 700px) {
  .dash-header-inner { align-items: flex-start; }
  .dash-nav { width: 100%; }
}

