:root {
  --bg: #0b0f0d;
  --bg2: #121815;
  --card: #161d19;
  --line: #24302a;
  --text: #eef3ef;
  --muted: #8fa198;
  --accent: #c6ff3d;
  --accent-ink: #0b0f0d;
  --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: Inter, system-ui, sans-serif; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
[hidden] { display: none !important; }

.demo-banner {
  background: #ffcc00; color: #111; text-align: center; font-size: 13px; font-weight: 600; padding: 8px 16px;
}
.demo-banner code { background: rgba(0,0,0,.1); padding: 1px 6px; border-radius: 4px; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11,15,13,.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: 'Bebas Neue'; font-size: 30px; letter-spacing: 2px; }
.logo.small { font-size: 24px; }
.logo-mark {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px;
  background: var(--accent); color: var(--accent-ink); font-size: 26px;
}
.nav { display: flex; gap: 24px; flex: 1; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 500; font-size: 15px; transition: color .15s; }
.nav a:hover { color: var(--text); }
.mydl-btn {
  background: transparent; color: var(--text); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font: 600 14px Inter; cursor: pointer; display: flex; gap: 8px; align-items: center;
}
.mydl-btn:hover { border-color: var(--accent); }
.count { background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 0 8px; font-size: 12px; }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line);
  background: radial-gradient(ellipse at 75% 40%, rgba(198,255,61,.12), transparent 55%), linear-gradient(180deg, #0f1a14, var(--bg)); }
.pitch-lines {
  position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, transparent 159px, #fff 160px, #fff 162px, transparent 163px),
    linear-gradient(90deg, transparent calc(50% - 1px), #fff calc(50% - 1px), #fff calc(50% + 1px), transparent calc(50% + 1px));
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 80px 24px 90px; }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 12px; font-weight: 700; color: var(--accent); margin: 0 0 14px; }
h1 { font-family: 'Bebas Neue'; font-weight: 400; font-size: clamp(56px, 8vw, 104px); line-height: .92; margin: 0 0 22px; letter-spacing: 1px; }
h1 span { color: var(--accent); }
.lead { font-size: 18px; color: #c4d1ca; max-width: 520px; margin: 0 0 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-shirt svg { width: 100%; max-width: 380px; display: block; margin: 0 auto; filter: drop-shadow(0 30px 60px rgba(0,0,0,.6)); transform: rotate(4deg); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; font: 700 15px Inter; text-decoration: none; cursor: pointer; border: 0;
  transition: transform .15s, box-shadow .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 24px rgba(198,255,61,.25); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--text); }
