/* =============================================
   Pokerazo — website styles
   Same structure as dominazo-site (nav, hero with phone carousel,
   feature cards, footer, prose pages) in Pokerazo's noir-and-gold.
   Font: Inter
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0a0806;
  --bg-alt:    #120e09;
  --card:      rgba(255, 241, 214, 0.045);
  --card-hi:   rgba(255, 241, 214, 0.08);
  --border:    rgba(230, 194, 122, 0.18);
  --gold:      #e6c27a;
  --gold-dim:  #b8924a;
  --cream:     #fff1d6;
  --text:      #f6efe0;
  --text-mid:  #d6c9ae;
  --text-dim:  #9a8c70;
  --felt:      #0f5a43;
  --wine:      #8d1f2d;
  --radius:    18px;
  --font:      'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

/* Spanish by default, English with the toggle (html[lang]). */
html[lang="es"] [data-l="en"], html[lang="en"] [data-l="es"] { display: none !important; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 8, 6, 0.96);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.nav.scrolled { border-color: var(--border); box-shadow: 0 8px 30px rgba(0,0,0,.45); }
.nav-inner {
  max-width: 1120px; margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; gap: 18px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; color: var(--cream); font-weight: 800; letter-spacing: .5px; }
.nav-logo img { width: 36px; height: 36px; border-radius: 9px; }
.nav-links { list-style: none; display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--text-mid); font-weight: 600; font-size: .95rem; }
.nav-links a:hover, .nav-links a.nav-active { color: var(--gold); text-decoration: none; }
.lang-toggle {
  border: 1px solid var(--border); background: var(--card); color: var(--gold);
  border-radius: 999px; padding: 4px 12px; font: 700 .8rem var(--font); cursor: pointer;
}
.nav-hamburger { display: none; background: none; border: 0; color: var(--cream); width: 36px; height: 36px; margin-left: auto; }
.nav-hamburger svg { width: 26px; height: 26px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; padding: 70px 20px 90px; }
.hero::before, .hero::after {
  content: ''; position: absolute; border-radius: 50%; pointer-events: none;
}
/* Soft glows as gradients (a blur filter on these big circles repainted the page on every scroll). */
.hero::before { width: 760px; height: 760px; top: -300px; left: -260px; background: radial-gradient(circle, rgba(23,133,95,.40), transparent 68%); }
.hero::after  { width: 700px; height: 700px; bottom: -330px; right: -240px; background: radial-gradient(circle, rgba(184,146,74,.28), transparent 68%); }
.hero-inner {
  position: relative; z-index: 1; max-width: 1120px; margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center;
}
.badge-chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border); background: var(--card); color: var(--gold);
  border-radius: 999px; padding: 6px 14px; font-size: .82rem; font-weight: 700; letter-spacing: .3px;
}
.hero-title { font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.05; font-weight: 800; margin: 18px 0 8px; letter-spacing: -1px; }
.hero-title span { background: linear-gradient(120deg, var(--cream), var(--gold) 55%, var(--gold-dim)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-tagline { font-size: 1.3rem; font-weight: 700; color: var(--cream); margin-bottom: 10px; }
.hero-desc { color: var(--text-mid); max-width: 520px; }
.store-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.store-badge {
  display: flex; align-items: center; gap: 12px; padding: 10px 18px;
  border: 1px solid var(--border); background: var(--card); border-radius: 14px; color: var(--cream);
}
.store-badge[aria-disabled="true"] { opacity: .78; cursor: default; }
.store-icon { width: 26px; height: 26px; flex-shrink: 0; }
.store-text { display: flex; flex-direction: column; }
.store-label { font-size: .65rem; opacity: .7; line-height: 1; }
.store-name { font-size: .95rem; font-weight: 700; line-height: 1.3; }
.hero-note { margin-top: 16px; color: var(--text-dim); font-size: .85rem; }

/* phone + carousel */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: min(290px, 70vw); aspect-ratio: 405 / 832;
  border-radius: 38px; padding: 10px; background: linear-gradient(160deg, #3a3224, #14100a);
  box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px var(--border), 0 0 70px rgba(230,194,122,.14);
  animation: float 6s ease-in-out infinite;
  will-change: transform;
}
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: #000; }
.slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s; }
.slide.active { opacity: 1; }
.dots { position: absolute; bottom: -34px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.dot { width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255,241,214,.25); cursor: pointer; }
.dot.active { background: var(--gold); }
.chips-art { position: absolute; width: 190px; right: -10px; bottom: -40px; filter: drop-shadow(0 18px 24px rgba(0,0,0,.55)); pointer-events: none; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- sections ---------- */
.section { padding: 80px 20px; }
.section.alt { background: var(--bg-alt); }
.section-inner { max-width: 1120px; margin: 0 auto; }
.section-title { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 800; text-align: center; letter-spacing: -.5px; }
.section-subtitle { text-align: center; color: var(--text-mid); max-width: 640px; margin: 10px auto 44px; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; transition: transform .2s, background .2s;
}
.feature-card:hover { transform: translateY(-4px); background: var(--card-hi); }
.feature-icon {
  width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center;
  background: rgba(230,194,122,.12); border: 1px solid var(--border); margin-bottom: 16px;
}
.feature-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 6px; color: var(--cream); }
.feature-card p { color: var(--text-mid); font-size: .95rem; }

.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; position: relative; }
.step-card::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--gold); color: #1b1408; font-weight: 800; margin-bottom: 14px;
}
.step-card h3 { color: var(--cream); margin-bottom: 4px; }
.step-card p { color: var(--text-mid); font-size: .95rem; }

