/* ==========================================================================
   novirx Domain Parking — Stylesheet
   Design System: Cyberpunk Glassmorphism / Modern Luxury Dark Mode
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

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

:root {
  --orange: #ff6b2b;
  --pink: #ff2e93;
  --red: #ff4a5a;
  --yellow: #ffc800;
  --blue: #00f0ff;
  --green: #00ffaa;
  --white: #ffffff;

  --bg: #030014;
  --bg-soft: #08041c;
  --card-bg: rgba(10, 6, 32, 0.72);
  --card-bg-hover: rgba(15, 9, 45, 0.85);
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.09);
  --border-hover: rgba(255, 46, 147, 0.5);
  --border-glow: rgba(0, 240, 255, 0.4);

  --text: #f5f2ff;
  --text-muted: #a39ebf;
  --text-dim: #706b8d;

  --gradient: linear-gradient(135deg, var(--orange) 0%, var(--pink) 100%);
  --gradient-neon: linear-gradient(135deg, var(--pink) 0%, var(--blue) 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(255, 107, 43, 0.12) 0%, rgba(255, 46, 147, 0.12) 100%);

  --radius: 20px;
  --radius-lg: 32px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.8);
  --glow-pink: 0 0 35px rgba(255, 46, 147, 0.35);
  --glow-blue: 0 0 35px rgba(0, 240, 255, 0.35);

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Unbounded', 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Consolas', monospace;
  --transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Theme Support */
[data-theme="light"] {
  --bg: #f5f3ff;
  --bg-soft: #eae5fc;
  --card-bg: rgba(255, 255, 255, 0.85);
  --card-bg-hover: rgba(255, 255, 255, 0.95);
  --surface: rgba(0, 0, 0, 0.03);
  --surface-strong: rgba(0, 0, 0, 0.06);
  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(255, 46, 147, 0.6);

  --text: #0f0926;
  --text-muted: #5e577d;
  --text-dim: #8b85a8;

  --shadow: 0 10px 40px rgba(110, 86, 207, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  --shadow-lg: 0 24px 70px rgba(110, 86, 207, 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.4s ease, color 0.4s ease;
  position: relative;
}

::selection {
  background: rgba(255, 46, 147, 0.4);
  color: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Container ---------- */
.container {
  width: min(1080px, 100% - 2.5rem);
  margin-inline: auto;
}

/* ---------- Background Layering & Ambient Blooms ---------- */
.bg-gradient {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse 70% 50% at 70% -5%, rgba(255, 46, 147, 0.15), transparent 60%),
    radial-gradient(ellipse 60% 45% at 15% 15%, rgba(255, 107, 43, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 50% at 50% 85%, rgba(0, 240, 255, 0.08), transparent 60%),
    var(--bg);
  pointer-events: none;
}

[data-theme="light"] .bg-gradient {
  background:
    radial-gradient(ellipse 70% 50% at 70% -5%, rgba(255, 46, 147, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 45% at 15% 15%, rgba(255, 107, 43, 0.06), transparent 55%),
    radial-gradient(ellipse 50% 50% at 50% 85%, rgba(0, 240, 255, 0.05), transparent 60%),
    var(--bg);
}

.bg-sparkles {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  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: 44px 44px;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 85%);
  mask-image: radial-gradient(circle at 50% 40%, #000 30%, transparent 85%);
}

[data-theme="light"] .bg-sparkles {
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

/* Floating ambient orbs */
.ambient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: -2;
  opacity: 0.5;
}

.orb-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(255, 46, 147, 0.4), transparent 70%);
  top: -120px;
  right: -80px;
  animation: drift-1 22s ease-in-out infinite alternate;
}

.orb-2 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(255, 107, 43, 0.35), transparent 70%);
  bottom: -100px;
  left: -80px;
  animation: drift-2 26s ease-in-out infinite alternate-reverse;
}

.orb-3 {
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.25), transparent 70%);
  top: 45%;
  left: 35%;
  animation: drift-3 20s ease-in-out infinite alternate;
}

