@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #07070a;
  --bg-2: #0c0b10;
  --surface: rgba(16, 15, 21, .82);
  --surface-2: rgba(21, 19, 27, .88);
  --surface-3: #141219;
  --border: rgba(255,255,255,.08);
  --border-red: rgba(255, 34, 42, .30);
  --text: #f8f7f8;
  --muted: #9b969f;
  --subtle: #69636d;
  --red: #ff1e27;
  --red-2: #c90f18;
  --red-dim: rgba(255, 30, 39, .10);
  --red-glow: rgba(255, 30, 39, .24);
  --danger: #ff6067;
  --radius: 18px;
  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html, body { background: var(--bg) !important; color: var(--text); }
body {
  font-family: var(--font) !important;
  background:
    radial-gradient(900px 520px at 82% -10%, rgba(255,30,39,.12), transparent 62%),
    radial-gradient(720px 500px at -8% 90%, rgba(255,30,39,.07), transparent 62%),
    linear-gradient(180deg, #060609 0%, #0a090d 44%, #07070a 100%) !important;
  min-height: 100vh;
  letter-spacing: -.01em;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .25;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

a, button, input, select { -webkit-tap-highlight-color: transparent; }
button, input, select { font-family: var(--font) !important; }

/* Brand / navigation */
.topbar {
  height: 76px !important;
  padding: 0 30px !important;
  background: rgba(7,7,10,.78) !important;
  border-bottom: 1px solid rgba(255,255,255,.07) !important;
  backdrop-filter: blur(24px) saturate(140%) !important;
  gap: 22px !important;
}
.brand { min-width: 238px !important; gap: 12px !important; }
.brand-mark, .side-mark, .gate-mark {
  width: 40px !important;
  height: 40px !important;
  border-radius: 12px !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
  display: grid !important;
  place-items: center !important;
}
.brand-mark img, .side-mark img, .gate-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand strong, .side-brand strong { font-size: 15px !important; font-weight: 700 !important; letter-spacing: -.035em !important; }
.brand strong::first-letter { color: var(--text); }
.brand small, .side-brand small { color: var(--subtle) !important; font-size: 10px !important; letter-spacing: .01em; }
.brand strong, .side-brand strong { color: #fff; }
.brand strong::after, .side-brand strong::after { content: ''; }

.nav { gap: 5px !important; }
.nav a, .staff-link {
  padding: 10px 14px !important;
  border-radius: 12px !important;
  color: #97919c !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  transition: .18s ease !important;
}
.nav a:hover, .staff-link:hover {
  color: #fff !important;
  background: rgba(255,255,255,.045) !important;
  border-color: rgba(255,255,255,.08) !important;
  transform: translateY(-1px);
}
.nav a.active {
  color: #fff !important;
  background: linear-gradient(180deg, rgba(255,30,39,.16), rgba(255,30,39,.08)) !important;
  border-color: rgba(255,30,39,.22) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.02), 0 8px 30px rgba(255,30,39,.07) !important;
}
.nav a.active i, .staff-link i { color: var(--red) !important; }

/* Layout */
.shell { max-width: 1280px !important; padding: 54px 28px 86px !important; }
.page { max-width: 1120px !important; padding: 64px 28px 86px !important; }
.hero-wide {
  position: relative;
  grid-template-columns: minmax(0,1fr) 470px !important;
  gap: 72px !important;
  min-height: 560px !important;
  isolation: isolate;
}
.hero-wide::before {
  content: '';
  position: absolute;
  width: 620px;
  height: 620px;
  right: -170px;
  top: -160px;
  background: url('/assets/unique-logo.png') center/contain no-repeat;
  opacity: .075;
  filter: blur(.1px) drop-shadow(0 0 48px rgba(255,30,39,.25));
  z-index: -1;
  pointer-events: none;
}
.hero-copy { padding-right: 0 !important; }

/* Typography */
.eyebrow { color: #ff3941 !important; font-size: 10px !important; letter-spacing: .18em !important; }
h1 {
  font-size: clamp(46px, 6.2vw, 88px) !important;
  line-height: .98 !important;
  font-weight: 800 !important;
  letter-spacing: -.065em !important;
  max-width: 860px;
}
h1 span { color: var(--red) !important; text-shadow: 0 0 34px rgba(255,30,39,.14); }
h2 { font-weight: 700 !important; letter-spacing: -.045em !important; }
.lead { max-width: 650px !important; font-size: 15px !important; color: #a6a0aa !important; line-height: 1.8 !important; }
.live-dot { background: var(--red) !important; box-shadow: 0 0 12px var(--red) !important; }

/* Panels / inputs */
.redeem-panel, .product-card, .checker-card, .feature-card, .stock-card, .info-box {
  background: linear-gradient(180deg, rgba(17,16,22,.92), rgba(11,10,14,.9)) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  box-shadow: 0 28px 90px rgba(0,0,0,.34), inset 0 1px 0 rgba(255,255,255,.025) !important;
  backdrop-filter: blur(18px) !important;
}
.redeem-panel { border-radius: 24px !important; padding: 30px !important; }
.input-wrap, .pw-field, .toolbar .search-wrap, select, input {
  background: rgba(5,5,8,.74) !important;
  border-color: rgba(255,255,255,.08) !important;
}
.input-wrap:focus-within, .pw-field:focus-within, .toolbar .search-wrap:focus-within {
  border-color: rgba(255,30,39,.46) !important;
  box-shadow: 0 0 0 4px rgba(255,30,39,.08), 0 0 30px rgba(255,30,39,.06) !important;
}
.input-wrap i, .pw-field i { color: #6f6974 !important; }
.field > span { color: #c4bec7 !important; }
.field b { color: var(--red) !important; }

/* Red controls */
.btn-primary, .cta {
  background: linear-gradient(135deg, #ff2a33 0%, #e8141d 55%, #bd0c14 100%) !important;
  color: #fff !important;
  border: 1px solid rgba(255,120,124,.22) !important;
  box-shadow: 0 12px 32px rgba(255,30,39,.19), inset 0 1px 0 rgba(255,255,255,.13) !important;
  border-radius: 12px !important;
}
.btn-primary:hover, .cta:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: 0 16px 38px rgba(255,30,39,.24), inset 0 1px 0 rgba(255,255,255,.14) !important; }
.btn-primary:active, .cta:active { transform: translateY(0); }
.btn-ghost, .staff-link { border-color: rgba(255,255,255,.08) !important; }
.btn-ghost:hover { border-color: rgba(255,30,39,.22) !important; color: #fff !important; background: rgba(255,30,39,.07) !important; }
.btn-danger { color: #ff7b80 !important; }

/* Feature cards */
.feature-grid { grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 16px !important; margin-top: 34px !important; }
.feature-card { border-radius: 18px !important; padding: 20px !important; transition: .2s ease !important; }
.feature-card:hover { transform: translateY(-4px); border-color: rgba(255,30,39,.28) !important; box-shadow: 0 22px 60px rgba(0,0,0,.36), 0 0 32px rgba(255,30,39,.05) !important; }
.iconbox, .mini-mark, .product-orb {
  background: linear-gradient(180deg, rgba(255,30,39,.16), rgba(255,30,39,.06)) !important;
  color: var(--red) !important;
  border: 1px solid rgba(255,30,39,.17) !important;
}
.feature-card .arrow { color: var(--red) !important; }
.mini-row { color: #77717a !important; }
.mini-row i { color: var(--red) !important; }
.secure-badge { color: #ff8a8f !important; background: rgba(255,30,39,.08) !important; border-color: rgba(255,30,39,.16) !important; }
.notice.success { background: rgba(255,30,39,.06) !important; border-color: rgba(255,30,39,.16) !important; color: #ffc3c6 !important; }

/* Other public pages */
.product-card { border-radius: 24px !important; padding: 30px !important; gap: 28px !important; }
.product-body h2 { font-size: 42px !important; }
.info-box { border-radius: 16px !important; }
.info-box > i, .checker-result > i { color: var(--red) !important; }
.stock-grid { gap: 16px !important; }
.stock-card { border-radius: 18px !important; padding: 24px !important; }
.stock-card > strong { font-size: 48px !important; }
.checker-result { border-radius: 16px !important; }
.checker-result.success { border-color: rgba(255,30,39,.18) !important; background: rgba(255,30,39,.05) !important; }
.checker-result.error { border-color: rgba(255,96,103,.16) !important; }

/* Footer */
footer {
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 18px 28px 34px !important;
  border-top-color: rgba(255,255,255,.07) !important;
  color: #66616a !important;
}
footer a:hover { color: #fff !important; }

/* Logo watermark helpers */
.brand-logo, .page-logo { width: 42px; height: 42px; object-fit: contain; }

@media (max-width: 980px) {
  .topbar { height: auto !important; min-height: 72px; flex-wrap: wrap; padding: 12px 18px !important; }
  .brand { min-width: 0 !important; }
  .nav { order: 3; width: 100%; justify-content: flex-start; overflow-x: auto; padding-bottom: 2px; }
  .hero-wide { grid-template-columns: 1fr !important; gap: 32px !important; }
  .hero-wide::before { width: 460px; height: 460px; right: -150px; top: -80px; opacity: .05; }
  .feature-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 640px) {
  .shell, .page { padding: 38px 16px 56px !important; }
  h1 { font-size: clamp(42px, 13vw, 64px) !important; }
  .redeem-panel { padding: 20px !important; border-radius: 18px !important; }
  .topbar { padding: 10px 12px !important; }
  .staff-link { display: none !important; }
}

.brand strong span, .side-brand strong span { color: var(--red) !important; }
.brand strong::after, .side-brand strong::after { display:none !important; }
.product-orb img { width: 66px; height: 66px; object-fit: contain; filter: drop-shadow(0 10px 22px rgba(255,30,39,.18)); }
.mini-mark img { width: 28px; height: 28px; object-fit: contain; }
.iconbox i { color: var(--red) !important; }
