/* Guru777 landing design 21: vectors. Cream page, white cards, hand-built SVG that moves.
   Motion uses transform / opacity / stroke-dashoffset only. Every final state is the STATIC style, keyframes only
   describe the "from" side, so reduced motion (animations off) shows the finished picture. */
:root {
  --plum: #5A1846; --plum-d: #2E0F27; --plum-l: #7A2560; --yel: #FFE066; --gold: #FFC15E; --peach: #FF9E80; --coral: #F08A68;
  --cream: #FFF8EC; --card: #fff;
  --ink: #2E0F27; --muted: #6A4A60; --line: #F4DCCF; --soft: #FFF1DC; --head: #fff; --accent: #7A2560; --accent-ink: #fff;
  --red: #B3261E; --today: #FFE9A8; --amber-dk: #F08A68; --amber: #FFC15E; --on-amber: #2E0F27; --page: #FFF8EC;
  --fb: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; --fm: "Fira Code", ui-monospace, "SF Mono", Menlo, monospace;
  --fw: "Sora", "Plus Jakarta Sans", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
html { background: var(--cream); }
body { background: var(--cream); color: var(--ink); font: 400 1rem/1.55 var(--fb); overflow-x: hidden; }
a { color: var(--plum-l); }
main { display: block; }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--plum); font: 700 1rem var(--fb); text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background-color .2s; text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn-main, .btn:not(.btn-ghost):not(.btn-sm) { background: var(--plum-l); border-color: var(--plum-l); color: #fff; }
.btn-ghost { background: transparent; color: var(--plum); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: .92rem; background: var(--plum-l); border-color: var(--plum-l); color: #fff; }
.btn .ic { width: 1.2em; height: 1.2em; }

/* ---- top bar ---- */
.top { background: var(--cream); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--plum); font: 800 1.15rem var(--fw); min-height: 44px; }
.brand img { border-radius: 50%; }
.tnav { display: flex; gap: 2px; }
.tnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; color: var(--plum); font-weight: 600; font-size: .95rem; border-radius: 999px; }
.tnav a:hover { background: var(--line); }
.tnav a:last-child { background: var(--plum-l); color: #fff; }
@media (max-width: 560px) { .tnav a:not(:first-child):not(:last-child) { display: none; } }

/* ---- hero ---- */
.hero { padding: 28px 0 20px; }
.hero-in { display: grid; gap: 14px; align-items: center; }
.hero-logo { width: 84px; height: 84px; border-radius: 50%; margin-bottom: 12px; box-shadow: 0 6px 18px rgba(90, 24, 70, .22); }
.hero h1 { font: 800 clamp(2.4rem, 11vw, 3.8rem)/1.05 var(--fw); color: var(--plum); letter-spacing: -.02em; }
.slogan { margin-top: 12px; font: 600 clamp(1.05rem, 4.4vw, 1.3rem)/1.4 var(--fw); color: var(--plum-l); max-width: 24em; }
.hero-sub { margin-top: 10px; color: var(--muted); max-width: 30em; }
.hero-act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.upd { margin-top: 14px; font-size: .88rem; color: var(--muted); }
.hero-art { width: 100%; max-width: 440px; margin-inline: auto; }
.hero-art svg { width: 100%; height: auto; display: block; overflow: visible; }
.hero-art text { font-family: var(--fm); }
@media (min-width: 860px) { .hero { padding: 56px 0 36px; } .hero-in { grid-template-columns: 1.05fr .95fr; gap: 40px; } .hero-art { max-width: 520px; } }

/* hero motion */
.sunbox { animation: vx-rise 9s ease-in-out infinite alternate; }
.sun { transform-origin: 200px 190px; animation: vx-breathe 6s ease-in-out infinite alternate; }
.sh { transform-box: fill-box; transform-origin: center; }
.s1 { animation: vx-d1 11s ease-in-out infinite alternate; }
.s2 { animation: vx-d2 13s ease-in-out infinite alternate; }
.s3 { animation: vx-d1 9s ease-in-out infinite alternate-reverse; }
.s4 { animation: vx-d3 10s ease-in-out infinite alternate; }
.s5 { animation: vx-spin 16s linear infinite; }
.s6 { animation: vx-d2 12s ease-in-out infinite alternate-reverse; }
.squig { stroke-dasharray: 8 6; animation: vx-dash 4s linear infinite; }
.skel { animation: vx-skel 2.6s ease-in-out infinite alternate; }
.k2 { animation-delay: .3s; } .k3 { animation-delay: .6s; } .k4 { animation-delay: .9s; } .k5 { animation-delay: 1.2s; } .k6 { animation-delay: 1.5s; }
.phone { animation: vx-float 7s ease-in-out infinite alternate; }
.ldot { animation: vx-blink 2.4s ease-in-out infinite; }
.liveline.go text { animation: vx-textin .6s var(--ease) backwards; }
.liveline.go #hero-res { animation-delay: .12s; }
@keyframes vx-rise { to { transform: translateY(-12px); } }
@keyframes vx-breathe { to { transform: scale(1.04); } }
@keyframes vx-d1 { to { transform: translate(10px, -14px); } }
@keyframes vx-d2 { to { transform: translate(-12px, 12px) rotate(10deg); } }
@keyframes vx-d3 { to { transform: translate(14px, -6px); } }
@keyframes vx-spin { to { transform: rotate(360deg); } }
@keyframes vx-dash { to { stroke-dashoffset: -28; } }
@keyframes vx-skel { from { opacity: .45; } }
@keyframes vx-float { to { transform: translateY(-5px); } }
@keyframes vx-blink { 50% { opacity: .3; } }
@keyframes vx-textin { from { opacity: 0; transform: translateY(8px); } }

/* ---- sections ---- */
.sec-block { padding: 40px 0 32px; scroll-margin-top: 8px; }
.sec-block.alt { background: #FFF1DC; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 18px; }
.sec-head h2 { font: 800 clamp(1.5rem, 6vw, 2rem)/1.15 var(--fw); color: var(--plum); letter-spacing: -.01em; }
.sec-head p { color: var(--muted); font-size: .92rem; font-weight: 600; }
.more { margin-top: 18px; }
.lk-inline { display: inline-flex; align-items: center; gap: 6px; }
.lk { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 14px; border-radius: 12px; background: var(--cream); border: 1px solid var(--line); color: var(--plum); font-weight: 700; font-size: .92rem; text-decoration: none; transition: background-color .2s, border-color .2s; }
.lk:hover { background: var(--yel); border-color: var(--gold); }
.lk-inline { background: #fff; }
.empty { color: var(--muted); }

/* ---- market cards ---- */
.grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 14px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.card::after { content: ""; position: absolute; inset: 0; background: var(--yel); opacity: 0; pointer-events: none; border-radius: inherit; }
.card.pulse::after { animation: vx-pulse 1.4s ease-out; }
@keyframes vx-pulse { from { opacity: .55; } }
.card-top { display: flex; align-items: center; gap: 12px; }
.icw { flex: none; width: 44px; height: 44px; }
.ic44 { width: 44px; height: 44px; display: block; overflow: visible; }
.card-id { flex: 1; min-width: 0; }
.card-id h3 { font: 700 1.05rem/1.25 var(--fw); color: var(--plum-d); overflow-wrap: anywhere; }
.tm { font-size: .84rem; color: var(--muted); }
.pill { flex: none; font: 700 .72rem/1 var(--fb); text-transform: uppercase; letter-spacing: .03em; padding: 7px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); border: 1px solid var(--line); }
.card[data-state="closed"] .pill { background: var(--plum); border-color: var(--plum); color: #fff; }
.card[data-state="open"] .pill { background: var(--gold); border-color: var(--gold); color: var(--plum-d); }
.res { display: flex; align-items: baseline; justify-content: center; gap: 14px; font-family: var(--fm); font-weight: 700; padding: 8px 0 4px; }
.g { display: inline-flex; overflow: hidden; line-height: 1.3; }
.gp { font-size: 1.15rem; color: var(--muted); }
.gj { font-size: 2rem; color: var(--plum-l); letter-spacing: .02em; padding: 0 12px; position: relative; }
.gj::before, .gj::after { content: ""; position: absolute; top: 18%; bottom: 18%; width: 2px; background: var(--line); border-radius: 1px; }
.gj::before { left: 0; } .gj::after { right: 0; }
.dg { font-style: normal; display: inline-block; }
.dg.st { color: #C9B3BF; }
.g.go .dg { animation: vx-in .55s var(--ease) backwards; animation-delay: calc(var(--i) * 80ms); }
@keyframes vx-in { from { transform: translateY(110%); opacity: 0; } }
.links { display: flex; gap: 8px; }
.links .lk { flex: 1; }
@media (hover: none) { .btn:hover { transform: none; } }

/* state icons */
.ic44 .hand { transform-origin: 22px 22px; animation: vx-hand 8s linear infinite; }
.clk .hand { transform-origin: 12px 12px; animation: vx-hand 5s linear infinite; }
@keyframes vx-hand { to { transform: rotate(360deg); } }
.ic44 .wave { animation: vx-wave 2.4s linear infinite; }
.ic44 .wavebox { animation: vx-bob 3.2s ease-in-out infinite alternate; }
@keyframes vx-wave { to { transform: translateX(-24px); } }
@keyframes vx-bob { to { transform: translateY(-2.5px); } }
.ic44 .tick { stroke-dasharray: 30; stroke-dashoffset: 0; animation: vx-draw .7s .15s var(--ease) backwards; }
@keyframes vx-draw { from { stroke-dashoffset: 30; } }
.vx-off .hand, .vx-off .wave, .vx-off .wavebox { animation-play-state: paused; }

/* ---- Starline timeline ---- */
.tl { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); row-gap: 20px; }
.tl-i { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.tl-r { font: 700 .88rem/1.2 var(--fm); color: var(--muted); min-height: 1.1em; }
.tl-i.has .tl-r { color: var(--plum-d); }
.tl-dot { position: relative; z-index: 1; width: 100%; height: 26px; display: flex; align-items: center; justify-content: center; }
.tl-dot::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; background: var(--line); border-radius: 2px; }
.tl-dot::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; background: var(--gold); border-radius: 2px; transform: scaleX(0); transform-origin: left; }
.tl-i.has .tl-dot::after { transform: scaleX(1); animation: vx-line .6s var(--ease) backwards; animation-delay: calc(var(--i) * 90ms); }
@keyframes vx-line { from { transform: scaleX(0); } }
.tl-dot > .clk, .tl-dot > .dotc { position: relative; z-index: 1; }
.dotc { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 2px solid var(--plum); }
.tl-i.has .dotc { background: var(--yel); animation: vx-pop .5s var(--ease) backwards; animation-delay: calc(var(--i) * 90ms + .25s); }
@keyframes vx-pop { from { transform: scale(0); } }
.tl-t { font-size: .76rem; font-weight: 600; color: var(--muted); white-space: nowrap; }
.clk { width: 26px; height: 26px; background: var(--cream); border-radius: 50%; }
.tl-i.now .tl-t { color: var(--plum); font-weight: 700; }

/* ---- Jackpot chips ---- */
.chips-j { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 10px; }
.jc { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; min-height: 76px; }
.jt { font-size: .76rem; font-weight: 600; color: var(--muted); }
.jr { font: 700 1.35rem/1.2 var(--fm); color: var(--plum-d); }
.jc:not(.has) .jr { color: #C9B3BF; }
.jk { position: absolute; top: 7px; right: 7px; width: 16px; height: 16px; opacity: 0; }
.jc.has .jk { opacity: 1; }
.jk path { stroke-dasharray: 20; stroke-dashoffset: 0; }
.jc.has .jk path { animation: vx-draw20 .6s var(--ease) backwards; animation-delay: calc(var(--i) * 60ms + .2s); }
@keyframes vx-draw20 { from { stroke-dashoffset: 20; } }
.jc.has .jk circle { transform-origin: 8px 8px; animation: vx-pop .4s var(--ease) backwards; animation-delay: calc(var(--i) * 60ms); }
.jc.hit { animation: vx-hit .8s var(--ease); }
@keyframes vx-hit { from { transform: translateY(6px); opacity: .4; } }

/* ---- next up ---- */
.nx { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.nx-c { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; text-decoration: none; color: var(--plum-d); min-height: 88px; }
.nx-c b { font: 700 1rem var(--fw); }
.nx-c span { font-size: .84rem; color: var(--muted); }
.bar { display: block; height: 8px; margin-top: auto; padding-top: 0; background: var(--line); border-radius: 4px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--gold); border-radius: 4px; transform: scaleX(var(--p)); transform-origin: left; animation: vx-fill 1.3s var(--ease) backwards; }
@keyframes vx-fill { from { transform: scaleX(0); } }

/* ---- download ---- */
.dl { display: grid; gap: 22px; align-items: center; }
.dl-art svg { width: 100%; max-width: 220px; height: auto; display: block; margin-inline: auto; overflow: visible; }
.dl-body h2 { font: 800 clamp(1.5rem, 6vw, 2rem) var(--fw); color: var(--plum); }
.dl-sub { color: var(--muted); margin: 6px 0 16px; }
.steps { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; }
.num { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--plum-d); font: 800 .95rem/32px var(--fw); text-align: center; border: 2px solid var(--plum); }
.steps b { font-weight: 700; }
.steps p { color: var(--muted); font-size: .94rem; }
.qrbox { display: none; text-align: center; }
#qr { width: 168px; height: 168px; padding: 10px; background: #fff; border: 2px solid var(--plum); border-radius: 18px; margin: 0 auto; }
#qr svg { width: 100%; height: 100%; display: block; }
.qrbox p { font-size: .84rem; color: var(--muted); margin-top: 8px; }
.drop { animation: vx-drop 3.2s var(--ease) infinite; }
@keyframes vx-drop { 0% { transform: translateY(-12px); opacity: 0; } 20% { opacity: 1; } 70% { transform: translateY(54px); opacity: 1; } 90%, 100% { transform: translateY(54px); opacity: 0; } }
@media (min-width: 760px) { .dl { grid-template-columns: 220px 1fr auto; gap: 36px; } .qrbox { display: block; } }
@media (hover: none) { .qrbox { display: none; } }

/* ---- FAQ ---- */
.narrow { max-width: 760px; }
.fq { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; }
.fq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 10px 16px; font-weight: 700; }
.fq summary::-webkit-details-marker { display: none; }
.fq summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2px solid var(--plum); border-bottom: 2px solid var(--plum); transform: rotate(45deg); transition: transform .25s var(--ease); margin-top: -4px; }
.fq[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.fq p { padding: 0 16px 16px; color: var(--muted); }

/* ---- footer ---- */
.foot { background: var(--plum-d); color: #fff; padding: 28px 0 34px; margin-top: 20px; }
.foot a { color: var(--yel); display: inline-block; padding: 8px 2px; }
.foot .fine { margin-top: 6px; font-size: .84rem; color: #E9D3E1; }

/* ---- chart pages ---- */
.chart-page .page { padding: 22px 0 28px; }
.page h1 { font-family: var(--fw); font-weight: 800; color: var(--plum); letter-spacing: -.01em; }
.page .sec h2 { font-family: var(--fw); font-weight: 800; color: var(--plum); }
.page .crumbs { padding: 6px 0; }
.page .crumbs a { color: var(--plum-l); }
.today-strip { background: #fff; border-color: var(--line); border-radius: 16px; }
.tabs a { min-height: 44px; display: inline-flex; align-items: center; }
.tabs a[aria-selected="true"] { color: var(--plum); border-bottom-color: var(--coral); }
.tbl-wrap { border-radius: 16px; }
table.chart td.today { box-shadow: inset 0 0 0 2px var(--coral); }
.chip { min-height: 44px; display: inline-flex; align-items: center; background: #fff; }
.jump a { display: inline-flex; align-items: center; min-height: 44px; }
.chart-page .foot { margin-top: 10px; }
@media (max-width: 640px) { .tbl-wrap.fit { margin-inline: -16px; } }
.tl-i.hit .tl-r { animation: vx-hit .8s var(--ease); }
.hero-art svg * { animation-play-state: var(--vx-play, running); }
