@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&display=swap');

/* Custom CSS - Usdirbank Centered Coming Soon Page */

/* ==========================================
   CSS Custom Properties & Design Tokens
   ========================================== */
:root {
  /* usdir.io Exact Color Palette */
  --color-bg-dark: #061a0e;
  /* Rich dark forest green background */
  --color-bg-darker: #041009;
  /* Deepest overlay color */
  --color-primary: #4ade80;
  /* usdir.io signature green */
  --color-primary-light: #86efac;
  /* usdir.io hover/glowing green */
  --color-primary-glow: rgba(74, 222, 128, 0.25);

  /* Text colors */
  --color-text-bright: #ffffff;
  --color-text-main: rgba(255, 255, 255, 0.95);
  --color-text-muted: rgba(255, 255, 255, 0.6);

  /* Premium Glassmorphism values */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-border-hover: rgba(74, 222, 128, 0.25);
  --glass-glow: 0 20px 50px rgba(0, 0, 0, 0.4),
    inset 0 1px 1px rgba(255, 255, 255, 0.1),
    0 0 40px rgba(74, 222, 128, 0.03);
  --glass-glow-hover: 0 20px 50px rgba(0, 0, 0, 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.15),
    0 0 60px rgba(74, 222, 128, 0.1);

  /* Fonts */
  --font-title: 'Syne', sans-serif;
  --font-body: 'Syne', sans-serif;

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

/* ==========================================
   Reset & Base Styles
   ========================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  height: 100%;
  background-color: var(--color-bg-dark);
  color: var(--color-text-main);
  font-family: var(--font-body);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Particle Canvas Backdrop */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* ==========================================
   usdir.io Background Grid & Glow Blobs
   ========================================== */
.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(74, 222, 128, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74, 222, 128, 0.03) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
  z-index: 1;
}

.hero__bg-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: hero-glow-pulse 8s ease-in-out infinite;
  z-index: 1;
}

.hero__bg-glow--primary {
  width: 650px;
  height: 650px;
  top: -150px;
  right: -150px;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.12) 0%, transparent 70%);
}

.hero__bg-glow--secondary {
  width: 500px;
  height: 500px;
  bottom: -150px;
  left: -50px;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.06) 0%, transparent 70%);
  animation-delay: -4s;
}

.hero__bg-glow--tertiary {
  width: 350px;
  height: 350px;
  top: 30%;
  left: 30%;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.04) 0%, transparent 70%);
  animation-delay: -2s;
}

@keyframes hero-glow-pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.65;
  }
}

/* ==========================================
   Centered Card Layout
   ========================================== */
.container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
  padding: 24px;
  transform: scale(0.8);
  transform-origin: center;
}

/* Ultra-Premium Glassmorphism Card */
.glass-card {
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 56px 48px;
  box-shadow: var(--glass-glow);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  transform-style: preserve-3d;
  perspective: 1000px;
}

.glass-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: var(--glass-glow-hover);
}

/* Internal Card Hover Radial Light Glow */
.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(74, 222, 128, 0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

/* ==========================================
   Logo Components
   ========================================== */
.logo-wrapper {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
  z-index: 2;
  transform: translateZ(40px);
}

.brand-logo {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: contain;
  pointer-events: none;
}

.logo-pulse {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  opacity: 0;
  animation: pulse-ring 3.5s infinite ease-out;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.5;
  }

  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* ==========================================
   Typography & Main Headings
   ========================================== */
/* Main brand heading "Usdirbank" */
.brand-name {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3rem, 6.5vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 20px;
  z-index: 2;
  transform: translateZ(30px);

  /* Rich Glowing Green-to-Mint Gradient */
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 50%, #059669 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(74, 222, 128, 0.15);
}

/* Announcement Content */
.announcement {
  font-family: var(--font-body);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-text-main);
  max-width: 520px;
  margin-bottom: 32px;
  z-index: 2;
  transform: translateZ(20px);
  letter-spacing: 0.01em;
}

.gradient-text {
  color: var(--color-primary);
  font-weight: 600;
  text-shadow: 0 0 10px rgba(74, 222, 128, 0.2);
}

/* ==========================================
   Launch Badge
   ========================================== */
.badge {
  display: inline-flex;
  align-items: center;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: 100px;
  padding: 6px 14px;
  z-index: 2;
  transform: translateZ(10px);
  animation: pulse-badge 2.5s infinite alternate ease-in-out;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background-color: var(--color-primary);
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 8px var(--color-primary);
}

.badge-text {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.15em;
}

@keyframes pulse-badge {
  0% {
    border-color: rgba(74, 222, 128, 0.15);
    box-shadow: 0 4px 10px rgba(74, 222, 128, 0.03);
  }

  100% {
    border-color: rgba(74, 222, 128, 0.35);
    box-shadow: 0 4px 18px rgba(74, 222, 128, 0.1);
  }
}

/* ==========================================
   Responsive Adaptation
   ========================================== */
@media (max-width: 600px) {
  .container {
    transform: scale(1);
    padding: 16px;
    max-width: 100%;
  }

  .glass-card {
    padding: 36px 20px;
    border-radius: 24px;
    width: 100%;
  }
  
  .brand-name {
    font-size: 2.3rem;
    letter-spacing: -1.2px;
    margin-bottom: 16px;
  }
  
  .announcement {
    font-size: 1.15rem;
    line-height: 1.5;
    margin-bottom: 24px;
  }
  
  .logo-wrapper {
    width: 76px;
    height: 76px;
    margin-bottom: 16px;
  }
  
  .brand-logo {
    width: 62px;
    height: 62px;
  }
}