.btn-paypal { width: 100%; background: #ffc439; color: #111; font-size: 16px; padding: 15px; border-radius: 8px; }
.btn-block { width: 100%; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 56px; padding-bottom: 24px; }
.step { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.step-n { font-family: 'Bebas Neue'; font-size: 40px; color: var(--accent); line-height: 1; }
.step h3 { margin: 10px 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }

/* Shop */
#shop { padding-top: 48px; padding-bottom: 40px; scroll-margin-top: 80px; }
.shop-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 24px; }
.shop-head h2 { font-family: 'Bebas Neue'; font-weight: 400; font-size: 48px; margin: 0; letter-spacing: 1px; }
.shop-head h2 small { font-family: Inter; font-size: 15px; color: var(--muted); letter-spacing: 0; }
.shop-tools { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  background: var(--bg2); border: 1px solid var(--line); color: var(--muted); border-radius: 999px;
  padding: 8px 14px; font: 600 13px Inter; cursor: pointer;
}
.chip.active, .chip:hover { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
#search {
  background: var(--bg2); border: 1px solid var(--line); color: var(--text); border-radius: 999px;
  padding: 10px 18px; font: 14px Inter; width: 260px; outline: none;
}
#search:focus { border-color: var(--accent); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  cursor: pointer; transition: transform .2s, border-color .2s, box-shadow .2s; display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); border-color: #3b4c43; box-shadow: 0 20px 40px rgba(0,0,0,.4); }
.card-img { position: relative; aspect-ratio: 1 / 1; background: linear-gradient(160deg, #1d2621, #0f1512); display: grid; place-items: center; overflow: hidden; }
.card-img svg { width: 78%; transition: transform .3s; }
.card:hover .card-img svg { transform: scale(1.05) rotate(-2deg); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; top: 12px; left: 12px; background: var(--accent); color: var(--accent-ink);
  font: 800 11px Inter; letter-spacing: 1px; padding: 4px 8px; border-radius: 6px;
}
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-cat { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; }
.card h3 { margin: 0; font-size: 17px; line-height: 1.3; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { font: 700 11px Inter; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--line); color: #c4d1ca; }
.card-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 6px; }
.price { font-family: 'Bebas Neue'; font-size: 30px; letter-spacing: .5px; }
.card .buy {
  background: #ffc439; color: #111; border: 0; border-radius: 999px; padding: 9px 16px; font: 800 13px Inter; cursor: pointer;
}
.empty { text-align: center; color: var(--muted); padding: 60px 0; }

/* FAQ */
.faq { padding-top: 40px; padding-bottom: 80px; max-width: 820px; }
.faq h2 { font-family: 'Bebas Neue'; font-weight: 400; font-size: 44px; margin: 0 0 16px; }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; }
summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 10px 0 0; }
details a { color: var(--accent); }

.footer { border-top: 1px solid var(--line); background: var(--bg2); padding: 36px 0; font-size: 14px; color: var(--muted); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer p { margin: 6px 0 0; }
.footer a { color: var(--muted); }
.pay-icons { display: flex; gap: 8px; }
.pay-icons span { border: 1px solid var(--line); border-radius: 6px; padding: 4px 10px; font-weight: 700; font-size: 12px; color: #c4d1ca; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.7); backdrop-filter: blur(4px); }
.modal-card {
  position: relative; width: min(960px, 100%); max-height: calc(100vh - 40px); overflow: auto;
  background: var(--bg2); border: 1px solid var(--line); border-radius: 20px; animation: pop .2s ease-out;
}
@keyframes pop { from { transform: scale(.96); opacity: 0; } }
.modal-x {
  position: absolute; top: 14px; right: 14px; z-index: 2; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--bg); color: var(--text); font-size: 22px; cursor: pointer;
}
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; }
.modal-preview { background: linear-gradient(160deg, #1d2621, #0f1512); display: grid; place-items: center; padding: 30px; min-height: 420px; }
.modal-preview svg { width: 90%; max-width: 380px; }
.modal-preview img { width: 100%; border-radius: 12px; }
.modal-info { padding: 34px 32px; display: flex; flex-direction: column; gap: 14px; }
.modal-info h2 { margin: 0; font-size: 28px; line-height: 1.15; }
.modal-info p { margin: 0; }
.charset { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-size: 26px; line-height: 1.25; word-break: break-all; letter-spacing: 1px; }
.price-row { display: flex; align-items: baseline; gap: 12px; }
.price-row .price { font-size: 44px; color: var(--accent); }
.secure { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px !important; }
#paypalButtons { min-height: 50px; }

.success { text-align: center; display: flex; flex-direction: column; gap: 10px; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.success h3 { margin: 0; }
.check { width: 54px; height: 54px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 28px; font-weight: 800; }

/* Drawer */
#drawer { place-items: stretch end; padding: 0; }
.drawer-card { position: relative; width: min(420px, 100%); height: 100%; background: var(--bg2); border-left: 1px solid var(--line); padding: 28px; overflow: auto; animation: slide .2s ease-out; }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.drawer-card h2 { font-family: 'Bebas Neue'; font-weight: 400; font-size: 36px; margin: 0 0 20px; }
.dl-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.dl-item b { display: block; font-size: 15px; }
.dl-item span { font-size: 12px; color: var(--muted); }
.dl-item a { background: var(--accent); color: var(--accent-ink); text-decoration: none; font: 700 13px Inter; padding: 8px 14px; border-radius: 999px; white-space: nowrap; }

@media (max-width: 860px) {
  .nav { display: none; }
  .hero-inner { grid-template-columns: 1fr; padding: 50px 24px 60px; }
  .hero-shirt { order: -1; }
  .hero-shirt svg { max-width: 220px; }
  .steps { grid-template-columns: 1fr; }
  .modal-grid { grid-template-columns: 1fr; }
  .modal-preview { min-height: 260px; }
  #search { width: 100%; }
}

/* Categories */
.cats { padding-top: 56px; scroll-margin-top: 80px; }
.section-title { font-family: 'Bebas Neue'; font-weight: 400; font-size: 48px; margin: 0 0 20px; letter-spacing: 1px; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.cat-tile {
  position: relative; display: flex; flex-direction: column; gap: 6px; text-decoration: none;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 16px;
  transition: transform .2s, border-color .2s;
}
.cat-tile:hover { transform: translateY(-3px); border-color: var(--accent); }
.flag { display: flex; width: 42px; height: 28px; border-radius: 5px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255,255,255,.15); margin-bottom: 6px; }
.flag i { flex: 1; }
.cat-tile b { font-size: 18px; }
.cat-subs { font-size: 13px; color: var(--muted); line-height: 1.4; }
.cat-count { margin-top: auto; padding-top: 6px; font-size: 13px; font-weight: 700; color: var(--accent); }

.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 6px; min-height: 18px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { color: var(--text); }
#chips { margin-bottom: 24px; }
.chip em { font-style: normal; opacity: .6; margin-left: 4px; }
.shop-head { margin-bottom: 16px; }
.nav { gap: 20px; }
@media (max-width: 1050px) { .nav a:nth-child(n+5):not(:last-child) { display: none; } }

/* Real font previews (landscape PDF renders) */
.card-img { aspect-ratio: 1200 / 848; }
.card-img svg { width: auto; height: 86%; }
.card-img img { object-fit: cover; }
.modal-grid.has-image { grid-template-columns: 1.35fr 1fr; }
.modal-grid.has-image .modal-preview { padding: 0; background: #fff; min-height: 0; align-content: center; }
.modal-grid.has-image .modal-preview img { border-radius: 0; display: block; }
@media (max-width: 860px) { .modal-grid.has-image { grid-template-columns: 1fr; } }
.more-btn { display: flex; margin: 28px auto 0; }
img.flag { object-fit: cover; display: block; }
/* PDF previews come in different shapes: show them whole */
.card-img img { object-fit: contain; background: #fff; }
.flag-icon { display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 16px; }