.cta { text-align: center; padding: 80px 20px; background: radial-gradient(circle at 50% 0, rgba(15,90,67,.45), transparent 60%); }
.cta h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 8px; }
.cta p { color: var(--text-mid); margin-bottom: 22px; }
.btn {
  display: inline-block; background: var(--gold); color: #1b1408; font-weight: 800;
  padding: 12px 26px; border-radius: 999px;
}
.btn:hover { text-decoration: none; background: var(--cream); }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 34px 20px; background: var(--bg-alt); }
.footer-inner { max-width: 1120px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; justify-content: space-between; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--cream); }
.footer-logo img { width: 30px; height: 30px; border-radius: 8px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-links a { color: var(--text-mid); font-size: .9rem; }
.footer-copy { color: var(--text-dim); font-size: .8rem; width: 100%; }
.disclaimer { color: var(--text-dim); font-size: .78rem; width: 100%; max-width: 760px; }

/* ---------- inner pages ---------- */
.page-header { padding: 56px 20px 28px; text-align: center; border-bottom: 1px solid var(--border); background: radial-gradient(circle at 50% 0, rgba(230,194,122,.12), transparent 65%); }
.page-header h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); font-weight: 800; }
.page-header p { color: var(--text-mid); }
.prose-page { max-width: 820px; margin: 0 auto; padding: 40px 20px 80px; }
.support-layout { display: grid; gap: 22px; }
.contact-card, .dev-card, .faq-item {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px;
}
.contact-card { text-align: center; }
.contact-icon { width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 16px; display: grid; place-items: center; background: rgba(230,194,122,.12); }
.contact-icon svg { width: 28px; height: 28px; stroke: var(--gold); fill: none; }
.contact-card h2, .dev-card h2, .faq-section h2 { color: var(--cream); font-size: 1.25rem; margin-bottom: 8px; }
.contact-email { display: inline-block; margin: 10px 0; font-size: 1.15rem; font-weight: 800; }
.contact-note { color: var(--text-dim); font-size: .88rem; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: .95rem; }
.info-table th { color: var(--text-dim); width: 38%; font-weight: 600; }
.faq-section { display: grid; gap: 14px; }
.faq-item h3 { color: var(--cream); font-size: 1.02rem; margin-bottom: 4px; }
.faq-item p { color: var(--text-mid); font-size: .95rem; }

/* ---------- reveal ---------- */
.js-ready .fade-in { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.js-ready .fade-in.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .phone { animation: none; }
  .js-ready .fade-in { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin: 0 auto; }
  .store-badges { justify-content: center; }
  .features-grid, .steps-grid { grid-template-columns: 1fr 1fr; }
  .chips-art { width: 130px; right: 0; }
}
@media (max-width: 640px) {
  .nav-hamburger { display: block; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 20px 14px; }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; padding: 10px 0; border-bottom: 1px solid var(--border); }
  .features-grid, .steps-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
  .section { padding: 56px 20px; }
}

/* ================= v2: new sections ================= */
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #1b1408; padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }
.phone img { width: 100%; height: 100%; object-fit: cover; }
.phone-md { width: min(270px, 70vw); animation: none; }
.phone-sm { width: min(220px, 62vw); animation: none; border-radius: 30px; padding: 8px; }
.phone-sm .phone-screen { border-radius: 23px; }

.stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: linear-gradient(180deg, var(--bg-alt), var(--bg)); }
.stats-inner { max-width: 1120px; margin: 0 auto; padding: 22px 20px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.stat b { display: block; font-size: clamp(1.25rem, 2.6vw, 1.7rem); font-weight: 800; color: var(--gold); line-height: 1.15; }
.stat span { color: var(--text-mid); font-size: .88rem; }

.formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.format-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; text-align: center; transition: transform .2s, background .2s; }
.format-card:hover { transform: translateY(-4px); background: var(--card-hi); }
.table-svg { width: 100%; max-width: 300px; height: auto; margin: 0 auto 8px; display: block; }
.format-card h3 { color: var(--cream); font-size: 1.25rem; }
.format-card h3 small { color: var(--text-dim); font-weight: 600; font-size: .8rem; margin-left: 6px; }
.format-card p { color: var(--text-mid); font-size: .95rem; }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
.tier { text-align: center; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 18px; }
.chip-svg { width: 104px; height: 104px; margin: 0 auto 10px; display: block; filter: drop-shadow(0 12px 18px rgba(0,0,0,.5)); transition: transform .35s; }
.tier:hover .chip-svg { transform: rotate(18deg) scale(1.06); }
.tier h3 { color: var(--cream); }
.tier p { color: var(--text-mid); font-size: .92rem; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.split.reverse { grid-template-columns: 1.1fr .9fr; }
.split.reverse .split-visual { order: 2; }
.split-visual { display: flex; justify-content: center; }
.section-title.left { text-align: left; }
.lead { color: var(--text-mid); font-size: 1.05rem; margin: 10px 0 18px; }
.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 30px; color: var(--text); }
.check-list li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: rgba(15,90,67,.9) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff1d6' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat; border: 1px solid var(--gold-dim); }

