/* Polokey. The "B · Wallet" store design, in its opening-soon form.
   No scripts and no inline styles: everything the page needs is in this file. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #F2F3F7;
  --surface: #FFFFFF;
  --ink: #121826;
  --muted: #4A5468;
  --night-muted: #C4CAD8;
  --accent: #296FD9;
  --link: #1F5BC4;
  --link-hover: #16449A;
  --display: "Bricolage Grotesque", "Noto Sans Bengali", "Inter", system-ui, sans-serif;
  --pad: clamp(16px, 2vw, 24px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", "Noto Sans Bengali", "Kohinoor Bangla", "Nirmala UI", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

svg {
  display: block;
  flex: none;
}

a {
  color: var(--link);
}

a:hover {
  color: var(--link-hover);
}

p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

[lang="bn"] {
  font-size: 1.08em;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: var(--pad);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 40;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus-visible {
  top: 12px;
  outline-color: #fff;
}

/* Colours of the product cards (no inline styles, so one class each) */

.c-claude { --c: #444CB2; }
.c-capcut { --c: #B83B07; }
.c-loora { --c: #006B6C; }
.c-kits { --c: #803197; }
.c-academi { --c: #824C00; }
.c-ps { --c: #224FA7; }
.c-steam { --c: #2B3F51; }
.c-apple { --c: #2D333D; }
.c-gplay { --c: #006E3B; }
.c-ff { --c: #B32517; }
.c-pubg { --c: #805D00; }

/* Top bar */

.topbar {
  background: #121826;
  color: #F2F3F7;
  font-size: 13px;
}

.topbar .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 24px;
  padding-block: 9px;
}

.topbar p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar-chip {
  padding: 2px 8px;
  border-radius: 999px;
  background: #F2F3F7;
  color: #121826;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.topbar a {
  color: #F2F3F7;
  text-underline-offset: 3px;
}

/* Sticky header */

.header-shell {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 12px clamp(10px, 2vw, 24px) 0;
}

.site-header {
  max-width: 1240px;
  margin: 0 auto;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px 14px;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(18, 24, 38, 0.07);
  border-radius: 22px;
  box-shadow: 0 12px 32px -20px rgba(18, 24, 38, 0.4);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 6px;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand-tile {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: var(--accent);
}

.brand-name {
  font-family: var(--display);
  font-size: clamp(16px, 0.4vw + 12px, 18px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.header-cta {
  height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 14px;
  background: #121826;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.header-cta:hover {
  color: #fff;
  background: #222B3D;
}

/* Categories */

.cats {
  max-width: 1240px;
  margin: 12px auto 0;
  padding: 0 clamp(10px, 2vw, 24px);
}

.cats ul {
  list-style: none;
  margin: 0;
  padding: 2px;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.cats ul::-webkit-scrollbar {
  display: none;
}

.cats li {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(18, 24, 38, 0.09);
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
}

@media (min-width: 1100px) {
  .cats ul {
    flex-wrap: wrap;
    overflow: visible;
  }
}

/* Hero */

.hero {
  max-width: 1240px;
  margin: 0 auto;
  overflow-x: clip;
  padding: clamp(36px, 5vw, 72px) var(--pad) clamp(40px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: 40px 56px;
}

.hero-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(18, 24, 38, 0.08);
  font-size: 13px;
  font-weight: 600;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #E49E22;
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 9vw + 4px, 64px);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.lede {
  margin: 0;
  max-width: 32em;
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 56px;
  padding: 0 26px;
  border-radius: 18px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  box-shadow: 0 14px 28px -16px rgba(18, 24, 38, 0.6);
  transition: background-color 0.2s ease;
}

.btn-primary:hover {
  color: #fff;
  background: var(--link);
}

.btn-primary:active {
  transform: translateY(1px);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.hero-note {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

@media (min-width: 980px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  }

  .hero h1 {
    font-size: clamp(44px, 4.6vw, 68px);
  }

  .slot {
    width: clamp(240px, 22vw + 40px, 300px);
  }
}

/* The wallet */

.wallet {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: 470px;
  margin-inline: auto;
}

.toast {
  position: absolute;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 36px -18px rgba(18, 24, 38, 0.45);
  font-size: 13px;
  font-weight: 600;
}

.toast--left {
  left: 0;
  top: 18px;
}

.toast--right {
  right: 0;
  top: 82px;
}

.toast-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.toast-icon--green {
  background: #DCF7E1;
  color: #09672E;
}

.toast-icon--amber {
  background: #FEEDC9;
  color: #845000;
}

.slot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 92px;
  margin: 0 auto;
  width: clamp(214px, 56vw, 300px);
  aspect-ratio: 1.586;
  transform-origin: 50% 150%;
}

/* Same spread as the design: horizontal offsets follow the page width, capped on wide screens. */
.slot-1 { transform: translate(min(1vw, 14px), -66px) rotate(2deg); z-index: 4; }
.slot-2 { transform: translate(max(-5vw, -72px), -24px) rotate(-12deg); z-index: 3; }
.slot-3 { transform: translate(min(6vw, 86px), -16px) rotate(13deg); z-index: 2; }
.slot-4 { transform: translate(max(-9vw, -130px), 4px) rotate(-24deg); z-index: 1; }

.deal {
  width: 100%;
  height: 100%;
}

.pocket {
  position: absolute;
  z-index: 6;
  left: 0;
  right: 0;
  bottom: 0;
  height: 196px;
  border-radius: 30px;
  background: #121826;
  box-shadow: 0 30px 60px -32px rgba(18, 24, 38, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.pocket::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1.5px dashed rgba(242, 243, 247, 0.16);
  border-radius: 22px;
}

.pocket span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 30px;
  text-align: center;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: rgba(242, 243, 247, 0.42);
}

@media (max-width: 600px) {
  .wallet {
    height: 400px;
  }

  .pocket {
    height: 160px;
  }

  .slot {
    bottom: 76px;
  }

  .toast--right {
    top: 64px;
  }
}

/* Gift-card shaped cards (wallet deck and the gift card row) */

.gcard {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 16px 18px;
  border-radius: 20px;
  background: var(--c);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  box-shadow: 0 24px 40px -22px rgba(18, 24, 38, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.gcard::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 18px solid rgba(255, 255, 255, 0.08);
}

.gcard-top {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
}

.plate {
  flex: none;
  height: 36px;
  min-width: 36px;
  padding: 5px 7px;
  border-radius: 10px;
  background: #fff;
  color: var(--c);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 2px rgba(18, 24, 38, 0.18);
  font-family: var(--display);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.small-caps {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.gcard-body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gcard-name {
  font-family: var(--display);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.gcard-note {
  position: relative;
  font-size: 13px;
}

.sheen {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  border-radius: inherit;
}

.sheen::after {
  content: "";
  position: absolute;
  top: -40%;
  bottom: -40%;
  left: 0;
  width: 24%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.26), transparent);
  transform: translateX(-200%) skewX(-16deg);
}

/* One load sequence: text rises, cards come out of the pocket, two notes appear, one sheen. */

@media (prefers-reduced-motion: no-preference) {
  .rise {
    animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  }

  .deal {
    animation: deal 1.1s cubic-bezier(0.16, 0.84, 0.24, 1) both;
  }

  .slot-4 .deal { animation-delay: 0.25s; }
  .slot-3 .deal { animation-delay: 0.39s; }
  .slot-2 .deal { animation-delay: 0.53s; }
  .slot-1 .deal { animation-delay: 0.67s; }

  .toast {
    animation: toast 0.6s cubic-bezier(0.2, 0.9, 0.3, 1.25) both;
  }

  .toast--left { animation-delay: 1.6s; }
  .toast--right { animation-delay: 1.95s; }

  .wallet .sheen::after {
    animation: sheen 2.2s ease-in-out 2.4s both;
  }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

@keyframes deal {
  from { transform: translateY(190px); }
  to { transform: none; }
}

@keyframes toast {
  from { opacity: 0; transform: translateY(12px) scale(0.94); }
  to { opacity: 1; transform: none; }
}

@keyframes sheen {
  from { transform: translateX(-200%) skewX(-16deg); }
  to { transform: translateX(480%) skewX(-16deg); }
}

/* Sections */

.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--pad) clamp(48px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.section--first {
  padding-top: clamp(24px, 3vw, 40px);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.section h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}

.section-sub {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

/* Product tickets */

.tickets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 16px;
}

.ticket {
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(18, 24, 38, 0.04), 0 18px 40px -30px rgba(18, 24, 38, 0.5);
  overflow: hidden;
}

.ticket-top {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 124px;
  padding: 14px 16px;
  background: var(--c);
  color: #fff;
  overflow: hidden;
}

.ticket-top .small-caps {
  text-align: right;
}

.ticket h3 {
  position: relative;
  margin: 0;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.perf {
  position: relative;
  height: 0;
  margin: 0 16px;
  border-top: 2px dashed #E1E4EC;
}

.perf::before,
.perf::after {
  content: "";
  position: absolute;
  top: -10px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg);
}

.perf::before {
  left: -26px;
}

.perf::after {
  right: -26px;
}

.ticket-status {
  margin: 0;
  padding: 14px 16px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

/* Gift card row */

.gift-row {
  list-style: none;
  margin: 0 calc(-1 * var(--pad));
  padding: 6px var(--pad) 22px;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--pad);
  scrollbar-width: thin;
}

.gift-row li {
  flex: none;
  width: min(268px, 72vw);
  aspect-ratio: 1.586;
  scroll-snap-align: start;
}

.gift-row .gcard {
  box-shadow: 0 20px 36px -26px rgba(18, 24, 38, 0.75);
}

.gift-row .gcard::before {
  top: auto;
  bottom: -36px;
  right: -36px;
  width: 140px;
  height: 140px;
  border-width: 16px;
}

.gift-row .gcard-name {
  font-size: 24px;
  line-height: 1.05;
}

@media (min-width: 720px) {
  .gift-row {
    margin: 0;
    padding: 6px 0 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  .gift-row li {
    width: auto;
  }
}

@media (min-width: 980px) {
  .gift-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* How it will work */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 14px;
}

.steps li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(18, 24, 38, 0.04), 0 18px 40px -32px rgba(18, 24, 38, 0.5);
}

.step-num {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #E0ECFF;
  color: var(--link);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 800;
}

.steps h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.steps p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

/* The dark band */

.band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
  gap: 24px 28px;
  margin: 0;
  padding: clamp(24px, 3vw, 40px);
  border-radius: 28px;
  background: #121826;
  color: #F2F3F7;
}

.band div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.band dt {
  font-family: var(--display);
  font-size: clamp(26px, 2.3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.band dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--night-muted);
}

/* Footer */

.site-footer {
  background: #fff;
  border-top: 1px solid rgba(18, 24, 38, 0.08);
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 36px var(--pad) 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 420px;
}

.footer-brand .brand {
  padding: 0;
  min-height: 0;
}

.footer-brand .brand-tile {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.footer-brand p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 0 22px;
  font-size: 14px;
}

.footer-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(18, 24, 38, 0.08);
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.footer-bottom p {
  margin: 0;
}

/* 404 */

.lost {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(48px, 9vw, 112px) var(--pad) clamp(56px, 10vw, 128px);
}

.lost h1 {
  margin: 0 0 14px;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(36px, 4.4vw, 60px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.lost p {
  margin: 0 0 26px;
  max-width: 32rem;
  font-size: 17px;
  color: var(--muted);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
