:root {
  --bg: #0a0b3d;
  --navy: #10135c;
  --navy-2: #0c0e47;
  --pink: #ff3cc7;
  --purple: #7b2dff;
  --cyan: #39c6ff;
  --green: #3fd14a;
  --red: #ef3b54;
  --text: #ffffff;
  --muted: #b3b8e8;
  --ink: #12164d;
  --edge: linear-gradient(135deg, #ff3cc7 0%, #7b2dff 45%, #39c6ff 100%);
}
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  min-height: 100vh;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(118deg, transparent 20%, rgba(255,60,199,.55) 27%, rgba(255,128,64,.35) 30%, transparent 36%),
    linear-gradient(118deg, transparent 58%, rgba(57,198,255,.35) 63%, rgba(123,45,255,.25) 67%, transparent 73%),
    linear-gradient(62deg, transparent 70%, rgba(255,60,199,.25) 78%, transparent 86%),
    radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.3px),
    radial-gradient(ellipse at 50% -10%, #2a2fc9 0%, transparent 60%),
    linear-gradient(180deg, #151a8a 0%, #0d0f5a 45%, #0a0b3d 100%);
  background-size: cover, cover, cover, 7px 7px, cover, cover;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.wrap {
  width: 100%;
  max-width: 400px;
}

/* Panels: rounded with neon gradient edge */
.card, .modal-box, .info-block {
  position: relative;
  border: 2px solid transparent;
  border-radius: 18px;
  background:
    linear-gradient(180deg, var(--navy) 0%, var(--navy-2) 100%) padding-box,
    var(--edge) border-box;
  box-shadow: 0 0 0 1px rgba(255,255,255,.04), 0 0 34px rgba(255,60,199,.28), 0 22px 50px rgba(0,0,0,.55);
}

.card {
  text-align: center;
  padding: 38px 24px 30px;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(57,198,255,.16), transparent);
  pointer-events: none;
}

.logo {
  position: relative;
  display: block;
  width: 88px;
  height: 88px;
  margin: 0 auto 20px;
  border-radius: 20px;
  border: 2px solid rgba(255,255,255,.85);
  box-shadow: 0 0 0 4px rgba(255,60,199,.35), 0 10px 26px rgba(0,0,0,.55);
}

h1 {
  position: relative;
  font-size: 25px;
  font-weight: 900;
  font-style: italic;
  line-height: 1.15;
  letter-spacing: .4px;
  text-transform: uppercase;
  margin-bottom: 12px;
  text-shadow: 0 3px 0 rgba(0,0,0,.35);
}
h1 span {
  display: inline-block;
  padding: 2px 12px;
  margin: 4px 0;
  color: #fff;
  background: linear-gradient(90deg, var(--pink), var(--purple));
  transform: skewX(-10deg);
  border-radius: 4px;
  box-shadow: 0 0 18px rgba(255,60,199,.5);
}

p {
  position: relative;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 320px;
  margin: 0 auto 26px;
}

.form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field {
  display: flex;
  align-items: center;
  height: 54px;
  border-radius: 10px;
  background: #eef1ff;
  border: 2px solid #c9cff7;
  box-shadow: inset 0 2px 6px rgba(18,22,77,.15);
  transition: border-color .2s, box-shadow .2s;
  overflow: hidden;
}
.field:focus-within {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(57,198,255,.35), inset 0 2px 6px rgba(18,22,77,.15);
}
input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 16px;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: none;
}
input::placeholder { color: #7d84b8; font-weight: 500; }

.btn {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  font: inherit;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 0 rgba(0,0,0,.25);
  background: linear-gradient(180deg, #6ee86f 0%, var(--green) 50%, #26a632 100%);
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.2), 0 8px 20px rgba(63,209,74,.35);
  transition: filter .15s, transform .1s;
}
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
  transform: skewX(-20deg);
  animation: shine 2.8s ease-in-out infinite;
}
@keyframes shine {
  0%, 60% { left: -60%; }
  100% { left: 130%; }
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: translateY(2px); box-shadow: inset 0 -2px 0 rgba(0,0,0,.2), 0 4px 12px rgba(63,209,74,.3); }

.form[hidden], .amounts[hidden], .confirm[hidden], .verify[hidden] { display: none; }

.verify { animation: pop .25s ease; }
.verify-img {
  display: block;
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(255,60,199,.35));
}
.verify-title {
  font-size: 22px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 10px;
}
.verify-text { margin-bottom: 22px; }
a.btn { text-decoration: none; }

.confirm { position: relative; animation: pop .25s ease; }
.confirm .player { margin: 0 0 18px; }

