/* ── Chateagratis v3 Design System ──────────────────────────────────── */
/* Tokens, reset, and all v3 components (landing + sala pages)           */

:root {
  --primary:       #e84a3b;
  --primary-deep:  #c03828;
  --primary-dark:  #a02d20;
  --primary-soft:  #fde6e3;
  --primary-bg:    #fef4f2;
  --primary-line:  #f5c8c2;

  --yellow:      #ffd23f;
  --yellow-deep: #f5b800;
  --yellow-soft: #fff3d0;
  --green:       #2ea76a;
  --green-soft:  #e3f4ea;
  --blue:        #2196d4;
  --blue-soft:   #d6ecf8;

  --ink:    #14222b;
  --ink-2:  #2c3e4a;
  --muted:  #5f7280;
  --faint:  #8a99a6;
  --line:   #e2e8ec;
  --line-soft: #eef1f3;
  --bg:     #ffffff;
  --bg-soft:#f7f9fa;

  --radius:    14px;
  --radius-lg: 22px;

  --shadow:     0 1px 2px rgba(20,34,43,0.04), 0 8px 28px -8px rgba(20,34,43,0.14);
  --shadow-pop: 0 10px 40px -10px rgba(20,34,43,0.25);

  --font-sans: 'Helvetica Neue', Helvetica, 'Liberation Sans', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.45;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── Header ─────────────────────────────────────────────────────────── */
.v3-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.v3-header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: 32px;
  padding: 14px 28px;
}
.v3-header .logo img { height: 32px; width: auto; display: inline-block; }
.v3-nav-links {
  display: flex; gap: 4px;
  flex: 1; margin-left: 12px;
}
.v3-nav-links a {
  padding: 8px 14px; border-radius: 8px;
  font-size: 14.5px; font-weight: 500;
  color: var(--ink-2); text-decoration: none;
}
.v3-nav-links a:hover,
.v3-nav-links a.is-active { background: var(--bg-soft); color: var(--ink); }
.v3-header-cta { display: flex; align-items: center; gap: 10px; }

/* ── Buttons ─────────────────────────────────────────────────────────── */
.btn-v3 {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  font-family: var(--font-sans); font-size: 14.5px; font-weight: 600;
  border: 0; cursor: pointer;
  text-decoration: none;
  transition: background 140ms ease, transform 100ms ease, box-shadow 200ms ease;
  white-space: nowrap;
  line-height: 1;
}
.btn-v3:active { transform: translateY(1px); }
.btn-v3-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset,
              0 6px 18px -6px rgba(232,74,59,0.5);
}
.btn-v3-primary:hover { background: var(--primary-deep); color: #fff; }
.btn-v3-ghost { background: transparent; color: var(--ink-2); }
.btn-v3-ghost:hover { background: var(--bg-soft); }
.btn-v3-outline {
  background: #fff; color: var(--primary-deep);
  border: 1.5px solid var(--primary);
}
.btn-v3-outline:hover { background: var(--primary-bg); }
.btn-v3-lg { padding: 14px 26px; font-size: 16px; }
.btn-v3-block { width: 100%; }

/* ── Breadcrumbs (v3 style) ──────────────────────────────────────────── */
.v3-crumbs {
  max-width: 1200px; margin: 0 auto;
  padding: 18px 28px 0;
  font-size: 13.5px; color: var(--muted);
}
.v3-crumbs ol.breadcrumb {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0;
  background: none; padding: 0; margin: 0;
  list-style: none; border-radius: 0;
}
.v3-crumbs .breadcrumb-item {
  display: flex; align-items: center;
  padding: 0;
}
.v3-crumbs .breadcrumb-item + .breadcrumb-item::before {
  content: '›';
  color: var(--faint);
  padding: 0 6px;
  opacity: 0.7;
  float: none;
}
.v3-crumbs .breadcrumb-item a {
  text-decoration: none; color: var(--muted);
  padding: 4px 6px; border-radius: 6px;
}
.v3-crumbs .breadcrumb-item a:hover { background: var(--bg-soft); color: var(--ink); }
.v3-crumbs .breadcrumb-item.active {
  color: var(--ink); font-weight: 600;
  padding: 4px 6px;
}

/* ── Hero (shared: landing & sala) ───────────────────────────────────── */
.v3-hero {
  background:
    radial-gradient(900px 600px at 95% 10%, rgba(255,210,63,0.22), transparent 60%),
    radial-gradient(700px 500px at -5% 90%, rgba(232,74,59,0.07), transparent 60%),
    #fff;
  border-bottom: 1px solid var(--line-soft);
}
.v3-hero-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 60px 28px 70px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.v3-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 9px; border-radius: 999px;
  background: var(--green-soft);
  color: #1b6e44;
  font-size: 13px; font-weight: 600;
  border: 1px solid rgba(46,167,106,0.25);
  margin-bottom: 18px;
}
.v3-hero-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 4px rgba(31,171,100,0.22);
  position: relative; flex: 0 0 auto;
}
.v3-hero-eyebrow .dot::after {
  content: ''; position: absolute; inset: -3px; border-radius: 50%;
  background: var(--green); opacity: 0.35;
  animation: v3-pulse 1.8s ease-out infinite;
}
@keyframes v3-pulse {
  0%   { transform: scale(0.8); opacity: 0.5; }
  100% { transform: scale(2.4); opacity: 0; }
}
.v3-hero h1 {
  margin: 0 0 16px;
  font-size: 56px; line-height: 1.04; letter-spacing: -0.025em;
  font-weight: 700; color: var(--ink);
}
.v3-hero h1 em { color: var(--primary); font-style: normal; }
.v3-hero-sub {
  font-size: 18px; line-height: 1.55; color: var(--muted);
  max-width: 480px; margin: 0 0 28px;
}
.v3-hero-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.v3-hero-bullets {
  display: flex; gap: 22px; margin-top: 24px;
  font-size: 13.5px; color: var(--muted); flex-wrap: wrap;
}
.v3-hero-bullets b { color: var(--ink-2); font-weight: 600; }
.v3-hero-bullets .check { color: var(--primary); font-weight: 700; margin-right: 5px; }

