/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0d0d21;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* HERO */
.hero-wrapper {
  display: flex;
  justify-content: center;
  padding: 24px;
}

.hero-crop {
  position: relative;
  width: 100%;
  max-width: 1200px;
  aspect-ratio: 1045 / 718;
  background-image: url("/hero-banner.webp");
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

/* ICON CLICK STRIP */
.nav-overlay {
  position: absolute;
  bottom: 4.8%;
  left: 10%;
  width: 80%;
  height: 9%;
  display: flex;
  z-index: 10;
}

.zone {
  flex: 1;
  cursor: pointer;
  border-radius: 12px;
}

.zone:hover {
  background: rgba(255,255,255,0.12);
}

/* TOOL HUB */
.tool-hub {
  max-width: 1200px;
  margin: 30px auto 50px;
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  background: linear-gradient(135deg, #4f46e5, #7c3aed, #ec4899);
  border-radius: 22px;
}

.tool-btn {
  text-decoration: none;
  color: #fff;
  background: rgba(0,0,0,0.45);
  padding: 14px;
  border-radius: 16px;
  text-align: center;
  font-weight: 600;
  transition: all 0.25s ease;
}

.tool-btn:hover {
  background: rgba(0,0,0,0.65);
  transform: translateY(-3px);
}

/* MOBILE */
@media (max-width: 768px) {
  .nav-overlay {
    bottom: 6%;
    height: 12%;
  }
}
/* ================================
   TOOL PAGE BEAUTIFUL BACKGROUND
   (Birthday / Future Tools)
   ================================ */

body {
  background: radial-gradient(
      circle at top left,
      rgba(99,102,241,0.25),
      transparent 40%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(236,72,153,0.25),
      transparent 40%
    ),
    linear-gradient(135deg, #0f1029, #15163b);
  color: #f9fafb;
}

/* PAGE CONTAINER */
.container {
  max-width: 900px;
  margin: 60px auto;
  padding: 30px;
}

/* HEADER */
.page-header {
  text-align: center;
  margin-bottom: 35px;
}

.page-header h1 {
  font-size: 2.4rem;
  font-weight: 700;
  background: linear-gradient(90deg, #a78bfa, #f472b6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-header p {
  color: #c7d2fe;
  margin-top: 10px;
  font-size: 1.05rem;
}

/* CARD */
.card {
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(14px);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.45);
  margin-bottom: 40px;
}

/* INPUT */
.card input[type="date"] {
  width: 100%;
  padding: 14px;
  margin-top: 10px;
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
}

/* BUTTON */
.card button {
  width: 100%;
  margin-top: 18px;
  padding: 14px;
  background: linear-gradient(90deg, #6366f1, #ec4899);
  border: none;
  border-radius: 14px;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(99,102,241,0.45);
}

/* RESULT BOX */
.result-box {
  margin-top: 22px;
  padding: 18px;
  background: rgba(99,102,241,0.12);
  border-left: 4px solid #818cf8;
  border-radius: 12px;
  font-size: 1.1rem;
}

/* SEO TEXT */
.seo-text {
  color: #d1d5db;
  line-height: 1.7;
}

.seo-text h2 {
  color: #e0e7ff;
  margin-bottom: 12px;
}

/* MOBILE */
@media (max-width: 768px) {
  .container {
    margin: 40px 16px;
    padding: 22px;
  }

  .page-header h1 {
    font-size: 1.9rem;
  }
}
.nav-overlay {
  position: absolute;
  bottom: 4.5%;
  left: 10%;
  width: 80%;
  height: 9%;
  display: flex;
  z-index: 20; /* MUST be higher than hero */
}

.zone {
  flex: 1;
  cursor: pointer;
}
/* ===== TOP NAV ===== */
.top-nav {
  max-width: 1200px;
  margin: 20px auto;
  padding: 14px 22px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(12px);

  border-radius: 16px;
}

.top-nav .logo {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.nav-links a {
  margin-left: 14px;
  color: #e5e7eb;
  text-decoration: none;
  font-size: 14px;
}

.nav-links a:hover {
  color: #fff;
}
/* ===== FOOTER ===== */
.site-footer {
  margin-top: 60px;
  padding: 30px 20px;
  text-align: center;
  color: #c7d2fe;
  font-size: 13px;
}

.footer-links {
  margin-bottom: 12px;
}

.footer-links a {
  margin: 0 10px;
  color: #a5b4fc;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}
/* ===== TOOL DESCRIPTION (CENTERED) ===== */
.tool-description {
  max-width: 900px;
  margin: 60px auto 40px;
  padding: 0 20px;

  color: #e5e7eb;
  text-align: center; /* 🔑 THIS FIXES IT */
}

/* Headings */
.tool-description h2 {
  font-size: 24px;
  margin: 32px 0 14px;
  color: #f3f4f6;
  text-align: center;
}

/* Paragraphs */
.tool-description p {
  line-height: 1.8;
  font-size: 16px;
  margin-bottom: 16px;
  text-align: center;
}

/* Lists */
.tool-description ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
}

/* List items */
.tool-description li {
  margin-bottom: 10px;
  font-size: 15px;
}
/* ===== LIVE AGE DROPDOWN INFO ===== */
.tool-info {
  max-width: 900px;
  margin: 60px auto 80px;
  padding: 0 20px;
  text-align: center;
}

/* Toggle Button */
.info-toggle {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #fff;
  border: none;
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(0,0,0,0.45);
}

/* Content box */
.info-content {
  max-height: 0;
  overflow: hidden;
  margin-top: 30px;
  padding: 0 30px;
  background: rgba(0,0,0,0.35);
  border-radius: 22px;
  transition: max-height 0.45s ease, padding 0.45s ease;
}

/* When open */
.info-content.open {
  max-height: 1200px;
  padding: 30px;
}

/* Text styling */
.info-content h2 {
  color: #f9fafb;
  margin-bottom: 14px;
  margin-top: 28px;
}

.info-content p {
  color: #e5e7eb;
  line-height: 1.8;
  margin-bottom: 16px;
}

.info-content ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.info-content li {
  margin-bottom: 10px;
  color: #e5e7eb;
}

/* Mobile */
@media (max-width: 768px) {
  .info-content {
    padding: 0 20px;
  }
  .info-content.open {
    padding: 22px;
  }
}
/* ===== LIVE AGE DROPDOWN INFO ===== */
.tool-info {
  max-width: 900px;
  margin: 60px auto 80px;
  padding: 0 20px;
  text-align: center;
}

/* Toggle Button */
.info-toggle {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #fff;
  border: none;
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(0,0,0,0.45);
}

/* Content box */
.info-content {
  max-height: 0;
  overflow: hidden;
  margin-top: 30px;
  padding: 0 30px;
  background: rgba(0,0,0,0.35);
  border-radius: 22px;
  transition: max-height 0.45s ease, padding 0.45s ease;
}

/* When open */
.info-content.open {
  max-height: 1200px;
  padding: 30px;
}

/* Text styling */
.info-content h2 {
  color: #f9fafb;
  margin-bottom: 14px;
  margin-top: 28px;
}

.info-content p {
  color: #e5e7eb;
  line-height: 1.8;
  margin-bottom: 16px;
}

.info-content ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.info-content li {
  margin-bottom: 10px;
  color: #e5e7eb;
}

/* Mobile */
@media (max-width: 768px) {
  .info-content {
    padding: 0 20px;
  }
  .info-content.open {
    padding: 22px;
  }
}
/* ===== LIVE AGE CENTERED DROPDOWN ===== */
.tool-info {
  max-width: 900px;
  margin: 70px auto 90px;
  padding: 0 20px;
  text-align: center;
}

/* Toggle Button */
.info-toggle {
  background: linear-gradient(135deg, #7c3aed, #ec4899);
  color: #ffffff;
  border: none;
  padding: 14px 26px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
  transition: all 0.25s ease;
}

.info-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px rgba(0,0,0,0.45);
}

/* Dropdown Content */
.info-content {
  max-height: 0;
  overflow: hidden;
  margin-top: 32px;
  padding: 0 30px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 24px;
  transition: max-height 0.45s ease, padding 0.45s ease;
}

/* OPEN STATE */
.info-content.open {
  max-height: 1200px;
  padding: 34px;
}

/* TEXT CENTERING */
.info-content h2 {
  color: #f9fafb;
  margin: 26px 0 14px;
  text-align: center;
}

.info-content p {
  color: #e5e7eb;
  line-height: 1.8;
  margin-bottom: 18px;
  text-align: center;
}

.info-content ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  text-align: center;
}

.info-content li {
  margin-bottom: 10px;
  color: #e5e7eb;
}

/* MOBILE */
@media (max-width: 768px) {
  .info-content.open {
    padding: 24px;
  }
}


/* Ensure the specific tool wrapper is the relative base */
.bubble-anchor {
    position: relative !important;
    overflow: visible !important; /* Allows bubbles to sit outside the box */
}

.bubble-sidebar {
    position: absolute;
    top: 80px; /* Adjust this to align vertically with your input box */
    display: flex;
    flex-direction: column;
    gap: 50px;
    z-index: 100;
}

/* Position them in the empty margins on either side of the content */
.left-side { left: 0px; } 
.right-side { right: 0px; }

.bubble {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 400;
    color: white;
    padding: 12px;
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: 0 10px 25px rgba(238, 229, 148, 0.5);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: floatBubble 6s ease-in-out infinite;
}

/* Updated Transparent Colors (Using 0.3 to 0.5 opacity) */
.bubble.blue { background: radial-gradient(circle at 30% 30%, rgba(96, 165, 250, 0.4), rgba(30, 64, 175, 0.3)); }
.bubble.green { background: radial-gradient(circle at 30% 30%, rgba(52, 211, 153, 0.4), rgba(6, 95, 70, 0.3)); animation-delay: 1s; }
.bubble.orange { background: radial-gradient(circle at 30% 30%, rgba(251, 146, 60, 0.4), rgba(154, 52, 18, 0.3)); animation-delay: 2s; }
.bubble.purple { background: radial-gradient(circle at 30% 30%, rgba(167, 139, 250, 0.4), rgba(91, 33, 182, 0.3)); animation-delay: 0.5s; }
.bubble.yellow { background: radial-gradient(circle at 30% 30%, rgba(250, 204, 21, 0.4), rgba(133, 77, 14, 0.3)); animation-delay: 1.5s; }
.bubble.navy { background: radial-gradient(circle at 30% 30%, rgba(59, 130, 246, 0.4), rgba(30, 58, 138, 0.3)); animation-delay: 2.5s; }

/* Gold Hover Effect */
.bubble:hover { 
    transform: scale(1.1); 
    border-color: #fbbf24; /* Gold border from your badge */
    background: rgba(255, 255, 255, 0.1); /* Very subtle white wash on hover */
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.4); /* Gold glow */
}

.bubble span {
    font-size: 1.5rem;
    display: block;
}

/* ANIMATIONS */
@keyframes floatBubble {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

.bursting {
    animation: burstEffect 0.5s ease-out forwards !important;
    pointer-events: none;
}

@keyframes burstEffect {
    0% { transform: scale(1); opacity: 1; filter: blur(0); }
    100% { transform: scale(3.5); opacity: 0; filter: blur(15px); }
}

/* Hide bubbles on smaller screens where the margins disappear */
@media (max-width: 1250px) {
    .bubble-sidebar { display: none; }
}

/* ===== Bigger, bolder top nav ===== */
.navbar {
  max-width: 1100px;
  margin: 24px auto 0;
  padding: 18px 32px;          /* more vertical + horizontal padding */
  background: rgba(0, 0, 0, 0.55);
  border-radius: 999px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45); /* subtle lift */
}

.navbar a {
  color: #e5e7eb;
  text-decoration: none;
  margin-left: 20px;           /* a bit more space between links */
  font-size: 15px;             /* slightly larger text */
  font-weight: 600;            /* bolder text */
}

.navbar a:hover {
  color: #ffffff;
}
/* ===============================
   GLOBAL HEADER FIX (BOLDER & WIDER)
   =============================== */

.site-header,
header {
  max-width: 1100px;
  margin: 28px auto 40px;
  padding: 18px 32px;
  background: linear-gradient(
    135deg,
    rgba(15, 15, 40, 0.95),
    rgba(30, 20, 70, 0.95)
  );
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
}

/* Header text */
.site-header a,
header a {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

/* Site title */
.site-header .logo,
header .logo {
  font-size: 20px;
  font-weight: 700;
}


/* ===============================
   LIVE AGE CARD – WIDER & STRONGER
   =============================== */

.live-age-card,
.calculator-card {
  max-width: 520px; /* ⬅ wider */
  width: 100%;
  padding: 32px;
  border-radius: 22px;
  background: rgba(12, 12, 30, 0.92);
  box-shadow:
    0 25px 60px rgba(0,0,0,0.6),
    inset 0 0 0 1px rgba(255,255,255,0.05);
}

/* Title stronger */
.live-age-card h1,
.calculator-card h1 {
  font-size: 26px;
  font-weight: 700;
}

/* Subtitle centered */
.live-age-card p,
.calculator-card p {
  text-align: center;
  font-size: 15px;
  opacity: 0.9;
}


/* ===============================
   DESCRIPTION SECTION – CENTERED
   =============================== */

.tool-description,
.description-section {
  max-width: 900px;
  margin: 60px auto 40px;
  text-align: center;
}

.tool-description h2,
.description-section h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.tool-description p,
.description-section p {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.95;
}


/* ===============================
   REMOVE "LEARN MORE" BAR (IF EXISTS)
   =============================== */

.learn-more-bar,
.learn-more,
.expand-bar {
  display: none !important;
}


/* ===============================
   FOOTER – BOLD & VISIBLE
   =============================== */

footer {
  margin-top: 80px;
  padding: 24px 0 40px;
  text-align: center;
}

/* Footer links */
footer a {
  font-size: 14.5px;
  font-weight: 600;
  color: #e5e7ff;
  margin: 0 10px;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Footer copyright */
footer p {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  opacity: 0.9;
}
/* =====================================================
   🔥 FINAL OVERRIDES – HEADER, CARD, FOOTER (FOR REAL)
   ===================================================== */

/* ===== HEADER (BIGGER, BOLDER, WIDER) ===== */
.top-nav,
.navbar,
.site-header,
header {
  max-width: 1280px !important;
  padding: 22px 40px !important;
  margin: 30px auto 50px !important;

  background: linear-gradient(
    135deg,
    rgba(10, 10, 35, 0.95),
    rgba(35, 20, 85, 0.95)
  ) !important;

  border-radius: 22px !important;
  box-shadow: 0 18px 45px rgba(0,0,0,0.55) !important;
}

/* Logo */
.top-nav .logo,
.navbar .logo,
.site-header .logo {
  font-size: 22px !important;
  font-weight: 800 !important;
}

/* Nav links */
.top-nav a,
.navbar a,
.site-header a {
  font-size: 16px !important;
  font-weight: 700 !important;
  margin-left: 22px !important;
}


/* ===== LIVE AGE CALCULATOR CARD (WIDER & STRONGER) ===== */
.live-age-card,
.calculator-card,
.card {
  max-width: 600px !important;   /* ⬅ wider */
  width: 100% !important;
  padding: 36px !important;

  background: rgba(10, 12, 35, 0.95) !important;
  border-radius: 26px !important;

  box-shadow:
    0 30px 70px rgba(0,0,0,0.65),
    inset 0 0 0 1px rgba(255,255,255,0.06) !important;
}

/* Card title */
.live-age-card h1,
.calculator-card h1,
.card h1 {
  font-size: 28px !important;
  font-weight: 800 !important;
  text-align: center !important;
}

/* Card subtitle */
.live-age-card p,
.calculator-card p,
.card p {
  font-size: 16px !important;
  text-align: center !important;
  opacity: 0.95 !important;
}


/* ===== FOOTER (BOLD & HIGH CONTRAST) ===== */
footer,
.site-footer {
  margin-top: 90px !important;
  padding: 40px 20px !important;
  text-align: center !important;
}

/* Footer links */
footer a,
.site-footer a {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 14px !important;
  text-decoration: none !important;
}

/* Hover */
footer a:hover,
.site-footer a:hover {
  text-decoration: underline !important;
  color: #f9a8d4 !important;
}

/* Copyright */
footer p,
.site-footer p {
  margin-top: 14px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #e5e7ff !important;
}
/* ================= FINAL LIVE AGE FIX ================= */

/* Center everything */
.page-center {
  min-height: calc(100vh - 200px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Wider & stronger calculator card */
.live-age-card {
  max-width: 560px;
  width: 100%;
  margin: 40px auto;
  padding: 36px;
  text-align: center;
}

/* Strong title */
.live-age-card h1 {
  font-size: 28px;
  font-weight: 800;
}

/* Subtitle */
.live-age-card .subtitle {
  font-size: 15px;
  margin-bottom: 18px;
  opacity: 0.9;
}

/* Header wider & bolder */
.site-header {
  max-width: 1200px;
  margin: 24px auto 40px;
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0,0,0,0.55);
  border-radius: 999px;
}

.site-header a {
  font-weight: 600;
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  margin-left: 16px;
}

.site-header .logo {
  font-size: 20px;
  font-weight: 800;
}

/* Footer stronger */
.site-footer {
  margin-top: 80px;
  padding: 40px 20px;
  text-align: center;
}

.footer-links a {
  font-weight: 600;
  font-size: 14.5px;
  color: #e5e7ff;
}
/* ===== GLOBAL CENTER FIX ===== */
.page-center {
  min-height: calc(100vh - 140px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ===== HEADER (BOLDER & WIDER) ===== */
.site-header {
  max-width: 1200px;
  margin: 24px auto;
  padding: 20px 36px;
  background: rgba(0,0,0,0.55);
  border-radius: 999px;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header .logo {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.site-header nav a {
  margin-left: 18px;
  font-weight: 600;
  color: #e5e7eb;
}

/* ===== CALCULATOR CARD (CENTERED & WIDE) ===== */
.calculator-card {
  width: 100%;
  max-width: 560px;
  background: rgba(10,10,30,0.9);
  padding: 34px;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0,0,0,0.6);
}

.calculator-card h1 {
  font-size: 26px;
}

.subtitle {
  margin: 10px 0 18px;
  color: #c7d2fe;
}

.calculator-card input,
.calculator-card button {
  width: 100%;
}

/* ===== DROPDOWN ===== */
.info-section {
  margin-top: 40px;
  text-align: center;
}

.info-toggle {
  background: linear-gradient(135deg,#7c3aed,#ec4899);
  color: #fff;
  border: none;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.info-content {
  max-width: 700px;
  margin: 30px auto 0;
  background: rgba(0,0,0,0.35);
  border-radius: 22px;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all .4s ease;
  text-align: center;
}

.info-content.open {
  padding: 30px;
  max-height: 1000px;
}

/* ===== FOOTER (BOLD & VISIBLE) ===== */
.site-footer {
  margin-top: 80px;
  text-align: center;
}

.site-footer a {
  font-weight: 700;
  color: #c7d2fe;
}

.site-footer a:hover {
  color: #fff;
}
/* ======================================
   FORCE LIVE AGE CALCULATOR – BIG & BOLD
   ====================================== */

/* Center everything */
body {
  display: block;
}

/* Wrapper that holds the calculator */
.live-age-wrapper,
.live-age-container,
.container {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  flex-direction: column !important;
}

/* MAIN CALCULATOR BOX */
.live-age-card,
.calculator-card,
.card {
  width: 100% !important;
  max-width: 720px !important;   /* ⬅ BIG WIDTH */
  padding: 40px !important;      /* ⬅ MORE SPACE */
  border-radius: 26px !important;

  background: rgba(10, 10, 30, 0.92) !important;
  backdrop-filter: blur(18px);

  box-shadow:
    0 30px 70px rgba(0,0,0,0.65),
    inset 0 0 0 1px rgba(255,255,255,0.08);

  margin: 40px auto !important;  /* ⬅ PERFECT CENTER */
  text-align: center !important;
}

/* TITLE */
.live-age-card h1,
.calculator-card h1,
.card h1 {
  font-size: 30px !important;
  font-weight: 800 !important;
  margin-bottom: 10px !important;
}

/* SUBTITLE */
.live-age-card p,
.calculator-card p,
.card p {
  font-size: 17px !important;
  opacity: 0.95 !important;
  margin-bottom: 22px !important;
}

/* INPUT */
.live-age-card input,
.calculator-card input,
.card input {
  width: 100% !important;
  padding: 16px !important;
  font-size: 16px !important;
  border-radius: 14px !important;
}

/* BUTTON */
.live-age-card button,
.calculator-card button,
.card button {
  padding: 16px !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  border-radius: 18px !important;
  margin-top: 20px !important;
}

/* RESULT / INFO BOX */
.result-box,
.info-box {
  font-size: 16px !important;
  padding: 20px !important;
  margin-top: 24px !important;
  border-radius: 16px !important;
}

/* REMOVE ANY SMALL WIDTH LIMITS */
.card,
.calculator-card,
.live-age-card {
  min-width: 0 !important;
}
/* =====================================================
   LIVE AGE – HARD OVERRIDE (FINAL FIX)
   ===================================================== */

/* ---------- HEADER (MATCH ZODIAC STYLE) ---------- */
body.live-age-page .top-nav,
body.live-age-page .navbar,
body.live-age-page header {
  max-width: 1200px !important;
  margin: 24px auto 60px !important;
  padding: 22px 40px !important;
  background: linear-gradient(135deg, #1b1140, #2a145e) !important;
  border-radius: 999px !important;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6) !important;
}

/* Header text */
body.live-age-page .top-nav a,
body.live-age-page .navbar a {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}

/* ---------- CENTER EVERYTHING ---------- */
body.live-age-page main,
body.live-age-page .container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

/* ---------- BIG & BOLD CALCULATOR ---------- */
body.live-age-page .card,
body.live-age-page .live-age-card {
  width: 100% !important;
  max-width: 620px !important;
  padding: 40px !important;
  margin: 0 auto !important;
  background: rgba(10, 10, 30, 0.92) !important;
  border-radius: 26px !important;
  box-shadow:
    0 30px 70px rgba(0,0,0,0.7),
    inset 0 0 0 1px rgba(255,255,255,0.06) !important;
}

/* Title */
body.live-age-page .card h1 {
  font-size: 30px !important;
  font-weight: 800 !important;
  text-align: center !important;
}

/* Subtitle */
body.live-age-page .card p {
  font-size: 16px !important;
  text-align: center !important;
  opacity: 0.95 !important;
}

/* Inputs */
body.live-age-page .card input {
  padding: 16px !important;
  font-size: 16px !important;
}

/* Button */
body.live-age-page .card button {
  padding: 16px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
}

/* ---------- REMOVE "LEARN MORE" BAR ---------- */
body.live-age-page .info-toggle,
body.live-age-page .learn-more-bar {
  display: none !important;
}

/* ---------- FOOTER – STRONG & VISIBLE ---------- */
body.live-age-page footer {
  margin-top: 90px !important;
  text-align: center !important;
}

body.live-age-page footer a {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #e0e7ff !important;
  margin: 0 12px !important;
}

body.live-age-page footer a:hover {
  color: #ffffff !important;
}
/* ===== LEGAL LINKS UNDER HERO ===== */
.hero-legal {
  margin-top: 40px;
  text-align: center;
  font-size: 13px;
  color: #c7d2fe;
  opacity: 0.9;
}

.hero-legal a {
  color: #a5b4fc;
  text-decoration: none;
  font-weight: 500;
  margin: 0 6px;
}

.hero-legal a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.hero-legal span {
  margin: 0 4px;
  color: #94a3b8;
}

.hero-copyright {
  margin-top: 8px;
  font-size: 12px;
  color: #9ca3af;
}
/* ===== MOBILE LEGAL TWEAK ===== */
@media (max-width: 640px) {
  .hero-legal {
    font-size: 12px;
    line-height: 1.8;
  }

  .hero-legal a {
    display: inline-block;
    margin: 4px 6px;
  }

  .hero-legal span {
    display: none; /* removes dots on mobile */
  }
}
.hero-edu-link {
  text-align: center;
  margin: 14px auto 10px;
}

.hero-edu-link a {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: #ffd86b;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.hero-edu-link a span {
  font-weight: 700;
  text-decoration: underline;
}

.hero-edu-link a:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}
.learn-container {
  text-align: center;
  margin: 10px 0;
}

.learn-toggle {
  background: linear-gradient(135deg, #2a2a72, #6a5acd);
  color: #ffd36a;

  /* ⬆️ Bigger & bolder */
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.3px;

  padding: 10px 22px;
  border-radius: 26px;

  border: none;
  cursor: pointer;

  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: all 0.25s ease;
}
.learn-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.35);
}

.learn-links {
  display: none;
  margin-top: 10px;
}

.learn-links a {
  display: inline-block;
  margin: 6px 10px;
  font-size: 13px;
  color: #cbbcff;
  text-decoration: none;
}
.learn-toggle {
  background: linear-gradient(135deg, #2a2a72, #6a5acd);
  color: #ffd36a;

  /* ⬆️ Bigger & stronger */
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.5px;

  padding: 12px 28px;
  border-radius: 30px;

  border: none;
  cursor: pointer;

  box-shadow: 0 8px 22px rgba(0,0,0,0.35);
  transition: all 0.25s ease;
}
.learn-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
  max-width: 100%;
  margin: 14px auto 0;
}

.learn-links a {
  background: rgba(255,255,255,0.08);
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  text-align: center;
  white-space: normal;
}
/* SAME wrapper used by tool strip */
/* Same width as tool strip */
.tool-wrapper {
  max-width: 960px;
  margin: 18px auto 0;
  padding: 0 12px;
}

/* Learn box */
.learn-box {
  background: rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 14px 14px 16px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

/* Title */
.learn-title {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #fff;
  opacity: 0.95;
}

/* Links grid */
.learn-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

/* Individual link pills */
.learn-links a {
  background: rgba(255,255,255,0.10);
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  text-align: center;
  line-height: 1.4;
  white-space: normal;
}

/* Hover */
.learn-links a:hover {
  background: rgba(255,255,255,0.16);
}
/* wrapper same as tool strip */
.tool-wrapper {
  max-width: 960px;
  margin: 18px auto 0;
  padding: 0 12px;
}

/* FORCE learn box */
.learn-box {
  width: 100%;
  background: rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 16px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
}

/* title INSIDE box */
.learn-title {
  display: block;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
  color: #ffffff;
}

/* links grid */
.learn-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

/* pills */
.learn-links a {
  display: block;
  background: rgba(255,255,255,0.12);
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 12.5px;
  text-align: center;
  color: #fff;
  text-decoration: none;
}

.learn-links a:hover {
  background: rgba(255,255,255,0.18);
}
/* SAME WIDTH AS TOOL STRIP */
.tool-wrapper {
  max-width: 960px;
  margin: 20px auto;
  padding: 0 12px;
}

/* MAIN BOX */
.learn-box {
  width: 100%;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.10),
    rgba(255,255,255,0.05)
  );
  border-radius: 18px;
  padding: 18px 16px 20px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.15),
    0 10px 30px rgba(0,0,0,0.25);
}

/* TITLE INSIDE BOX */
.learn-title {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
}

/* GRID – ALL LINKS INSIDE */
.learn-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

/* LINK PILLS */
.learn-links a {
  background: rgba(255,255,255,0.12);
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 13px;
  text-align: center;
  color: #ffffff;
  text-decoration: none;
  line-height: 1.35;
}

/* HOVER */
.learn-links a:hover {
  background: rgba(255,255,255,0.20);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .learn-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .learn-links {
    grid-template-columns: 1fr;
  }
}
/* SAME WIDTH AS TOOL STRIP */
.tool-wrapper {
  max-width: 960px;
  margin: 20px auto;
  padding: 0 12px;
}

/* CLICKABLE BOX */
.learn-box {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.10),
    rgba(255,255,255,0.05)
  );
  border-radius: 18px;
  padding: 18px 16px 20px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.15),
    0 10px 30px rgba(0,0,0,0.25);
}

/* POINTER */
.clickable-box {
  cursor: pointer;
}

/* TITLE */
.learn-title {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
  pointer-events: none; /* title click goes to box */
}

/* GRID */
.learn-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

/* ARTICLE PILLS */
.learn-links a {
  background: rgba(255,255,255,0.14);
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 13px;
  text-align: center;
  color: #ffffff;
  text-decoration: none;
  line-height: 1.35;
  position: relative;
  z-index: 2; /* ensures pill click beats box click */
}

/* HOVER */
.learn-links a:hover {
  background: rgba(255,255,255,0.22);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .learn-links {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .learn-links {
    grid-template-columns: 1fr;
  }
}
.learn-age-wrap {
  margin: 30px auto;
  max-width: 1100px;
}

.learn-age-link {
  display: block;
  background: linear-gradient(145deg, #1c1f3a, #11142a);
  border-radius: 16px;
  padding: 26px 22px;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.learn-age-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.6);
}

.learn-age-link h2 {
  text-align: center;
  color: #9aa4ff;
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: 700;
}

.learn-age-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.learn-age-item {
  background: rgba(255,255,255,0.06);
  padding: 14px 12px;
  border-radius: 10px;
  text-align: center;
  color: #e6e8ff;
  font-size: 14px;
  font-weight: 500;
}
.learn-age-box {
  max-width: 1100px;
  margin: 36px auto;
  padding: 26px;
  background: linear-gradient(145deg, #141633, #0e1026);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.55);
}

.learn-age-box h2 {
  color: #9aa4ff;
  font-size: 20px;
  margin-bottom: 18px;
  font-weight: 700;
}

.learn-age-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.learn-age-item {
  display: block;
  padding: 14px 16px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  color: #e6e8ff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s ease;
}

.learn-age-item:hover {
  background: rgba(154,164,255,0.18);
  transform: translateY(-2px);
}
/* Container same as your tool strip */
.tool-wrapper {
  max-width: 960px;
  margin: 20px auto;
  padding: 0 12px;
}

/* The Main Box */
.learn-box {
  background: rgba(17, 24, 39, 0.85);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Header/Toggle Bar */
.learn-header {
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.learn-header:hover {
  background: rgba(255, 255, 255, 0.05);
}

.learn-title {
  font-size: 18px;
  font-weight: 700;
  color: #a78bfa; /* Light purple to match your theme */
}

#toggle-icon {
  color: #fff;
  font-size: 14px;
  transition: transform 0.3s ease;
}

/* Dropdown Content */
.learn-links-dropdown {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  padding: 0 20px; /* Hidden initially via JS */
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

/* When Open */
.learn-links-dropdown.open {
  max-height: 1000px;
  padding: 10px 20px 24px;
}

/* The 6 Article Boxes */
.learn-links-dropdown a {
  background: rgba(255, 255, 255, 0.06);
  padding: 20px 15px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  min-height: 70px;
  border: 1px solid rgba(255,255,255,0.05);
}

.learn-links-dropdown a:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-3px);
  border-color: #818cf8;
}

/* Responsive */
@media (max-width: 600px) {
  .learn-links-dropdown {
    grid-template-columns: 1fr;
  }
}
.result-animate{
  animation: fadeUp 0.5s ease forwards;
}

@keyframes fadeUp{
  from{
    opacity:0;
    transform: translateY(8px);
  }
  to{
    opacity:1;
    transform: translateY(0);
  }
}

/* Mobile Optimization */
@media (max-width: 650px) {
  .tool-hub {
    /* Stack buttons vertically so they are easy to tap with a thumb */
    grid-template-columns: 1fr; 
    padding: 10px;
    gap: 10px;
  }

  .tool-btn {
    padding: 20px; /* Larger tap target for fingers */
    font-size: 1.1em;
  }

  .hero-crop {
    /* Ensures your header image doesn't get cut off awkwardly */
    background-size: contain;
    height: auto;
    aspect-ratio: 16 / 9; 
  }
}
/* Legal Page Footer Styling */
.legal-footer {
  text-align: center;
  padding: 40px 0;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
  margin-bottom: 15px;
  font-size: 0.95em;
}

.footer-links a {
  color: #60a5fa; /* Light cosmic blue */
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #a78bfa; /* Purple hover state */
}

.footer-divider {
  color: #475569;
}

.hero-copyright {
  color: #94a3b8;
  font-size: 0.85em;
}

/* =====================================================
   🚀 NEW CHANGES: TIMER STABILITY & WIDTH SCALE FIX 
   (Appended to preserve all original code)
   ===================================================== */

/* Forces numbers to take equal horizontal space to prevent shaking */
.hero-counter-bar div {
  display: flex !important;
  align-items: baseline !important;
  gap: 8px !important;
  font-variant-numeric: tabular-nums !important; 
  -moz-font-feature-settings: "tnum" !important;
  -webkit-font-feature-settings: "tnum" !important;
  font-feature-settings: "tnum" !important;
}

/* --- LIVE CALENDAR TEXT STYLE --- */
.hero-counter-bar {
    position: absolute !important;
    top: 38.7% !important;
    left: 57% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    justify-content: center !important;
    gap: 25px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* White Bold Numbers */
.hero-counter-bar span:first-child {
    color: #FFFFFF !important;
    font-size: clamp(1.5rem, 5vw, 2.5rem) !important;
    font-weight: 900 !important;
    font-family: sans-serif !important;
}

/* Purple/Lavender Labels */
.hero-counter-bar span:last-child {
    color: #9aa4ff !important;
    font-size: clamp(0.7rem, 1.5vw, 1rem) !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
}
/* Gold Seconds Fix */
#live-sec {
    color: #fbbf24 !important;
}

/* Ensures the seconds digit box has a fixed minimum width */
#live-seconds-display {
  min-width: 2ch !important; 
  display: inline-block !important;
  text-align: center !important;
}

/* Container for Title, Badge, and Tagline */
.hero-title-stack {
  position: absolute !important;
  top: 7% !important; 
  left: 8% !important;
  display: flex !important;
  flex-wrap: wrap !important; /* Allows tagline to move to a new line */
  align-items: center !important; /* Centers PLUS badge with the title text */
  gap: 15px !important; /* Horizontal space between Title and PLUS */
  max-width: 80% !important;
}

/* Side-by-side PLUS Badge */
.hero-plus-badge {
  top: 7% !important; 
  right: -125px !important;
  position: absolute !important;
  font-size: 1.5rem !important; 
  padding: 6px 20px !important;
  border-radius: 10px !important;
}

/* Tagline forced to its own line and left-aligned */
.hero-tagline {
   position: absolute !important;
  top: 180% !important; 
  left: 0% !important;
  display: flex !important;
  flex-wrap: wrap !important; /* Allows tagline to move to a new line */
  align-items: center !important; /* Centers PLUS badge with the title text */
  gap: 15px !important; /* Horizontal space between Title and PLUS */
  max-width: 80% !important;
  font-size: clamp(1.rem, 3vw, 2.2rem) !important;
}

/* --- RUNNING NEON BORDER ANIMATION --- */
.nav-btn {
    position: relative !important;
    overflow: hidden !important; /* Clips the animated border to the button shape */
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important; /* Base static border */
    z-index: 1;
}

/* The Animated Neon Line */
.nav-btn::before {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    left: -50% !important;
    width: 200% !important;
    height: 200% !important;
    background: conic-gradient(
        transparent, 
        rgba(167, 139, 250, 0.8), /* Cosmic Purple */
        rgba(251, 191, 36, 0.8),  /* Gold */
        transparent 30%
    ) !important;
    animation: rotateNeon 4s linear infinite !important;
    z-index: -2 !important;
}

/* Overlay to keep the button background dark and readable */
.nav-btn::after {
    content: '' !important;
    position: absolute !important;
    inset: 2px !important; /* Adjust this (1px or 2px) to change border thickness */
    background: rgba(15, 12, 41, 0.9) !important;
    border-radius: 12px !important; /* Must be slightly smaller than button radius */
    z-index: -1 !important;
}

@keyframes rotateNeon {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Enhanced Hover for Neon Buttons */
.nav-btn:hover::before {
    animation-duration: 2s !important; /* Speeds up neon on hover */
    background: conic-gradient(
        transparent, 
        #fbbf24, 
        #ffd86b, 
        transparent 40%
    ) !important;
}

/* =====================================================
   🔥 YOU VS FRIEND: NEON INTERACTIVE SECTION
   ===================================================== */

.vs-interactive-container {
  position: absolute !important;
  bottom: 18% !important;
  right: 11% !important;
  width: 320px !important;
  height: 180px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 50 !important;
}

/* Floating VS Text Animation */
.vs-circle {
  width: 40px;
  height: 40px;
  background: radial-gradient(circle, #ff0080, #7928ca);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 1.2rem;
  box-shadow: 0 0 20px rgba(255, 0, 128, 0.8), 0 0 40px rgba(121, 40, 202, 0.4);
  animation: vsPulse 2s infinite ease-in-out;
  z-index: 5;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

@keyframes vsPulse {
  0%, 100% { transform: scale(1); filter: brightness(1); }
  50% { transform: scale(1.15); filter: brightness(1.3); box-shadow: 0 0 30px #ff0080; }
}

/* Silhouette Glow Areas */
.vs-side {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  cursor: pointer;
  transition: all 0.4s ease;
  padding-bottom: 25px;
  border-radius: 50%;
}

/* Neon Glow on Hover */
.vs-side:hover {
  background: radial-gradient(circle, rgba(167, 139, 250, 0.2) 0%, transparent 70%);
  transform: translateY(-5px);
}

.vs-side:hover .vs-label {
  color: #fbbf24;
  text-shadow: 0 0 10px #fbbf24;
  text-decoration: none !important;
}

.vs-label {
  font-weight: 800;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.8rem;
  transition: color 0.3s;
}


.hero-astronaut {
  position: absolute;
  /* Adjust based on your image position */
  top: 40%;
  left: 10%;
  width: 150px; 
  z-index: 5;
  /* Floating animation */
  animation: floatSpaceman 6s ease-in-out infinite;
}

@keyframes floatSpaceman {
  0%   { transform: translate(0, 0) rotate(0deg); }
  33%  { transform: translate(15px, -20px) rotate(5deg); }
  66%  { transform: translate(-10px, 10px) rotate(-5deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}


@keyframes rotateWorld {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes earthGlow {
  from { filter: drop-shadow(0 0 5px rgba(0, 150, 255, 0.4)); }
  to   { filter: drop-shadow(0 0 20px rgba(0, 150, 255, 0.8)); }
}
/* --- COUNTER BAR PLACEMENT --- */
