﻿:root {
  --bg: #060a14;
  --surface: rgba(14, 19, 33, 0.8);
  --surface-2: rgba(17, 24, 43, 0.92);
  --line: rgba(109, 134, 196, 0.34);
  --line-strong: rgba(144, 173, 236, 0.52);
  --text: #eef2ff;
  --muted: #a5b3d4;
  --mint: #1ce6aa;
  --mint-2: #0fb686;
  --amber: #ffd06a;
  --danger: #ff889f;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; min-height: 100%; }

body {
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 22% -10%, #15234a 0%, var(--bg) 56%);
  overflow-x: hidden;
}

.ambient {
  position: fixed;
  z-index: -2;
  border-radius: 50%;
  filter: blur(78px);
}

.ambient-a {
  width: 460px;
  height: 460px;
  top: -190px;
  right: -120px;
  background: rgba(28, 230, 169, 0.24);
}

.ambient-b {
  width: 550px;
  height: 550px;
  bottom: -230px;
  left: -140px;
  background: rgba(102, 131, 255, 0.24);
}

.shell {
  width: min(1140px, 92%);
  margin: 0 auto;
  padding: 20px 0 42px;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 25;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  background: linear-gradient(130deg, rgba(11, 17, 30, 0.9), rgba(10, 16, 29, 0.72));
}

.brand {
  text-decoration: none;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Syne", sans-serif;
  font-weight: 700;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  object-fit: cover;
  border: 1px solid rgba(143, 167, 227, 0.5);
  box-shadow: 0 8px 16px rgba(3, 7, 20, 0.45);
}

.desktop-nav {
  justify-self: center;
  display: flex;
  gap: 8px;
}

.desktop-nav a {
  text-decoration: none;
  color: var(--muted);
  border-radius: 10px;
  padding: 8px 12px;
  transition: 0.2s;
}

.desktop-nav a:hover {
  background: rgba(49, 66, 105, 0.5);
  color: var(--text);
}

.header-actions {
  display: flex;
  gap: 8px;
  position: relative;
}

.support-btn,
.menu-btn {
  border-radius: 10px;
  padding: 10px 12px;
  border: 1px solid transparent;
  font-weight: 700;
}

.support-btn {
  text-decoration: none;
  color: #032519;
  background: linear-gradient(125deg, var(--mint), var(--mint-2));
}

.menu-btn {
  border-color: var(--line);
  background: rgba(23, 31, 52, 0.85);
  color: var(--text);
  cursor: pointer;
}

.menu-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(290px, 88vw);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: linear-gradient(155deg, rgba(15, 23, 40, 0.96), rgba(11, 18, 33, 0.94));
  padding: 10px;
  display: none;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
}

.menu-panel.open { display: block; }
.menu-panel h4 { margin: 4px 6px 10px; font-family: "Syne", sans-serif; }

.menu-panel a {
  display: block;
  color: var(--text);
  text-decoration: none;
  padding: 9px 10px;
  border-radius: 9px;
  border: 1px solid rgba(97, 122, 187, 0.35);
  background: rgba(27, 37, 62, 0.58);
  margin-bottom: 7px;
}

.hero {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 14px;
}

.hero-content,
.hero-media,
.checkout,
.panel,
.faq {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(150deg, var(--surface), var(--surface-2));
}

.hero-content { padding: 24px; }

.tag {
  margin: 0;
  color: var(--mint);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.hero-content h1 {
  margin: 10px 0;
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 3.9vw, 3.3rem);
  line-height: 1.05;
}

