:root {
  --bg: #070817;
  --bg-soft: #0c0e22;
  --panel: #11152b;
  --panel-strong: #171b36;
  --panel-glass: rgba(17, 21, 43, .86);
  --line: rgba(184, 167, 255, .2);
  --line-strong: rgba(226, 196, 113, .42);
  --text: #f8f5ff;
  --muted: #b9b6cc;
  --brand: #f0cf78;
  --brand-bright: #ffe7a6;
  --violet: #a98bff;
  --cyan: #6ee7f2;
  --danger: #ff858f;
  --ok: #7ee1bd;
  --radius: 20px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 82% 3%, rgba(87, 63, 166, .2), transparent 27rem),
    radial-gradient(circle at 10% 30%, rgba(19, 105, 128, .12), transparent 30rem),
    linear-gradient(180deg, #080919 0, #070817 45%, #050612 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .28;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255,255,255,.72) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(185,164,255,.55) 0 1px, transparent 1.5px);
  background-position: 0 0, 38px 62px;
  background-size: 110px 110px, 155px 155px;
}
a { color: inherit; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
.site-shell { width: min(1160px, calc(100% - 36px)); margin-inline: auto; }

/* The header intentionally scrolls with the page. */
.site-header {
  position: relative;
  z-index: 20;
  background: rgba(8, 9, 25, .93);
  border-bottom: 1px solid var(--line);
}
.nav { min-height: 76px; display: flex; align-items: center; gap: 22px; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  letter-spacing: -.035em;
  text-decoration: none;
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(240,207,120,.55);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(240,207,120,.2), rgba(169,139,255,.16));
  color: var(--brand);
  box-shadow: 0 0 24px rgba(240,207,120,.12);
}
.brand span { color: var(--brand); }
.nav-links { display: flex; align-items: center; gap: 3px; margin-left: auto; }
.nav-links a {
  padding: 10px 11px;
  border-radius: 11px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
}
.nav-links a:hover, .nav-links a.active { background: rgba(169,139,255,.11); color: #fff; }
.nav-links a.cosmic-link { color: var(--brand-bright); }
.nav-toggle {
  display: none;
  margin-left: auto;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #15182e;
  color: #fff;
  cursor: pointer;
}

.hero { padding: 70px 0 34px; text-align: center; }
.hero.compact { padding-bottom: 22px; }
.eyebrow, .tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--brand-bright);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.tag {
  padding: 4px 9px;
  border: 1px solid rgba(240,207,120,.25);
  border-radius: 999px;
  background: rgba(240,207,120,.07);
  letter-spacing: .07em;
}
.hero h1 {
  max-width: 900px;
  margin: 15px auto 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -.045em;
}
.hero p { max-width: 740px; margin: 0 auto; color: var(--muted); font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 27px; }
.cosmic-hero {
  position: relative;
  display: grid;
  min-height: 540px;
  align-items: center;
  margin-top: 28px;
  padding: 64px clamp(24px, 6vw, 70px);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 30px;
  background: #090b21 url('/assets/images/cosmic-horoscope-hero.webp') center/cover no-repeat;
  box-shadow: var(--shadow), inset 0 0 90px rgba(6,7,22,.25);
}
.cosmic-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,7,22,.94) 0%, rgba(5,7,22,.76) 40%, rgba(5,7,22,.1) 75%);
}
.cosmic-hero-content { position: relative; z-index: 1; max-width: 650px; }
.cosmic-hero h1 {
  margin: 15px 0 15px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(43px, 6.3vw, 75px);
  line-height: 1;
  letter-spacing: -.045em;
}
.cosmic-hero p { color: #d0ccdf; font-size: 18px; }
.cosmic-hero .hero-actions { justify-content: flex-start; }

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid rgba(255,233,168,.18);
  border-radius: 13px;
  background: linear-gradient(135deg, #f2d37d, #c69a40);
  color: #241804;
  font-weight: 880;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(196,151,62,.18);
  transition: transform .16s ease, filter .16s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.07); }