/* ── Phone mockup ─────────────────────────────────────────────────────── */
.v3-phone-wrap {
  position: relative;
  display: flex; justify-content: center;
}
.v3-phone {
  width: 320px;
  aspect-ratio: 9/19;
  background: #0e1419;
  border-radius: 40px;
  padding: 9px;
  box-shadow:
    0 30px 70px -20px rgba(20,34,43,0.35),
    0 0 0 1px rgba(0,0,0,0.06),
    inset 0 0 0 1px rgba(255,255,255,0.05);
  position: relative;
  transform: rotate(-2deg);
  transition: transform 400ms cubic-bezier(0.2,0.9,0.3,1);
}
.v3-phone:hover { transform: rotate(-2deg) translateY(-4px); }
.v3-phone-screen {
  width: 100%; height: 100%;
  background: #fff;
  border-radius: 32px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.v3-phone-notch {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 24px; border-radius: 14px;
  background: #0e1419; z-index: 3;
}
.v3-pc-header {
  background: var(--primary); color: #fff;
  padding: 38px 16px 14px;
  display: flex; align-items: center; gap: 10px;
}
.v3-pc-back { font-size: 18px; opacity: 0.9; }
.v3-pc-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: #ffd6cc;
  display: grid; place-items: center;
  font-size: 17px; color: #c0392b; font-weight: 700;
}
.v3-pc-room-name { font-size: 14.5px; font-weight: 600; line-height: 1.2; }
.v3-pc-room-meta { font-size: 11px; opacity: 0.85; }
.v3-pc-msgs {
  flex: 1; padding: 14px 12px 10px;
  background: #f0f4f7;
  display: flex; flex-direction: column; gap: 6px;
  overflow: hidden;
}
.v3-pc-day {
  align-self: center; margin: 4px 0 8px;
  padding: 3px 10px; border-radius: 999px;
  background: rgba(20,34,43,0.06);
  font-size: 10.5px; color: var(--muted);
}
.v3-pc-row { display: flex; align-items: flex-end; gap: 6px; max-width: 88%; }
.v3-pc-row.them { align-self: flex-start; }
.v3-pc-avatar-sm {
  width: 28px; height: 28px; border-radius: 50%;
  flex: 0 0 28px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(20,34,43,0.18);
  background: #e6ecf0; border: 2px solid #fff;
}
.v3-pc-avatar-sm img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v3-pc-bubble {
  max-width: 100%; padding: 7px 10px 8px;
  border-radius: 11px;
  font-size: 12.5px; line-height: 1.35;
  box-shadow: 0 1px 1px rgba(20,34,43,0.06);
}
.v3-pc-bubble .name {
  font-size: 10.5px; font-weight: 700;
  color: var(--primary-deep); margin-bottom: 1px;
}
.v3-pc-them {
  background: #fff; align-self: flex-start;
  border-bottom-left-radius: 4px;
}
.v3-pc-me {
  background: #ffe2da; align-self: flex-end;
  border-bottom-right-radius: 4px; color: var(--ink);
}
.v3-pc-time {
  font-size: 9.5px; color: var(--faint);
  margin-left: 6px; float: right; margin-top: 4px;
}
.v3-pc-composer {
  background: #f0f4f7;
  padding: 8px 10px 12px;
  display: flex; gap: 6px; align-items: center;
}
.v3-pc-input {
  flex: 1; background: #fff; border-radius: 999px;
  padding: 8px 14px; font-size: 12px; color: var(--faint);
}
.v3-pc-send {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: grid; place-items: center; font-size: 14px;
}
.v3-phone-badge {
  position: absolute;
  background: #fff;
  border-radius: 14px; padding: 10px 14px;
  box-shadow: var(--shadow);
  font-size: 13px;
  display: flex; align-items: center; gap: 10px;
  animation: v3-float 4s ease-in-out infinite;
}
@keyframes v3-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-6px); }
}
.v3-phone-badge.b1 { top: 14%; left: -8%;  animation-delay: -1.5s; }
.v3-phone-badge.b2 { top: 48%; right: -10%; animation-delay: -0.5s; }
.v3-phone-badge.b3 { bottom: 10%; left: -6%; animation-delay: -2.5s; }
.v3-phone-badge .emoji {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--yellow-soft);
  display: grid; place-items: center; font-size: 18px;
}
.v3-phone-badge.b2 .emoji { background: var(--blue-soft); }
.v3-phone-badge.b3 .emoji { background: var(--green-soft); }
.v3-phone-badge b  { color: var(--ink); font-weight: 700; font-size: 14px; }
.v3-phone-badge small { color: var(--muted); font-size: 11.5px; }

