/* ===== DESIGN TOKENS ===== */
:root {
  --base: #001b3d;
  --gold-start: #c8960c;
  --gold-end: #a07800;
  --gold-light: #ffe97a;
  --gold-mid: #d4af37;
  --bg: #f0f2f5;
  --bg-card: #ffffff;
  --text: #1a1a2e;
  --text-muted: #556080;
  --border: rgba(0, 27, 61, 0.12);
  --shadow: 0 8px 32px rgba(0, 27, 61, 0.10);
  --nav-bg: rgba(240, 242, 245, 0.85);
  --transition: 0.35s cubic-bezier(.4, 0, .2, 1);
}

[data-theme="dark"] {
  --bg: #0d1117;
  --bg-card: #161b22;
  --text: #e6edf3;
  --text-muted: #8b949e;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.40);
  --nav-bg: rgba(13, 17, 23, 0.90);
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Questrial', sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background var(--transition), color var(--transition);
  overflow-x: hidden;
}

/* Great Vibes for the name signature */
.name-signature {
  font-family: 'Great Vibes', cursive;
  font-weight: 400;
}

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

img {
  max-width: 100%;
  display: block;
}

/* ===== ANIMATED METALLIC GOLD ===== */
@keyframes goldShimmer {
  0% {
    background-position: 200% center;
  }

  100% {
    background-position: -200% center;
  }
}

@keyframes goldIconPulse {

  0%,
  100% {
    filter: drop-shadow(0 0 2px rgba(212, 175, 55, 0.15));
    opacity: 1;
  }

  50% {
    filter: drop-shadow(0 0 8px rgba(255, 233, 122, 0.65)) brightness(1.25);
    opacity: 0.9;
  }
}

@keyframes goldTextPulse {

  0%,
  100% {
    color: #c8960c;
  }

  50% {
    color: #ffe97a;
  }
}

/* Signature, logo, section highlights */
.grad {
  background: linear-gradient(90deg,
      #7a5c00 0%,
      #c8960c 12%,
      #d4af37 25%,
      #ffe97a 38%,
      #fffbe6 50%,
      #ffe97a 62%,
      #d4af37 75%,
      #c8960c 88%,
      #7a5c00 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 5s linear infinite;
}

/* ===== NAV ===== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), border-color var(--transition);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-logo {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: var(--border);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Social icon buttons — brand colors */
.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.10);
  cursor: pointer;
  color: #fff;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  font-size: 1rem;
}

.social-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.15);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* Instagram */
#nav-ig {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: transparent;
}

/* WhatsApp */
#nav-wa {
  background: #25D366;
  border-color: transparent;
}

/* LinkedIn */
#nav-li {
  background: #0077B5;
  border-color: transparent;
}

/* Email */
#nav-em {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text-muted);
}

/* Theme toggle */
#theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition), transform 0.2s;
}

#theme-toggle:hover {
  transform: scale(1.08);
}

/* Hamburger */
#menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

#menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 4px;
  display: block;
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== HERO SECTION ===== */
#hero {
  min-height: 100vh;
  padding: 100px 24px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-inner {
  max-width: 1100px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 64px;
}

.hero-image-wrap {
  flex: 0 0 420px;
  position: relative;
}

.hero-avatar {
  position: relative;
  z-index: 1;
  width: 100%;
  display: block;
  animation: floatImg 6s ease-in-out infinite;
  border-radius: 0;
  object-fit: cover;
  /* Eliminates black background on dark theme */
  mix-blend-mode: screen;
}

#theme-toggle {
  display: none;
}



@keyframes floatImg {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}



.hero-text {
  flex: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 20px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-tag::before {
  content: '⚙️';
}

.hero-name {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0;
  margin-bottom: 8px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 480px;
}

/* Services chips */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 36px;
}

.service-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: border-color var(--transition), transform 0.2s, box-shadow 0.2s;
  cursor: default;
}

.service-chip:hover {
  border-color: var(--gold-start);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 222, 89, 0.12);
}

.service-chip .icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* CTA buttons */
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: linear-gradient(135deg, var(--gold-start), var(--gold-end));
  color: #001b3d;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 145, 77, 0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: border-color var(--transition), transform 0.2s;
  text-decoration: none;
}

.btn-outline:hover {
  border-color: var(--gold-start);
  transform: translateY(-2px);
}

/* ===== SECTION COMMON ===== */
section {
  padding: 96px 24px;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}

.section-lead {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 560px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

/* ===== PORTFOLIO / CAROUSEL ===== */
#portfolio {
  background: var(--bg-card);
}

.portfolio-header {
  margin-bottom: 48px;
}