@keyframes drift-1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(70px, 50px) scale(1.12); }
}

@keyframes drift-2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-50px, 70px) scale(1.15); }
}

@keyframes drift-3 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(80px, -60px) scale(1.08); }
}

/* ---------- Cyberpunk 3D Grid ---------- */
.hero-grid-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.hero-grid-perspective {
  position: absolute;
  bottom: -20%;
  left: -50%;
  right: -50%;
  height: 80%;
  transform: perspective(600px) rotateX(65deg);
  transform-origin: bottom center;
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 80%);
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 80%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-size: 50px 50px;
  background-image:
    linear-gradient(to right, rgba(255, 46, 147, 0.15) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 240, 255, 0.12) 1px, transparent 1px);
  animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
  0% { transform: translateY(0); }
  100% { transform: translateY(50px); }
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 1.25rem;
  z-index: 100;
  margin-bottom: 2rem;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.4rem;
  background: rgba(8, 4, 28, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

[data-theme="light"] .header-inner {
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 10px 30px rgba(110, 86, 207, 0.08);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  transition: transform var(--transition);
}

.logo:hover {
  transform: scale(1.03);
}

.logo-img {
  border-radius: 9px;
  object-fit: contain;
}

.logo-name {
  color: var(--text);
  font-weight: 800;
}

.header-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulse-glow 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-toggle {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: all var(--transition);
  position: relative;
}

.theme-toggle:hover {
  background: var(--surface-strong);
  border-color: var(--border-hover);
  transform: translateY(-1px);
}

.theme-toggle svg {
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.theme-toggle .moon {
  display: none;
}

[data-theme="light"] .theme-toggle .sun {
  display: none;
}

[data-theme="light"] .theme-toggle .moon {
  display: block;
}

/* ---------- Main Layout ---------- */
.main-wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 1.5rem 0 3.5rem;
}

.parking-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ---------- Spotlight Glassmorphic Cards ---------- */
.spotlight-card {
  position: relative;
  background: var(--card-bg);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.spotlight-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 46, 147, 0.15),
    rgba(0, 240, 255, 0.08) 35%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

.spotlight-card:hover::before {
  opacity: 1;
}

.edge-light {
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  pointer-events: none;
  z-index: 2;
}

/* ---------- Primary Parking Card ---------- */
.parking-card {
  padding: 3.5rem 3rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.status-pill-wrapper {
  margin-bottom: 1.8rem;
  z-index: 2;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.15rem;
  background: rgba(0, 255, 170, 0.08);
  border: 1px solid rgba(0, 255, 170, 0.25);
  border-radius: 50px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green);
  box-shadow: 0 0 20px rgba(0, 255, 170, 0.12);
}

.status-dot {
  width: 9px;
  height: 9px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--green);
  animation: pulse-dot 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

.status-divider {
  opacity: 0.4;
}

.status-host {
  color: var(--text-muted);
}

/* Heading */
.parking-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
  max-width: 820px;
  z-index: 2;
}

.domain-container {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  vertical-align: middle;
}

.domain-highlight {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 700;
  padding: 0.15rem 0.65rem;
  background: linear-gradient(135deg, rgba(255, 107, 43, 0.15), rgba(255, 46, 147, 0.18));
  border: 1px solid rgba(255, 46, 147, 0.35);
  border-radius: 12px;
  color: #fff;
  text-shadow: 0 0 20px rgba(255, 46, 147, 0.6);
  box-shadow: 0 4px 20px rgba(255, 46, 147, 0.15);
  word-break: break-all;
}

[data-theme="light"] .domain-highlight {
  color: #791e57;
  background: rgba(255, 46, 147, 0.1);
  border-color: rgba(255, 46, 147, 0.4);
  text-shadow: none;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}

.btn-copy:hover {
  color: var(--white);
  border-color: var(--border-hover);
  background: var(--surface-strong);
  transform: scale(1.08);
}

.btn-copy .check-icon {
  display: none;
  color: var(--green);
}

.btn-copy.copied .copy-icon {
  display: none;
}