/* ── Rooms strip (landing) ───────────────────────────────────────────── */
.v3-rooms-strip {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 36px 0;
}
.v3-rooms-strip-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 28px;
}
.v3-rooms-strip h2 {
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 16px;
}
.v3-rooms-list { display: flex; gap: 10px; flex-wrap: wrap; }
.v3-room-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 10px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; text-decoration: none;
  transition: border-color 140ms ease, transform 100ms ease, box-shadow 200ms ease;
  cursor: pointer;
}
.v3-room-pill:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px -6px rgba(232,74,59,0.32);
}
.v3-room-pill .e {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--yellow-soft); display: grid; place-items: center;
  font-size: 16px;
}
.v3-room-pill b { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.v3-room-pill .ct {
  font-size: 12.5px; color: var(--muted);
  background: var(--bg-soft); padding: 2px 8px; border-radius: 999px;
}
.v3-room-pill.hot .e { background: #ffe4dd; }
.v3-room-pill.hot .ct { background: #ffe4dd; color: var(--primary); font-weight: 600; }

/* ── Features section (landing) ─────────────────────────────────────── */
.v3-features-section {
  padding: 86px 28px 70px;
  max-width: 1200px; margin: 0 auto;
  text-align: center;
}
.v3-features-section h2 {
  font-size: 40px; line-height: 1.1; letter-spacing: -0.02em;
  font-weight: 700; margin: 0 0 14px;
}
.v3-features-section .lede {
  font-size: 17px; color: var(--muted);
  max-width: 580px; margin: 0 auto 56px;
}

/* ── Feature/room cards grid (shared: landing + sala) ─────────────────── */
.v3-feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: left;
}
.v3-feat {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line-soft);
  transition: transform 200ms ease, box-shadow 240ms ease, border-color 180ms ease;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
.v3-feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.v3-feat-icon {
  width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 18px; font-size: 24px;
}
.v3-feat-icon.green   { background: var(--primary-soft); color: var(--primary-deep); }
.v3-feat-icon.yellow  { background: var(--yellow-soft); color: #b48400; }
.v3-feat-icon.blue    { background: var(--blue-soft); color: var(--blue); }
.v3-feat-icon.primary { background: var(--primary-soft); color: var(--primary-deep); }
.v3-feat h3 {
  font-size: 20px; font-weight: 700; margin: 0 0 8px;
  letter-spacing: -0.005em;
}
.v3-feat .meta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: #1b6e44; font-weight: 600;
  margin-bottom: 12px;
}
.v3-feat .meta .ldot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
}
.v3-feat p { color: var(--muted); font-size: 15px; margin: 0; line-height: 1.5; flex: 1; }
.v3-feat .go {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 14px; color: var(--primary-deep);
  margin-top: 18px;
}
.v3-feat:hover .go .arrow { transform: translateX(3px); }
.v3-feat .arrow { transition: transform 160ms ease; }

/* ── Stats banner ─────────────────────────────────────────────────────── */
.v3-stats {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #fff;
  padding: 70px 28px;
}
.v3-stats-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 36px; align-items: center;
}
.v3-stats h2 {
  margin: 0; font-size: 30px; font-weight: 700;
  letter-spacing: -0.015em; line-height: 1.15;
}
.v3-stat-block .n {
  font-size: 42px; font-weight: 700; line-height: 1;
  letter-spacing: -0.025em; margin-bottom: 6px;
}
.v3-stat-block .l { font-size: 14px; opacity: 0.85; }

/* ── Final CTA ────────────────────────────────────────────────────────── */
.v3-final {
  padding: 88px 28px 96px;
  text-align: center;
  background: radial-gradient(800px 500px at 50% 0%, rgba(232,74,59,0.06), transparent 60%);
}
.v3-final h2 {
  font-size: 44px; line-height: 1.08; letter-spacing: -0.022em;
  font-weight: 700; margin: 0 0 12px;
}
.v3-final h2 em { color: var(--primary); font-style: normal; }
.v3-final p { font-size: 17px; color: var(--muted); margin: 0 0 28px; }
.v3-final-ctas { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ── Footer ───────────────────────────────────────────────────────────── */
.v3-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 36px 28px 28px;
}
.v3-footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
}
.v3-footer img { height: 28px; margin-bottom: 12px; display: block; }
.v3-footer p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.5; max-width: 320px; }
.v3-footer h4 {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-2); margin: 0 0 14px;
}
.v3-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.v3-footer li a { color: var(--muted); text-decoration: none; font-size: 14px; }
.v3-footer li a:hover { color: var(--ink); }
.v3-footer-bottom {
  max-width: 1200px; margin: 28px auto 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between;
  font-size: 12.5px; color: var(--muted);
}

/* ── Sala: Entry card ─────────────────────────────────────────────────── */
.v3-entry-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
  max-width: 520px;
}
.v3-entry-card .label {
  font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
}
.v3-entry-row { display: flex; gap: 10px; align-items: stretch; }
.v3-entry-input {
  flex: 1;
  display: flex; align-items: center; gap: 10px;
  padding: 4px 6px 4px 16px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  transition: border-color 140ms ease, box-shadow 200ms ease;
}
.v3-entry-input:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(232,74,59,0.12);
}
.v3-entry-input .at { color: var(--faint); font-size: 16px; font-weight: 600; }
.v3-entry-input input {
  flex: 1; border: 0; outline: 0;
  font-family: var(--font-sans); font-size: 16px;
  color: var(--ink); background: transparent;
  padding: 12px 4px;
}
.v3-entry-input .clear {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-soft); color: var(--muted);
  display: grid; place-items: center;
  font-size: 14px; cursor: pointer;
  visibility: hidden; border: 0;
}
.v3-entry-input.has-value .clear { visibility: visible; }
.v3-entry-cta { padding: 14px 22px; font-size: 15px; font-weight: 700; }
.v3-entry-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-top: 14px;
  font-size: 13.5px; color: var(--muted); flex-wrap: wrap;
}
.v3-entry-foot .has-account a {
  color: var(--primary-deep); font-weight: 600; text-decoration: none;
}
.v3-entry-foot .has-account a:hover { text-decoration: underline; }
.v3-entry-foot .hint { display: inline-flex; align-items: center; gap: 6px; }
.v3-entry-foot .hint svg { color: var(--faint); }

/* ── Sala: Online strip ───────────────────────────────────────────────── */
.v3-online-strip {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 22px 0;
}
.v3-online-strip-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
}
.v3-online-strip h3 {
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); margin: 0;
}
.v3-avatars-row { display: flex; align-items: center; }
.v3-avatars-row .av {
  width: 36px; height: 36px; border-radius: 50%;
  overflow: hidden; border: 2.5px solid #fff;
  box-shadow: 0 1px 2px rgba(20,34,43,0.18);
  margin-left: -8px; background: #ddd;
}
.v3-avatars-row .av:first-child { margin-left: 0; }
.v3-avatars-row .av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v3-avatars-row .more {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
  font-size: 11.5px; font-weight: 700;
  border: 2.5px solid #fff; margin-left: -8px;
  box-shadow: 0 1px 2px rgba(20,34,43,0.18);
}
.v3-online-strip .live-text { font-size: 14px; color: var(--ink-2); }
.v3-online-strip .live-text b { color: var(--ink); font-weight: 700; }
.v3-online-strip .scroll-cta {
  margin-left: auto;
  font-size: 13.5px; color: var(--primary-deep);
  text-decoration: none; font-weight: 600;
}
.v3-online-strip .scroll-cta:hover { text-decoration: underline; }