.timeline { width: min(420px, 100%); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.timeline-bar { height: 10px; border-radius: 99px; background: rgba(255,241,214,.1); overflow: hidden; }
.timeline-bar i { display: block; height: 100%; width: 78%; border-radius: 99px; background: linear-gradient(90deg, var(--felt), var(--gold)); animation: grow 4.5s ease-in-out infinite alternate; }
.timeline-steps { display: flex; justify-content: space-between; margin-top: 10px; color: var(--text-dim); font-size: .8rem; }
.speeds { display: flex; gap: 8px; margin-top: 22px; }
.speeds b { flex: 1; text-align: center; padding: 8px 0; border-radius: 10px; border: 1px solid var(--border); color: var(--text-mid); font-weight: 800; transition: .25s; }
.speeds b.on { background: var(--gold); color: #1b1408; border-color: var(--gold); transform: translateY(-2px); }
@keyframes grow { from { width: 18%; } to { width: 100%; } }

.gallery { display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px max(20px, calc((100vw - 1120px) / 2)) 28px; scrollbar-width: thin; scrollbar-color: var(--gold-dim) transparent; }
.gallery:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.shot { scroll-snap-align: center; flex: 0 0 auto; text-align: center; width: min(240px, 66vw); }
.shot figcaption { margin-top: 14px; display: grid; gap: 2px; }
.shot figcaption b { color: var(--cream); }
.shot figcaption span { color: var(--text-dim); font-size: .85rem; }

.shield { width: min(220px, 60vw); height: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,.5)); }
.narrow { max-width: 760px; }
.faq { display: grid; gap: 12px; margin-top: 28px; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 4px 18px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; color: var(--cream); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; color: var(--gold); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { color: var(--text-mid); padding: 0 0 16px; }

.hero-title { text-shadow: 0 8px 40px rgba(230,194,122,.18); }
.chips-art { animation: float 7s ease-in-out infinite reverse; will-change: transform; }

@media (max-width: 900px) {
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .formats, .tiers { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 28px; }
  .split.reverse .split-visual { order: 0; }
  .section-title.left { text-align: center; }
  .lead { text-align: center; }
  .check-list { max-width: 460px; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) { .timeline-bar i, .chips-art { animation: none; } }

/* ---------- support + 404 (tick 2) ---------- */
.help-list { list-style: none; display: grid; gap: 10px; margin-top: 8px; }
.help-list li { position: relative; padding-left: 28px; color: var(--text-mid); }
.help-list li::before { content: ""; position: absolute; left: 4px; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(230,194,122,.18); }
.lost { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 56px 20px; background: radial-gradient(circle at 50% 30%, rgba(15,90,67,.35), transparent 60%); }
.lost-cards { display: flex; justify-content: center; gap: 10px; margin-bottom: 22px; }
.lost-cards b { width: 62px; height: 88px; border-radius: 10px; background: var(--cream); color: #1b1408; display: grid; place-items: center; font-size: 1.9rem; font-weight: 800; box-shadow: 0 10px 24px rgba(0,0,0,.45); }
.lost-cards b:nth-child(1) { transform: rotate(-9deg); }
.lost-cards b:nth-child(3) { transform: rotate(9deg); }
.lost-cards b.red { color: #b3261e; }
.lost h1 { font-size: clamp(2rem, 6vw, 3rem); color: var(--cream); margin-bottom: 8px; }
.lost p { color: var(--text-mid); margin-bottom: 22px; }

/* ---------- press kit ---------- */
.press-line { font-size: 1.1rem; color: var(--cream); }
.press-note { margin-top: 12px; color: var(--text-dim); font-size: .85rem; }
.dev-card p { color: var(--text-mid); }
.press-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; margin-top: 10px; }
.press-item { display: grid; gap: 8px; justify-items: center; padding: 14px; border: 1px solid var(--border); border-radius: 14px; background: rgba(255,255,255,.02); color: var(--text-mid); font-size: .85rem; }
.press-item:hover { border-color: var(--gold-dim); text-decoration: none; }
.press-item img { max-width: 100%; height: auto; border-radius: 12px; }
.shots-grid .press-item img { width: 120px; }
.swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 14px; margin-top: 10px; }
.swatches div { display: grid; gap: 2px; }
.swatches i { height: 56px; border-radius: 12px; border: 1px solid var(--border); margin-bottom: 6px; }
.swatches b { color: var(--cream); }
.swatches span { color: var(--text-dim); font-size: .85rem; font-family: ui-monospace, Consolas, monospace; }
