/* ---------- THEME VARIABLES ---------- */
:root{
  --bg:#050806;
  --panel: rgba(255,255,255,.04);
  --panel2: rgba(0,0,0,.22);
  --text:#e9fff3;
  --muted:#b6d9c6;
  --accent:#38f28a;
  --accent2:#22c7ff;
  --border: rgba(56,242,138,.18);
  --borderSoft: rgba(255,255,255,.10);
  --shadow: 0 20px 60px rgba(0,0,0,.55);
  --btnText:#02180b;
}

/* Light mode overrides */
body[data-theme="light"]{
  --bg:#f6fbf8;
  --panel: rgba(0,0,0,.03);
  --panel2: rgba(255,255,255,.7);
  --text:#082014;
  --muted:#335e49;
  --border: rgba(10,140,70,.20);
  --borderSoft: rgba(0,0,0,.10);
  --shadow: 0 20px 60px rgba(0,0,0,.12);
  --btnText:#02180b;
}

*{ box-sizing:border-box; margin:0; padding:0; }

body{
  font-family: ui-sans-serif, system-ui, Segoe UI, Roboto, Arial;
  color: var(--text);
  background:
    radial-gradient(900px 500px at 50% 20%, rgba(56,242,138,.18), transparent 60%),
    radial-gradient(700px 450px at 20% 80%, rgba(34,199,255,.10), transparent 60%),
    var(--bg);
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px 16px;
}

body[data-theme="light"]{
  background:
    radial-gradient(900px 500px at 50% 20%, rgba(56,242,138,.12), transparent 60%),
    radial-gradient(700px 450px at 20% 80%, rgba(34,199,255,.10), transparent 60%),
    var(--bg);
}

.wrap{
  width:min(980px, 100%);
  display:grid;
  gap:18px;
}

.card{
  background: linear-gradient(180deg, var(--panel), rgba(255,255,255,.02));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
  position:relative;
  overflow:hidden;
}

/* soft animated aura behind the card */
.glow::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(520px 190px at 30% 10%, rgba(56,242,138,.22), transparent 55%),
    radial-gradient(460px 190px at 85% 50%, rgba(34,199,255,.14), transparent 55%);
  filter: blur(12px);
  opacity:.85;
  pointer-events:none;
  animation: aura 6s ease-in-out infinite;
}
@keyframes aura{
  0%,100%{ transform: translateY(0) }
  50%{ transform: translateY(10px) }
}
.card > *{ position:relative; }

/* ---------- TOP ROW ---------- */
.top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:14px;
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
}

.logo{
  width:68px;
  height:68px;
  border-radius:18px;
  background: rgba(56,242,138,.06);
  border:1px solid rgba(56,242,138,.20);
  display:grid;
  place-items:center;
  overflow:hidden;
  position:relative;
}

/* Animated neon glow around logo */
.logo.pulse{
  animation: pulseGlow 2.4s ease-in-out infinite;
}
@keyframes pulseGlow{
  0%,100%{
    box-shadow:
      0 0 0 rgba(56,242,138,0),
      0 0 22px rgba(56,242,138,.18);
    transform: translateY(0);
  }
  50%{
    box-shadow:
      0 0 28px rgba(56,242,138,.30),
      0 0 50px rgba(34,199,255,.14);
    transform: translateY(-1px);
  }
}

.logo img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:8px;
  filter: drop-shadow(0 0 18px rgba(56,242,138,.35));
}

.name strong{ font-size:20px; }
.name span{ font-size:13px; color:var(--muted); }

.rightTools{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.badge{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(56,242,138,.22);
  background: rgba(56,242,138,.08);
  font-size:13px;
  white-space:nowrap;
}

.dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--accent);
  box-shadow:0 0 14px rgba(56,242,138,.65);
}

/* Theme toggle button */
.toggle{
  border:1px solid var(--borderSoft);
  background: var(--panel2);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 12px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
  font-weight:600;
  font-size:13px;
}

/* ---------- TEXT ---------- */
h1{
  margin:18px 0 6px;
  font-size: clamp(34px, 5vw, 54px);
  letter-spacing:-.5px;
}

p{
  color:var(--muted);
  line-height:1.6;
  max-width:64ch;
}

/* ---------- COUNTDOWN ---------- */
.countdown{
  margin-top:16px;
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:12px;
}

.timeBox{
  border:1px solid var(--borderSoft);
  background: var(--panel2);
  border-radius:18px;
  padding:14px 12px;
  text-align:center;
}

.num{
  font-size:28px;
  font-weight:800;
  letter-spacing:.4px;
}

.label{
  font-size:12px;
  color:var(--muted);
  margin-top:4px;
}

/* ---------- CTA ---------- */
.ctaRow{
  margin-top:18px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}

.input{
  flex: 1 1 280px;
  display:flex;
  gap:10px;
  padding:10px;
  border-radius:16px;
  border:1px solid var(--borderSoft);
  background: var(--panel2);
}

.input input{
  flex:1;
  border:0;
  outline:none;
  background:transparent;
  color:var(--text);
  padding:10px;
  font-size:14px;
}

.btn{
  border:0;
  cursor:pointer;
  border-radius:14px;
  padding:12px 14px;
  font-weight:700;
  background: linear-gradient(135deg, var(--accent), #8bffbf);
  color: var(--btnText);
}

.linkBtn{
  display:flex;
  align-items:center;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--borderSoft);
  background: var(--panel2);
  color: var(--text);
  text-decoration:none;
  font-weight:700;
}

/* ---------- INFO GRID ---------- */
.grid{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  margin-top:14px;
}

@media (min-width: 880px){
  .grid{ grid-template-columns:1fr 1fr; }
}

.mini{
  border-radius:20px;
  border:1px solid var(--borderSoft);
  background: var(--panel2);
  padding:18px;
}

.mini h3{ margin-bottom:8px; font-size:16px; }

.mini ul{
  padding-left:18px;
  color:var(--muted);
  line-height:1.7;
  font-size:14px;
}

/* ---------- FOOTER ---------- */
footer{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  font-size:13px;
  color:rgba(233,255,243,.65);
  padding:0 4px;
}

body[data-theme="light"] footer{
  color:rgba(8,32,20,.55);
}

.social a{
  margin-left:12px;
  color:inherit;
  text-decoration:none;
}
.social a:hover{
  text-decoration:underline;
}
/* Social icons: circle background + glow */
.social{
  display:flex;
  align-items:center;
  gap:12px;
}

.socialBtn{
  width:42px;
  height:42px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;

  border:1px solid var(--borderSoft);
  background: var(--panel2);

  color: var(--text);
  text-decoration:none;
  font-size:18px;

  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}

/* Default soft glow */
.socialBtn{
  box-shadow: 0 0 0 rgba(0,0,0,0);
}

/* Hover glow */
.socialBtn:hover{
  transform: translateY(-2px);
  border-color: rgba(56,242,138,.35);
  box-shadow:
    0 0 18px rgba(56,242,138,.28),
    0 0 40px rgba(34,199,255,.14);
}

/* Click */
.socialBtn:active{
  transform: translateY(-1px);
}

/* Make icons a touch crisp */
.socialBtn i{
  line-height:1;
}