.btn.secondary { border-color: var(--line); background: rgba(17,21,43,.88); color: #fff; box-shadow: none; }
.btn.ghost { border-color: transparent; background: transparent; color: var(--brand-bright); box-shadow: none; }
.btn.danger { background: var(--danger); color: #26070c; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.section { padding: 34px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.section h2, .content h2 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(27px, 4vw, 38px);
  line-height: 1.15;
  letter-spacing: -.025em;
}
.section-head p, .content p, .content li { color: var(--muted); }
.section-head p { max-width: 720px; margin: 0; }
.section-lead { max-width: 760px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card {
  position: relative;
  padding: 21px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(24,28,58,.96), rgba(12,15,34,.98));
  box-shadow: 0 16px 46px rgba(0,0,0,.22);
}
.card::after {
  content: "";
  position: absolute;
  right: -44px;
  bottom: -54px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(169,139,255,.1), transparent 68%);
  pointer-events: none;
}
.card h3 { margin: 10px 0 6px; font-size: 20px; letter-spacing: -.02em; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.card .icon { color: var(--brand); font-size: 31px; line-height: 1; }
.card-link { display: block; text-decoration: none; transition: transform .18s ease, border-color .18s ease; }
.card-link:hover { transform: translateY(-4px); border-color: rgba(240,207,120,.55); }
.featured-card { border-color: rgba(240,207,120,.3); }
.card-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; color: #aeadc5; font-size: 13px; }
.card-meta span { padding: 3px 8px; border: 1px solid var(--line); border-radius: 999px; }

.tool-wrap, .game-wrap {
  padding: clamp(18px, 4vw, 30px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(23,27,54,.98), rgba(10,13,31,.98));
  box-shadow: var(--shadow);
}
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  color: #d5d1e2;
  font-size: 13px;
  font-weight: 840;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 47px;
  padding: 11px 13px;
  border: 1px solid rgba(184,167,255,.28);
  border-radius: 12px;
  outline: none;
  background: #090c20;
  color: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(240,207,120,.1); }
