:root {
  --bg: #050608;
  --panel: #0e0f14;
  --panel-2: #11131b;
  --accent: #f0c245;
  --accent-strong: #f2a900;
  --text: #f6f2e9;
  --muted: #9c8d65;
  --rare: #9d6bff;
  --uncommon: #3dd6ff;
  --common: #42e77a;
  --epic: #ff5656;
  --grid: rgba(240, 194, 69, 0.07);
  --glow: 0 0 0 1px rgba(240, 194, 69, 0.35), 0 0 25px rgba(240, 194, 69, 0.16);
  --radius: 14px;
}

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

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  background: radial-gradient(circle at 25% 20%, rgba(240, 194, 69, 0.1), transparent 32%),
    radial-gradient(circle at 75% 0%, rgba(242, 169, 0, 0.12), transparent 30%),
    var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 50% 30%, rgba(0, 0, 0, 0.9), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3, h4 {
  font-family: "Aldrich", "Space Grotesk", sans-serif;
  margin: 0;
  letter-spacing: 0.04em;
}

p {
  margin: 0;
  color: var(--muted);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(180deg, rgba(5, 6, 8, 0.92) 0%, rgba(5, 6, 8, 0.78) 100%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(240, 194, 69, 0.2);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  padding: 10px 0;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.brand {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: flex-start;
}

.logo-slot {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid rgba(240, 194, 69, 0.45);
  background: linear-gradient(135deg, rgba(240, 194, 69, 0.15), rgba(240, 194, 69, 0));
  display: grid;
  place-items: center;
  box-shadow: var(--glow);
  position: relative;
  overflow: hidden;
}

.logo-link {
  display: inline-block;
  text-decoration: none;
  border-radius: 50%;
}

.logo-link:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.logo-mark {
  font-family: "Aldrich", sans-serif;
  font-size: 18px;
  letter-spacing: 0.08em;
  color: var(--accent);
  display: none;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-copy h1 {
  font-size: clamp(28px, 3vw, 38px);
}

.brand-copy p {
  margin-top: 6px;
}

.eyebrow {
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 0.14em;
  font-size: 12px;
}

.timer {
  text-align: right;
  color: var(--accent);
}

.countdown-block {
  text-align: center;
  padding: 12px 18px 14px;
  border: 1px solid rgba(240, 194, 69, 0.25);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(240, 194, 69, 0.1), rgba(240, 194, 69, 0));
  box-shadow: var(--glow);
}

.timer-value {
  font-family: "Aldrich", sans-serif;
  font-size: clamp(26px, 4vw, 34px);
  letter-spacing: 0.12em;
}

.timer-label {
  color: var(--muted);
  font-size: 14px;
}

.timestamp {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

.layout {
  display: grid;
  grid-template-columns: minmax(320px, 560px) minmax(320px, 598px);
  gap: 22px;
  padding: 12px 0 20px;
  position: relative;
  z-index: 1;
  justify-content: center;
}

@media (max-width: 960px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .timer {
    text-align: left;
  }

  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .brand {
    width: 100%;
    justify-content: flex-start;
  }

  .timer {
    width: 100%;
  }
}

.hero {
  min-height: calc(100vh - 120px);
  display: grid;
  place-items: center;
  padding: 40px 0 60px;
}

.hero-panel {
  width: min(900px, 100%);
  text-align: center;
  display: grid;
  gap: 28px;
  padding: 28px 28px 30px;
}

.hero-copy h2 {
  font-size: clamp(30px, 5vw, 44px);
}

.hero-sub {
  color: var(--text);
}

.hero-visual {
  border-radius: 12px;
  border: 1px solid rgba(240, 194, 69, 0.2);
  background: rgba(5, 6, 8, 0.55);
  box-shadow: var(--glow);
  padding: 10px;
}

.hero-visual img {
  width: 100%;
  max-width: 780px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

.panel {
  background: linear-gradient(135deg, rgba(240, 194, 69, 0.08), rgba(240, 194, 69, 0)),
    linear-gradient(180deg, rgba(18, 18, 24, 0.92), rgba(10, 11, 16, 0.94));
  border-radius: var(--radius);
  border: 1px solid rgba(240, 194, 69, 0.25);
  box-shadow: var(--glow);
  padding: 14px 14px 12px;
  position: relative;
  overflow: hidden;
}

.panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(242, 169, 0, 0.12), transparent 32%),
    radial-gradient(circle at 90% 20%, rgba(240, 194, 69, 0.12), transparent 38%);
  pointer-events: none;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  position: relative;
  z-index: 1;
  margin-bottom: 14px;
}

.panel-title {
  font-family: "Aldrich", sans-serif;
  font-size: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pill {
  border-radius: 999px;
  border: 1px solid rgba(240, 194, 69, 0.35);
  color: var(--accent);
  padding: 6px 12px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill-glow {
  background: rgba(240, 194, 69, 0.12);
  box-shadow: 0 0 16px rgba(240, 194, 69, 0.24);
}

.items-grid {
  display: grid;
  gap: 12px;
  position: relative;
  z-index: 1;
  padding: 0;
}

.card {
  position: relative;
  overflow: hidden;
  min-height: 140px;
  display: grid;
  align-items: center;
}

.card-head {
  display: none;
}

.card-body {
  padding: 0 12px 12px;
}

.name {
  font-size: 15px;
  color: var(--text);
  letter-spacing: 0.04em;
}

.price {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Aldrich", sans-serif;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.coin {
  width: 18px;
  height: 18px;
  background: radial-gradient(circle at 30% 30%, #fff4d0, #f2b700 58%, #c7850a 100%);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(242, 169, 0, 0.36);
  display: inline-block;
}

.thumb {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  border: none;
  min-height: 0;
  background: transparent;
}

.thumb img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(5, 6, 8, 0.75);
  border: 1px solid rgba(240, 194, 69, 0.35);
  color: var(--accent);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--glow);
}

.feature-card {
  min-height: 400px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}

.feature-visual {
  position: relative;
  background: transparent;
  border-top: none;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  overflow: visible;
  min-height: 0;
}

.feature-visual img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.footer {
  padding: 8px 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.footer code {
  color: var(--accent);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 12px;
}

.meta {
  color: var(--muted);
  opacity: 0.6;
}

.credit-link {
  color: inherit;
  text-decoration: none;
}

.credit-link:hover,
.credit-link:focus {
  text-decoration: underline;
}

.link-muted {
  color: var(--muted);
}

.link-muted:hover,
.link-muted:focus {
  color: var(--accent);
}

.credit {
  text-align: right;
}

@media (max-width: 600px) {
  .page {
    width: min(100%, calc(100% - 20px));
  }

  .layout {
    gap: 14px;
    padding-bottom: 26px;
  }

  .panel {
    padding: 14px 14px 12px;
    border-radius: 12px;
  }

  .panel-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .pill {
    font-size: 11px;
    padding: 5px 10px;
  }

  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .footer {
    padding: 12px 0 14px;
  }
}