.carousel-wrap {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.carousel-slides {
  flex: 0 0 55%;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(255, 222, 89, 0.08), rgba(255, 145, 77, 0.08));
}

.carousel-placeholder .ph-icon {
  font-size: 3.5rem;
  opacity: 0.5;
}

.carousel-placeholder .ph-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  padding: 0 20px;
}

.carousel-controls {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.c-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  border: none;
}

.c-dot.active {
  background: var(--gold-start);
  transform: scale(1.4);
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 10;
}

.carousel-nav-btn:hover {
  background: rgba(255, 222, 89, 0.5);
  transform: translateY(-50%) scale(1.08);
}

#c-prev {
  left: 12px;
}

#c-next {
  right: 12px;
}

.carousel-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.carousel-counter {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.carousel-caption-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.carousel-caption-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

.carousel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.carousel-tag {
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
}

/* ===== CONTACT STRIP ===== */
#contact {
  background: var(--base);
  padding: 72px 24px;
}

.contact-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.contact-inner .section-title {
  color: #fff;
}

.contact-inner .section-lead {
  color: rgba(255, 255, 255, 0.6);
  margin: 0 auto 40px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.25s, transform 0.2s, border-color 0.25s;
}

.contact-card:hover {
  background: linear-gradient(135deg, rgba(255, 222, 89, 0.2), rgba(255, 145, 77, 0.2));
  border-color: var(--gold-start);
  transform: translateY(-3px);
}

.contact-card .cc-icon {
  font-size: 1.3rem;
}

/* ===== FOOTER ===== */
footer {
  padding: 28px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-muted);
}

footer a {
  font-weight: 700;
  background: linear-gradient(90deg,
      #7a5c00 0%, #c8960c 12%, #d4af37 25%,
      #ffe97a 38%, #fffbe6 50%, #ffe97a 62%,
      #d4af37 75%, #c8960c 88%, #7a5c00 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 5s linear infinite;
}

/* ===== SCROLL-REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .hero-image-wrap {
    flex: none;
    width: 70%;
    max-width: 340px;
    margin: 0 auto;
  }

  .hero-desc {
    margin: 0 auto 28px;
  }

  .hero-cta {
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .carousel-wrap {
    flex-direction: column;
  }

  .carousel-slides {
    flex: none;
    width: 100%;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--nav-bg);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    z-index: 999;
  }

  .nav-links.open a {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  #menu-toggle {
    display: flex;
  }

  .hero-image-wrap {
    width: 85%;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .social-btn {
    width: 34px;
    height: 34px;
    font-size: 0.88rem;
  }
}

/* ===== PAGE LOADER ===== */
@keyframes loaderSpin {
  to { transform: rotate(360deg); }
}

@keyframes loaderDotPulse {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40%           { transform: scale(1);   opacity: 1;   }
}

@keyframes loaderFadeOut {
  0%   { opacity: 1; transform: scale(1);    filter: blur(0px);  visibility: visible; }
  100% { opacity: 0; transform: scale(1.10); filter: blur(14px); visibility: hidden;  }
}

@keyframes loaderNameIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

#page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0d1117;
  /* stays visible until JS adds .done */
}

#page-loader.done {
  animation: loaderFadeOut 0.9s cubic-bezier(.4,0,.2,1) forwards;
  pointer-events: none;
}

/* ALL body content (except the loader overlay) stays invisible until
   JS confirms fonts + resources are ready and adds .page-ready to body.
   This is the CSS-level guarantee — JS is just the trigger. */
body:not(.page-ready) > :not(#page-loader) {
  opacity: 0;
}

/* Navbar + footer: fade in as part of the reveal sequence */
#navbar,
footer {
  transition: opacity 0.9s ease 0.25s;
}

body.page-ready #navbar,
body.page-ready footer {
  opacity: 1;
}

