:root {
  --bg: #0e0f13;
  --bg-2: #15161d;
  --panel: rgba(22, 23, 31, 0.88);
  --panel-solid: #171821;
  --panel-2: #20212b;
  --text: #f5f6fb;
  --muted: #a9abb8;
  --soft: #d9dae2;
  --line: rgba(255,255,255,0.12);
  --line-strong: rgba(255,255,255,0.22);
  --white: #fff;
  --green: #19e27e;
  --green-soft: rgba(25, 226, 126, 0.18);
  --red: #ff3b50;
  --yellow: #ffcc32;
  --blue: #46a5ff;
  --purple: #9d70ff;
  --shadow: 0 24px 80px rgba(0,0,0,0.45);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --font: "Builder Sans", "Gotham SSm", "Inter", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(circle at 10% -10%, rgba(70, 165, 255, 0.20), transparent 34rem),
    radial-gradient(circle at 92% 8%, rgba(25, 226, 126, 0.12), transparent 31rem),
    linear-gradient(180deg, #0d0e12 0%, #11121a 46%, #090a0d 100%);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }

.ambient { position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: -1; }
.orb { position: absolute; width: 22rem; height: 22rem; border-radius: 50%; filter: blur(80px); opacity: 0.45; animation: drift 13s ease-in-out infinite; }
.orb-one { background: rgba(70, 165, 255, 0.36); top: 8%; left: -8rem; }
.orb-two { background: rgba(25, 226, 126, 0.28); top: 36%; right: -10rem; animation-delay: -4s; }
.orb-three { background: rgba(157, 112, 255, 0.24); bottom: -10rem; left: 35%; animation-delay: -7s; }
.pixel-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at 50% 15%, black, transparent 76%);
}
@keyframes drift { 0%,100% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(18px,-22px,0) scale(1.08); } }

.section-shell { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 16px max(20px, calc((100vw - 1180px) / 2));
  background: rgba(10, 11, 15, 0.76);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 12px; min-width: max-content; }
.brand > span:last-child { display: grid; line-height: 1; }
.brand b { font-weight: 1000; letter-spacing: 0.07em; font-size: 18px; }
.brand em { color: var(--muted); font-style: normal; font-weight: 700; font-size: 12px; margin-top: 3px; }
.brand-cube {
  position: relative;
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(145deg, #fff, #dfe3ea);
  box-shadow: 0 10px 28px rgba(255,255,255,0.12), inset 0 -4px 10px rgba(0,0,0,0.18);
  transform: rotate(-7deg);
}
.brand-cube i { width: 12px; height: 12px; border-radius: 2px; background: #111217; display: block; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { color: var(--soft); border: 1px solid transparent; padding: 10px 12px; border-radius: 999px; font-weight: 800; font-size: 14px; }
.nav-links a:hover { border-color: var(--line); background: rgba(255,255,255,0.04); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.active-pill {
  display: flex; align-items: center; gap: 7px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,255,255,0.045);
}
.active-pill strong { font-size: 14px; }
.active-pill em { color: var(--muted); font-style: normal; font-size: 12px; font-weight: 800; }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; background: var(--green); box-shadow: 0 0 0 0 rgba(25,226,126,0.5); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(25,226,126,0); } 100% { box-shadow: 0 0 0 0 rgba(25,226,126,0); } }
.sound-btn {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255,255,255,0.05); color: var(--text);
}
.sound-btn:not(.is-on) { opacity: 0.55; }