.amounts { position: relative; animation: pop .25s ease; }
.amounts-title {
  display: inline-block;
  padding: 6px 18px;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(90deg, #1f3bd6, var(--purple));
  transform: skewX(-12deg);
  border-radius: 4px;
}
.amount-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.amount {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  height: 132px;
  padding: 24px 8px 0;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  border: 2px solid #d5daf8;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #e8ecff 100%);
  box-shadow: 0 6px 16px rgba(0,0,0,.35);
  transition: border-color .15s, box-shadow .15s, transform .1s;
}
.amount:hover { border-color: var(--cyan); }
.amount:active { transform: scale(.97); }
.amount.is-active {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(255,60,199,.45), 0 6px 16px rgba(0,0,0,.35);
}
.amount img {
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(18,22,77,.35));
}
.amount-value {
  width: calc(100% + 16px);
  padding: 7px 0;
  font-size: 18px;
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  color: #fff;
  background: linear-gradient(90deg, #1f3bd6, var(--purple));
}
.amount-free {
  position: absolute;
  top: 0;
  left: 0;
  padding: 5px 14px 5px 10px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(6,6,36,.82);
  backdrop-filter: blur(6px);
  animation: fade .2s ease;
}
.modal[hidden] { display: none; }

.modal-box {
  width: 100%;
  max-width: 360px;
  padding: 30px 22px 26px;
  text-align: center;
  animation: pop .25s ease;
}

.modal h2 {
  font-size: 20px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 6px;
}
.modal .status {
  font-size: 14px;
  color: var(--muted);
  margin: 0 auto 18px;
  min-height: 20px;
}

.spinner {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border: 4px solid rgba(255,255,255,.1);
  border-top-color: var(--pink);
  border-right-color: var(--cyan);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

.bar {
  height: 12px;
  border-radius: 999px;
  background: #070936;
  border: 1px solid rgba(57,198,255,.3);
  overflow: hidden;
}
.bar-fill {
  width: 0;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pink), var(--purple), var(--cyan));
  box-shadow: 0 0 12px rgba(255,60,199,.6);
}
.percent {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 900;
  color: var(--cyan);
}
.uid-line {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .5px;
  word-break: break-all;
}

.check {
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(180deg, #6ee86f, #26a632);
  box-shadow: 0 0 0 5px rgba(63,209,74,.2), 0 0 24px rgba(63,209,74,.5);
  animation: pop .3s ease;
}
.check.is-error {
  background: linear-gradient(180deg, #ff6b7f, #c81e3a);
  box-shadow: 0 0 0 5px rgba(239,59,84,.2), 0 0 24px rgba(239,59,84,.5);
}

.player {
  margin: 14px 0 20px;
  border-radius: 10px;
  overflow: hidden;
  background: #eef1ff;
  text-align: left;
}
.player-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  font-size: 14px;
  color: var(--ink);
}
.player-row:nth-child(even) { background: #dfe4fb; }
.player-row span { color: #5a619a; font-weight: 600; }
.player-row strong { word-break: break-all; text-align: right; color: var(--ink); }

.player-name {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.flag {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.15);
}
.flag[hidden] { display: none; }
.points-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { transform: scale(.92); opacity: 0; } }

.card:has(.form[hidden]) .intro { display: none; }

.info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
  text-align: left;
}
.info-block {
  padding: 0 18px 20px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0,0,0,.45);
}
.info h2 {
  margin: 0 -18px 16px;
  padding: 12px 18px;
  font-size: 16px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: .4px;
  line-height: 1.25;
  background: linear-gradient(90deg, #1f3bd6 0%, var(--purple) 70%, var(--pink) 100%);
  text-shadow: 0 2px 0 rgba(0,0,0,.25);
}
.info p {
  max-width: none;
  margin: 0;
  font-size: 14px;
}
.info .list + p { margin-top: 12px; }
.info strong { color: var(--text); }

.steps {
  list-style: none;
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 44px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-style: italic;
  color: #fff;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 0 12px rgba(255,60,199,.45);
}
.steps strong { display: block; margin-bottom: 2px; font-size: 15px; }

.list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.list li::marker { color: var(--cyan); font-weight: 800; }

.faq { display: flex; flex-direction: column; gap: 8px; }
.faq details {
  border-radius: 10px;
  border: 1px solid rgba(57,198,255,.2);
  background: rgba(7,9,54,.6);
  transition: border-color .15s;
}
.faq details[open] { border-color: var(--pink); }
.faq summary {
  position: relative;
  padding: 13px 44px 13px 14px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
}
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 14px 14px; }