.btn-copy.copied .check-icon {
  display: block;
}

.copy-tooltip {
  position: absolute;
  top: -38px;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  background: var(--bg-soft);
  border: 1px solid var(--pink);
  color: var(--white);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px rgba(255, 46, 147, 0.3);
}

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

.brand-gradient {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Description */
.parking-description-box {
  max-width: 680px;
  margin-bottom: 2.5rem;
  z-index: 2;
}

.parking-description {
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.65rem;
  line-height: 1.6;
}

.parking-description strong {
  color: var(--pink);
  font-weight: 700;
}

.parking-subdescription {
  font-size: clamp(0.92rem, 1.6vw, 1.02rem);
  color: var(--text-muted);
  line-height: 1.65;
}

/* CTA Buttons */
.parking-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  z-index: 2;
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.75rem;
  border-radius: 50px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition),
    background var(--transition), border-color var(--transition), color var(--transition);
}

.btn:active {
  transform: scale(0.98);
}

.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.85rem;
}

.btn-header {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(255, 46, 147, 0.35);
}

.btn-header:hover {
  box-shadow: 0 6px 22px rgba(255, 46, 147, 0.5);
  transform: translateY(-2px);
}

.btn-cta {
  padding: 1rem 2rem;
  font-size: 1.05rem;
  border-radius: 16px;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 8px 30px rgba(255, 46, 147, 0.4);
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -90%;
  width: 50%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transform: skewX(-25deg);
  transition: left 0.6s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 45px rgba(255, 46, 147, 0.6);
}

.btn-primary:hover::before {
  left: 140%;
}

.btn-primary .arrow-icon {
  transition: transform var(--transition);
}

.btn-primary:hover .arrow-icon {
  transform: translateX(4px);
}

.btn-outline {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--border-hover);
  background: var(--surface-strong);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .btn-outline:hover {
  color: var(--pink);
  box-shadow: 0 8px 30px rgba(110, 86, 207, 0.15);
}

.btn-outline .ext-icon {
  opacity: 0.6;
  transition: opacity var(--transition), transform var(--transition);
}

.btn-outline:hover .ext-icon {
  opacity: 1;
  transform: translate(2px, -2px);
}

/* ---------- Bento Grid Modules ---------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.bento-card {
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  position: relative;
  z-index: 2;
}

.bento-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.5);
}

.bento-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
}

.bento-orange {
  color: var(--orange);
  background: rgba(255, 107, 43, 0.1);
  border-color: rgba(255, 107, 43, 0.25);
}

.bento-pink {
  color: var(--pink);
  background: rgba(255, 46, 147, 0.1);
  border-color: rgba(255, 46, 147, 0.25);
}

.bento-blue {
  color: var(--blue);
  background: rgba(0, 240, 255, 0.1);
  border-color: rgba(0, 240, 255, 0.25);
}

.bento-content {
  margin-bottom: 1.25rem;
}

.bento-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
}

.bento-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.bento-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.bento-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--pink);
  transition: gap var(--transition), color var(--transition);
  margin-top: auto;
}

.bento-link:hover {
  color: var(--orange);
  gap: 0.65rem;
}

.bento-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.tag-pill {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
}

/* ---------- Footer ---------- */
.footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: rgba(3, 0, 20, 0.4);
  backdrop-filter: blur(16px);
  padding: 1.6rem 0;
  z-index: 10;
}

[data-theme="light"] .footer {
  background: rgba(255, 255, 255, 0.4);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text);
}

.footer-logo img {
  border-radius: 6px;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-links a {
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--pink);
}

/* ---------- Responsive Breakpoints ---------- */
@media (max-width: 960px) {
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .parking-card {
    padding: 2.5rem 1.75rem;
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding: 0.6rem 1rem;
  }

  .header-badge {
    display: none;
  }

  .parking-card {
    padding: 2.2rem 1.25rem;
    border-radius: 24px;
  }

  .parking-actions {
    flex-direction: column;
  }

  .btn-cta {
    width: 100%;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 1rem;
  }
}