.hero {
  position: relative;
  min-height: 620px;
  display: grid; grid-template-columns: 1fr 0.95fr; gap: 30px;
  align-items: center;
  padding: 76px 0 36px;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 13px; color: #e7e8ee; font-weight: 1000; letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(44px, 7vw, 82px); line-height: 0.93; margin-bottom: 22px; letter-spacing: -0.065em; }
.hero-sub { font-size: clamp(17px, 2vw, 21px); line-height: 1.55; color: var(--soft); max-width: 660px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; border-radius: 16px;
  min-height: 54px; padding: 0 24px;
  color: var(--text); font-weight: 1000;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--white); color: #0b0c10; box-shadow: 0 16px 42px rgba(255,255,255,0.13); }
.btn-primary:hover { box-shadow: 0 20px 54px rgba(255,255,255,0.18); }
.btn-soft { background: rgba(255,255,255,0.06); border: 1px solid var(--line); color: var(--text); }
.btn-wide { width: 100%; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hero-badges span { padding: 10px 12px; border-radius: 12px; color: var(--soft); border: 1px solid var(--line); background: rgba(255,255,255,0.04); font-weight: 800; }
.hero-visual { min-height: 560px; position: relative; perspective: 900px; }
.tile-wall {
  position: absolute; inset: 28px 10px auto auto; width: min(520px, 92%);
  border-radius: 34px; box-shadow: var(--shadow); opacity: 0.88; transform: rotateX(5deg) rotateY(-12deg) rotateZ(2deg);
}
.avatar { position: absolute; filter: drop-shadow(0 30px 30px rgba(0,0,0,0.45)); }
.avatar-one { width: 230px; left: 6%; bottom: 56px; animation: float 4.6s ease-in-out infinite; }
.avatar-two { width: 205px; right: 1%; top: 120px; animation: float 5.1s ease-in-out infinite reverse; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-16px) rotate(2deg); } }
.floating-card {
  position: absolute;
  border-radius: 26px; border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
.card-white { right: 4%; bottom: 52px; width: 260px; min-height: 190px; padding: 20px; background: linear-gradient(155deg, #ffffff, #d9dde7); color: #08090c; transform: rotate(-6deg); }
.card-white span, .card-dark span { font-weight: 900; letter-spacing: .03em; }
.card-white b { position: absolute; right: 18px; top: 14px; font-size: 42px; }
.card-white i { display: block; width: 80px; height: 80px; margin: 44px auto 16px; border-radius: 16px; background: #111217; position: relative; transform: rotate(10deg); }
.card-white i::after { content: ""; position: absolute; inset: 31px; border-radius: 4px; background: #fff; }
.card-white em { display: block; text-align: center; font-weight: 1000; font-style: normal; }
.card-dark { left: 0; top: 78px; padding: 16px 18px; background: rgba(10, 11, 15, 0.82); color: #fff; transform: rotate(8deg); }
.card-dark b { display: block; margin-top: 8px; font-size: 25px; letter-spacing: .08em; }

.activity-card, .claim-layout, .console-card, .result-section, .chat-card, .rules-grid, .disclaimer {
  position: relative;
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,0.075), rgba(255,255,255,0.035));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.activity-head, .chat-title { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.activity-head .eyebrow, .chat-title .eyebrow { margin: 0; }
.activity-head span, .sample-note { color: var(--muted); font-weight: 900; font-size: 13px; text-transform: uppercase; letter-spacing: .07em; }
.activity-feed { display: grid; gap: 10px; max-height: 190px; overflow: hidden; }
.activity-item { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: rgba(11,12,16,0.48); animation: slideIn .25s ease; }
.activity-item .mini-avatar { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgba(255,255,255,0.09); font-weight: 1000; }
.activity-item b { display: block; font-size: 14px; }
.activity-item p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.activity-item time { color: var(--muted); font-size: 12px; font-weight: 900; }
@keyframes slideIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

.claim-layout { display: grid; grid-template-columns: 1.05fr 0.75fr; gap: 24px; align-items: stretch; }
.claim-panel, .card-preview { border: 1px solid var(--line); border-radius: 26px; background: rgba(8,9,12,0.44); padding: 24px; }
.section-head h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1; letter-spacing: -0.04em; margin-bottom: 10px; }
.section-head p:not(.eyebrow) { color: var(--muted); line-height: 1.5; max-width: 620px; }
.compact h2 { font-size: clamp(28px, 4vw, 42px); }
.center { text-align: center; display: grid; place-items: center; }
.claim-form { display: grid; gap: 20px; }
.input-row { display: grid; gap: 8px; }
.input-row span, .card-kind p, .value-heading span, .selected-stock span { color: var(--soft); font-weight: 1000; }
.input-row input, .chat-form input {
  width: 100%; min-height: 58px; border-radius: 16px;
  border: 1px solid var(--line-strong); background: rgba(255,255,255,0.055);
  color: var(--text); padding: 0 17px; outline: none;
}
.input-row input:focus, .chat-form input:focus { border-color: rgba(255,255,255,0.55); box-shadow: 0 0 0 4px rgba(255,255,255,0.08); }
.input-row small { color: var(--muted); }
.kind-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.kind-option { min-height: 70px; border-radius: 17px; border: 1px solid var(--line); color: var(--soft); background: rgba(255,255,255,0.035); font-size: 22px; font-weight: 800; }
.kind-option.active { border: 3px solid #f0f1f8; color: var(--text); background: rgba(255,255,255,0.07); }
.kind-option.disabled { opacity: 0.44; cursor: not-allowed; }
.value-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 12px; }
.value-heading b { color: var(--soft); font-size: 20px; }
.selected-stock {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin: 0 0 12px; padding: 12px 14px;
  border: 1px solid rgba(25,226,126,0.28); border-radius: 16px;
  background: linear-gradient(135deg, rgba(25,226,126,.17), rgba(70,165,255,.11));
}
.selected-stock span { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.selected-stock strong { color: #effff6; font-size: 15px; }
.value-deck { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; align-items: stretch; }
.value-card {
  position: relative; min-height: 124px; border: 0; background: transparent; perspective: 800px; color: var(--text); padding: 0;
}
.value-card[disabled] { cursor: not-allowed; opacity: 0.48; }
.value-card-inner {
  position: relative; width: 100%; height: 100%; min-height: 124px; transform-style: preserve-3d; transition: transform .48s cubic-bezier(.2,.8,.2,1);
}
.value-card.selected .value-card-inner { transform: rotateY(180deg); }
.value-face {
  position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 8px;
  backface-visibility: hidden; overflow: hidden; text-align: center;
  border-radius: 20px; border: 1px solid rgba(255,255,255,0.18);
  background:
    radial-gradient(circle at 18% 18%, rgba(255,255,255,.18), transparent 0 24px, transparent 25px),
    linear-gradient(145deg, #262833 0%, #111218 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.035), 0 14px 32px rgba(0,0,0,.24);
}
.value-face::before { content: ""; position: absolute; inset: auto -20px -26px auto; width: 84px; height: 84px; border-radius: 18px; background: rgba(255,255,255,.08); transform: rotate(13deg); }
.value-face strong { position: relative; font-size: 32px; line-height: .9; letter-spacing: -.04em; }
.value-face small { position: relative; color: var(--soft); font-weight: 900; font-size: 12px; text-transform: uppercase; line-height: 1.25; }
.mini-gift-label { position: relative; color: var(--muted); font-weight: 1000; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.value-face.back { transform: rotateY(180deg); background: linear-gradient(145deg, #f8f8fb, #dfe3ea); color: #0d0e12; }
.value-face.back small, .value-face.back .mini-gift-label { color: #373943; }
.value-card.selected .value-face { border: 3px solid #fff; box-shadow: 0 18px 44px rgba(255,255,255,.12); }
.value-card.good .front { border-color: rgba(25,226,126,.28); }
.value-card.low .front { border-color: rgba(255,204,50,.55); }
.value-card.out .front { border-color: rgba(255,59,80,.35); }
.card-preview { display: grid; align-content: center; gap: 18px; }
.gift-card-preview, .ticket-card {
  min-height: 360px; border-radius: 30px; padding: 28px;
  background:
    radial-gradient(circle at 28% 16%, rgba(255,255,255,0.8), transparent 0 28px, transparent 29px),
    linear-gradient(145deg, #ffffff 0%, #dfe3ea 100%);
  color: #0a0b0f; position: relative; overflow: hidden;
  box-shadow: inset 0 -22px 52px rgba(0,0,0,.12), 0 30px 70px rgba(0,0,0,.35);
}
.gift-card-preview::before, .ticket-card::before {
  content: ""; position: absolute; inset: 84px -40px auto -40px; height: 110px;
  background: repeating-linear-gradient(110deg, #0f1016 0 28px, #242733 28px 34px, #0f1016 34px 64px);
  opacity: .9; transform: rotate(-5deg);
}
.preview-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; position: relative; z-index: 2; }
.preview-top span { font-size: 22px; font-weight: 800; color: #14151b; }
.preview-top strong { font-size: 54px; line-height: .8; }
.preview-logo { position: relative; z-index: 2; display: grid; place-items: center; min-height: 92px; margin-top: 28px; }
.preview-logo span { font-size: clamp(44px, 7vw, 76px); font-weight: 1000; letter-spacing: .02em; color: #fff; text-shadow: 0 8px 22px rgba(0,0,0,.55); }
.preview-cube { position: relative; z-index: 2; margin: 20px auto 16px; display: grid; place-items: center; width: 115px; height: 115px; border-radius: 20px; background: linear-gradient(145deg, #fff, #d4dae5); box-shadow: 0 20px 45px rgba(0,0,0,.24); transform: rotate(8deg); }
.preview-cube i { width: 31px; height: 31px; border-radius: 5px; background: #111217; display: block; }
.gift-card-preview p, .ticket-card p { position: relative; z-index: 2; text-align: center; font-size: 27px; line-height: 1.05; font-weight: 1000; margin: 0; }
.preview-meta { display: grid; gap: 8px; color: var(--muted); font-weight: 800; }

.console-card { padding: 0; background: #07080c; }
.terminal-top { display: flex; gap: 8px; align-items: center; padding: 16px 18px; border-bottom: 1px solid rgba(255,255,255,0.1); color: var(--muted); }
.terminal-top span { width: 12px; height: 12px; border-radius: 50%; background: #ff5f56; }
.terminal-top span:nth-child(2) { background: #ffbd2e; }
.terminal-top span:nth-child(3) { background: #27c93f; }
.terminal-top strong { margin-left: 8px; font-size: 13px; letter-spacing: .06em; }
.terminal-progress { height: 4px; background: rgba(255,255,255,0.09); }
.terminal-progress div { width: 0%; height: 100%; background: linear-gradient(90deg, var(--green), var(--blue)); transition: width .35s ease; }
.terminal-lines { min-height: 260px; max-height: 360px; overflow: auto; padding: 18px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; }
.terminal-lines p { margin: 0 0 10px; color: #d9ffe8; }
.terminal-lines span { color: var(--green); margin-right: 12px; }
.terminal-lines .warn span { color: var(--yellow); }
.terminal-lines .done span { color: var(--blue); }
.terminal-lines .error span { color: var(--red); }

.result-section[hidden] { display: none; }
.result-grid { display: grid; grid-template-columns: .85fr 1fr; gap: 22px; margin-top: 20px; align-items: center; }
.ticket-card { min-height: 320px; transform: rotate(-2deg); }
.pin-card { border: 1px solid var(--line); border-radius: 26px; background: rgba(8,9,12,0.5); padding: 22px; }
.pin-box, .modal-code-preview {
  border-radius: 12px; background: #fff; color: #0a0b0e; padding: 18px 18px 20px; box-shadow: 0 20px 50px rgba(0,0,0,.26);
}
.pin-box span, .modal-code-preview span { display: block; color: #111; font-weight: 900; font-size: 19px; margin-bottom: 10px; }
.pin-box strong, .modal-code-preview strong { font-size: clamp(26px, 5vw, 46px); letter-spacing: .03em; font-weight: 1000; word-break: break-all; }
.pin-meta { display: flex; justify-content: space-between; align-items: center; color: var(--muted); margin: 14px 0 18px; font-weight: 900; }
.secure-line { color: var(--muted); font-size: 13px; line-height: 1.45; text-align: center; margin: 14px 0 0; }
.secure-line code { color: #fff; background: rgba(255,255,255,.08); padding: 2px 5px; border-radius: 6px; }

.chat-card { padding-bottom: 18px; }
.chat-title h2 { margin: 4px 0 0; letter-spacing: -0.04em; }
.chat-feed { display: grid; gap: 10px; max-height: 450px; overflow: hidden; padding-right: 2px; }
.chat-msg { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 13px 14px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,0.04); animation: slideIn .25s ease; }
.chat-avatar { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(145deg, rgba(255,255,255,.16), rgba(255,255,255,.05)); font-weight: 1000; }
.chat-msg strong { display: block; font-size: 14px; margin-bottom: 3px; }
.chat-msg p { margin: 0; color: var(--soft); line-height: 1.38; }
.chat-form { display: grid; grid-template-columns: 1fr auto; gap: 12px; margin-top: 14px; }
.chat-form .btn { min-width: 110px; }

.rules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; background: transparent; box-shadow: none; border: 0; padding: 0; }
.rules-grid article { border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,0.045); padding: 22px; }
.rules-grid span { color: var(--green); font-size: 13px; font-weight: 1000; letter-spacing: .08em; }
.rules-grid h3 { margin: 10px 0 8px; font-size: 22px; }
.rules-grid p { margin: 0; color: var(--muted); line-height: 1.55; }
.disclaimer { margin-bottom: 34px; color: var(--muted); line-height: 1.55; }
.disclaimer strong { color: var(--text); display: block; margin-bottom: 8px; }
.disclaimer p { margin: 0; }

.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 18px; opacity: 0; pointer-events: none; transition: opacity .18s ease; }
.modal.is-open { opacity: 1; pointer-events: auto; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.72); backdrop-filter: blur(8px); }
.modal-card { position: relative; width: min(520px, 100%); border-radius: 30px; border: 1px solid var(--line-strong); background: linear-gradient(180deg, #1c1d27, #0d0e13); padding: 26px; box-shadow: var(--shadow); }
.modal-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.06); color: var(--text); font-size: 26px; line-height: 1; }
.modal-icon { display: inline-flex; margin-bottom: 18px; }
.modal-card h2 { font-size: 34px; line-height: 1.05; letter-spacing: -.04em; margin-bottom: 10px; }
.modal-sub { color: var(--soft); line-height: 1.5; }
.modal-code-preview { margin: 18px 0; }
.toast { position: fixed; left: 50%; bottom: 22px; transform: translate(-50%, 18px); background: #fff; color: #0d0e12; padding: 13px 17px; border-radius: 999px; font-weight: 1000; box-shadow: 0 16px 40px rgba(0,0,0,.35); opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease; z-index: 80; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 44px; }
  .hero-visual { min-height: 480px; }
  .value-deck { grid-template-columns: repeat(3, 1fr); }
  .claim-layout, .result-grid { grid-template-columns: 1fr; }
  .rules-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .section-shell { width: min(100% - 18px, 1180px); }
  .site-header { padding: 10px 9px; }
  .brand b { font-size: 15px; }
  .brand em { font-size: 11px; }
  .active-pill em { display: none; }
  .active-pill { padding: 8px 9px; }
  .sound-btn { width: 38px; height: 38px; }
  .hero { min-height: auto; padding-top: 30px; gap: 12px; }
  h1 { font-size: 38px; line-height: .98; margin-bottom: 14px; }
  .hero-sub { font-size: 16px; margin-bottom: 18px; }
  .hero-actions .btn { width: 100%; }
  .hero-badges { margin-top: 14px; gap: 8px; }
  .hero-badges span { font-size: 12px; padding: 8px 10px; }
  .hero-visual { min-height: 260px; }
  .tile-wall { width: 96%; right: 0; }
  .avatar-one { width: 150px; bottom: 34px; }
  .avatar-two { width: 132px; top: 100px; }
  .card-white { width: 174px; min-height: 136px; padding: 14px; bottom: 20px; }
  .card-white b { font-size: 32px; }
  .card-white i { width: 58px; height: 58px; margin-top: 36px; }
  .card-white i::after { inset: 22px; }
  .value-deck { grid-template-columns: repeat(2, 1fr); }
  .kind-grid { grid-template-columns: 1fr; }
  .kind-option { min-height: 58px; font-size: 18px; }
  .value-card, .value-card-inner { min-height: 106px; }
  .value-face strong { font-size: 29px; }
  .activity-card { display: none; }
  .claim-panel, .card-preview, .activity-card, .claim-layout, .console-card, .result-section, .chat-card, .disclaimer { border-radius: 22px; padding: 16px; }
  .console-card { padding: 0; }
  .chat-form { grid-template-columns: 1fr; }
  .gift-card-preview, .ticket-card { min-height: 260px; padding: 18px; }
  .preview-logo span { font-size: 42px; }
  .preview-cube { width: 86px; height: 86px; }
  .preview-cube i { width: 24px; height: 24px; }
  .pin-box strong, .modal-code-preview strong { font-size: 25px; }
}

/* V3: simpler mobile-first amount selector */
.value-deck {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
  margin-bottom: 12px;
}
.value-card {
  position: relative;
  min-height: 88px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 18px;
  color: var(--text);
  padding: 12px 8px;
  background:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,.18), transparent 0 18px, transparent 19px),
    linear-gradient(145deg, rgba(46,48,61,.96), rgba(14,15,20,.98));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.035), 0 14px 32px rgba(0,0,0,.22);
  display: grid;
  place-items: center;
  gap: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.value-card::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -22px;
  width: 70px;
  height: 70px;
  border-radius: 15px;
  background: rgba(255,255,255,.075);
  transform: rotate(13deg);
}
.value-card:hover:not(:disabled) { transform: translateY(-2px); border-color: rgba(255,255,255,.42); }
.value-card.selected {
  border: 3px solid #f5f6fb;
  background:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,.24), transparent 0 18px, transparent 19px),
    linear-gradient(145deg, rgba(22,176,104,.86), rgba(28,45,75,.96));
  box-shadow: 0 18px 44px rgba(25,226,126,.16), inset 0 0 0 1px rgba(255,255,255,.08);
}
.value-card.low { border-color: rgba(255,204,50,.55); }
.value-card.out { border-color: rgba(255,59,80,.34); opacity: .52; filter: grayscale(.35); cursor: not-allowed; }
.value-card[disabled] { cursor: not-allowed; opacity: .52; }
.amount-main {
  position: relative;
  z-index: 1;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 1000;
  line-height: 1;
  letter-spacing: -.04em;
}
.amount-stock {
  position: relative;
  z-index: 1;
  color: var(--soft);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}
.amount-check {
  position: relative;
  z-index: 1;
  padding: 4px 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  color: #fff;
  font-size: 10px;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.value-card-inner,
.value-face,
.value-face::before,
.value-face.back,
.value-card.selected .value-card-inner { all: unset; }
.value-card.selected .value-face,
.value-card.good .front,
.value-card.low .front,
.value-card.out .front { all: unset; }
.selected-stock {
  margin-top: 8px;
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .claim-layout { gap: 14px; }
  .claim-panel { padding: 16px; }
  .section-head.compact { margin-bottom: 12px; }
  .section-head.compact h2 { font-size: 28px; }
  .section-head.compact p:not(.eyebrow) { font-size: 14px; }
  .claim-form { gap: 16px; }
  .value-deck { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .value-card { min-height: 74px; border-radius: 15px; padding: 10px 6px; }
  .amount-stock { font-size: 10px; }
  .amount-check { display: none; }
  .selected-stock { padding: 10px 12px; border-radius: 14px; }
  .selected-stock span { font-size: 11px; }
  .selected-stock strong { font-size: 13px; }
  .card-kind p, .value-heading span, .input-row span { font-size: 15px; }
  .kind-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kind-option { min-height: 54px; font-size: 16px; border-radius: 14px; }
  .card-preview { display: none; }
  .rules-grid { display: none; }
}

@media (max-width: 430px) {
  .value-deck { grid-template-columns: repeat(2, 1fr); }
  .value-card { min-height: 70px; }
}


/* SEO content section */
.seo-content{
  background:linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.035));
  border:1px solid rgba(255,255,255,.12);
  border-radius:32px;
  padding:28px;
  box-shadow:0 22px 70px rgba(0,0,0,.26);
}
.seo-content h2{font-size:clamp(1.35rem,3vw,2.15rem);line-height:1.08;margin:0 0 12px;color:var(--text)}
.seo-content>p{color:var(--muted);line-height:1.65;margin:0 0 18px;max-width:900px}
.seo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.seo-grid article{background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.1);border-radius:22px;padding:18px}
.seo-grid h3{margin:0 0 8px;color:var(--text);font-size:1rem}
.seo-grid p{margin:0;color:var(--muted);line-height:1.55;font-size:.94rem}
@media (max-width: 760px){.seo-content{padding:20px;border-radius:24px}.seo-grid{grid-template-columns:1fr}.seo-grid article{padding:15px}}

/* Mobile hero gift-card amount clash fix */
@media (max-width: 620px) {
  .floating-card.card-white {
    width: 190px;
    min-height: 140px;
    padding: 13px 14px 14px;
    right: 2%;
    bottom: 22px;
  }

  .floating-card.card-white span {
    display: block;
    max-width: 84px;
    font-size: 14px;
    line-height: 1.05;
    font-weight: 1000;
    letter-spacing: -0.02em;
    white-space: normal;
  }

  .floating-card.card-white b {
    top: 15px;
    right: 14px;
    font-size: 29px;
    line-height: 0.9;
    letter-spacing: -0.06em;
  }

  .floating-card.card-white i {
    width: 56px;
    height: 56px;
    margin: 38px auto 12px;
  }

  .floating-card.card-white i::after {
    inset: 21px;
  }

  .floating-card.card-white em {
    font-size: 14px;
    line-height: 1.08;
  }
}

@media (max-width: 380px) {
  .floating-card.card-white {
    width: 178px;
    right: 0;
  }

  .floating-card.card-white span {
    max-width: 76px;
    font-size: 13px;
  }

  .floating-card.card-white b {
    font-size: 27px;
    right: 12px;
  }
}
