/* TechBites gift cards page (new UI) — "D · Showcase": one big card + amount switcher.
   Everything is scoped under .tbg so the shared header/footer/Tailwind styles are untouched. */
.tbg { --bg:#0B0B0D; --s2:#1A1A1E; --line:rgba(255,255,255,.08); --line2:rgba(255,255,255,.14); --tx:#F4F4F5; --tx2:#B4B4BD; --tx3:#85858F; --green:#19E68C;
  --acc:243,145,37; --ar:'Cairo',sans-serif; --lat:'Outfit','Cairo',sans-serif; --mono:'JetBrains Mono',monospace;
  --spring:cubic-bezier(.34,1.56,.64,1); --ease:cubic-bezier(.2,.8,.2,1);
  font-family: var(--ar); color: var(--tx); line-height: 1.6; }
.tbg h1, .tbg h2, .tbg p { margin: 0; }
.tbg .ico { width: 1em; height: 1em; flex: none; }
.tbg .tbg-price { font: 800 1em var(--mono); direction: ltr; unicode-bidi: isolate; white-space: nowrap; }
.tbg .tbg-kicker { font: 800 12px var(--lat); letter-spacing: .18em; color: var(--green); text-transform: uppercase; }

/* wallet card art: "G · Aurora Glass" (pure CSS) — soft colour blobs drifting behind frosted glass */
.tbg-wc { --g3:#F39125; --g2:#fde047; position: relative; aspect-ratio: 300/410; border-radius: 22px; overflow: hidden; background: #0d0d12; border: 1px solid rgba(255,255,255,.16); box-shadow: 0 28px 60px rgba(0,0,0,.6); color: #fff; container-type: inline-size; }
.tbg-wc .aur { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; }
.tbg-wc .aur i { position: absolute; border-radius: 50%; filter: blur(14cqw); opacity: .9; }
.tbg-wc .aur i:nth-child(1) { width: 90cqw; height: 90cqw; left: -30cqw; top: -20cqw; background: var(--g3); animation: tbg-dr1 9s ease-in-out infinite alternate; }
.tbg-wc .aur i:nth-child(2) { width: 70cqw; height: 70cqw; right: -25cqw; bottom: 0; background: var(--g2); opacity: .55; animation: tbg-dr2 11s ease-in-out infinite alternate; }
.tbg-wc .aur i:nth-child(3) { width: 60cqw; height: 60cqw; left: 10cqw; bottom: -30cqw; background: color-mix(in srgb, var(--g3) 60%, #000); animation: tbg-dr1 13s ease-in-out infinite alternate-reverse; }
@keyframes tbg-dr1 { to { transform: translate(28cqw, 34cqw) scale(1.15); } }
@keyframes tbg-dr2 { to { transform: translate(-30cqw, -40cqw) scale(.85); } }
.tbg-wc .frost { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(150deg, rgba(255,255,255,.22), rgba(255,255,255,.04) 40%, rgba(0,0,0,.25)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), inset 0 1px 0 rgba(255,255,255,.45); }
.tbg-wc .in { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; padding: 10cqw; }
.tbg-wc .hd { display: flex; justify-content: space-between; align-items: center; direction: ltr; }
.tbg-wc .brand { display: flex; align-items: center; gap: 3cqw; font: 900 8cqw var(--lat); letter-spacing: .12em; } .tbg-wc .brand svg { width: 11cqw; height: 11cqw; }
.tbg-wc .pill { font: 800 4.6cqw var(--mono); letter-spacing: .22em; padding: 1.6cqw 3.4cqw; border-radius: 99px; background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.tbg-wc .amt { margin: auto 0 0; text-align: center; direction: ltr; font: 900 36cqw/1 var(--lat); letter-spacing: -.04em; color: #fff; text-shadow: 0 2px 0 rgba(255,255,255,.25), 0 10px 30px rgba(0,0,0,.35); }
.tbg-wc.on .amt { animation: tbg-rise .7s var(--spring); }
@keyframes tbg-rise { from { transform: translateY(14cqw); opacity: 0; } }
.tbg-wc .ft { margin-top: auto; display: flex; justify-content: space-between; align-items: center; direction: ltr; font: 800 5cqw var(--mono); letter-spacing: .28em; color: rgba(255,255,255,.85); }
.tbg-wc .ft span:last-child { width: 14cqw; height: 1.2cqw; border-radius: 1cqw; background: rgba(255,255,255,.5); }
.tbg-wc .glare { position: absolute; inset: 0; z-index: 5; pointer-events: none; border-radius: inherit; opacity: 0; transition: opacity .3s;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255,255,255,.35), transparent 45%); mix-blend-mode: overlay; }
.tbg-wc.on .glare { opacity: 1; }
.tbg-wc.a5 { --g3:#66c0f4; --g2:#a5f3fc; } .tbg-wc.a10 { --g3:#F39125; --g2:#fde047; } .tbg-wc.a25 { --g3:#a78bfa; --g2:#f0abfc; }
.tbg-wc.a50 { --g3:#34d399; --g2:#bef264; } .tbg-wc.a100 { --g3:#fb7185; --g2:#fda4af; }

/* buttons */
.tbg-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer; font: 900 16px var(--ar); background: rgb(var(--acc)); color: #0b0b0d; box-shadow: 0 10px 30px rgba(var(--acc), .35); transition: transform .25s var(--spring), box-shadow .25s, background .5s; }
.tbg-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(var(--acc), .5); }
.tbg-cta.ghost { background: rgba(255,255,255,.06); color: #fff; box-shadow: none; border: 1px solid var(--line2); }
.tbg-cta .ico { width: 18px; height: 18px; }
.tbg-cta:disabled { cursor: not-allowed; opacity: .5; transform: none; box-shadow: none; }
.tbg-cta:focus-visible, .tbg-seg button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* showcase */
.tbg-show { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; min-height: 600px; border-radius: 32px; padding: 48px; position: relative; overflow: hidden; isolation: isolate; border: 1px solid rgba(var(--acc), .3);
  background: radial-gradient(600px 420px at 25% 50%, rgba(var(--acc), .28), transparent 65%), linear-gradient(180deg, #0f0f13, #0a0a0c); transition: border-color .5s; }
.tbg-show::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-conic-gradient(from 0deg at 25% 50%, rgba(var(--acc), .09) 0 5deg, transparent 5deg 15deg); mask: radial-gradient(45% 60% at 25% 50%, #000, transparent 75%); }
.tbg-stage { position: relative; height: 470px; display: grid; place-items: center; perspective: 1100px; }
.tbg-stage .tbg-wc { position: absolute; width: 260px; transition: transform .7s var(--spring), opacity .4s, filter .4s; cursor: pointer; }
.tbg-stage .tbg-wc.on { transform: rotateX(var(--rx, 0deg)) rotateY(calc(-12deg + var(--ry, 0deg))) rotateZ(-4deg); z-index: 3; animation: tbg-float 5s ease-in-out infinite; cursor: default; }
.tbg-stage .tbg-wc.prev { transform: translateX(46%) rotateZ(12deg) scale(.78); opacity: .55; filter: brightness(.6) blur(.5px); z-index: 1; }
.tbg-stage .tbg-wc.next { transform: translateX(-46%) rotateZ(-12deg) scale(.78); opacity: .55; filter: brightness(.6) blur(.5px); z-index: 1; }
.tbg-stage .tbg-wc.hide { transform: scale(.6); opacity: 0; pointer-events: none; }
.tbg-stage.tilting .tbg-wc.on { transition: transform .12s linear, opacity .4s, filter .4s; }
@keyframes tbg-float { 0%,100% { translate: 0 0; } 50% { translate: 0 -12px; } }
.tbg h1 { font-weight: 900; font-size: clamp(36px, 4.4vw, 58px); line-height: 1.4; margin-top: 6px; } .tbg h1 em { font-style: normal; color: rgb(var(--acc)); transition: color .5s; }
.tbg .tbg-eg { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; margin: 12px 0 0; padding: 0 12px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); font-size: 14px; font-weight: 800; color: #fff; }
.tbg .tbg-eg svg { border-radius: 3px; flex: none; }
.tbg .tbg-kicker + .tbg-eg { display: flex; width: fit-content; }
.tbg p.tbg-sub { color: var(--tx2); font-weight: 600; font-size: 17px; margin: 18px 0 26px; max-width: 460px; }
.tbg-seg { display: inline-flex; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(255,255,255,.05); border: 1px solid var(--line2); direction: ltr; }
.tbg-seg button { min-width: 84px; min-height: 48px; border-radius: 999px; border: 0; background: none; cursor: pointer; font: 900 18px var(--lat); color: var(--tx2); transition: background .3s, color .3s, transform .3s var(--spring); }
.tbg-seg button:hover { color: #fff; }
.tbg-seg button[aria-pressed="true"] { background: rgb(var(--acc)); color: #0b0b0d; transform: scale(1.04); }
.tbg .tbg-big { margin-top: 26px; min-height: 1em; text-align: right; font-size: clamp(44px, 5vw, 64px); color: rgb(var(--acc)); text-shadow: 0 0 34px rgba(var(--acc), .45); line-height: 1; transition: color .5s; }
.tbg-big small { font-size: .38em; color: var(--tx2); text-shadow: none; margin-inline-start: 6px; }
.tbg-big .tbg-best { font: 900 .3em var(--ar); color: rgb(var(--acc)); text-shadow: none; margin-inline-start: 8px; }
.tbg-big .tbg-na { font: 800 .34em var(--ar); color: var(--tx2); text-shadow: none; }
.tbg-row { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; } .tbg-row .tbg-cta:first-child { min-width: 220px; }
.tbg-ok { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px; font-size: 13.5px; font-weight: 700; color: var(--tx2); } .tbg-ok span { display: inline-flex; gap: 6px; align-items: center; } .tbg-ok .ico { color: rgb(var(--acc)); }
.tbg-bump { animation: tbg-bump .45s var(--spring); } @keyframes tbg-bump { from { transform: translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }

@media (max-width: 960px) {
  .tbg-show { grid-template-columns: 1fr; padding: 28px 20px; min-height: 0; gap: 20px; } .tbg-stage { height: 340px; order: -1; } .tbg-stage .tbg-wc { width: 190px; }
}
@media (max-width: 520px) { .tbg-seg button { min-width: 64px; font-size: 16px; } .tbg-row .tbg-cta { flex: 1; padding: 0 14px; font-size: 15px; white-space: nowrap; } .tbg-row .tbg-cta:first-child { min-width: 0; } }
@media (prefers-reduced-motion: reduce) { .tbg *, .tbg *::before, .tbg *::after { animation: none !important; transition: none !important; } }

/* lower sections: "How it works" timeline + FAQ (owner picked "B · Timeline", 2026-10-05) */
.tbg-sec { margin-top: 56px; }
.tbg h2 { font-weight: 900; font-size: clamp(26px, 3.2vw, 36px); line-height: 1.4; margin-top: 4px; color: #fff; }
.tbg h2 em { font-style: normal; color: var(--green); }
.tbg-line { margin: 18px 0 0; padding: 22px; border-radius: 22px; background: var(--s2); border: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.tbg-line li { position: relative; padding: 0 10px; text-align: center; }
.tbg-line li::before { content: ""; position: absolute; top: 19px; left: 50%; width: 100%; height: 2px; background: linear-gradient(90deg, rgba(25,230,140,.15), rgba(25,230,140,.5)); }
.tbg-line li:first-child::before { display: none; }
.tbg-line i { position: relative; z-index: 1; font-style: normal; display: grid; place-items: center; width: 40px; height: 40px; margin: 0 auto; border-radius: 50%; background: #0B0B0D; border: 2px solid var(--green); color: var(--green); font: 800 15px var(--mono); }
.tbg-line b { display: block; margin-top: 10px; font-size: 15.5px; color: #fff; }
.tbg-line span { font-size: 13px; color: var(--tx2); font-weight: 600; }
.tbg-line .tbg-price { font-size: 1em; }
.tbg-faq { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: start; }
.tbg-faq details { border-radius: 16px; background: var(--s2); border: 1px solid var(--line); transition: border-color .2s; }
.tbg-faq details[open] { border-color: rgba(25,230,140,.35); }
.tbg-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; font-weight: 800; font-size: 15.5px; color: #fff; min-height: 44px; }
.tbg-faq summary::-webkit-details-marker { display: none; }
.tbg-faq summary::after { content: "+"; font: 800 20px var(--mono); color: var(--green); transition: transform .25s; }
.tbg-faq details[open] summary::after { transform: rotate(45deg); }
.tbg-faq summary:focus-visible { outline: 2px solid #fff; outline-offset: 2px; border-radius: 16px; }
.tbg-faq p { padding: 0 18px 16px; color: var(--tx2); font-weight: 600; font-size: 14.5px; line-height: 1.9; }
.tbg-faq a { color: var(--brand); text-decoration: underline; }
@media (max-width: 860px) {
  .tbg-faq { grid-template-columns: 1fr; }
  .tbg-line { grid-template-columns: 1fr; gap: 18px; } .tbg-line li { display: grid; grid-template-columns: 40px 1fr; gap: 0 12px; text-align: right; padding: 0; }
  .tbg-line li::before { display: none; } .tbg-line i { margin: 0; grid-row: span 2; } .tbg-line b { margin-top: 0; }
}
