/**
 * ==============================================================================
 * Chi Account — Coming Soon (style.css)
 * Apple-grade White-Bluish Luxury Theme, Radiant Azure Gradient, Sleek Frosted Glass
 * Pure Seamless Ambient Glow (No harsh center smudges)
 * ==============================================================================
 */

:root {
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", Menlo, Monaco, "Courier New", monospace;

  /* Ambient Canvas Colors (Ultra-clean, crisp white with delicate blue atmosphere) */
  --bg-base: #f8fbff;
  --bg-ambient-top: #ecf4fd;
  --bg-card: rgba(255, 255, 255, 0.84);
  --bg-card-hover: rgba(255, 255, 255, 0.95);

  /* Borders & Highlights */
  --border-glass: rgba(255, 255, 255, 0.95);
  --border-subtle: rgba(0, 113, 227, 0.14);
  --border-light-blue: rgba(191, 219, 254, 0.65);

  /* Typography */
  --text-hero: #0f172a;
  --text-body: #475569;
  --text-muted: #64748b;
  --text-blue: #0071e3;

  /* Premium Blue Gradient Stops (Apple Keynote Azure - Clean & Deep) */
  --blue-grad: linear-gradient(135deg, #0056cb 0%, #0071e3 38%, #2563eb 72%, #38bdf8 100%);

  /* Shadows */
  --shadow-elevation: 0 20px 45px -12px rgba(0, 113, 227, 0.09), 0 4px 16px -2px rgba(15, 23, 42, 0.03);
  --shadow-box: 0 4px 14px -2px rgba(0, 113, 227, 0.05), inset 0 1px 0 #ffffff;
  --shadow-discord: 0 10px 28px -6px rgba(88, 101, 242, 0.14), 0 2px 8px rgba(0, 0, 0, 0.02);

  /* Transitions */
  --transition: all 0.26s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & FOUNDATION
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-base);
  color: var(--text-hero);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
  width: 100%;
  background: radial-gradient(100% 70% at 50% 0%, var(--bg-ambient-top) 0%, #f6faff 50%, #ffffff 100%);
  background-attachment: fixed;
}

/* ==========================================================================
   AMBIENT LUXURY WHITE-BLUISH LIGHTING (PERIPHERAL GLOW, CLEAN CENTER)
   ========================================================================== */
.ambient-background {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.glow-orb {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}

/* Top-Right Soft Sapphire Ambient Glow */
.orb-primary {
  width: 580px;
  height: 580px;
  background: radial-gradient(circle, rgba(0, 113, 227, 0.07) 0%, rgba(59, 130, 246, 0.02) 60%, transparent 80%);
  top: -140px;
  right: -80px;
  filter: blur(140px);
  animation: floatOrb 18s ease-in-out infinite alternate;
}

/* Bottom-Left Soft Indigo/Azure Glow */
.orb-secondary {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, rgba(147, 197, 253, 0.02) 60%, transparent 80%);
  bottom: -100px;
  left: -80px;
  filter: blur(140px);
  animation: floatOrbReverse 22s ease-in-out infinite alternate;
}

/* Very diffuse top-center wash */
.orb-tertiary {
  width: 750px;
  height: 340px;
  background: radial-gradient(ellipse, rgba(56, 189, 248, 0.05) 0%, transparent 70%);
  top: -90px;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(130px);
}

@keyframes floatOrb {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(25px) scale(1.04); }
}

@keyframes floatOrbReverse {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-25px) scale(1.04); }
}

/* Subtle Micro Dot Grid Texture (Soft & Delicate) */
.subtle-dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(0, 113, 227, 0.06) 1.2px, transparent 1.2px);
  background-size: 30px 30px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, black 25%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, black 25%, transparent 85%);
}

/* ==========================================================================
   PAGE CONTAINER
   ========================================================================== */
.page-container {
  position: relative;
  z-index: 1;
  max-width: 820px;
  width: 100%;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  justify-content: space-between;
  box-sizing: border-box;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.6rem 0 1.2rem;
  gap: 1.35rem;
  margin: auto 0;
}

/* ==========================================================================
   TOP BRAND EMBLEM
   ========================================================================== */