/* Sections: fade in quickly, then let .reveal children do their own animation */
body.page-ready section {
  opacity: 1;
  transition: opacity 0.6s ease 0.1s;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

/* SVG ring */
.loader-ring {
  width: 96px;
  height: 96px;
  /* drop-shadow glow */
  filter: drop-shadow(0 0 12px rgba(212, 175, 55, 0.35));
}

.loader-arc {
  animation: loaderSpin 1.15s linear infinite;
  transform-origin: 40px 40px;
}

.loader-dot {
  animation: loaderSpin 1.15s linear infinite;
  transform-origin: 40px 40px;
}

.loader-dot2 {
  animation: loaderSpin 1.15s linear infinite reverse;
  transform-origin: 40px 40px;
}

.loader-title {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

/* Three pulsing dots */
.loader-dots {
  display: flex;
  gap: 8px;
}

.loader-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-mid, #d4af37);
  animation: loaderDotPulse 1.4s ease-in-out infinite;
}

.loader-dots span:nth-child(2) { animation-delay: 0.2s; }
.loader-dots span:nth-child(3) { animation-delay: 0.4s; }

/* ===== BIRTHDAY OVERLAY ===== */
@keyframes bdayOverlayIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes bdayCardIn {
  from { opacity: 0; transform: translateY(48px) scale(0.88); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

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

@keyframes bdaySparkle {
  0%,100% { opacity: 0.3; transform: scale(0.7); }
  50%      { opacity: 1;   transform: scale(1.4); }
}

@keyframes bdayConfettiFall {
  0%   { transform: translateY(-30px) rotate(0deg);   opacity: 1;   }
  100% { transform: translateY(110vh) rotate(760deg); opacity: 0.1; }
}

@keyframes bdayProgressDrain {
  from { width: 100%; }
  to   { width: 0%;   }
}

@keyframes bdayCardOut {
  from { opacity: 1; transform: scale(1);    }
  to   { opacity: 0; transform: scale(0.92); }
}

/* Overlay backdrop */
#birthday-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.80);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#birthday-overlay.bday-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  animation: bdayOverlayIn 0.5s ease forwards;
}

#birthday-overlay.bday-out {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* Confetti container */
#bday-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.bday-piece {
  position: absolute;
  top: -20px;
  border-radius: 2px;
  animation: bdayConfettiFall linear forwards;
}

/* Card */
.bday-card {
  position: relative;
  background: linear-gradient(145deg, #0d1117 0%, #161b22 60%, #1a200a 100%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 28px;
  padding: 0 44px 36px;
  text-align: center;
  max-width: 460px;
  width: 92%;
  box-shadow:
    0 0 0 1px rgba(212,175,55,0.10),
    0 0 60px rgba(212, 175, 55, 0.18),
    0 40px 100px rgba(0, 0, 0, 0.65);
  overflow: hidden;
  animation: bdayCardIn 0.65s cubic-bezier(.22,1,.36,1) 0.1s both;
}

.bday-card.bday-card-out {
  animation: bdayCardOut 0.4s ease forwards;
}

/* Balloons SVG */
.bday-balloons {
  width: 100%;
  max-width: 340px;
  margin: 0 auto -8px;
  display: block;
}

.bday-balloon   { animation: bdayBalloonFloat 4.2s ease-in-out infinite; }
.bday-balloon-2 { animation: bdayBalloonFloat 4.2s ease-in-out 0.55s infinite; }
.bday-balloon-3 { animation: bdayBalloonFloat 4.2s ease-in-out 1.1s  infinite; }

.bday-spark   { animation: bdaySparkle 2.0s ease-in-out infinite; }
.bday-spark-2 { animation: bdaySparkle 2.0s ease-in-out 0.7s infinite; }
.bday-star    { animation: bdaySparkle 3.0s ease-in-out infinite; }
.bday-star-2  { animation: bdaySparkle 3.0s ease-in-out 1.2s infinite; }

/* 25 badge */
.bday-badge {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7a5c00, #c8960c, #ffe97a, #d4af37);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 28px rgba(212, 175, 55, 0.45), 0 0 8px rgba(212, 175, 55, 0.25);
  line-height: 1;
}

.bday-badge-num {
  font-family: 'Questrial', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: #001b3d;
  line-height: 1;
}

.bday-badge-lbl {
  font-family: 'Questrial', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(0, 27, 61, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 1px;
}

/* Title */
.bday-title {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2.2rem, 6vw, 3rem);
  font-weight: 400;
  background: linear-gradient(90deg,
    #7a5c00 0%, #c8960c 12%, #d4af37 25%,
    #ffe97a 38%, #fffbe6 50%, #ffe97a 62%,
    #d4af37 75%, #c8960c 88%, #7a5c00 100%);
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 3.5s linear infinite;
  margin-bottom: 4px;
}

.bday-name {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.bday-msg {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  max-width: 340px;
  margin: 0 auto 24px;
}

/* Progress bar */
.bday-progress {
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 20px;
}

.bday-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #7a5c00, #ffe97a, #c8960c);
  border-radius: 4px;
  width: 100%;
}

.bday-progress-bar.bday-draining {
  animation: bdayProgressDrain 8s linear forwards;
}

/* Dismiss button */
.bday-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #c8960c, #7a5c00);
  color: #fffbe6;
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
}

.bday-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212, 175, 55, 0.45);
}