.field textarea { min-height: 145px; resize: vertical; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 15px 0; }
.output, .notice {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #090c20;
  color: #dedbed;
  overflow-wrap: anywhere;
}
.output strong { color: #fff; }
.notice { font-size: 14px; }
.notice.ok { border-color: rgba(126,225,189,.38); background: rgba(21,79,62,.2); color: #c9f7e7; }
.notice.error { border-color: rgba(255,133,143,.38); background: rgba(88,24,35,.22); color: #ffd0d4; }

.content { margin: 34px 0 0; }
.content > p, .content > ul, .content > ol { max-width: 850px; }
.content h2 { margin-top: 38px; }
.content h3 { margin: 24px 0 7px; }
.content a { color: var(--brand-bright); }
.content-box {
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(15,18,41,.72);
}
.content-box h2:first-child { margin-top: 0; }
.article-shell { max-width: 900px; margin-inline: auto; }
.article-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 14px; margin-top: 17px; color: #9995ab; font-size: 14px; }
.article-lead { color: #d5d0e1 !important; font-family: Georgia, "Times New Roman", serif; font-size: 21px; line-height: 1.62; }
.history-timeline { position: relative; display: grid; gap: 14px; margin: 24px 0; padding-left: 25px; }
.history-timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: 6px; width: 1px; background: linear-gradient(var(--brand), var(--violet)); }
.timeline-entry { position: relative; padding: 17px 19px; border: 1px solid var(--line); border-radius: 15px; background: rgba(8,11,29,.72); }
.timeline-entry::before { content: ""; position: absolute; top: 24px; left: -25px; width: 11px; height: 11px; border: 2px solid #080919; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.timeline-entry b { display: block; color: var(--brand-bright); font-size: 14px; letter-spacing: .05em; text-transform: uppercase; }
.timeline-entry h3 { margin: 3px 0 5px; }
.timeline-entry p { margin: 0; }
.source-list { padding-left: 1.25rem; }
.source-list li { margin: 9px 0; }
.text-link { color: var(--brand-bright); font-weight: 820; text-decoration: none; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }
.category-emblem {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  margin: 0 auto 16px;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(240,207,120,.14), rgba(169,139,255,.16));
  color: var(--brand);
  font-family: Georgia, serif;
  font-size: 38px;
  box-shadow: 0 18px 50px rgba(0,0,0,.24);
}
.quick-practice, .practice-card, .wellness-note, .article-callout {
  margin: 26px 0;
  padding: 21px 23px;
  border: 1px solid rgba(240,207,120,.3);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(55,45,91,.34), rgba(10,13,31,.84));
}
.quick-practice > span, .practice-card > span {
  color: var(--brand-bright);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.quick-practice h2, .practice-card h2 { margin: 5px 0 10px; font-size: 26px; }
.quick-practice ul, .practice-card ol { margin: 0; padding-left: 1.25rem; }
.quick-practice li, .practice-card li { margin: 6px 0; }
.practice-card { border-color: rgba(110,231,242,.28); background: linear-gradient(145deg, rgba(20,76,88,.22), rgba(10,13,31,.88)); }
.wellness-note { border-color: rgba(126,225,189,.35); background: rgba(17,66,54,.23); color: #d4f5e8 !important; }
.wellness-note a { color: #fff; }
.prose-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 28px; }
.bullet-list { padding-left: 1.2rem; }
.faq details { padding: 15px 0; border-bottom: 1px solid var(--line); }
.faq summary { color: #f7f4ff; font-weight: 820; cursor: pointer; }
.faq p { margin: 8px 0 0; }
.disclaimer { margin-top: 20px; color: #a9a7bd; font-size: 14px; }

.zodiac-wheel { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.zodiac-chip {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 7px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(17,21,43,.82);
  text-align: center;
  text-decoration: none;
  transition: transform .17s ease, border-color .17s ease;
}
.zodiac-chip:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.zodiac-symbol { color: var(--brand); font-family: Georgia, serif; font-size: 34px; line-height: 1; }
.zodiac-chip b { margin-top: 6px; }
.zodiac-chip small { color: var(--muted); font-size: 12px; }
.sign-hero { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 24px; text-align: left; }
.sign-emblem {
  display: grid;
  width: 120px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,207,120,.18), rgba(169,139,255,.08) 58%, transparent 60%);
  color: var(--brand);
  font-family: Georgia, serif;
  font-size: 62px;
}
.sign-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; }
.fact { padding: 13px; border: 1px solid var(--line); border-radius: 13px; background: rgba(7,9,24,.55); }
.fact span { display: block; color: #9e9bb3; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; }
.fact b { display: block; margin-top: 2px; }

.app-intro { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.app-intro h2 { margin: 0; font-family: Georgia, serif; font-size: 29px; }
.app-intro p { margin: 3px 0 0; color: var(--muted); }
.reading-result { display: none; margin-top: 22px; }
.reading-result.visible { display: block; animation: reveal .42s ease; }
@keyframes reveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.reading-head { display: flex; align-items: center; gap: 15px; margin-bottom: 18px; }
.reading-icon { display: grid; width: 60px; height: 60px; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; color: var(--brand); font-size: 30px; }
.reading-head h2 { margin: 0; font-family: Georgia, serif; font-size: 30px; }
.reading-head p { margin: 2px 0 0; color: var(--muted); }
.reading-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.reading-panel { padding: 17px; border: 1px solid var(--line); border-radius: 15px; background: rgba(7,10,27,.72); }
.reading-panel span { color: var(--brand); font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.reading-panel h3 { margin: 5px 0 6px; }
.reading-panel p { margin: 0; color: var(--muted); }
.lucky-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 15px; }
.lucky-row span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: #d8d3e7; font-size: 13px; }
.meter { height: 9px; overflow: hidden; border-radius: 999px; background: #090b1b; }
.meter > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--violet), var(--brand)); }

.tarot-banner {
  min-height: 390px;
  display: flex;
  align-items: end;
  margin: 14px 0 30px;
  padding: clamp(24px, 6vw, 55px);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 28px;
  background: linear-gradient(0deg, rgba(6,7,20,.86), rgba(6,7,20,.08)), url('/assets/images/tarot-reading.webp') center/cover no-repeat;
  box-shadow: var(--shadow);
}
.tarot-banner-content { max-width: 620px; }
.tarot-banner h1 { margin: 8px 0; font-family: Georgia, serif; font-size: clamp(42px, 7vw, 70px); line-height: 1; }
.tarot-banner p { color: #dbd6e7; }
.tarot-stage { min-height: 310px; display: grid; place-items: center; padding: 20px 0; }
.tarot-cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; width: 100%; }
.tarot-card { width: min(210px, 29vw); perspective: 1000px; }
.tarot-card-inner { position: relative; min-height: 300px; transform-style: preserve-3d; transition: transform .75s cubic-bezier(.2,.7,.2,1); }
.tarot-card.revealed .tarot-card-inner { transform: rotateY(180deg); }
.tarot-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border: 2px solid #cda953;
  border-radius: 16px;
  backface-visibility: hidden;
  text-align: center;
  box-shadow: 0 17px 38px rgba(0,0,0,.35);
}
.tarot-back { background: radial-gradient(circle, #31305d 0 7%, transparent 8%), repeating-radial-gradient(circle at 50%, #181b3d 0 8px, #222550 9px 12px); }
.tarot-back::after { content: "✦"; display: grid; width: 105px; height: 105px; place-items: center; border: 1px solid #d4b45f; border-radius: 50%; color: #f3d686; font-size: 43px; }
.tarot-front { transform: rotateY(180deg); background: linear-gradient(165deg, #f4e6bd, #c8a65d); color: #20172b; }
.tarot-front .card-glyph { font-family: Georgia, serif; font-size: 55px; line-height: 1; }
.tarot-front h3 { margin: 12px 0 0; font-family: Georgia, serif; font-size: 20px; }
.tarot-front small { margin-top: 5px; font-weight: 850; text-transform: uppercase; }
.tarot-card.reversed .tarot-front { background: linear-gradient(165deg, #c9afe7, #7b669c); }
.tarot-interpretation { display: grid; gap: 12px; margin-top: 20px; }
.tarot-meaning { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(7,10,27,.76); }
.tarot-meaning h3 { margin: 0 0 5px; }
.tarot-meaning p { margin: 0; color: var(--muted); }
.tarot-meaning .position { color: var(--brand); font-size: 12px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }

.oracle-orb {
  display: grid;
  width: min(270px, 75vw);
  aspect-ratio: 1;
  place-items: center;
  margin: 20px auto;
  padding: 36px;
  border: 1px solid rgba(240,207,120,.65);
  border-radius: 50%;
  background: radial-gradient(circle at 38% 30%, #6357a6, #211d4e 42%, #080b20 72%);
  box-shadow: inset -24px -28px 60px rgba(0,0,0,.5), 0 0 70px rgba(122,93,225,.25);
  color: white;
  text-align: center;
}
.oracle-orb b { display: block; font-family: Georgia, serif; font-size: 27px; line-height: 1.15; }
.oracle-orb span { display: block; margin-top: 8px; color: #d3cdec; font-size: 14px; }

.legal { padding: 50px 0; }
.legal h1 { font-family: Georgia, serif; font-size: clamp(38px, 6vw, 58px); letter-spacing: -.04em; }
.legal h2 { margin-top: 32px; }
.legal p, .legal li { color: var(--muted); }
.site-footer { margin-top: 58px; padding: 34px 0 46px; border-top: 1px solid var(--line); color: #9692aa; font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 12px; text-align: center; }
.footer-inner a { color: #c8c3d5; text-decoration: none; }
.footer-inner a:hover { color: #fff; }
.footer-note { width: 100%; margin-top: 8px; color: #7f7b91; }

.canvas-frame { position: relative; width: 100%; min-height: 320px; aspect-ratio: 16/9; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #080a16; }
.canvas-frame canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.game-hud { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-bottom: 10px; color: #e4e0ee; font-weight: 800; }
.game-hud span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 10px; background: #0b0e20; }
.center-overlay { position: absolute; inset: 0; display: grid; place-items: center; padding: 22px; background: rgba(4,5,13,.7); text-align: center; }
.center-overlay.hidden { display: none; }
.overlay-card { max-width: 480px; padding: 23px; border: 1px solid var(--line); border-radius: 18px; background: #14172e; }
.overlay-card h2 { margin: 0 0 8px; }
.overlay-card p { color: var(--muted); }
.kbd { display: inline-block; padding: 2px 7px; border: 1px solid #5a5771; border-bottom-width: 3px; border-radius: 7px; background: #181a32; color: #fff; font-size: 12px; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 14px; }
.data-table { width: 100%; min-width: 520px; border-collapse: collapse; }
.data-table th, .data-table td { padding: 11px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.data-table th { background: #11142b; color: #d7d2e4; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.data-table td { color: #e4e0ed; }
.media-preview { max-width: 100%; border: 1px solid var(--line); border-radius: 12px; background: #090a16; }
.scanner-video { width: 100%; max-height: 380px; border-radius: 14px; background: #05060c; object-fit: cover; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #0b0e20; }
.stat b { display: block; font-size: 22px; }
.stat span { color: var(--muted); font-size: 12px; }

.banner728, .banner300 { display: flex; width: 100%; align-items: center; justify-content: center; box-sizing: border-box; }
.banner728 { min-height: 50px; margin: 22px auto; }
.banner300 { min-height: 250px; margin: 36px auto; }
.banner728 ins.adsbygoogle { width: 100% !important; min-width: 250px !important; max-width: 320px !important; min-height: 50px !important; height: auto !important; }
.banner300 ins.adsbygoogle { width: 300px !important; min-width: 300px !important; height: 250px !important; }
.ad-label { margin: 18px 0 4px; color: #6f6b80; font-size: 9px; letter-spacing: .12em; text-align: center; text-transform: uppercase; pointer-events: none; }

@media (min-width: 768px) {
  .banner728 { min-height: 90px; margin: 30px auto; }
  .banner728 ins.adsbygoogle { min-width: 728px !important; max-width: 970px !important; min-height: 90px !important; }
  .banner300 ins.adsbygoogle { width: 336px !important; min-width: 336px !important; height: 280px !important; }
}
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zodiac-wheel { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sign-facts { grid-template-columns: repeat(2, 1fr); }
  .reading-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .site-shell { width: min(100% - 24px, 1160px); }
  .nav { min-height: 70px; }
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 64px; left: 12px; right: 12px; z-index: 30; padding: 9px; border: 1px solid var(--line); border-radius: 14px; background: #101329; box-shadow: var(--shadow); }
  .nav-links.open { display: grid; }
  .nav-links a { padding: 12px; }
  .cosmic-hero { min-height: 500px; background-position: 62% center; }
  .cosmic-hero::after { background: linear-gradient(90deg, rgba(5,7,22,.96), rgba(5,7,22,.72)); }
  .tool-grid, .two-col, .prose-grid { grid-template-columns: 1fr; }
  .zodiac-wheel { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tarot-card { width: min(190px, 43vw); }
  .tarot-card-inner { min-height: 275px; }
  .app-intro { align-items: flex-start; flex-direction: column; }
  .canvas-frame { min-height: 260px; }
  .stat-grid { grid-template-columns: 1fr; }
}
@media (max-width: 540px) {
  .site-shell { width: min(100% - 18px, 1160px); }
  .brand { gap: 7px; font-size: 14px; }
  .brand-mark { width: 31px; height: 31px; }
  .cosmic-hero { min-height: 540px; margin-top: 14px; padding: 34px 20px; border-radius: 22px; background-position: 66% center; }
  .cosmic-hero h1 { font-size: 43px; }
  .hero { padding-top: 45px; }
  .hero h1 { font-size: 39px; }
  .grid, .grid.two { grid-template-columns: 1fr; }
  .zodiac-wheel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .zodiac-chip { min-height: 105px; }
  .sign-hero { grid-template-columns: 1fr; text-align: center; }
  .sign-emblem { width: 105px; margin-inline: auto; }
  .sign-facts { grid-template-columns: 1fr 1fr; }
  .tool-wrap, .game-wrap, .card { padding: 16px; }
  .tarot-banner { min-height: 430px; padding: 24px 20px; background-position: 58% center; }
  .tarot-card { width: min(220px, 72vw); }
  .tarot-card-inner { min-height: 315px; }
  .tarot-cards { flex-direction: column; align-items: center; }
  .canvas-frame { min-height: 280px; aspect-ratio: 4/3; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