.brand-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: -0.35rem;
  animation: floatEmblem 5s ease-in-out infinite alternate;
}

.brand-logo-img {
  width: clamp(105px, 14vw, 135px);
  height: clamp(105px, 14vw, 135px);
  object-fit: contain;
  filter: drop-shadow(0 14px 28px rgba(0, 113, 227, 0.22));
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  -webkit-user-drag: none;
}

.brand-logo-img:hover {
  transform: scale(1.07) rotate(2deg);
}

@keyframes floatEmblem {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-7px);
  }
}

/* ==========================================================================
   LAUNCH PILL BADGE
   ========================================================================== */
.launch-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-light-blue);
  border-top: 1.5px solid #ffffff;
  padding: 0.45rem clamp(0.75rem, 2.5vw, 1.2rem);
  border-radius: 9999px;
  box-shadow: 0 4px 16px -2px rgba(0, 113, 227, 0.12), inset 0 1px 0 #ffffff;
  transition: var(--transition);
  max-width: 100%;
}

.launch-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 113, 227, 0.35);
  box-shadow: 0 6px 20px -2px rgba(0, 113, 227, 0.18);
}

.pulse-container {
  position: relative;
  width: 8px;
  height: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #0071e3;
  opacity: 0.75;
  animation: pulseRadar 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

.pulse-dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #0071e3;
  box-shadow: 0 0 8px rgba(0, 113, 227, 0.7);
}

@keyframes pulseRadar {
  0% { transform: scale(0.95); opacity: 0.8; }
  70% { transform: scale(2.4); opacity: 0; }
  100% { transform: scale(2.4); opacity: 0; }
}

.pill-text {
  font-size: clamp(0.68rem, 1.8vw, 0.76rem);
  font-weight: 700;
  letter-spacing: clamp(0.06em, 0.5vw, 0.12em);
  color: #0369a1;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ==========================================================================
   MAIN HERO TITLE (RICH BLUE GRADIENT WITH COMPLETE 'G' DESCENDER)
   ========================================================================== */
.hero-title {
  font-size: clamp(2.4rem, 7.5vw, 5.2rem);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.035em;
  margin-top: 0.15rem;
  max-width: 100%;
  word-break: break-word;
  text-wrap: balance;
}

.gradient-text {
  background: linear-gradient(
    90deg,
    #0052cc 0%,
    #0071e3 25%,
    #38bdf8 50%,
    #0071e3 75%,
    #0052cc 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: gradientFlow 5.5s linear infinite;
  filter: drop-shadow(0 10px 24px rgba(0, 113, 227, 0.16));
  display: inline-block;
  padding-bottom: 0.22em;
  margin-bottom: -0.22em;
  padding-right: 0.04em;
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: -200% 0%;
  }
}

.hero-desc {
  font-size: clamp(0.95rem, 2vw, 1.16rem);
  color: var(--text-body);
  max-width: 520px;
  line-height: 1.6;
  font-weight: 500;
  letter-spacing: -0.01em;
  width: 100%;
  text-wrap: balance;
}

/* ==========================================================================
   COUNTDOWN TIMER CARD (Apple Frosted Glass)
   ========================================================================== */
.countdown-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.3rem, 1.8vw, 1rem);
  background: var(--bg-card);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  border: 1px solid var(--border-glass);
  border-top: 1.5px solid #ffffff;
  border-radius: 24px;
  padding: clamp(0.85rem, 2vw, 1.35rem) clamp(0.6rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-elevation), 0 0 0 1px var(--border-light-blue), inset 0 1px 0 #ffffff;
  margin: 0.4rem 0 0.8rem;
  transition: var(--transition);
  width: 100%;
  max-width: 580px;
  box-sizing: border-box;
}

.countdown-card:hover {
  transform: translateY(-2px);
  background: var(--bg-card-hover);
  box-shadow: 0 24px 55px -12px rgba(0, 113, 227, 0.16), 0 0 0 1px rgba(0, 113, 227, 0.25), inset 0 1px 0 #ffffff;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
}

