/* thunder.css — imports rank-base.css in HTML, only overrides & extras here */

/* ===== Theme Tokens ===== */
:root {
  --bg1: #061b2e;
  --bg2: #0b437a;
  --edge1: #7df2ff;
  --edge2: #89ffcf;
  --edge3: #ffffff;
  --text: #eaf6ff;
  --muted: #cdeeff;
  --border: rgba(255,255,255,.14);
  --glass1: rgba(255,255,255,.06);
  --glass2: rgba(255,255,255,.03);
  --accent: #90f2ff;
}

/* ===== Base Layout ===== */
html, body {
  background: linear-gradient(180deg, var(--bg1), var(--bg2));
}

/* ===== Electric Aura Background ===== */
.electric {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    radial-gradient(800px 400px at 10% 15%, rgba(144,242,255,0.1), transparent 30%),
    radial-gradient(700px 350px at 80% 20%, rgba(137,255,207,0.08), transparent 30%);
  filter: blur(25px) saturate(130%);
  animation: electricMove 20s ease-in-out infinite alternate;
}

@keyframes electricMove {
  50% { filter: hue-rotate(10deg) brightness(1.15); }
}

/* star canvas sits above aura but below content */
.canvas-layer {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  display: block;
}

/* ===== Card ===== */
.card {
  border-radius: 24px;
  padding: 30px 26px 32px;
  background: linear-gradient(180deg, var(--glass1), var(--glass2));
  border: 1px solid var(--border);
  box-shadow: 0 28px 80px rgba(0,0,0,.55);
  backdrop-filter: blur(8px);
}

/* ===== Header ===== */
.hdr {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.badge {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e8fdff, #90f2ff);
  color: #08243c;
  font-weight: 1000;
  box-shadow: 0 12px 28px rgba(144,242,255,.45);
}

.title {
  margin: 0;
  font-weight: 1000;
  font-size: clamp(30px, 5.8vw, 54px);
  position: relative;
}

.title::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.75), transparent);
  transform: skewX(-22deg) translateX(-120%);
  mix-blend-mode: screen;
  filter: blur(1.2px);
  animation: shine 3.6s ease-in-out infinite 1s;
}

@keyframes shine {
  to { transform: skewX(-22deg) translateX(120%); }
}

/* ===== Subtitle & Divider ===== */
.sub {
  text-align: center;
  font-weight: 900;
  opacity: .92;
  margin: 6px 0 14px;
}

.divider {
  height: 1px;
  margin: 10px auto 18px;
  width: min(920px, 92%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
}

/* ===== List ===== */
.list {
  width: min(920px, 95%);
  margin: 0 auto;
  display: grid;
  gap: 12px;
  color: var(--muted);
  font-size: clamp(14px, 1.6vw, 17px);
}

.li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  opacity: 0;
  transform: translateY(10px) scale(.98);
}

.li.show {
  opacity: 1;
  transform: none;
  transition: opacity .5s ease, transform .5s cubic-bezier(.2,.8,.2,1);
}

.ic {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #effcff, #90f2ff);
  color: #08243c;
  font-weight: 900;
  box-shadow: 0 8px 16px rgba(144,242,255,.35);
}

/* ===== Buttons ===== */
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 22px;
}

.btn {
  border: none;
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 900;
  letter-spacing: .2px;
  color: #fff;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn.ghost {
  background: rgba(0,0,0,.28);
  border: 1px solid var(--border);
  box-shadow: 0 8px 18px rgba(0,0,0,.25);
}

.btn.primary {
  background: linear-gradient(90deg, #ff3b3b, #ff5ea8, #8cf3ff);
  box-shadow: 0 10px 26px rgba(144,242,255,.35);
}

.btn .rip {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  background: rgba(255,255,255,.35);
  animation: rip .6s ease-out;
}

@keyframes rip {
  from { width: 0; height: 0; opacity: .45; }
  to { width: 600px; height: 600px; opacity: 0; }
}

/* ===== Footer ===== */
.copy {
  opacity: .85;
  text-align: center;
  margin-top: 20px;
  font-size: .95rem;
}

/* ===== Responsive ===== */
@media (max-width: 720px) {
  .badge { width: 46px; height: 46px; }
  .btn { min-width: 44%; }
}
