/* ============================================================
   SYO Cards — premium TCG retailer
   ============================================================ */
:root {
  --bg:        #08080f;
  --bg-2:      #0d0d1b;
  --surface:   #12122a;
  --surface-2: #181836;
  --line:      rgba(255,255,255,.08);
  --line-2:    rgba(255,255,255,.14);
  --text:      #eef0fb;
  --muted:     #a6a8c4;
  --faint:     #74769a;

  --cyan:   #22d3ee;
  --violet: #8b5cf6;
  --pink:   #ec4899;
  --gold:   #fbbf24;

  --holo: linear-gradient(110deg,#22d3ee 0%,#8b5cf6 38%,#ec4899 68%,#fbbf24 100%);
  --radius: 18px;
  --maxw: 1140px;
  --shadow: 0 24px 60px -22px rgba(0,0,0,.7);
  font-synthesis: none;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* subtle radial ambience behind the whole page */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(60% 50% at 80% -5%, rgba(139,92,246,.16), transparent 60%),
    radial-gradient(50% 45% at 8% 12%, rgba(34,211,238,.12), transparent 60%),
    radial-gradient(55% 60% at 60% 110%, rgba(236,72,153,.10), transparent 60%);
  z-index: -2;
  pointer-events: none;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: "Sora", sans-serif; line-height: 1.12; font-weight: 700; letter-spacing: -.02em; }

a { color: inherit; text-decoration: none; }

.holo {
  background: var(--holo);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: holoshift 8s linear infinite;
}
@keyframes holoshift { to { background-position: 220% 0; } }

.eyebrow {
  display: inline-block;
  font-family: "Sora", sans-serif;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: "Sora", sans-serif; font-weight: 600; font-size: .95rem;
  padding: 13px 24px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .25s ease, background .25s ease;
  will-change: transform;
}
.btn-primary {
  color: #0a0a16;
  background: var(--holo); background-size: 180% 100%;
  box-shadow: 0 10px 30px -8px rgba(139,92,246,.6);
}
.btn-primary:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 16px 40px -10px rgba(236,72,153,.6); }
.btn-ghost { color: var(--text); border-color: var(--line-2); background: rgba(255,255,255,.03); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--cyan); color: #fff; }
.btn-block { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(8,8,15,.66);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(8,8,15,.85); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; filter: drop-shadow(0 4px 10px rgba(139,92,246,.5)); }
.brand-text {
  font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.18rem; letter-spacing: -.01em;
  display: flex; flex-direction: column; line-height: 1;
}
.brand-text small { font-family: "Inter", sans-serif; font-weight: 500; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-top: 4px; }

.nav-links { display: flex; gap: 30px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: .95rem; position: relative; transition: color .2s ease; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--holo); transition: width .25s ease; }
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 7vw, 90px); overflow: hidden; }
.hero-glow {
  position: absolute; top: -10%; right: -5%; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: var(--holo); filter: blur(120px); opacity: .22; border-radius: 50%; z-index: -1;
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-copy h1 { font-size: clamp(2.4rem, 5.6vw, 4rem); font-weight: 800; margin-bottom: 22px; }
.lede { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--muted); max-width: 36ch; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }

.hero-stats { list-style: none; display: flex; gap: 34px; flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: "Sora", sans-serif; font-size: 1.7rem; font-weight: 700; }
.hero-stats span { font-size: .82rem; color: var(--faint); }

/* hero card art — clean fan of real cards */
.hero-art { display: grid; place-items: center; min-height: 400px; }
.card-stack { position: relative; width: 360px; height: 384px; }
.tcard {
  position: absolute; bottom: 0; left: 50%;
  width: 188px; height: 262px; margin-left: -94px;
  border-radius: 12px; overflow: hidden;
  background: #14142a;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 22px 44px -14px rgba(0,0,0,.8);
  transform-origin: bottom center;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease;
}
.tcard img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
/* subtle glass sheen — keeps the real card colours true */
.tcard-foil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.30) 47%, rgba(255,255,255,.04) 56%, transparent 72%);
  background-size: 250% 100%;
  animation: sheen 6s ease-in-out infinite;
  mix-blend-mode: screen;
}
@keyframes sheen { 0%,100% { background-position: 135% 0; } 50% { background-position: -35% 0; } }
.tcard--1 { transform: translateX(-104px) rotate(-15deg); z-index: 1; }
.tcard--2 { transform: translateY(-20px) scale(1.05); z-index: 3; }
.tcard--3 { transform: translateX(104px) rotate(15deg); z-index: 2; }
.card-stack:hover .tcard--1 { transform: translateX(-124px) translateY(-8px) rotate(-19deg); }
.card-stack:hover .tcard--2 { transform: translateY(-32px) scale(1.07); }
.card-stack:hover .tcard--3 { transform: translateX(124px) translateY(-8px) rotate(19deg); }
@media (prefers-reduced-motion: reduce) { .tcard-foil { animation: none; } }

/* ---------- trust strip ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.015); }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; padding: 22px 24px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--muted); }
.ti-ic { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: rgba(34,211,238,.12); color: var(--cyan); font-size: .85rem; flex: none; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 600px; margin: 0 auto clamp(40px,5vw,60px); text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* categories */
.cat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.cat-card {
  position: relative; padding: 30px 26px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
  overflow: hidden; transition: transform .25s ease, border-color .25s ease;
}
.cat-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--c1), var(--c2)); opacity: 0; transition: opacity .25s ease;
}
.cat-card::after {
  content: ""; position: absolute; top: -40%; right: -30%; width: 70%; height: 90%;
  background: radial-gradient(circle, var(--c1), transparent 70%); opacity: .14; transition: opacity .25s ease;
}
.cat-card:hover { transform: translateY(-6px); border-color: var(--line-2); }
.cat-card:hover::after { opacity: .26; }
.cat-emoji { font-size: 2rem; margin-bottom: 16px; position: relative; }
.cat-card h3 { font-size: 1.25rem; margin-bottom: 8px; position: relative; }
.cat-card p { color: var(--muted); font-size: .94rem; position: relative; }