.countdown-box {
  background: linear-gradient(180deg, #ffffff 0%, rgba(244, 249, 255, 0.95) 100%);
  border: 1px solid rgba(0, 113, 227, 0.15);
  border-top: 1.5px solid #ffffff;
  border-radius: 12px;
  padding: clamp(0.55rem, 1.5vw, 0.8rem) clamp(0.35rem, 1.6vw, 1.25rem);
  box-shadow: var(--shadow-box);
  width: 100%;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.countdown-number {
  font-family: var(--font-mono);
  font-size: clamp(1.4rem, 3.8vw, 2.35rem);
  font-weight: 800;
  color: var(--text-hero);
  letter-spacing: -0.04em;
  line-height: 1;
}

.countdown-label {
  font-size: clamp(0.62rem, 1.2vw, 0.74rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-blue);
  font-weight: 700;
  margin-top: 0.45rem;
}

/* Glowing Pulsing Colon Dividers */
.countdown-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(4px, 1vw, 8px);
  margin-top: -0.9rem;
  opacity: 0.75;
  flex-shrink: 0;
}

.countdown-divider span {
  width: clamp(3px, 0.8vw, 5px);
  height: clamp(3px, 0.8vw, 5px);
  border-radius: 50%;
  background: #0071e3;
  box-shadow: 0 0 6px rgba(0, 113, 227, 0.45);
}

/* ==========================================================================
   DISCORD COMMUNITY CARD
   ========================================================================== */
.discord-card {
  width: 100%;
  max-width: 580px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(88, 101, 242, 0.22);
  border-top: 1.5px solid #ffffff;
  border-radius: 20px;
  padding: 1.2rem clamp(1.1rem, 2.5vw, 1.6rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  text-align: left;
  box-shadow: var(--shadow-discord), inset 0 1px 0 #ffffff;
  transition: var(--transition);
  box-sizing: border-box;
}

.discord-card:hover {
  border-color: rgba(88, 101, 242, 0.45);
  box-shadow: 0 16px 36px -6px rgba(88, 101, 242, 0.22), inset 0 1px 0 #ffffff;
  transform: translateY(-2px);
}

.discord-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.discord-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
  color: #ffffff;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(88, 101, 242, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.discord-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-hero);
  letter-spacing: -0.01em;
}

.discord-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
  line-height: 1.45;
}

.btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 0.7rem 1.3rem;
  border-radius: 9999px;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: 0 6px 16px rgba(88, 101, 242, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  flex-shrink: 0;
}

.btn-discord:hover {
  background: linear-gradient(135deg, #4752c4 0%, #3c45a5 100%);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(88, 101, 242, 0.45);
}

.btn-discord svg {
  transition: transform 0.2s ease;
}

.btn-discord:hover svg {
  transform: translate(2px, -2px);
}

/* ==========================================================================
   CENTERED MINIMAL LUXURY FOOTER
   ========================================================================== */
.page-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 2rem;
}

.footer-email-box {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-top: 1.5px solid #ffffff;
  padding: 0.55rem 1.3rem;
  border-radius: 9999px;
  box-shadow: 0 4px 14px -2px rgba(0, 0, 0, 0.04), inset 0 1px 0 #ffffff;
  transition: var(--transition);
}

.footer-email-box:hover {
  border-color: rgba(0, 113, 227, 0.35);
  box-shadow: 0 6px 20px -2px rgba(0, 113, 227, 0.12);
  transform: translateY(-1px);
}

.mail-icon {
  color: #0071e3;
  flex-shrink: 0;
}

.support-mail {
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color 0.2s ease;
}

.support-mail:hover {
  color: #0071e3;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE & TABLET)
   ========================================================================== */
@media (max-width: 640px) {
  .page-container {
    padding: 2rem 1rem 1.5rem;
  }

  .hero-section {
    padding: 1.5rem 0 1rem;
    gap: 1.25rem;
  }

  .hero-desc {
    padding: 0 0.5rem;
  }

  .discord-card {
    flex-direction: column;
    align-items: stretch;
    padding: 1.15rem 1.1rem;
    gap: 1.1rem;
  }

  .discord-left {
    gap: 0.85rem;
  }

  .btn-discord {
    width: 100%;
    justify-content: center;
    padding: 0.75rem 1rem;
  }
}
