/* landing-index.css — public XRPLDEX.io landing (Dex Node™ claim) */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  min-height: 100%;
  background: #000;
  color: #c8d6e5;
  font-family: 'Exo 2', sans-serif;
}

.xd-mobile { display: none; }

.xd-desktop {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(0, 100, 180, 0.18), transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(120, 40, 200, 0.12), transparent 55%),
    #000;
}

.xd-glow {
  position: absolute;
  width: 420px; height: 420px;
  right: 8%; top: 18%;
  background: radial-gradient(circle, rgba(0, 212, 232, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.xd-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}
.xd-logo img { height: 32px; width: auto; display: block; }

.xd-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 40px 72px 80px;
}

.xd-top-bar {
  display: flex;
  align-items: center;
  margin-bottom: 0;
  max-width: 520px;
}

/* Aligned with hero-video-section right edge (72px) */
.network-badge {
  position: absolute;
  top: 40px;
  right: 72px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid rgba(0, 212, 232, 0.35);
  background: rgba(0, 212, 232, 0.06);
  white-space: nowrap;
}
.network-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #00d4e8;
  box-shadow: 0 0 8px #00d4e8;
  animation: pulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}
.network-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #8ab4c8;
  white-space: nowrap;
}
.network-text span { color: #00d4e8; }

.hero-copy-block {
  margin-top: 100px;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

.eyebrow {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c084fc;
  margin-bottom: 1rem;
}

.headline {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}
.headline .accent { color: #00d4e8; }

.welcome {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #a8bdd0;
  max-width: 34rem;
  margin-bottom: 1rem;
}

.subline {
  font-size: 0.9rem;
  color: #5a7a94;
  margin-bottom: 1.75rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.tag {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 212, 232, 0.25);
  background: rgba(8, 20, 32, 0.7);
}
.tag-cyan { color: #00d4e8; border-color: rgba(0, 212, 232, 0.4); }
.tag-gold { color: #f5c842; border-color: rgba(245, 200, 66, 0.35); }
.tag-muted { color: #7a94a8; }
.tag-domain {
  color: #7a94a8;
  border-color: rgba(255, 255, 255, 0.15);
  text-transform: lowercase;
  letter-spacing: 0.04em;
}

/* Right-side NFT preview (Fintech Wave pattern) */
.hero-video-section {
  position: absolute;
  top: 50%;
  right: 72px;
  transform: translateY(-60%);
  z-index: 3;
  width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.video-container {
  position: relative;
  width: 400px;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #1e3050;
  box-shadow:
    0 8px 40px rgba(0, 0, 0, 0.6),
    0 0 32px rgba(0, 212, 232, 0.12);
}

.video-container video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.claim-nft-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 0;
  background: linear-gradient(135deg, #a259ff 0%, #7c3aed 100%);
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  border: 1px solid rgba(162, 89, 255, 0.5);
  box-shadow: 0 4px 24px rgba(162, 89, 255, 0.35);
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}
.claim-nft-btn:hover {
  box-shadow: 0 6px 32px rgba(162, 89, 255, 0.55);
  transform: translateY(-1px);
}

.xd-footer {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 72px;
  height: 46px;
  background: #0d1622;
  border-top: 1px solid #1e3050;
  font-size: 0.75rem;
  color: #5a7a94;
}
.xd-footer nav { display: flex; gap: 1.25rem; }
.xd-footer a {
  color: #00d4e8;
  text-decoration: none;
  font-size: 0.75rem;
}
.xd-footer a:hover { text-decoration: underline; }

/* Mobile */
@media (max-width: 960px) {
  .xd-desktop { display: none; }
  .xd-mobile {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
    background: #080d14;
  }
  .xd-mobile__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid rgba(0, 212, 232, 0.18);
  }
  .xd-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    color: #00d4e8;
    border: 1px solid rgba(0, 212, 232, 0.3);
    border-radius: 999px;
    padding: 4px 12px;
  }
  .xd-live-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #00d4e8;
    animation: pulse 1.8s ease-in-out infinite;
  }
  .xd-mobile__hero {
    text-align: center;
    padding: 2rem 1.25rem 1rem;
  }
  .xd-mobile__headline {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    margin: 0.5rem 0 1rem;
  }
  .xd-mobile__headline .accent { color: #00d4e8; }
  .xd-welcome {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #a8bdd0;
  }
  .xd-mobile__preview {
    padding: 1rem 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
  }
  .xd-mobile__preview video {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #1e3050;
  }
  .xd-mobile__footer {
    margin-top: auto;
    text-align: center;
    padding: 1rem;
    font-size: 0.75rem;
    color: #5a7a94;
    border-top: 1px solid #1e3050;
  }
}
