:root{
  --font-sans: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;

  --bg-0: #070a12;
  --bg-1: #0b1330;
  --bg-2: #111f47;
  --surface: rgba(255, 255, 255, 0.07);
  --surface-2: rgba(255, 255, 255, 0.10);
  --border: rgba(255, 255, 255, 0.14);

  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.70);

  --accent: #7c5cff;
  --accent-2: #35d4ff;
  --cta: #ffe86b;
  --cta-text: #141216;

  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 20px;
}

@font-face{
  font-family: Inter;
  src: url("fonts/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: Inter;
  src: url("fonts/Inter-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: Inter;
  src: url("fonts/Inter-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: Inter;
  src: url("fonts/Inter-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: Inter;
  src: url("fonts/Inter-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(124, 92, 255, 0.35), transparent 60%),
    radial-gradient(900px 600px at 95% 15%, rgba(53, 212, 255, 0.22), transparent 60%),
    radial-gradient(900px 500px at 40% 110%, rgba(255, 232, 107, 0.10), transparent 55%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1) 40%, var(--bg-2));
  min-height: 100vh;
}

img{ max-width: 100%; height: auto; }
a{ color: inherit; }

.page{
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content{
  flex: 1;
  display: flex;
  align-items: center;
}

.container{
  width: min(1080px, calc(100% - 48px));
  margin-inline: auto;
}

/* Landing */
.page--landing .main-content{
  padding: 64px 0 28px;
}

.hero{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  text-align: center;
}

.hero-card{
  background: linear-gradient(180deg, var(--surface), rgba(255, 255, 255, 0.05));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 22px;
  backdrop-filter: blur(10px);
}

.brand{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}
.brand img{
  width: 148px;
  height: auto;
}

.hero h1{
  margin: 10px 0 8px;
  font-size: clamp(1.35rem, 2.6vw, 2.05rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.hero h2{
  margin: 0 auto 16px;
  max-width: 52ch;
  font-weight: 500;
  color: var(--muted);
  font-size: clamp(0.98rem, 2.0vw, 1.1rem);
  line-height: 1.5;
}

.countdown{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 14px;
}
.countdown .part{
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 12px 10px;
}
.countdown .num{
  font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}
.countdown .label{
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--muted);
}

.promo{
  margin-top: 14px;
  text-align: left;
  background: rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px 14px;
  line-height: 1.7;
}
.promo h3{
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
}
.promo b{
  color: var(--cta);
}
.promo span{
  font-weight: 650;
  color: rgba(255, 255, 255, 0.90);
}

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

.cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 999px;
  width: 100%;
  padding: 16px 18px;
  font-weight: 750;
  letter-spacing: 0.01em;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: linear-gradient(180deg, var(--cta), rgba(255, 232, 107, 0.92));
  color: var(--cta-text);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}
.cta:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.42);
}
.cta:active{
  transform: translateY(0px);
}

.cta.secondary{
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.08));
  color: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.18);
}

.meta-note{
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

@media (min-width: 820px){
  .hero{
    text-align: left;
  }
  .hero-card{
    padding: 34px 34px;
  }
  .brand{
    justify-content: flex-start;
  }
  .cta-row{
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 420px){
  .container{ width: calc(100% - 28px); }
  .countdown{ grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .countdown .part{ padding: 10px 8px; border-radius: 14px; }
  .countdown .num{ font-size: 1.55rem; }
  .countdown .label{ font-size: 0.8rem; }
  .cta{ padding: 14px 16px; }
}

@media (prefers-reduced-motion: reduce){
  .cta{ transition: none; }
}

/* Legal / info pages */
.page--legal{
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(124, 92, 255, 0.35), transparent 60%),
    radial-gradient(900px 600px at 95% 15%, rgba(53, 212, 255, 0.22), transparent 60%),
    radial-gradient(900px 500px at 40% 110%, rgba(255, 232, 107, 0.10), transparent 55%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1) 40%, var(--bg-2));
}
.page--legal a{
  color: rgba(255, 255, 255, 0.90);
}
.page--legal .main-content{
  align-items: stretch;
  display: block;
  padding: 36px 0 28px;
}

.legal-header{
  padding: 26px 0 18px;
}
.legal-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.legal-brand{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.legal-brand img{ height: 34px; width: auto; }
.legal-back{
  text-decoration: none;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 10px 12px;
}
.legal-back:hover{
  color: rgba(255, 255, 255, 0.95);
}

.legal-title{
  margin: 16px 0 0;
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92);
}
.legal-subtitle{
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.68);
}

.content-section{
  background: linear-gradient(180deg, var(--surface), rgba(255, 255, 255, 0.05));
  padding: 22px 20px;
  margin-bottom: 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(10px);
  line-height: 1.85;
}
.content-section h2{
  margin: 0 0 10px;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.92);
}
.content-section h3{
  margin: 18px 0 6px;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.92);
}
.content-section p,
.content-section li{
  color: rgba(255, 255, 255, 0.74);
}
.content-section ul{
  padding-left: 18px;
}

.page--legal .highlight,
.page--legal .info-box{
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.18), rgba(53, 212, 255, 0.10));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 5px solid rgba(255, 232, 107, 0.70);
  color: rgba(255, 255, 255, 0.82);
  padding: 14px 14px;
  margin: 14px 0;
  border-radius: 14px;
}

.page--legal .info-box strong{
  color: rgba(255, 255, 255, 0.92);
}

.page--legal .detail-row{
  display: flex;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
.page--legal .detail-label{
  width: 170px;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.68);
}
.page--legal .detail-value{
  flex: 1;
  color: rgba(255, 255, 255, 0.86);
}

@media (max-width: 767px){
  .page--legal .main-content{ padding: 22px 0 18px; }
  .legal-top{ flex-direction: column; align-items: flex-start; }
  .page--legal .detail-row{ flex-direction: column; gap: 6px; }
  .page--legal .detail-label{ width: 100%; }
}
