/* ==========================================================================
   Valaratom.com - Premium Domain Sales Landing Page
   Aesthetic: Luxury Obsidian Glassmorphism / High-Conversion Single Card
   ========================================================================== */

:root {
  --bg-primary: #080a0f;
  --bg-secondary: #0e121a;
  --card-bg: rgba(16, 20, 29, 0.72);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-border-highlight: rgba(234, 196, 92, 0.35);
  
  --gold-primary: #eac45c;
  --gold-secondary: #d4af37;
  --gold-glow: rgba(234, 196, 92, 0.22);
  --gold-gradient: linear-gradient(135deg, #fff3cb 0%, #eac45c 40%, #c19628 100%);
  
  --whatsapp-green: #25d366;
  --whatsapp-dark: #128c7e;
  --whatsapp-gradient: linear-gradient(135deg, #25d366 0%, #15a350 50%, #0d7040 100%);
  --whatsapp-glow: rgba(37, 211, 102, 0.28);
  
  --text-primary: #f5f7fa;
  --text-secondary: #9aa4b5;
  --text-muted: #647087;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Cinzel', 'Cormorant Garamond', Georgia, serif;
  
  --radius-card: 28px;
  --radius-inner: 16px;
  --radius-pill: 9999px;
  
  --shadow-card: 
    0 30px 90px -15px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
    
  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow-x: hidden;
  padding: 2.5rem 1.25rem;
}

/* Ambient Ambient Glows & Mesh Backdrop */
.ambient-scene {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.6;
  animation: orbFloat 14s ease-in-out infinite alternate;
}

.ambient-orb-gold {
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 650px;
  height: 450px;
  background: radial-gradient(circle, rgba(234, 196, 92, 0.15) 0%, rgba(212, 175, 55, 0.05) 50%, transparent 70%);
}

.ambient-orb-indigo {
  bottom: -10%;
  right: 10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(67, 97, 238, 0.1) 0%, transparent 70%);
  animation-duration: 18s;
}

.ambient-orb-emerald {
  bottom: 20%;
  left: 5%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.07) 0%, transparent 70%);
  animation-duration: 16s;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.3) 70%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.3) 70%, transparent 90%);
}

@keyframes orbFloat {
  0% { transform: translateY(0) scale(1); }
  50% { transform: translateY(25px) scale(1.05); }
  100% { transform: translateY(-15px) scale(0.95); }
}

/* Main Container */
.page-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}

/* Glassmorphism Card */
.domain-card {
  background: var(--card-bg);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid var(--card-border);
  border-top: 1px solid var(--card-border-highlight);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  animation: cardEntrance 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  position: relative;
  overflow: hidden;
}

/* Subtle corner light sheen */
.domain-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 240, 190, 0.6), transparent);
}

@keyframes cardEntrance {
  0% {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Card Header Section */
.card-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

/* Status Pill */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #cfd6e4;
}

.pulse-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--whatsapp-green);
  box-shadow: 0 0 10px var(--whatsapp-green);
}

.pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--whatsapp-green);
  opacity: 0.8;
  animation: pulseRipple 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes pulseRipple {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Main Heading */
.domain-title-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: center;
}

.domain-title-prefix {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.domain-title {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #ffffff;
  background: linear-gradient(180deg, #ffffff 40%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  word-break: break-word;
}

.copy-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  vertical-align: middle;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

.domain-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 480px;
  line-height: 1.5;
}

/* High Bid / Valuation Display Box */
.bid-showcase {
  background: linear-gradient(180deg, rgba(234, 196, 92, 0.06) 0%, rgba(20, 24, 34, 0.5) 100%);
  border: 1px solid rgba(234, 196, 92, 0.22);
  border-radius: var(--radius-inner);
  padding: 1.5rem 1.75rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.4), inset 0 0 30px rgba(234, 196, 92, 0.03);
}

.bid-showcase::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.bid-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.bid-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-primary);
}