/* ── Sala: Section frame ──────────────────────────────────────────────── */
.v3-section {
  max-width: 1200px; margin: 0 auto;
  padding: 72px 28px 32px;
}
.v3-section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 24px; flex-wrap: wrap;
}
.v3-section-head h2 {
  margin: 0; font-size: 30px; line-height: 1.15;
  letter-spacing: -0.018em; font-weight: 700;
}
.v3-section-head .sub { font-size: 15px; color: var(--muted); margin-top: 6px; }
.v3-section-head .right { font-size: 13.5px; color: var(--muted); }
.v3-section-head .right b { color: var(--ink); font-weight: 700; }

/* ── Sala: Subsalas grid ──────────────────────────────────────────────── */
.v3-subsalas-wrap {
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 8px 0 16px;
}
.v3-subsalas { display: flex; gap: 8px; flex-wrap: wrap; }
.v3-sub-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 12px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px; color: var(--ink-2);
  text-decoration: none;
  transition: border-color 140ms ease, transform 100ms ease, box-shadow 200ms ease, color 140ms ease;
}
.v3-sub-pill:hover {
  border-color: var(--primary);
  color: var(--primary-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px -6px rgba(232,74,59,0.32);
}
.v3-sub-pill .pin { color: var(--primary); font-size: 12.5px; }
.v3-sub-pill .ct {
  font-size: 11.5px; color: var(--muted);
  background: var(--bg-soft); padding: 2px 8px; border-radius: 999px;
}

/* ── Pagination ───────────────────────────────────────────────────────── */
.v3-pagination {
  display: flex; gap: 6px; margin-top: 22px; align-items: center;
  flex-wrap: wrap;
}
.v3-pg-btn {
  min-width: 32px; height: 32px; padding: 0 10px;
  border-radius: 8px; background: #fff;
  border: 1px solid var(--line);
  font-family: var(--font-sans); font-size: 13.5px; color: var(--ink-2);
  cursor: pointer; display: inline-grid; place-items: center;
  text-decoration: none;
}
.v3-pg-btn:hover { border-color: var(--primary); color: var(--primary-deep); }
.v3-pg-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); font-weight: 700; }
.v3-pagination .gap { color: var(--faint); padding: 0 4px; }

/* ── Sala: Related rooms ──────────────────────────────────────────────── */
.v3-related-list { display: flex; gap: 10px; flex-wrap: wrap; }
.v3-rel-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px 10px 12px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 999px; text-decoration: none;
  transition: border-color 140ms ease, transform 100ms ease, box-shadow 200ms ease;
}
.v3-rel-pill:hover {
  border-color: var(--primary);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px -6px rgba(232,74,59,0.32);
}
.v3-rel-pill .icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary-soft); color: var(--primary-deep);
  display: grid; place-items: center;
  font-size: 14px; font-weight: 700;
}
.v3-rel-pill b { font-weight: 600; font-size: 14.5px; color: var(--ink); }
.v3-rel-pill .ct {
  font-size: 12.5px; color: var(--muted);
  background: var(--bg-soft); padding: 2px 8px; border-radius: 999px;
}
.v3-back-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 22px;
  font-size: 14px; color: var(--muted); text-decoration: none;
}
.v3-back-link:hover { color: var(--ink); }

/* ── Sala: Rules card ─────────────────────────────────────────────────── */
.v3-rules-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px; align-items: start;
}
.v3-rules-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
  box-shadow: var(--shadow);
}
.v3-rules-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.v3-rules-list li {
  display: flex; gap: 12px;
  font-size: 14.5px; color: var(--ink-2); line-height: 1.5;
}
.v3-rules-list .ck {
  flex: 0 0 24px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--green-soft); color: #1b6e44;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 700; margin-top: 1px;
}
.v3-rules-list b { color: var(--ink); font-weight: 700; }
.v3-quote {
  background: var(--primary-bg);
  border: 1px solid var(--primary-line);
  border-radius: var(--radius-lg);
  padding: 26px; color: var(--ink-2);
}
.v3-quote h4 {
  margin: 0 0 8px;
  font-size: 16px; font-weight: 700; color: var(--primary-deep);
  display: inline-flex; align-items: center; gap: 8px;
}
.v3-quote p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.v3-quote p + p { margin-top: 10px; }

/* ── Salas Index: Hero ────────────────────────────────────────────────── */
.v3-salas-hero {
  background:
    radial-gradient(900px 600px at 95% 0%, rgba(255,210,63,0.22), transparent 60%),
    radial-gradient(700px 500px at -5% 100%, rgba(232,74,59,0.07), transparent 60%),
    #fff;
  border-bottom: 1px solid var(--line-soft);
  padding: 28px 28px 44px;
}
.v3-salas-hero-inner {
  max-width: 1100px; margin: 0 auto; text-align: center;
}
.v3-salas-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 9px; border-radius: 999px;
  background: var(--green-soft); color: #1b6e44;
  font-size: 13px; font-weight: 600;
  border: 1px solid rgba(46,167,106,0.25);
  margin-bottom: 18px;
}
.v3-salas-eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 4px rgba(31,171,100,0.22);
  position: relative; flex: 0 0 7px;
}
.v3-salas-eyebrow .dot::after {
  content: ''; position: absolute; inset: -3px; border-radius: 50%;
  background: var(--green); opacity: 0.35;
  animation: v3-pulse 1.8s ease-out infinite;
}
@keyframes v3-pulse { 0% { transform: scale(0.8); opacity: 0.5; } 100% { transform: scale(2.4); opacity: 0; } }

.v3-salas-hero h1 {
  margin: 0 0 12px;
  font-size: 52px; line-height: 1.06; letter-spacing: -0.025em; font-weight: 700;
}
.v3-salas-hero h1 em { color: var(--primary); font-style: normal; }
.v3-salas-hero-sub {
  font-size: 18px; line-height: 1.55; color: var(--muted);
  max-width: 600px; margin: 0 auto 26px;
}