/* features */
.feature-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.feature { padding: 28px 24px; border-radius: var(--radius); background: rgba(255,255,255,.025); border: 1px solid var(--line); transition: border-color .25s ease, transform .25s ease; }
.feature:hover { border-color: var(--line-2); transform: translateY(-4px); }
.feature-ic { font-size: 1.8rem; margin-bottom: 14px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .92rem; }

/* steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; counter-reset: step; }
.steps li { position: relative; padding: 28px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step-no { font-family: "Sora", sans-serif; font-weight: 800; font-size: 1.4rem; background: var(--holo); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 14px; }
.steps h3 { font-size: 1.08rem; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .92rem; }

/* grading */
.grading-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 28px; align-items: start; }
.grade-flow { list-style: none; display: grid; gap: 14px; }
.grade-flow li { display: flex; gap: 16px; padding: 20px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .25s ease; }
.grade-flow li:hover { border-color: var(--line-2); }
.gf-no { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; font-family: "Sora",sans-serif; font-weight: 800; color: #0a0a16; background: var(--holo); background-size: 160% 100%; }
.grade-flow h3 { font-size: 1.05rem; margin-bottom: 4px; }
.grade-flow p { color: var(--muted); font-size: .92rem; }

.grade-scale { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.grade-scale::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--holo); }
.grade-scale h3 { font-size: 1.2rem; margin-bottom: 18px; }
.scale-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.scale-row:last-child { border-bottom: 0; padding-bottom: 0; }
.scale-badge { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; font-family: "Sora",sans-serif; font-weight: 800; font-size: .95rem; color: #0a0a16; }
.sb-gem { background: linear-gradient(135deg,#22d3ee,#a855f7); }
.sb-mint { background: linear-gradient(135deg,#34d399,#22d3ee); }
.sb-nm { background: linear-gradient(135deg,#fbbf24,#34d399); font-size: .8rem; }
.sb-ex { background: linear-gradient(135deg,#f97316,#fbbf24); font-size: .8rem; }
.sb-pr { background: linear-gradient(135deg,#ef4444,#f97316); font-size: .9rem; }
.scale-row strong { display: block; font-family: "Sora",sans-serif; font-size: 1rem; }
.scale-row span { color: var(--muted); font-size: .85rem; }

/* about */
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.about-copy h2 { font-size: clamp(1.9rem,3.4vw,2.6rem); margin-bottom: 18px; }
.about-copy p { color: var(--muted); margin-bottom: 16px; }
.about-copy .btn { margin-top: 10px; }
.about-card { padding: 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.about-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--holo); }
.about-card h3 { font-size: 1.3rem; margin-bottom: 20px; }
.reg-list { display: grid; gap: 14px; }
.reg-list > div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.reg-list dt { color: var(--faint); font-size: .9rem; }
.reg-list dd { font-weight: 600; font-size: .92rem; text-align: right; }
.about-note { margin-top: 18px; font-size: .85rem; color: var(--faint); }

/* contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; align-items: start; }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: grid; gap: 4px; padding: 22px 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s ease, transform .2s ease; }
a.contact-card:hover { border-color: var(--cyan); transform: translateY(-3px); }
.cc-ic { font-size: 1.3rem; }
.cc-label { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.contact-card strong { font-family: "Sora", sans-serif; font-size: 1.1rem; }
.contact-card span { color: var(--muted); font-size: .92rem; }
.cc-cta { color: var(--cyan); font-weight: 600; }

.contact-form { padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line-2); display: grid; gap: 18px; box-shadow: var(--shadow); }
.field { display: grid; gap: 7px; }
.field label { font-size: .85rem; font-weight: 600; color: var(--muted); }
.field input, .field textarea, .field select {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 14px; color: var(--text); font: inherit; font-size: .95rem; resize: vertical;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field select { appearance: none; cursor: pointer; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(139,92,246,.2); }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.form-hint { text-align: center; font-size: .8rem; color: var(--faint); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 32px; padding-bottom: 40px; }
.footer-brand p { color: var(--muted); font-size: .92rem; margin-top: 12px; max-width: 30ch; }
.brand-text--footer { font-size: 1.3rem; }
.footer-col h4 { font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--muted); font-size: .92rem; margin-bottom: 9px; transition: color .2s ease; }
.footer-col a:hover { color: #fff; }
.footer-legal p { color: var(--muted); font-size: .9rem; line-height: 1.8; }
.footer-legal a { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 24px 30px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--faint); }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { order: -1; min-height: 300px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .grading-layout { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .nav-cta { display: none; }
  .trust-grid, .cat-grid, .feature-grid, .steps, .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
  .lede { max-width: none; }
  .hero-art { min-height: 312px; }
  .card-stack { width: 300px; height: 300px; }
  .tcard { width: 158px; height: 221px; margin-left: -79px; }
  .tcard--1 { transform: translateX(-44px) rotate(-12deg); }
  .tcard--2 { transform: translateY(-14px) scale(1.04); }
  .tcard--3 { transform: translateX(44px) rotate(12deg); }
}