.sub { margin: 0; max-width: 38ch; color: #c4d2f1; }

.hero-stats {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hero-stats div {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  background: rgba(21, 29, 50, 0.68);
}

.hero-stats strong { display: block; color: var(--amber); }
.hero-stats span { color: var(--muted); font-size: 0.82rem; }

.hero-media { position: relative; padding: 12px; }

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 365px;
  max-height: 520px;
  object-fit: cover;
  border-radius: 14px;
}

.hero-chip {
  position: absolute;
  left: 22px;
  bottom: 22px;
  border: 1px solid rgba(86, 228, 182, 0.66);
  border-radius: 999px;
  background: rgba(6, 41, 31, 0.8);
  color: #ccffef;
  font-size: 0.78rem;
  padding: 7px 11px;
}

.checkout { margin-top: 14px; padding: 20px; }
.checkout-head h2 { margin: 0; font-family: "Syne", sans-serif; }
.checkout-head p { margin: 6px 0 16px; color: var(--muted); }

.preset-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.preset {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(33, 45, 77, 0.6);
  color: var(--text);
  padding: 11px;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
}

.preset span {
  display: block;
  margin-top: 4px;
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: #aabde6;
}

.preset.active {
  border-color: rgba(39, 230, 177, 0.95);
  background: linear-gradient(140deg, rgba(17, 77, 60, 0.9), rgba(13, 56, 44, 0.88));
}

.qty-row {
  margin-top: 11px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(16, 24, 42, 0.72);
  display: grid;
  grid-template-columns: 60px 1fr 60px;
  align-items: center;
}

.qty-row button {
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 1.8rem;
  height: 54px;
  cursor: pointer;
}

.qty-row input {
  border: 0;
  background: transparent;
  color: var(--text);
  font-weight: 700;
  font-size: 1.3rem;
  text-align: center;
  outline: none;
}

.summary-row {
  margin-top: 11px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.summary-row div {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px;
  background: rgba(20, 28, 48, 0.7);
}

.summary-row span { color: var(--muted); font-size: 0.8rem; }
.summary-row strong { display: block; margin-top: 3px; font-size: 1.2rem; }

.pix-btn {
  margin-top: 12px;
  width: 100%;
  border: 0;
  border-radius: 14px;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px;
  color: #032219;
  cursor: pointer;
  background: linear-gradient(120deg, var(--mint), var(--mint-2));
}

.grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.panel, .faq { padding: 16px; margin-top: 12px; }
.panel h3, .faq h3 { margin: 0 0 10px; font-family: "Syne", sans-serif; }
.panel ul { margin: 0; padding-left: 16px; color: #c8d5f2; display: grid; gap: 6px; }

.mini-card {
  border: 1px solid rgba(104, 130, 194, 0.37);
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 8px;
  display: grid;
  gap: 4px;
  background: rgba(23, 33, 57, 0.72);
}

.mini-card b { color: #79f2c9; }

.mini-card.popular {
  border-color: rgba(255, 208, 106, 0.6);
  background: linear-gradient(130deg, rgba(62, 47, 21, 0.65), rgba(32, 25, 14, 0.65));
}

.prize-list,
.rank-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.prize-list li,
.rank-list li {
  border: 1px solid rgba(99, 126, 190, 0.4);
  border-radius: 10px;
  background: rgba(23, 33, 57, 0.72);
  padding: 10px;
}

.prize-list li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
}

.prize-list b { color: var(--amber); }
.prize-list em { color: #73f4c8; font-style: normal; }
.rank-list li { display: flex; justify-content: space-between; }
.rank-list b { color: var(--amber); }

.faq details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(22, 30, 52, 0.6);
  padding: 10px;
  margin-top: 8px;
}

.faq summary { cursor: pointer; }
.faq p { color: #c7d4f2; margin: 8px 0 0; }

footer { text-align: center; margin-top: 14px; color: var(--muted); }
.footer-brand { font-family: "Syne", sans-serif; font-size: 1.3rem; color: var(--amber); margin-bottom: 6px; }

.flow-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 12, 22, 0.7);
  backdrop-filter: blur(4px);
  z-index: 40;
  display: grid;
  justify-items: end;
}

.flow-drawer {
  width: min(480px, 96vw);
  height: 100%;
  background: linear-gradient(155deg, rgba(14, 20, 36, 0.98), rgba(11, 18, 32, 0.96));
  border-left: 1px solid var(--line-strong);
  padding: 16px;
  overflow-y: auto;
}

.flow-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.flow-head h4 { margin: 0; font-family: "Syne", sans-serif; }

.flow-head button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(30, 41, 68, 0.82);
  color: var(--text);
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.flow-desc { color: var(--muted); margin: 0 0 10px; }

.qty-row.compact { margin-top: 0; }

.quick-add {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin: 9px 0 12px;
}

.quick-chip {
  border: 1px solid rgba(104, 128, 190, 0.4);
  border-radius: 9px;
  background: rgba(27, 38, 64, 0.7);
  color: var(--text);
  padding: 8px;
  font-weight: 700;
  cursor: pointer;
}

.flow-step h5 { margin: 10px 0; font-size: 1.05rem; }

.flow-roletas {
  display: grid;
  gap: 8px;
}

.roleta-card {
  text-align: left;
  border: 1px solid rgba(104, 129, 191, 0.45);
  border-radius: 11px;
  background: rgba(25, 35, 59, 0.75);
  color: var(--text);
  padding: 10px;
  cursor: pointer;
}

.roleta-card span { display: block; font-weight: 700; }
.roleta-card small { color: var(--muted); }
.roleta-card b { color: #77f4cc; float: right; }

.flow-total {
  margin: 12px 0;
  border: 1px solid rgba(104, 129, 191, 0.4);
  border-radius: 11px;
  padding: 10px;
  background: rgba(21, 31, 53, 0.74);
}

.flow-total p {
  margin: 0;
  display: flex;
  justify-content: space-between;
}

.flow-total p + p { margin-top: 6px; }

.flow-primary,
.flow-secondary {
  width: 100%;
  border-radius: 12px;
  padding: 12px;
  border: 1px solid transparent;
  font-weight: 700;
  cursor: pointer;
}

.flow-primary {
  margin-top: 8px;
  color: #032519;
  background: linear-gradient(120deg, var(--mint), var(--mint-2));
}

.flow-secondary {
  margin-top: 8px;
  color: var(--text);
  border-color: rgba(109, 134, 196, 0.35);
  background: rgba(27, 38, 64, 0.55);
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.field {
  width: 100%;
  margin-top: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(20, 29, 50, 0.72);
  color: var(--text);
  padding: 10px;
}

.error-msg {
  color: var(--danger);
  min-height: 18px;
  margin: 6px 0 0;
  font-size: 0.88rem;
}

.pix-modal {
  width: min(840px, 95vw);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(10, 16, 30, 0.98), rgba(14, 22, 39, 0.95));
  color: var(--text);
  padding: 14px;
}

.pix-modal::backdrop { background: rgba(3, 6, 12, 0.76); }
.modal-head { display: flex; justify-content: space-between; align-items: center; }
.modal-head h4 { margin: 0; font-family: "Syne", sans-serif; }

.modal-head button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(28, 38, 65, 0.8);
  color: var(--text);
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.payment-status {
  margin-top: 10px;
  border: 1px solid rgba(244, 186, 65, 0.34);
  border-radius: 10px;
  background: rgba(66, 50, 20, 0.45);
  padding: 10px;
}

.waiting { margin: 0; font-weight: 700; }
.timer { margin: 4px 0 0; color: #ffd48a; }

.modal-loading { margin-top: 12px; color: #c7d4f4; }
.modal-content { margin-top: 12px; }

.modal-content img {
  width: 220px;
  height: 220px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: block;
  margin: 0 auto 12px;
  background: #fff;
}

.modal-content label { display: block; margin-bottom: 6px; color: #bdd0fa; }

.modal-content textarea {
  width: 100%;
  min-height: 80px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(12, 18, 33, 0.8);
  color: #e6eeff;
  padding: 10px;
  resize: vertical;
}

.modal-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.modal-actions button {
  border: 0;
  border-radius: 10px;
  background: linear-gradient(120deg, var(--mint), var(--mint-2));
  color: #032419;
  font-weight: 700;
  padding: 9px 12px;
  cursor: pointer;
}

.paid-btn {
  background: linear-gradient(120deg, #3d74ff, #2f5fda) !important;
  color: #eef3ff !important;
}

#copyStatus { color: #9ef3d2; font-size: 0.9rem; min-height: 18px; }
.expire { color: #ffd7df; font-size: 0.85rem; }

.purchase-details {
  margin-top: 10px;
  border: 1px solid rgba(106, 132, 195, 0.38);
  border-radius: 10px;
  background: rgba(22, 30, 52, 0.6);
  padding: 9px;
}

.purchase-details summary { cursor: pointer; }

.purchase-details ul {
  list-style: none;
  padding: 8px 0 0;
  margin: 0;
  display: grid;
  gap: 6px;
}

.purchase-details li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(109, 134, 196, 0.2);
  padding-bottom: 4px;
}

.hidden { display: none !important; }
.reveal { opacity: 0; transform: translateY(18px); transition: 0.55s ease; }
.reveal.show { opacity: 1; transform: none; }

@media (min-width: 981px) {
  .hero-content,
  .hero-media,
  .checkout,
  .panel,
  .faq {
    box-shadow: 0 20px 36px rgba(2, 8, 20, 0.34), inset 0 1px 0 rgba(196, 216, 255, 0.08);
  }

  .topbar {
    border-color: rgba(129, 156, 225, 0.42);
    background: linear-gradient(130deg, rgba(10, 18, 33, 0.93), rgba(9, 15, 28, 0.8));
  }
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .desktop-nav { display: none; }
}

@media (max-width: 760px) {
  body { background: radial-gradient(circle at 90% -20%, #1a315f 0%, #0a1020 48%, #060a14 100%); }

  .shell { width: 94%; padding-top: 14px; }

  .topbar {
    grid-template-columns: 1fr auto;
    padding: 10px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(18, 28, 50, 0.93), rgba(10, 17, 32, 0.88));
  }

  .support-btn { display: none; }

  .brand { font-size: 0.98rem; }
  .brand-icon { width: 34px; height: 34px; border-radius: 9px; }

  .hero-content,
  .hero-media,
  .checkout,
  .panel,
  .faq {
    border-radius: 16px;
    background: linear-gradient(155deg, rgba(20, 31, 55, 0.88), rgba(12, 20, 38, 0.95));
    border-color: rgba(145, 169, 238, 0.35);
  }

  .hero-content { padding: 18px; }
  .hero-content h1 { font-size: clamp(1.65rem, 8.2vw, 2.35rem); line-height: 1.08; }
  .hero-media img { min-height: 250px; max-height: 350px; border-radius: 12px; }
  .hero-chip { left: 18px; bottom: 18px; font-size: 0.73rem; }

  .preset-grid { grid-template-columns: 1fr 1fr; }
  .grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr; }
  .summary-row { grid-template-columns: 1fr; }

  .flow-drawer { width: 100%; }
  .field-grid { grid-template-columns: 1fr; }
  .quick-add { grid-template-columns: 1fr 1fr; }

  .modal-actions { flex-direction: column; align-items: stretch; }
}