/* search */
.v3-search-box {
  max-width: 580px; margin: 0 auto;
  display: flex; align-items: center;
  background: #fff; border: 1.5px solid var(--line);
  border-radius: 999px; padding: 6px 6px 6px 20px;
  box-shadow: var(--shadow);
  transition: border-color 140ms ease, box-shadow 200ms ease;
}
.v3-search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(232,74,59,0.12);
}
.v3-search-box svg { color: var(--faint); flex: 0 0 22px; margin-right: 12px; }
.v3-search-box input {
  flex: 1; border: 0; outline: 0; background: transparent;
  font-family: var(--font-sans); font-size: 16px; color: var(--ink);
  padding: 10px 0;
}
.v3-search-box input::placeholder { color: var(--faint); }
.v3-search-box .key {
  font-size: 11.5px; font-weight: 600; color: var(--muted);
  padding: 4px 8px; border-radius: 6px;
  background: var(--bg-soft); border: 1px solid var(--line);
  margin-right: 8px; white-space: nowrap;
}
.v3-salas-stats-row {
  display: flex; justify-content: center; gap: 28px;
  margin-top: 22px; font-size: 13.5px; color: var(--muted); flex-wrap: wrap;
}
.v3-salas-stats-row b { color: var(--ink); font-weight: 700; }

/* ── Salas Index: Sticky filter tabs ──────────────────────────────────── */
.v3-filters-wrap {
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid var(--line-soft);
  position: sticky; top: 60px; z-index: 30;
  backdrop-filter: blur(10px);
}
.v3-filters {
  max-width: 1200px; margin: 0 auto;
  padding: 12px 28px;
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
}
.v3-filters::-webkit-scrollbar { display: none; }
.v3-filter {
  flex: 0 0 auto;
  padding: 7px 14px; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid var(--line);
  font-family: var(--font-sans); font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  text-decoration: none; cursor: pointer;
  transition: border-color 140ms ease, color 140ms ease, background 140ms ease;
  display: inline-flex; align-items: center; gap: 7px;
  white-space: nowrap;
}
.v3-filter:hover { border-color: var(--primary); color: var(--primary-deep); }
.v3-filter.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.v3-filter .ct {
  font-size: 11.5px; font-weight: 700;
  background: rgba(255,255,255,0.18); color: inherit;
  padding: 1px 7px; border-radius: 999px;
}
.v3-filter:not(.active) .ct {
  background: #fff; color: var(--muted); border: 1px solid var(--line);
}

/* ── Salas Index: Hot rooms (featured) ────────────────────────────────── */
.v3-hot-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.v3-hot-card {
  position: relative; border-radius: var(--radius-lg);
  padding: 22px 20px 18px; overflow: hidden; color: #fff;
  text-decoration: none; display: flex; flex-direction: column;
  justify-content: space-between; min-height: 210px;
  box-shadow: 0 6px 16px -10px rgba(20,34,43,0.4);
  transition: transform 200ms ease, box-shadow 240ms ease;
}
.v3-hot-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px -12px rgba(20,34,43,0.45); }
.v3-hot-card .ribbon {
  position: absolute; top: 14px; right: 14px;
  background: rgba(255,255,255,0.95); color: var(--primary-deep);
  font-size: 11px; font-weight: 700;
  padding: 3px 9px; border-radius: 999px;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.v3-hot-card .bigemoji {
  position: absolute; right: -10px; bottom: -22px;
  font-size: 120px; opacity: 0.16; line-height: 1;
  transform: rotate(-12deg); pointer-events: none;
}
.v3-hot-card .top { position: relative; z-index: 1; }
.v3-hot-card .hot-meta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 600;
  background: rgba(255,255,255,0.18); padding: 4px 10px;
  border-radius: 999px; backdrop-filter: blur(4px); margin-bottom: 14px;
}
.v3-hot-card .hot-meta .ldot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #b6f3c5; box-shadow: 0 0 0 3px rgba(182,243,197,0.3);
}
.v3-hot-card h3 {
  margin: 0 0 4px; font-size: 22px; font-weight: 700;
  line-height: 1.1; letter-spacing: -0.012em;
}
.v3-hot-card p { margin: 0; font-size: 13.5px; opacity: 0.92; line-height: 1.45; }
.v3-hot-go {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: 14px;
  background: rgba(255,255,255,0.95); color: var(--ink);
  padding: 8px 14px; border-radius: 999px; width: fit-content;
  transition: gap 160ms ease;
}
.v3-hot-card:hover .v3-hot-go { gap: 10px; }

