
:root{
  --geno-gold: #f2b33d;
  --geno-gold-2: #b8791a;
  --geno-glow: rgba(242,179,61,0.35);
  --ice-blue: #4fc3f7;
  --ice-blue-2: #1a5f8f;
  --ice-glow: rgba(79,195,247,0.35);

  --bg-void: #0a0b0f;
  --panel-bg: rgba(18,20,27,0.62);
  --panel-border: rgba(255,255,255,0.09);
  --panel-border-hi: rgba(255,255,255,0.16);

  --text-hi: #f5f6f8;
  --text-mid: rgba(245,246,248,0.68);
  --text-low: rgba(245,246,248,0.42);

  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*{ box-sizing: border-box; }

html, body{
  height: 100%;
}


body{
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--text-hi);

  background:
    radial-gradient(circle at 10% 0%, rgba(255,255,255,0.08), transparent 60%),
    radial-gradient(circle at 90% 100%, rgba(255,255,255,0.06), transparent 60%),
    url("images/bg.png") center center / cover no-repeat fixed;

  display: flex;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
}


.bg,
.bg-half,
.bg-left,
.bg-right,
.bg-render,
.bg-seam,
.bg-noise,
.bg-scan,
.bg-particles{
  display: none !important;
}


.bg-fx{
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.fx-dot{
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  box-shadow: 0 0 12px rgba(255,255,255,0.9);
  animation: fxFloat 10s linear infinite;
  opacity: 0;
}

@keyframes fxFloat{
  0%{ transform: translateY(0); opacity: 0; }
  10%{ opacity: 0.8; }
  90%{ opacity: 0.5; }
  100%{ transform: translateY(-120vh); opacity: 0; }
}


.stage{
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 32px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel{
  width: 100%;
  max-width: 580px;
  padding: 40px 40px 32px;
  border-radius: 24px;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  box-shadow:
    0 24px 70px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.06);
  text-align: center;
  animation: panelIn 0.7s cubic-bezier(.2,.8,.2,1);
}

@keyframes panelIn{
  from{ opacity: 0; transform: translateY(14px) scale(0.985); }
  to{ opacity: 1; transform: translateY(0) scale(1); }
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mid);
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--panel-border-hi);
  background: rgba(255,255,255,0.03);
}

.eyebrow-dot{
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6ee7b7;
  box-shadow: 0 0 8px #6ee7b7;
  animation: pulseDot 1.8s ease-in-out infinite;
}

@keyframes pulseDot{
  0%, 100%{ opacity: 1; transform: scale(1); }
  50%{ opacity: 0.45; transform: scale(0.75); }
}

h1{
  font-family: var(--font-display);
  font-size: clamp(34px, 6vw, 46px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 18px 0 8px;
}

.subtitle{
  margin: 0 0 26px;
  color: var(--text-mid);
  font-size: 15px;
}


.options{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.option{
  all: unset;
  cursor: pointer;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid var(--panel-border);
  background: rgba(255,255,255,0.02);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.15s ease;
  text-align: left;
}

.option:hover{
  border-color: var(--panel-border-hi);
  background: rgba(255,255,255,0.045);
}

.option:active{
  transform: scale(0.995);
}

.option:focus-visible{
  outline: 2px solid rgba(255,255,255,0.5);
  outline-offset: 2px;
}

.option[aria-pressed="true"]{
  background: rgba(255,255,255,0.06);
  border-color: var(--panel-border-hi);
}

.option[disabled]{
  cursor: default;
}

.option[disabled]:not(.is-selected){
  opacity: 0.72;
}

.option.is-selected{
  background: rgba(255,255,255,0.07);
}

#opt-geno.is-selected{
  border-color: rgba(242,179,61,0.55);
  box-shadow: 0 0 0 1px rgba(242,179,61,0.18), 0 0 24px rgba(242,179,61,0.12);
}

#opt-iceking.is-selected{
  border-color: rgba(79,195,247,0.55);
  box-shadow: 0 0 0 1px rgba(79,195,247,0.18), 0 0 24px rgba(79,195,247,0.12);
}

.option-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.option-name{
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.option-name-geno{ color: var(--geno-gold); }
.option-name-iceking{ color: var(--ice-blue); }

.option-bar-tick{
  width: 3px;
  height: 16px;
  border-radius: 2px;
  display: inline-block;
}

.tick-geno{ background: var(--geno-gold); box-shadow: 0 0 8px var(--geno-glow); }
.tick-iceking{ background: var(--ice-blue); box-shadow: 0 0 8px var(--ice-glow); }

.option-pct{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  min-width: 46px;
  text-align: center;
}

.option-track{
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  overflow: hidden;
}

.option-fill{
  position: absolute;
  inset: 0 auto 0 0;
  height: 100%;
  border-radius: 999px;
  width: 0%;
  transition: width 0.65s cubic-bezier(.2,.8,.2,1);
}

.fill-geno{
  background: linear-gradient(90deg, var(--geno-gold-2), var(--geno-gold));
  box-shadow: 0 0 14px var(--geno-glow);
}

.fill-iceking{
  background: linear-gradient(90deg, var(--ice-blue-2), var(--ice-blue));
  box-shadow: 0 0 14px var(--ice-glow);
}

.option-votes{
  font-size: 12px;
  color: var(--text-low);
}

/* ===== Status + notice ===== */
.status{
  margin: 20px 0 0;
  font-size: 13.5px;
  color: var(--text-mid);
  min-height: 18px;
}

.notice{
  margin-top: 16px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.035);
  border: 1px solid var(--panel-border);
  color: var(--text-mid);
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
}

.notice-icon{
  flex-shrink: 0;
  margin-top: 1px;
  color: #f2b33d;
}

.connection{
  margin: 16px 0 0;
  font-size: 11.5px;
  color: var(--text-low);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.connection::before{
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-low);
}

.connection.live::before{
  background: #6ee7b7;
  box-shadow: 0 0 6px #6ee7b7;
}

.connection.live{
  color: rgba(110,231,183,0.85);
}

.connection.err::before{
  background: #f87171;
}

.connection.err{
  color: rgba(248,113,113,0.85);
}

/* ===== Responsive ===== */
@media (max-width: 640px){
  .panel{
    padding: 32px 22px 26px;
    border-radius: 20px;
  }
}

@media (max-width: 420px){
  .option{
    padding: 15px 16px;
  }
}
