:root {
  --ec-black: #000000;
  --ec-bg: #0a0010;
  --ec-pink: #fca7e6;
  --ec-cyan: #72f7fc;
  --ec-glow-pink: 0 0 6px rgba(252, 167, 230, 0.85), 0 0 14px rgba(252, 167, 230, 0.55);
  --ec-glow-cyan: 0 0 6px rgba(114, 247, 252, 0.85), 0 0 14px rgba(114, 247, 252, 0.55);
}

* {
  box-sizing: border-box;
}

html, body {
  background-color: var(--ec-black);
  color: #f5f5f5;
  font-family: 'Rubik', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(252, 167, 230, 0.12), transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(114, 247, 252, 0.10), transparent 60%),
    var(--ec-black);
  background-attachment: fixed;
  overflow-x: hidden;
}

.bg-black {
  background-color: transparent !important;
}

/* ===== Neon text ===== */
.neon-text-pink {
  color: var(--ec-pink);
  text-shadow: var(--ec-glow-pink);
}

.neon-text-cyan {
  color: var(--ec-cyan);
  text-shadow: var(--ec-glow-cyan);
}

.neon-text-cyan-soft {
  color: var(--ec-cyan);
  text-shadow: 0 0 4px rgba(114, 247, 252, 0.4);
}

.neon-title {
  font-family: 'Press Start 2P', 'Rubik', monospace;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

/* ===== Navbar ===== */
.neon-navbar {
  background: #000 !important;
  border-bottom: 1px solid var(--ec-pink);
  box-shadow: 0 0 20px rgba(252, 167, 230, 0.3);
}

.navbar-logo {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 0 6px rgba(252, 167, 230, 0.7));
}

.nav-icon {
  height: 22px;
  width: auto;
  vertical-align: middle;
}

.neon-nav-link {
  color: var(--ec-cyan) !important;
  font-weight: 500;
  position: relative;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.neon-nav-link:hover,
.neon-nav-link:focus {
  color: var(--ec-pink) !important;
  text-shadow: var(--ec-glow-pink);
}

.navbar-toggler {
  border-color: var(--ec-pink);
}
.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(252, 167, 230, 0.4);
}

/* ===== Buttons ===== */
.neon-btn-pink,
.neon-btn-cyan {
  font-weight: 600;
  border-radius: 6px;
  padding: 0.6rem 1.2rem;
  border: 2px solid;
  background: transparent;
  transition: all 0.2s ease;
  text-decoration: none;
}

.neon-btn-pink {
  color: var(--ec-pink);
  border-color: var(--ec-pink);
  text-shadow: 0 0 4px rgba(252, 167, 230, 0.6);
  box-shadow: 0 0 8px rgba(252, 167, 230, 0.3), inset 0 0 8px rgba(252, 167, 230, 0.1);
}

.neon-btn-cyan {
  color: var(--ec-cyan);
  border-color: var(--ec-cyan);
  text-shadow: 0 0 4px rgba(114, 247, 252, 0.6);
  box-shadow: 0 0 8px rgba(114, 247, 252, 0.3), inset 0 0 8px rgba(114, 247, 252, 0.1);
}

.btn-icon {
  height: 22px;
  width: auto;
  vertical-align: middle;
}

/* ===== Home hero ===== */
.home-hero {
  position: relative;
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

.hero-image-wrapper {
  position: relative;
  display: inline-block;
  padding: 1rem;
}

.hero-image {
  max-width: 100%;
  border-radius: 16px;
  box-shadow:
    0 0 20px rgba(252, 167, 230, 0.5),
    0 0 40px rgba(114, 247, 252, 0.3);
  animation: pulse-glow 4s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  from {
    box-shadow: 0 0 20px rgba(252, 167, 230, 0.5), 0 0 40px rgba(114, 247, 252, 0.3);
  }
  to {
    box-shadow: 0 0 30px rgba(252, 167, 230, 0.8), 0 0 60px rgba(114, 247, 252, 0.5);
  }
}

/* ===== Hearts floating ===== */
.hearts-decor {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.heart-float {
  position: absolute;
  width: 60px;
  height: auto;
  opacity: 0.25;
  filter: drop-shadow(0 0 8px rgba(252, 167, 230, 0.7));
  animation: float 8s ease-in-out infinite;
}

.heart-float-1 { top: 15%; left: 5%; animation-delay: 0s; }
.heart-float-2 { top: 60%; right: 8%; animation-delay: 2s; width: 80px; }
.heart-float-3 { bottom: 10%; left: 50%; animation-delay: 4s; width: 50px; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-30px) rotate(3deg); }
}

.section-heart {
  width: 70px;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(252, 167, 230, 0.8));
}

/* ===== Cards ===== */
.neon-card {
  background: rgba(10, 0, 16, 0.65);
  border: 1px solid var(--ec-pink);
  border-radius: 12px;
  box-shadow:
    0 0 10px rgba(252, 167, 230, 0.25),
    inset 0 0 12px rgba(252, 167, 230, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  color: #f5f5f5;
}

.neon-card-cyan {
  border-color: var(--ec-cyan);
  box-shadow:
    0 0 10px rgba(114, 247, 252, 0.25),
    inset 0 0 12px rgba(114, 247, 252, 0.05);
}

.neon-card-pink {
  border-color: var(--ec-pink);
}

.link-card {
  cursor: pointer;
  color: inherit !important;
  background: rgba(10, 0, 16, 0.65);
}
.link-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 16px rgba(252, 167, 230, 0.5),
    0 0 30px rgba(114, 247, 252, 0.2);
  border-color: var(--ec-cyan);
}

.link-icon {
  height: 44px;
  width: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 0 5px rgba(114, 247, 252, 0.5));
}

/* About description */
.about-description {
  font-size: 1.05rem;
  line-height: 1.7;
}
.about-description p {
  margin-bottom: 1rem;
}
.about-description strong {
  color: var(--ec-pink);
  text-shadow: var(--ec-glow-pink);
}

/* ===== Footer ===== */
.neon-footer {
  background: rgba(0, 0, 0, 0.85);
  border-top: 1px solid var(--ec-cyan);
  box-shadow: 0 0 20px rgba(114, 247, 252, 0.2);
}

.footer-link {
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease;
  background: transparent;
}

.footer-link:hover {
  transform: scale(1.05);
  text-decoration: none;
}

.footer-icon {
  height: 34px;
  width: auto;
  filter: drop-shadow(0 0 5px rgba(252, 167, 230, 0.6));
}

.footer-divider {
  border-color: rgba(252, 167, 230, 0.4);
}

.copy-email {
  cursor: pointer;
}
.copy-email-text.copied {
  color: var(--ec-pink) !important;
  text-shadow: var(--ec-glow-pink);
}

/* ===== Responsive tweaks ===== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 1rem;
    padding-bottom: 0.5rem;
  }
  .nav-item {
    text-align: center;
  }
}

@media (max-width: 575.98px) {
  .neon-title {
    font-size: 1.8rem !important;
  }
  .footer-icon {
    height: 28px;
  }
  .link-icon {
    height: 36px;
  }
  .navbar-logo {
    height: 34px;
  }
}

/* scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--ec-pink), var(--ec-cyan));
  border-radius: 4px;
}
