:root {
  --ink: #171716;
  --paper: #f5f0e5;
  --card: rgba(255, 255, 255, 0.78);
  --line: rgba(23, 23, 22, 0.13);
  --muted: #706e66;
  --yellow: #ffd72f;
  --orange: #ff7450;
  --blue: #c9ddff;
  --green: #bce989;
  --radius: 30px;
  --shadow: 0 30px 80px rgba(50, 42, 23, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 15%, rgba(255, 215, 47, .2), transparent 23rem),
    radial-gradient(circle at 92% 19%, rgba(166, 200, 255, .42), transparent 31rem),
    linear-gradient(180deg, #f7f3e9, #f2eee5 62%, #ece8df);
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
}
button, input, select { font: inherit; }
button { color: inherit; cursor: pointer; }
a { color: inherit; }
.hidden { display: none !important; }
.muted { color: var(--muted); }

.ambient { position: fixed; z-index: -1; border-radius: 999px; filter: blur(8px); pointer-events: none; }
.ambient-a { width: 18rem; height: 18rem; background: rgba(255, 116, 80, .13); top: 42rem; left: -9rem; }
.ambient-b { width: 22rem; height: 22rem; background: rgba(255, 215, 47, .13); right: -10rem; top: 67rem; }

.site-header {
  position: relative;
  z-index: 10;
  width: min(1320px, calc(100% - 44px));
  min-height: 90px;
  margin: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font: 800 22px/1 "Unbounded", sans-serif; }
.brand-mark, .mini-logo {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 14px;
  color: white;
  background: var(--ink);
  box-shadow: inset -5px -5px 0 var(--yellow);
  font: 800 14px/1 "Unbounded", sans-serif;
}
.main-nav { display: flex; align-items: center; justify-content: center; gap: 4px; }
.main-nav a { position: relative; border-radius: 13px; padding: 11px 14px; color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 800; transition: color .2s, background .2s; }
.main-nav a:hover { color: var(--ink); background: rgba(255,255,255,.48); }
.main-nav a.active { color: var(--ink); background: white; box-shadow: 0 7px 20px rgba(50,42,23,.08); }
.main-nav a.active::after { content: ""; position: absolute; left: 50%; bottom: 5px; width: 18px; height: 2px; border-radius: 10px; background: var(--yellow); transform: translateX(-50%); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 9px; }
.secure-note { display: flex; align-items: center; gap: 8px; margin-right: 4px; color: var(--muted); font-size: 12px; font-weight: 700; white-space: nowrap; }
.secure-note i { width: 8px; height: 8px; border-radius: 50%; background: #55bb67; box-shadow: 0 0 0 5px rgba(85,187,103,.12); }
.button { border: 0; border-radius: 16px; padding: 14px 20px; font-weight: 800; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button:disabled, .button.disabled { cursor: not-allowed; opacity: .48; pointer-events: none; transform: none; }
.button-ghost { background: rgba(255,255,255,.62); border: 1px solid var(--line); }
.button-dark { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-width: 185px; color: white; background: var(--ink); box-shadow: 0 12px 26px rgba(23,23,22,.16); }
.button-dark b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--ink); background: var(--yellow); }
.button-yellow { background: var(--yellow); color: var(--ink); box-shadow: 0 12px 26px rgba(220,177,0,.18); }
.button-soft { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.button-wide { width: 100%; padding: 16px 20px; }
.button-link { display: grid; place-items: center; }
.account-chip { display: flex; align-items: center; gap: 8px; padding: 5px 10px 5px 5px; border: 1px solid var(--line); border-radius: 15px; background: white; font-size: 12px; }
.account-chip span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: white; background: var(--ink); font-weight: 900; }
.header-logout { border: 0; padding: 9px 5px; color: var(--muted); background: transparent; font-size: 12px; font-weight: 800; }
.header-logout:hover { color: var(--ink); }

main { width: min(1240px, calc(100% - 44px)); margin: auto; }
.hero { min-height: 500px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 40px; padding: 54px 0 36px; }
h1 { margin: 0 0 22px; font: 800 clamp(3rem, 6.4vw, 6.35rem)/.94 "Unbounded", sans-serif; letter-spacing: -.075em; }
h1 span { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.hero-copy > p, .service-hero p { max-width: 610px; margin: 0; color: var(--muted); font-size: clamp(16px, 2vw, 20px); line-height: 1.65; }
.hero-object { position: relative; display: grid; place-items: center; min-height: 410px; }

.planet-scene { position: relative; width: min(520px, 92vw); height: 420px; display: grid; place-items: center; perspective: 900px; }
.planet {
  position: relative;
  z-index: 2;
  width: 252px;
  height: 252px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  background:
    repeating-radial-gradient(ellipse at 50% 50%, transparent 0 20px, rgba(255,255,255,.09) 21px 22px),
    repeating-linear-gradient(90deg, transparent 0 24px, rgba(255,255,255,.08) 25px 26px),
    linear-gradient(145deg, #3c517a, #18233a 62%, #0e1422);
  box-shadow: inset -35px -28px 55px rgba(0,0,0,.45), inset 20px 18px 38px rgba(144,190,255,.22), 0 45px 90px rgba(21,29,48,.34);
  animation: planetFloat 6s ease-in-out infinite;
}
.planet::before { content: ""; position: absolute; inset: -20%; border-radius: 45%; background: repeating-linear-gradient(90deg, transparent 0 35px, rgba(255,255,255,.07) 36px 37px); animation: planetTurn 13s linear infinite; }
.planet-shade { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 28% 22%, rgba(255,255,255,.2), transparent 27%), linear-gradient(115deg, transparent 43%, rgba(0,0,0,.28)); }
.planet-land { position: absolute; z-index: 1; display: block; background: #d5d08c; opacity: .78; filter: drop-shadow(0 3px 5px rgba(0,0,0,.2)); }
.land-a { width: 86px; height: 68px; left: 35px; top: 53px; border-radius: 60% 35% 52% 42%; rotate: -18deg; clip-path: polygon(0 25%,35% 0,70% 18%,100% 8%,84% 52%,61% 61%,50% 100%,20% 76%); }
.land-b { width: 104px; height: 94px; right: 12px; top: 75px; border-radius: 45%; rotate: 12deg; clip-path: polygon(20% 0,70% 9%,100% 39%,76% 67%,63% 100%,30% 84%,0 50%); }
.land-c { width: 62px; height: 52px; left: 73px; bottom: 29px; border-radius: 48%; rotate: 17deg; clip-path: polygon(0 20%,50% 0,100% 28%,75% 100%,34% 82%); }
.planet-halo { position: absolute; z-index: 1; border: 1px solid rgba(23,23,22,.14); border-radius: 50%; }
.halo-one { width: 405px; height: 180px; rotate: -19deg; animation: haloSpin 12s linear infinite; }
.halo-two { width: 348px; height: 318px; rotate: 42deg; animation: haloSpin 17s linear infinite reverse; }
.planet-halo::after { content: ""; position: absolute; left: 7%; top: 18%; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 7px rgba(255,116,80,.14); }
.signal-map { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.signal-path { fill: none; stroke: rgba(255,215,47,.58); stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 5 7; animation: signalDash 10s linear infinite; }
.path-b { stroke: rgba(104,171,255,.72); animation-direction: reverse; }
.path-c { stroke: rgba(255,116,80,.62); }
.signal-pulse { fill: var(--yellow); filter: drop-shadow(0 0 6px rgba(255,215,47,.9)); }
.pulse-b { fill: #78adff; }.pulse-c { fill: var(--orange); }
.signal-node { position: absolute; z-index: 5; width: 10px; height: 10px; border: 2px solid white; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 7px rgba(255,116,80,.15); }
.node-a { left: 80px; top: 249px; }.node-b { right: 77px; top: 192px; background: var(--yellow); }.node-c { left: 94px; top: 132px; background: #7aafff; }.node-d { right: 64px; top: 272px; }
.space-dot { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--ink); opacity: .35; animation: twinkle 2.4s ease-in-out infinite; }
.dot-a { left: 24px; top: 86px; }.dot-b { right: 31px; top: 62px; animation-delay: .8s; }.dot-c { right: 20px; bottom: 55px; animation-delay: 1.5s; }
@keyframes planetFloat { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }
@keyframes planetTurn { to { transform: translateX(45%); } }
@keyframes haloSpin { to { transform: rotate(360deg); } }
@keyframes signalDash { to { stroke-dashoffset: -100; } }
@keyframes twinkle { 50% { scale: 2; opacity: .8; } }

.workspace { margin: 16px 0 78px; }
.lookup-card, .dashboard, .purchase-panel, .service-panel, .history-card, .auth-gate { border: 1px solid rgba(255,255,255,.9); background: var(--card); box-shadow: var(--shadow); backdrop-filter: blur(22px); }
.lookup-card { display: grid; grid-template-columns: 220px 1fr; gap: 48px; padding: 34px; border-radius: var(--radius); }
.section-kicker, .step-label { font-size: 11px; letter-spacing: .18em; font-weight: 800; text-transform: uppercase; }
.section-kicker { color: var(--muted); }
.step-label { padding-top: 30px; color: var(--muted); }
.step-label span { display: block; margin-bottom: 10px; color: var(--ink); font: 800 30px "Unbounded"; letter-spacing: -.05em; }
.lookup-form label, .form-field label, .email-check label { display: block; margin-bottom: 9px; color: var(--muted); font-size: 12px; font-weight: 800; }
.input-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
input, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 16px 18px;
  color: var(--ink);
  background: rgba(255,255,255,.94);
  outline: none;
  font-weight: 700;
}
input:focus, select:focus { border-color: rgba(23,23,22,.45); box-shadow: 0 0 0 4px rgba(255,215,47,.22); }
input::placeholder { color: #a4a198; }
input[type="range"] { height: 16px; padding: 0; border: 0; border-radius: 999px; background: linear-gradient(90deg, var(--ink), var(--yellow)); box-shadow: none; accent-color: var(--ink); }
.field-hint { margin: 10px 2px 0; color: var(--muted); font-size: 12px; }

.dashboard, .purchase-panel { border-radius: var(--radius); padding: 32px; }
.dashboard-top, .service-panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.dashboard h2, .purchase-panel h2, .service-panel h2 { margin: 8px 0; font: 700 clamp(25px, 4vw, 42px)/1.1 "Unbounded"; letter-spacing: -.05em; }
.dashboard-sub { color: var(--muted); }
.status-pill { display: inline-flex; gap: 8px; align-items: center; border-radius: 999px; padding: 10px 14px; background: #e6f8df; color: #357a2a; font-size: 12px; font-weight: 800; }
.status-pill.inactive { background: #f4e7e0; color: #a84c31; }
.status-pill i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 26px; }
.metric { padding: 20px; border-radius: 22px; background: rgba(255,255,255,.82); border: 1px solid var(--line); }
.metric small { color: var(--muted); font-weight: 700; }
.metric strong { display: block; margin-top: 9px; font: 700 clamp(18px, 3vw, 28px) "Unbounded"; }
.dashboard-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.purchase-panel { margin-top: 16px; animation: reveal .35s ease both; }
@keyframes reveal { from { opacity: 0; transform: translateY(12px); } }
.found-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.found-user { display: flex; align-items: center; gap: 14px; min-width: 0; }
.found-icon { display: grid; place-items: center; flex: 0 0 auto; width: 50px; height: 50px; border-radius: 17px; background: var(--yellow); font-weight: 900; }
.found-user p { margin: 0 0 4px; font-weight: 850; overflow-wrap: anywhere; }
.found-user small { color: var(--muted); }
.change-link { border: 0; background: transparent; text-decoration: underline; font-weight: 750; }
.service-tabs, .choice-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 24px 0; padding: 5px; border-radius: 19px; background: #e9e5da; }
.service-tabs button, .choice-tabs button { padding: 13px; border: 0; border-radius: 14px; color: var(--muted); background: transparent; font-weight: 800; }
.service-tabs button.active, .choice-tabs button.active { color: var(--ink); background: white; box-shadow: 0 5px 16px rgba(44,40,30,.08); }
.amount-presets { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.amount-presets button, .method-card { border: 1px solid var(--line); background: rgba(255,255,255,.8); }
.amount-presets button { padding: 11px 15px; border-radius: 14px; font-weight: 850; }
.amount-presets button.active { border-color: var(--ink); background: var(--ink); color: white; }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 19px 0; }
.method-card { text-align: left; padding: 14px; border-radius: 17px; }
.method-card span { display: block; margin-bottom: 5px; font-weight: 900; }
.method-card small { color: var(--muted); }
.method-card.active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink), 0 7px 18px rgba(23,23,22,.07); }
.summary-box, .service-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 18px 0; padding: 17px 18px; border-radius: 18px; background: var(--blue); }
.summary-box span, .service-total span { color: #596276; font-size: 13px; }
.summary-box strong, .service-total strong { font: 700 22px "Unbounded"; }
.loading-line { height: 8px; border-radius: 999px; background: linear-gradient(90deg, #eee 20%, #ddd 40%, #eee 60%); background-size: 300% 100%; animation: shimmer 1.2s infinite; }
@keyframes shimmer { to { background-position: -100% 0; } }

.duration-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 18px 0 22px; }
.duration-card { min-height: 96px; padding: 15px; border: 1px solid var(--line); border-radius: 19px; text-align: left; background: rgba(255,255,255,.76); transition: transform .2s, border .2s, background .2s; }
.duration-card:hover { transform: translateY(-2px); }
.duration-card span { display: block; color: var(--muted); font-size: 12px; font-weight: 800; }
.duration-card strong { display: block; margin-top: 12px; font: 700 16px "Unbounded"; }
.duration-card.active { border-color: var(--ink); background: var(--yellow); box-shadow: 4px 5px 0 var(--ink); }
.duration-card.active span { color: var(--ink); }
.device-picker { margin: 18px 0; padding: 21px; border: 1px solid var(--line); border-radius: 23px; background: rgba(255,255,255,.7); }
.device-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 19px; }
.device-head small { display: block; margin-bottom: 4px; color: var(--muted); font-weight: 750; }
.device-head strong { font: 700 20px "Unbounded"; }
.device-badge { padding: 7px 10px; border-radius: 999px; background: var(--ink); color: white; font-size: 11px; font-weight: 800; }
.range-labels { display: flex; justify-content: space-between; margin-top: 8px; color: var(--muted); font-size: 11px; font-weight: 800; }
.limit-note { margin: 13px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; line-height: 1.5; }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; margin-bottom: 70px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--line); }
.benefits article { padding: 30px; background: rgba(255,255,255,.55); }
.benefits article > span { color: var(--orange); font: 700 13px "Unbounded"; }
.benefits h3 { margin: 28px 0 8px; font-size: 18px; }
.benefits p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 14px; }

.service-hero { position: relative; min-height: 350px; overflow: hidden; display: grid; grid-template-columns: 1fr 300px; align-items: center; gap: 50px; margin-top: 34px; padding: 48px 52px; border: 1px solid rgba(255,255,255,.7); border-radius: 38px; box-shadow: var(--shadow); }
.service-hero h1 { margin: 15px 0 18px; font-size: clamp(2.7rem, 5.7vw, 5.9rem); }
.tone-orange { background: linear-gradient(140deg, #ffd98b, #ff9f77); }
.tone-blue { background: linear-gradient(140deg, #d7e7ff, #8fb6f4); }
.tone-green { background: linear-gradient(140deg, #d9f2bb, #a7d8a2); }
.service-orb { position: relative; width: 230px; height: 230px; justify-self: center; border-radius: 50%; background: var(--ink); box-shadow: 0 35px 55px rgba(23,23,22,.24), inset 20px 15px 30px rgba(255,255,255,.12); }
.service-orb span, .service-orb i, .service-orb b { position: absolute; inset: -20px; border: 1px solid rgba(23,23,22,.3); border-radius: 50%; animation: haloSpin 11s linear infinite; }
.service-orb span::after, .service-orb i::after, .service-orb b::after { content: ""; position: absolute; width: 15px; height: 15px; border-radius: 50%; background: var(--yellow); top: 15%; left: 6%; }
.service-orb i { inset: 28px -42px; rotate: 55deg; animation-duration: 15s; }
.service-orb i::after { background: white; }
.service-orb b { inset: -45px 35px; rotate: -25deg; animation-direction: reverse; }
.service-orb b::after { background: var(--orange); }
.service-workspace { margin: 18px 0 76px; }
.service-panel { padding: 30px; border-radius: var(--radius); }
.history-card { display: grid; grid-template-columns: 250px 1fr; gap: 30px; margin-top: 15px; padding: 26px 30px; border-radius: var(--radius); }
.history-card h3 { margin: 7px 0 0; font: 700 21px "Unbounded"; }
.history-list { display: grid; gap: 8px; }
.history-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.7); }
.history-row strong, .history-row small { display: block; }
.history-row small { margin-top: 3px; color: var(--muted); font-size: 11px; }
.history-row > span { color: var(--muted); font-size: 12px; font-weight: 800; }
.rate-pill { padding: 9px 12px; border-radius: 999px; background: var(--yellow); font-size: 12px; font-weight: 850; }
.inline-note { display: flex; align-items: center; gap: 12px; margin: 16px 0; padding: 15px; border-radius: 18px; background: #fff5cf; }
.inline-note span { display: grid; place-items: center; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); font-weight: 900; }
.inline-note p { margin: 0; font-size: 13px; font-weight: 700; line-height: 1.5; }
.inline-note.neutral { background: #edf2fa; }.inline-note.success { background: #e1f4d7; }.inline-note.error { background: #f9ddd4; }
.inline-note.error span { background: var(--orange); color: white; }
.profile-confirm { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 15px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.72); }
.profile-avatar { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 17px; background: var(--ink); color: white; font: 700 17px "Unbounded"; }
.profile-confirm small, .profile-confirm strong, .profile-confirm p { display: block; margin: 0; }
.profile-confirm small, .profile-confirm p { color: var(--muted); font-size: 11px; }.profile-confirm strong { margin: 3px 0; }
.profile-confirm button { border: 0; background: transparent; text-decoration: underline; font-weight: 800; }
.amount-stage { margin: 20px 0; padding: 24px; border-radius: 24px; background: linear-gradient(125deg, #ffdf62, #ffd036); }
.amount-copy { display: flex; align-items: baseline; gap: 9px; margin-bottom: 20px; }
.amount-copy small { align-self: flex-start; margin-right: auto; color: rgba(23,23,22,.58); font-weight: 800; }
.amount-copy strong { font: 700 clamp(30px, 5vw, 52px) "Unbounded"; letter-spacing: -.06em; }
.amount-copy span { font-weight: 850; }
.service-total { background: #e6efd7; }
.steam-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.big-amount { display: flex; align-items: baseline; gap: 10px; margin: 25px 0 22px; }
.big-amount strong { font: 700 clamp(42px, 7vw, 76px) "Unbounded"; letter-spacing: -.075em; }.big-amount span { font-size: 28px; font-weight: 900; }
.steam-amount { background: linear-gradient(140deg, rgba(255,215,47,.88), rgba(255,244,190,.85)); }
.steam-summary { display: grid; gap: 9px; margin: 18px 0; }
.steam-summary div { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.steam-summary span { color: var(--muted); font-size: 13px; }.steam-summary strong { font: 700 18px "Unbounded"; }
.auth-gate { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: 28px; border-radius: var(--radius); }
.gate-mark { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 20px; color: white; background: var(--ink); box-shadow: inset -6px -6px var(--yellow); font: 700 16px "Unbounded"; }
.auth-gate h2 { margin: 0 0 6px; font: 700 23px "Unbounded"; }.auth-gate p { margin: 0; color: var(--muted); }

.install-intro { display: flex; align-items: center; justify-content: center; gap: 13px; margin-bottom: 18px; padding: 17px; border-radius: 22px; background: rgba(255,255,255,.65); border: 1px solid var(--line); }
.install-intro span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: white; background: var(--ink); font-weight: 900; }.install-intro p { margin: 0; font-size: 13px; font-weight: 800; }.install-intro i { width: 50px; height: 1px; background: var(--line); }
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.app-card { position: relative; display: flex; flex-direction: column; min-height: 390px; padding: 25px; border: 1px solid rgba(255,255,255,.9); border-radius: 29px; background: rgba(255,255,255,.76); box-shadow: var(--shadow); }
.app-card.featured { background: linear-gradient(150deg, #e1f3cb, #fcfff8); }
.app-card.featured::before { content: ""; position: absolute; inset: -1px; border: 2px solid var(--ink); border-radius: 29px; pointer-events: none; }
.app-icon { display: grid; place-items: center; width: 65px; height: 65px; border-radius: 21px; color: white; background: var(--ink); box-shadow: 4px 5px 0 var(--yellow); font: 700 20px "Unbounded"; }
.incy-icon { background: #294b38; }.happ-icon { background: #2b3f68; }.ninja-icon { background: #171716; }
.app-title { margin: 24px 0; }.app-title > span { color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }.app-title h2 { margin: 6px 0; font: 700 31px "Unbounded"; }.app-title p { margin: 0; color: var(--muted); font-size: 13px; }
.store-links { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 14px; }.store-links.single { grid-template-columns: 1fr; }.store-links a { padding: 11px; border: 1px solid var(--line); border-radius: 13px; text-align: center; text-decoration: none; background: white; font-size: 12px; font-weight: 850; }
.app-card .button { margin-top: auto; }.app-note { margin-top: auto; padding: 14px; border-radius: 15px; background: #efede7; color: var(--muted); font-size: 12px; line-height: 1.5; }

footer { width: min(1240px, calc(100% - 44px)); margin: auto; padding: 24px 0 40px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }
.modal-backdrop { position: fixed; z-index: 30; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(18,18,17,.56); backdrop-filter: blur(12px); }
.auth-modal { position: relative; width: min(520px, 100%); max-height: min(720px, calc(100vh - 30px)); overflow: auto; padding: 30px; border-radius: 30px; background: var(--paper); box-shadow: 0 40px 100px rgba(0,0,0,.3); animation: modalIn .25s ease both; }
@keyframes modalIn { from { opacity: 0; transform: scale(.97) translateY(10px); } }
.modal-close { position: absolute; top: 18px; right: 18px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: white; font-size: 23px; }
.auth-head { display: flex; gap: 14px; align-items: center; padding-right: 40px; }.auth-head p { margin: 0 0 5px; color: var(--muted); font-size: 12px; font-weight: 800; }.auth-head h2 { margin: 0; font-size: 21px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 26px 0 20px; padding: 5px; border-radius: 17px; background: #e7e4db; }.auth-tabs button { border: 0; border-radius: 13px; padding: 12px; background: transparent; color: var(--muted); font-weight: 800; }.auth-tabs button.active { color: var(--ink); background: white; }
.auth-pane form { display: grid; gap: 12px; }.auth-pane label { font-size: 12px; color: var(--muted); font-weight: 800; }.auth-info { padding: 15px; border-radius: 16px; background: rgba(255,255,255,.7); color: var(--muted); font-size: 13px; line-height: 1.55; }
.qr-box { display: grid; place-items: center; min-height: 320px; padding: 18px; border-radius: 22px; background: white; }.qr-box img { width: min(260px, 72vw); height: auto; image-rendering: crisp-edges; }.qr-box p { margin: 12px 0 0; color: var(--muted); text-align: center; font-size: 13px; }
.toast { position: fixed; z-index: 40; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 12px; max-width: min(410px, calc(100% - 30px)); padding: 14px 18px; border-radius: 18px; color: white; background: var(--ink); box-shadow: 0 20px 45px rgba(0,0,0,.24); }.toast > span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--ink); background: var(--yellow); font-weight: 900; }.toast p { margin: 0; font-size: 13px; font-weight: 700; }

@media (max-width: 1080px) {
  .site-header { grid-template-columns: auto 1fr; padding: 14px 0; }.main-nav { grid-row: 2; grid-column: 1 / -1; justify-content: flex-start; overflow-x: auto; padding-bottom: 2px; }.header-actions { margin-left: auto; }.secure-note { display: none; }
  .duration-grid { grid-template-columns: repeat(3, 1fr); }.app-grid { grid-template-columns: 1fr 1fr; }.app-card:last-child { grid-column: 1 / -1; min-height: 310px; }
}

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 0; padding-top: 42px; }.hero-object { min-height: 350px; }.lookup-card { grid-template-columns: 1fr; gap: 18px; }.step-label { padding-top: 0; }.step-label span { display: inline; margin-right: 8px; font-size: 16px; }
  .service-hero { grid-template-columns: 1fr 180px; padding: 38px 35px; }.service-orb { width: 160px; height: 160px; }.steam-grid { grid-template-columns: 1fr; }.history-card { grid-template-columns: 1fr; }
}

@media (max-width: 660px) {
  .site-header, main, footer { width: min(100% - 28px, 1240px); }.site-header { gap: 12px; }.brand { font-size: 18px; }.brand-mark { width: 40px; height: 40px; }.account-chip b { display: none; }.account-chip { padding-right: 5px; }.header-logout { padding: 8px 4px; font-size: 11px; }.main-nav { margin: 0 -2px; }.main-nav a { flex: 0 0 auto; padding: 10px 12px; font-size: 12px; }
  .hero { min-height: auto; padding: 38px 0 20px; }.hero h1 { font-size: clamp(2.5rem, 13vw, 4.3rem); }.hero h1 span { -webkit-text-stroke-width: 1.4px; }.hero-object { min-height: 285px; }.planet-scene { height: 300px; transform: scale(.76); }.workspace { margin-bottom: 42px; }
  .lookup-card, .purchase-panel, .dashboard, .service-panel, .history-card { padding: 20px; border-radius: 24px; }.input-row { grid-template-columns: 1fr; }.button-dark { width: 100%; }.dashboard-top, .found-row, .service-panel-head { align-items: flex-start; flex-direction: column; }.metric-grid { grid-template-columns: 1fr 1fr; }.metric:first-child { grid-column: 1 / -1; }.dashboard-actions { grid-template-columns: 1fr; }.service-tabs, .choice-tabs { grid-template-columns: 1fr; }.method-grid { grid-template-columns: 1fr; }.duration-grid { grid-template-columns: 1fr 1fr; }.duration-card { min-height: 88px; }.amount-copy { flex-wrap: wrap; }.amount-copy small { width: 100%; }.profile-confirm { grid-template-columns: auto 1fr; }.profile-confirm button { grid-column: 1 / -1; text-align: left; }
  .benefits { grid-template-columns: 1fr; }.service-hero { min-height: 315px; grid-template-columns: 1fr; margin-top: 20px; padding: 30px 23px; border-radius: 28px; }.service-hero h1 { font-size: clamp(2.35rem, 12vw, 4rem); }.service-hero h1 span { -webkit-text-stroke-width: 1.3px; }.service-orb { position: absolute; right: -60px; bottom: -75px; opacity: .28; }.service-workspace { margin-bottom: 48px; }.auth-gate { grid-template-columns: auto 1fr; padding: 20px; }.gate-login { grid-column: 1 / -1; }.install-intro { align-items: flex-start; flex-wrap: wrap; justify-content: flex-start; }.install-intro i { display: none; }.app-grid { grid-template-columns: 1fr; }.app-card, .app-card:last-child { grid-column: auto; min-height: 360px; padding: 21px; }.store-links { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 8px; }.auth-modal { padding: 22px; border-radius: 24px; }.toast { right: 15px; bottom: 15px; }.history-row { align-items: flex-start; flex-direction: column; }.big-amount strong { font-size: 47px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