.v3-hot-card.c-red    { background: linear-gradient(135deg, #ff6f5b 0%, #c03828 100%); }
.v3-hot-card.c-blue   { background: linear-gradient(135deg, #4fb6e8 0%, #1a6fa8 100%); }
.v3-hot-card.c-green  { background: linear-gradient(135deg, #4cc987 0%, #1f7a4c 100%); }
.v3-hot-card.c-purple { background: linear-gradient(135deg, #b66bd1 0%, #6e2d8d 100%); }
.v3-hot-card.c-yellow { background: linear-gradient(135deg, #ffd96b 0%, #d99300 100%); color: #3a2400; }
.v3-hot-card.c-yellow .hot-meta { background: rgba(58,36,0,0.14); }
.v3-hot-card.c-yellow .v3-hot-go { background: #3a2400; color: #ffd96b; }

/* ── Salas Index: Category cards ──────────────────────────────────────── */
.v3-cat-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.v3-cat-card {
  background: #fff; border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: 24px 22px 18px;
  display: flex; flex-direction: column; gap: 14px;
  transition: transform 200ms ease, box-shadow 240ms ease, border-color 180ms ease;
}
.v3-cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.v3-cat-head { display: flex; align-items: center; gap: 14px; }
.v3-cat-flag {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--primary-soft);
  display: grid; place-items: center;
  font-size: 28px; flex: 0 0 52px;
}
.v3-cat-title { flex: 1; min-width: 0; }
.v3-cat-title h3 {
  margin: 0 0 4px; font-size: 18px; font-weight: 700;
  letter-spacing: -0.008em; line-height: 1.2;
}
.v3-cat-title h3 a { text-decoration: none; color: inherit; }
.v3-cat-title h3 a:hover { color: var(--primary-deep); }
.v3-cat-liners {
  display: flex; align-items: center; gap: 8px;
  font-size: 12.5px; color: var(--muted);
}
.v3-cat-live {
  display: inline-flex; align-items: center; gap: 5px;
  color: #1b6e44; font-weight: 700;
}
.v3-cat-live .ldot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
}
.v3-cat-desc { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.5; }
.v3-cat-subs { display: flex; gap: 8px; flex-wrap: wrap; }
.v3-sub-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 12px; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 13px; font-weight: 500; color: var(--ink-2);
  text-decoration: none;
  transition: background 140ms ease, border-color 140ms ease, transform 120ms ease;
}
.v3-sub-pill:hover {
  background: #fff; border-color: var(--primary);
  color: var(--primary-deep); transform: translateY(-1px);
}
.v3-sub-pill .ct {
  font-size: 11px; color: var(--muted);
  background: #fff; padding: 1px 7px;
  border-radius: 999px; border: 1px solid var(--line);
}
.v3-sub-pill:hover .ct { border-color: var(--primary-line); color: var(--primary); }
.v3-sub-pill.more { background: transparent; border-style: dashed; color: var(--muted); }
.v3-sub-pill.more:hover { background: var(--bg-soft); }

/* cat-flag accent colors */
.v3-cat-card.c-flag .v3-cat-flag { background: #fff5e3; }
.v3-cat-card.c-pink .v3-cat-flag { background: var(--pink-soft); }
.v3-cat-card.c-blue .v3-cat-flag { background: var(--blue-soft); }
.v3-cat-card.c-green .v3-cat-flag { background: var(--green-soft); }
.v3-cat-card.c-purple .v3-cat-flag { background: var(--purple-soft); }
.v3-cat-card.c-yellow .v3-cat-flag { background: var(--yellow-soft); }
.v3-cat-card.c-teal .v3-cat-flag { background: var(--teal-soft); }
.v3-cat-card.c-red .v3-cat-flag { background: var(--primary-soft); }

/* ── Salas Index: Country strip ───────────────────────────────────────── */
.v3-country-wrap {
  background: var(--bg-soft);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 32px 0; margin-top: 24px;
}
.v3-country-row {
  max-width: 1200px; margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 14px;
}
.v3-country-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 14px 10px 12px;
  text-align: center; text-decoration: none; color: inherit;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.v3-country-card:hover {
  border-color: var(--primary); transform: translateY(-3px);
  box-shadow: 0 6px 16px -8px rgba(232,74,59,0.3);
}
.v3-country-card .fg { font-size: 30px; line-height: 1.2; }
.v3-country-card .nm { font-size: 13px; font-weight: 600; color: var(--ink); }
.v3-country-card .ct {
  font-size: 11.5px; color: #1b6e44; font-weight: 700;
  display: inline-flex; align-items: center; gap: 4px;
}
.v3-country-card .ct .ldot {
  width: 5px; height: 5px; border-radius: 50%; background: var(--green);
}

/* ── 404 Hero ─────────────────────────────────────────────────────────── */
.v3-hero404 {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 600px at 95% 0%, rgba(255,210,63,0.22), transparent 60%),
    radial-gradient(700px 500px at -5% 100%, rgba(232,74,59,0.08), transparent 60%),
    #fff;
  border-bottom: 1px solid var(--line-soft);
  padding: 52px 28px 64px;
}
.v3-hero404-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: 56px; align-items: center;
}
.v3-hero404 .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 9px; border-radius: 999px;
  background: var(--primary-bg); color: var(--primary-deep);
  font-size: 13px; font-weight: 600;
  border: 1px solid var(--primary-line); margin-bottom: 18px;
}
.v3-hero404 .eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--primary); box-shadow: 0 0 0 4px rgba(232,74,59,0.18);
  flex: 0 0 7px;
}
.v3-hero404 h1 {
  margin: 0 0 14px;
  font-size: 52px; line-height: 1.04; letter-spacing: -0.025em; font-weight: 700;
}
.v3-hero404 h1 em { color: var(--primary); font-style: normal; }
.v3-hero404 .sub {
  font-size: 17px; line-height: 1.55; color: var(--muted);
  max-width: 500px; margin: 0 0 24px;
}
.v3-hero404 .ctas {
  display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px;
}
.v3-hero404 .helper {
  display: flex; align-items: center; gap: 10px;
  font-size: 13.5px; color: var(--muted);
}
.v3-hero404 .helper svg { color: var(--faint); flex: 0 0 18px; }
.v3-hero404 .helper b { color: var(--ink); font-weight: 700; }

/* search inside 404 hero */
.v3-hero404 .v3-search-box {
  max-width: 100%; margin: 0 0 22px;
}

/* ── 404 Glyph (right column) ─────────────────────────────────────────── */
.v3-glyph404 {
  position: relative;
  aspect-ratio: 1 / 1; max-width: 460px; margin: 0 auto; width: 100%;
}
.v3-glyph404 .ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 220deg,
    #ffd96b 0deg, #ff6f5b 90deg, #c03828 180deg,
    #b66bd1 250deg, #4fb6e8 320deg, #ffd96b 360deg);
  filter: blur(40px); opacity: 0.45;
  animation: v3-spin 18s linear infinite;
}
@keyframes v3-spin { to { transform: rotate(360deg); } }

.v3-glyph404 .number {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 220px; font-weight: 700;
  letter-spacing: -0.045em; color: var(--ink); line-height: 1;
}
.v3-glyph404 .zero {
  display: inline-block;
  width: 0.78em; height: 0.92em; vertical-align: -0.05em;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ff8f7e 0%, #e84a3b 45%, #a02d20 100%);
  box-shadow:
    inset 0 -10px 24px rgba(0,0,0,0.18),
    inset 0 8px 18px rgba(255,255,255,0.18),
    0 18px 40px -18px rgba(232,74,59,0.55);
  position: relative; margin: 0 -0.03em;
}
.v3-glyph404 .zero::before {
  content: '?'; position: absolute; inset: 0;
  display: grid; place-items: center;
  color: #fff; font-size: 0.6em; font-weight: 700;
  letter-spacing: 0; text-shadow: 0 2px 0 rgba(160,45,32,0.4);
}
.v3-glyph404 .bubbles { position: absolute; inset: 0; pointer-events: none; }
.v3-glyph404 .bub {
  position: absolute; padding: 10px 14px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 16px; font-size: 13px; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 7px;
  animation: v3-float 6s ease-in-out infinite;
}
.v3-glyph404 .bub .av {
  width: 22px; height: 22px; border-radius: 50%;
  flex: 0 0 22px; display: grid; place-items: center;
  font-size: 12px; color: #fff; font-weight: 700;
}
.v3-glyph404 .b1 { top: 6%; left: -4%; animation-delay: 0s; }
.v3-glyph404 .b1 .av { background: #4fb6e8; }
.v3-glyph404 .b2 { top: 30%; right: -8%; animation-delay: -2s; border-radius: 16px 16px 16px 4px; }
.v3-glyph404 .b2 .av { background: #4cc987; }
.v3-glyph404 .b3 { bottom: 8%; left: 2%; animation-delay: -4s; border-radius: 16px 16px 4px 16px; }
.v3-glyph404 .b3 .av { background: #b66bd1; }
.v3-glyph404 .b4 { bottom: 20%; right: 0%; animation-delay: -1s; }
.v3-glyph404 .b4 .av { background: var(--primary); }
@keyframes v3-float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}

/* ── Error code strip ──────────────────────────────────────────────────── */
.v3-errcode {
  max-width: 1200px; margin: 0 auto; padding: 28px 28px 0;
}
.v3-errcode-inner {
  background: var(--bg-soft); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 14px 18px;
  display: flex; align-items: center; gap: 14px;
  font-size: 13px; color: var(--muted); flex-wrap: wrap;
}
.v3-errcode-inner code {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 12.5px; background: #fff; border: 1px solid var(--line);
  padding: 3px 8px; border-radius: 6px; color: var(--ink-2);
}
.v3-errcode-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px;
  background: var(--primary); color: #fff;
}

/* ── Shortcuts grid ────────────────────────────────────────────────────── */
.v3-shortcuts {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.v3-shortcut {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px; background: #fff;
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 200ms ease;
}
.v3-shortcut:hover {
  transform: translateY(-2px);
  border-color: var(--primary-line); box-shadow: var(--shadow);
}
.v3-shortcut .ic {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; font-size: 20px; flex: 0 0 40px;
}
.v3-shortcut .nm { font-size: 14.5px; font-weight: 700; color: var(--ink); }
.v3-shortcut .ds { font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.v3-shortcut.c-red    .ic { background: var(--primary-soft); }
.v3-shortcut.c-blue   .ic { background: var(--blue-soft); }
.v3-shortcut.c-green  .ic { background: var(--green-soft); }
.v3-shortcut.c-yellow .ic { background: var(--yellow-soft); }

/* ── Legal / prose pages ──────────────────────────────────────────────── */
.v3-legal-hero {
  border-bottom: 1px solid var(--line-soft);
  padding: 48px 28px 40px;
  background:
    radial-gradient(600px 400px at 100% 0%, rgba(255,210,63,0.12), transparent 60%),
    #fff;
}
.v3-legal-hero-inner { max-width: 780px; margin: 0 auto; }
.v3-legal-crumbs {
  font-size: 13px; color: var(--muted);
  margin-bottom: 16px; display: flex; gap: 6px; align-items: center;
}
.v3-legal-crumbs a { color: var(--muted); text-decoration: none; }
.v3-legal-crumbs a:hover { color: var(--ink); }
.v3-legal-hero h1 {
  font-size: 38px; font-weight: 700; letter-spacing: -0.02em;
  color: var(--ink); margin: 0 0 8px; line-height: 1.1;
}
.v3-legal-hero .meta { font-size: 13.5px; color: var(--faint); }
.v3-prose {
  max-width: 780px; margin: 0 auto;
  padding: 48px 28px 80px;
}
.v3-prose h2 {
  font-size: 18px; font-weight: 700;
  color: var(--ink); margin: 36px 0 10px;
  letter-spacing: -0.01em;
}
.v3-prose h2:first-child { margin-top: 0; }
.v3-prose p {
  font-size: 15.5px; color: var(--ink-2);
  line-height: 1.68; margin: 0 0 14px;
}
.v3-prose ul, .v3-prose ol {
  font-size: 15.5px; color: var(--ink-2);
  line-height: 1.68; margin: 0 0 14px; padding-left: 24px;
}
.v3-prose li { margin-bottom: 5px; }
.v3-prose strong { color: var(--ink); font-weight: 600; }
.v3-prose a { color: var(--primary-deep); }
.v3-prose a:hover { text-decoration: underline; }
.v3-prose .contact-block {
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 20px 24px; margin: 20px 0;
}
.v3-prose .contact-block p { margin: 0 0 6px; }
.v3-prose .contact-block p:last-child { margin: 0; }

@media (max-width: 600px) {
  .v3-legal-hero { padding: 32px 16px 28px; }
  .v3-legal-hero h1 { font-size: 28px; }
  .v3-prose { padding: 32px 16px 60px; }
  .v3-prose h2 { font-size: 16px; margin-top: 28px; }
  .v3-prose p, .v3-prose li { font-size: 15px; }
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .v3-hero-inner        { grid-template-columns: 1fr; gap: 36px; padding: 40px 24px 50px; }
  .v3-hero h1           { font-size: 40px; }
  .v3-phone             { transform: rotate(0); margin: 0 auto; }
  .v3-phone-badge       { display: none; }
  .v3-feat-grid         { grid-template-columns: 1fr; }
  .v3-stats-inner       { grid-template-columns: 1fr 1fr; gap: 24px; }
  .v3-nav-links         { display: none; }
  .v3-footer-inner      { grid-template-columns: 1fr 1fr; }
  .v3-rules-row         { grid-template-columns: 1fr; }
  .v3-online-strip .scroll-cta { display: none; }
  .v3-hot-grid          { grid-template-columns: repeat(2, 1fr); }
  .v3-country-row       { grid-template-columns: repeat(4, 1fr); }
  .v3-filters-wrap      { top: 0; }
  .v3-hero404-inner     { grid-template-columns: 1fr; gap: 32px; }
  .v3-glyph404          { max-width: 380px; }
  .v3-shortcuts         { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .v3-salas-hero h1     { font-size: 38px; }
  .v3-hot-grid          { grid-template-columns: 1fr; }
  .v3-cat-grid          { grid-template-columns: 1fr; }
  .v3-country-row       { grid-template-columns: repeat(3, 1fr); }
  .v3-hero404           { padding: 36px 22px 44px; }
  .v3-hero404 h1        { font-size: 38px; }
  .v3-glyph404 .number  { font-size: 150px; }
  .v3-glyph404 .bub     { font-size: 12px; padding: 8px 11px; }
  .v3-shortcuts         { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .v3-header-cta .btn-v3-ghost { display: none; }
  .v3-stats-inner       { grid-template-columns: 1fr; }
  .v3-footer-inner      { grid-template-columns: 1fr; }
  .v3-final h2          { font-size: 32px; }
  .v3-features-section h2 { font-size: 30px; }
  .v3-search-box .key   { display: none; }
  .v3-country-row       { grid-template-columns: repeat(2, 1fr); }
}

/* ── Mobile (≤480 px — 375 × 667 and similar) ────────────────────────── */
@media (max-width: 480px) {
  /* Prevent any element from causing horizontal scroll */
  body { overflow-x: hidden; }

  /* Header */
  .v3-header-inner   { padding: 12px 16px; gap: 12px; }
  .v3-header .logo img { height: 28px; }

  /* Crumbs */
  .v3-crumbs          { padding: 14px 16px 0; font-size: 12.5px; }

  /* Hero text */
  .v3-hero-inner      { padding: 28px 16px 40px; gap: 28px; }
  .v3-hero h1         { font-size: 28px; letter-spacing: -0.02em; }
  .v3-hero-sub        { font-size: 15px; margin-bottom: 20px; }
  .v3-hero-eyebrow    { font-size: 12px; }

  /* Hero CTA buttons: stack vertically, full width */
  .v3-hero-cta        { flex-direction: column; align-items: stretch; gap: 10px; }
  .v3-hero-cta .btn-v3 { justify-content: center; }

  /* Hero bullets */
  .v3-hero-bullets    { gap: 12px; font-size: 13px; }

  /* Phone mockup: cap at viewport width minus padding */
  .v3-phone           { width: min(300px, calc(100vw - 64px)); }

  /* Entry card */
  .v3-entry-card      { padding: 18px 14px; max-width: 100%; }
  .v3-entry-row       { flex-direction: column; gap: 8px; }
  .v3-entry-input     { border-radius: 12px; padding: 4px 6px 4px 14px; }
  .v3-entry-cta       { width: 100%; justify-content: center; border-radius: 12px; }

  /* Online strip */
  .v3-online-strip-inner { gap: 12px; padding: 0 16px; }
  .v3-online-strip h3    { font-size: 11px; }
  .v3-online-strip .live-text { font-size: 13px; }

  /* Sections */
  .v3-section         { padding: 44px 16px 24px; }
  .v3-section-head h2 { font-size: 24px; }
  .v3-section-head    { flex-direction: column; align-items: flex-start; gap: 6px; }
  .v3-section-head .right { display: none; }

  /* Subsalas padding override */
  .v3-subsalas-wrap .v3-section { padding: 18px 16px !important; }

  /* Feat grid cards */
  .v3-feat            { padding: 20px 16px; }
  .v3-feat h3         { font-size: 17px; }

  /* Rules */
  .v3-rules-card      { padding: 20px 16px 16px; }
  .v3-quote           { padding: 18px 16px; }

  /* Final CTA */
  .v3-final           { padding: 52px 16px 60px; }
  .v3-final h2        { font-size: 26px; }
  .v3-final p         { font-size: 15px; }
  .v3-final .btn-v3-lg { font-size: 15px; padding: 13px 22px; }

  /* Footer */
  .v3-footer          { padding: 28px 16px 20px; }
  .v3-footer-inner    { gap: 20px; }
  .v3-footer-bottom   { flex-direction: column; gap: 4px; }
  .v3-footer-bottom span:last-child { display: none; }

  /* 404 hero */
  .v3-hero404          { padding: 28px 16px 40px; }
  .v3-hero404 h1       { font-size: 30px; }
  .v3-hero404 .sub     { font-size: 15px; }
  .v3-glyph404 .number { font-size: 110px; }
  .v3-glyph404 .bub    { display: none; }
  .v3-errcode          { padding: 20px 16px 0; }

  /* Salas hero */
  .v3-salas-hero       { padding: 24px 16px 36px; }
  .v3-salas-hero h1    { font-size: 30px; letter-spacing: -0.02em; }
  .v3-salas-hero-sub   { font-size: 15px; }
  .v3-salas-stats-row  { gap: 14px; font-size: 13px; }
  .v3-search-box       { padding: 5px 5px 5px 16px; }
  .v3-search-box input { font-size: 15px; }
  .v3-filters           { padding: 10px 16px; }
  .v3-hot-card          { min-height: 170px; }
  .v3-hot-card h3       { font-size: 18px; }
  .v3-cat-card          { padding: 18px 16px 14px; }
  .v3-country-row       { gap: 10px; padding: 0 16px; }
  .v3-country-wrap      { padding: 24px 0; }

  /* Rooms strip */
  .v3-rooms-strip-inner { padding: 0 16px; }

  /* Stats */
  .v3-stats           { padding: 48px 16px; }
  .v3-features-section { padding: 52px 16px 44px; }
  .v3-features-section h2 { font-size: 26px; }
}