.bid-badge {
  background: rgba(234, 196, 92, 0.12);
  border: 1px solid rgba(234, 196, 92, 0.25);
  color: #f7e096;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.bid-amount-container {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem;
}

.bid-amount {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 25px var(--gold-glow);
}

.bid-currency {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
}

.bid-note {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.bid-note svg {
  flex-shrink: 0;
  color: var(--gold-primary);
}

/* Call to Action Button */
.cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: stretch;
}

.btn-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 1.15rem 2rem;
  background: var(--whatsapp-gradient);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-inner);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 
    0 12px 30px -5px var(--whatsapp-glow),
    0 4px 12px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  position: relative;
  overflow: hidden;
}

.btn-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 45%,
    rgba(255, 255, 255, 0.18) 50%,
    transparent 55%
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 16px 36px -4px rgba(37, 211, 102, 0.4),
    0 6px 16px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  filter: brightness(1.05);
}

.btn-cta:hover::before {
  transform: translateX(100%);
}

.btn-cta:active {
  transform: translateY(1px);
  box-shadow: 0 6px 20px -3px var(--whatsapp-glow);
}

.btn-icon {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex-shrink: 0;
}

.btn-arrow {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.btn-cta:hover .btn-arrow {
  transform: translateX(3px);
}

.cta-subtext {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* QR Code Section */
.qr-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-inner);
  padding: 1.25rem 1.5rem;
  transition: var(--transition-smooth);
}

.qr-section:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.qr-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.qr-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qr-desc {
  font-size: 0.825rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.qr-container-link {
  display: block;
  text-decoration: none;
  flex-shrink: 0;
  position: relative;
  transition: var(--transition-smooth);
}

.qr-frame {
  position: relative;
  width: 104px;
  height: 104px;
  background: #ffffff;
  padding: 6px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.qr-container-link:hover .qr-frame {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.25);
  border: 1px solid rgba(37, 211, 102, 0.5);
}

.qr-image {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 6px;
}

.qr-badge-icon {
  position: absolute;
  bottom: -6px;
  right: -6px;
  width: 24px;
  height: 24px;
  background: #25d366;
  border: 2px solid var(--bg-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.qr-badge-icon svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

/* Domain Feature Highlights (Value Proposition) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.feature-pill {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 0.85rem 0.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-smooth);
}

.feature-pill:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.feature-icon {
  width: 20px;
  height: 20px;
  color: var(--gold-primary);
  flex-shrink: 0;
}

.feature-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #e2e8f0;
}

.feature-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Security & Trust Footer */
.trust-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.trust-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.trust-badge-item svg {
  width: 14px;
  height: 14px;
  color: #38bdf8;
}

.registry-note {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.registry-note a {
  color: var(--text-secondary);
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.2);
}

.registry-note a:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

/* Toast Notification (Domain Copied) */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(18, 24, 38, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(234, 196, 92, 0.4);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast svg {
  color: var(--whatsapp-green);
}

/* Responsive Breakpoints */
@media (max-width: 640px) {
  body {
    padding: 1.25rem 0.85rem;
  }

  .domain-card {
    padding: 2rem 1.25rem;
    gap: 1.5rem;
    border-radius: 20px;
  }

  .domain-title {
    font-size: 2rem;
  }

  .bid-amount {
    font-size: 2.75rem;
  }

  .bid-showcase {
    padding: 1.25rem 1rem;
  }

  .btn-cta {
    font-size: 1.05rem;
    padding: 1rem 1.25rem;
  }

  .qr-section {
    flex-direction: column-reverse;
    text-align: center;
    gap: 1rem;
    padding: 1.25rem 1rem;
  }

  .qr-info {
    align-items: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .feature-pill {
    flex-direction: row;
    text-align: left;
    padding: 0.75rem 1rem;
    gap: 0.75rem;
  }

  .feature-pill div {
    display: flex;
    flex-direction: column;
  }

  .trust-badges {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 380px) {
  .domain-title {
    font-size: 1.7rem;
  }

  .bid-amount {
    font-size: 2.3rem;
  }
}
