:root {
  --bg: #090912;
  --bg2: #141323;
  --card: rgba(255,255,255,.075);
  --card2: rgba(255,255,255,.105);
  --line: rgba(188, 255, 77, .18);
  --line2: rgba(255, 211, 105, .23);
  --text: #f5f2e8;
  --muted: #a8a5b7;
  --lime: #bcff4d;
  --violet: #8b5cff;
  --pink: #ff4fc3;
  --cyan: #55e7ff;
  --gold: #ffd369;
  --gold2: #ff9f2e;
  --red: #ff6d6d;
  --green: #76ffc5;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 14% 12%, rgba(139,92,255,.22), transparent 24%),
    radial-gradient(circle at 86% 16%, rgba(188,255,77,.14), transparent 20%),
    radial-gradient(circle at 18% 86%, rgba(255,79,195,.16), transparent 22%),
    radial-gradient(circle at 82% 78%, rgba(85,231,255,.12), transparent 22%),
    linear-gradient(135deg, #070711 0%, #141323 44%, #090912 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 50% 40%, black, transparent 78%);
  z-index: 0;
}

.main-game {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: calc(100vh - 96px);
  display: grid;
  place-items: center;
  padding: 28px 0 14px;
}

.game-card {
  width: 100%;
  border-radius: 38px;
  padding: clamp(18px, 3vw, 34px);
  background: linear-gradient(180deg, rgba(255,255,255,.095), rgba(255,255,255,.055));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow:
    0 34px 110px rgba(0,0,0,.42),
    0 0 90px rgba(139,92,255,.08),
    inset 0 0 0 1px rgba(255,255,255,.035);
  backdrop-filter: blur(14px);
}

.game-layout {
  display: grid;
  grid-template-columns: minmax(520px, 1fr) 340px;
  gap: clamp(22px, 3vw, 36px);
  align-items: stretch;
}

.play-area {
  display: grid;
  gap: 20px;
}

.round-title {
  padding: 18px 20px;
  border-radius: 28px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.10);
}

.round-title h1 {
  margin: 0 0 8px;
  font-size: clamp(30px, 4.2vw, 54px);
  line-height: 1.02;
  color: var(--lime);
  letter-spacing: -.8px;
}

.round-title p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.choice-card {
  min-height: 285px;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 30px;
  padding: 22px;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 0%, rgba(188,255,77,.12), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.055));
  box-shadow: 0 20px 58px rgba(0,0,0,.26);
  transition: transform .17s ease, border-color .17s ease, background .17s ease;
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 12px;
}

.choice-card:hover {
  transform: translateY(-6px);
  border-color: rgba(188,255,77,.45);
  background:
    radial-gradient(circle at 50% 0%, rgba(188,255,77,.19), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.07));
}

.choice-card.revealed {
  cursor: default;
  pointer-events: none;
}

.item-icon {
  font-size: clamp(58px, 7vw, 92px);
  line-height: 1;
  text-align: center;
  filter: drop-shadow(0 14px 18px rgba(0,0,0,.28));
}

.choice-card h2 {
  margin: 0;
  text-align: center;
  font-size: 22px;
  color: var(--text);
}

.choice-card p {
  margin: 0;
  color: var(--muted);
  text-align: center;
  line-height: 1.42;
  font-size: 15px;
}

.inventory {
  min-height: 122px;
  border-radius: 28px;
  padding: 16px;
  background: rgba(0,0,0,.20);
  border: 1px dashed rgba(188,255,77,.25);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.inventory-title {
  width: 100%;
  text-align: center;
  color: var(--muted);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.inv-item {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-size: 38px;
  background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
  animation: popIn .22s ease;
}

.side-panel {
  min-height: 100%;
  border-radius: 32px;
  padding: 22px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,255,255,.11);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.stat {
  padding: 14px;
  border-radius: 20px;
  background: rgba(255,255,255,.075);
  border: 1px solid rgba(255,255,255,.10);
  text-align: center;
  color: var(--muted);
  font-weight: 900;
  font-size: 13px;
}

.stat strong {
  display: block;
  margin-top: 6px;
  font-size: 25px;
  color: var(--text);
}

.message {
  min-height: 190px;
  display: grid;
  align-content: center;
  text-align: center;
  line-height: 1.48;
  font-size: 18px;
  color: var(--text);
}

.message strong {
  color: var(--lime);
}

.message .small {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
}

.good { color: var(--green); font-weight: 950; }
.bad { color: var(--red); font-weight: 950; }
.gold { color: var(--gold); font-weight: 950; }

.actions {
  display: grid;
  gap: 11px;
}

.btn, button {
  border: none;
  cursor: pointer;
  border-radius: 999px;
  padding: 15px 24px;
  font-size: 17px;
  font-weight: 950;
  color: #101018;
  background: linear-gradient(135deg, var(--lime), #6dffb1);
  text-decoration: none;
  text-align: center;
  box-shadow: 0 16px 36px rgba(188,255,77,.18);
  transition: transform .16s ease, opacity .16s ease;
}

.btn:hover, button:hover { transform: translateY(-2px); }

.btn.secondary, button.secondary {
  background: rgba(255,255,255,.09);
  color: var(--text);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: none;
}

.claim-offer {
  padding: 20px 30px;
  font-size: 24px;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: #1b1306;
  background: linear-gradient(135deg, #fff4b2, var(--gold) 45%, var(--gold2));
  border: 1px solid rgba(255,255,255,.22);
  box-shadow:
    0 24px 58px rgba(255,211,105,.24),
    inset 0 0 0 1px rgba(255,255,255,.22);
}

.bottom-brand {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  text-align: center;
  color: var(--lime);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 950;
  letter-spacing: .4px;
  text-shadow: 0 14px 38px rgba(0,0,0,.32);
}

.footer {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0 34px;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 15px;
  font-weight: 900;
}

.footer a:hover { color: var(--lime); }

.content-wrap {
  position: relative;
  z-index: 2;
  width: min(900px, calc(100% - 32px));
  margin: 34px auto 60px;
}

.content-card {
  padding: 34px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255,255,255,.095), rgba(255,255,255,.055));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
  color: var(--muted);
  line-height: 1.72;
  backdrop-filter: blur(12px);
}

.content-card h1, .content-card h2 { color: var(--text); }
.content-card h1 { margin-top: 0; font-size: clamp(32px, 4vw, 48px); }
.content-card a { color: var(--lime); font-weight: 900; }

@keyframes popIn {
  from { transform: scale(.5); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@media (max-width: 980px) {
  .game-layout { grid-template-columns: 1fr; }
  .side-panel { min-height: auto; }
}

@media (max-width: 760px) {
  .choice-grid { grid-template-columns: 1fr; }
  .choice-card { min-height: 230px; }
  .item-icon { font-size: 78px; }
}