/* ===========================================
   Global Styles & Resets
=========================================== */

/* * {
  border: 1px solid red !important;
} */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
  background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
  color: white;
}

h1 {
  font-size: 3em;
  margin-bottom: 0.2em;
  text-shadow: 2px 3px 10px #fff9;
}

p {
  font-size: 0.7em;
  margin-top: 0;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-shadow: 2px 2px 10px #fff8;
}

nav {
  position: fixed;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  height: 100px;
  height: auto;            /* let content define height if stacked */
  display: flex;
  justify-content: space-between;
  align-items: top;
  padding: 1rem;
  z-index: 2;
  pointer-events: auto;
  box-sizing: border-box;
  flex-wrap: nowrap;
}
.logo img {
  height: 150px;
  width: auto;
  max-width: 100%;
  display: block;
}
.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  color: #21365e;
  font-size: 2rem;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #4fc3ff;
}

.hero {
  position: fixed;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

.hero video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 1;
}

.prereg-open-banner {
  position: fixed;
  top: 15%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #21365e;
  font-weight: bold;
  font-size: 2.6rem;
  text-align: center;
  letter-spacing: 0.09em;
  z-index: 2;
  width: 90%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.prereg-open-banner i {
  text-shadow: 0 1px 4px rgba(255, 230, 100, 0.5);
  font-size: 1.8rem; /* optional: adjust size */
  margin: 0 8px;
}

.prereg-open-banner span {
  font-size: 2.4rem;
  text-shadow: 
    0 0 6px rgba(255, 255, 255, 0.4), 
    0 0 12px rgba(174, 228, 255, 0.5);
}

.buttons-container {
  position: fixed;        /* overlays hero section */
  top: 28vw;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 3;               /* above video, below nav if needed */
  pointer-events: auto;      /* ✅ make content inside clickable */
  display: flex;
  flex-direction: column;
  align-items: center;       /* horizontal center */
  overflow: hidden;
  box-sizing: border-box;
}

.register-area {
  z-index: 4;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: auto;
  max-width: 96vw;
  width: 100%;
  box-sizing: border-box;
  padding: 0;
}
.register-btn {
  position: Fix;
  padding: 16px 60px;
  font-size: 2rem;
  font-family: 'Georgia', 'Times New Roman', serif;
  color: #fff;
  background: linear-gradient(90deg, #2175f3 0%, #43e0ff 100%);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-shadow: 0 2px 4px rgba(0,0,0,0.25);
  box-shadow: 0 2px 16px 0 rgba(67,224,255,0.15);
  transition:
    transform 0.13s cubic-bezier(.45,1.25,.53,1.07),
    box-shadow 0.18s,
    background 0.16s;
  overflow: hidden;
  font-weight: 700;
  letter-spacing: 0.01em;
  isolation: isolate;
}
.register-btn::before {
  content: '';
  position: relative;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 60% 20%, rgba(255,255,255,0.08) 18px, transparent 40px);
  z-index: 5;
  pointer-events: none;
}
.register-btn:hover,
.register-btn:focus {
  background: linear-gradient(90deg, #43e0ff 0%, #2175f3 100%);
  transform: scale(1.03);
  box-shadow: 0 4px 28px 0 rgba(67,224,255,0.23);
  outline: none;
}
.register-btn span {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.container {
  position: fixed; /* or absolute, if within a positioned parent */
  bottom: 0;
  left: 50%;
  transform: translateX(-50%); /* center horizontally */

  width: 820px;
  max-width: 96vw;
  padding: 15px;
  margin: 0; /* remove top margin */
  border-radius: 22px 22px 0 0; /* rounded top only for a "dock" look */
  z-index: 7;

  background: linear-gradient(120deg, rgb(0 22 207 / 53%) 70%, rgb(15 121 171 / 46%) 100%), rgb(0 133 255 / 0%);
  backdrop-filter: blur(14px) brightness(1.12) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) brightness(1.12) saturate(1.3);
  border: 1.5px solid rgba(120, 220, 255, 0.42);
  box-shadow: 0 -2px 28px rgba(0, 40, 255, 0.24), 0 -1px 6px rgba(0, 255, 255, 0.09);
  animation: pulseGlow 4s ease-in-out infinite;
  overflow: visible;
}
.container h1 {
  text-align: center;
  font-size: 2.4rem;
  letter-spacing: 0.05em;
  color: #ffe166;
  margin-bottom: 8px;
  font-family: 'Cinzel', serif;
  text-shadow: 0 2px 12px #052a60, 0 1px 2px #fff8;
  font-weight: bold;
}

.container .subtitle {
  text-align: center;
  margin-bottom: 10px;
  font-size: 1.25rem;
  color: #b0e2ff;
  font-family: 'Inter', Arial, sans-serif;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px #003b76b0;
}

.registered-count {
  text-align: center;
  font-size: 2.0rem;
  color: #f8faff;
  background: linear-gradient(90deg, #4fc3ff33, #32ff7e11);
  border-radius: 10px;
  box-shadow: 0 1px 6px #00d2ff22;
  padding: 1rem 1.5rem;
  margin: 0 auto 2.5rem auto; /* ✅ center horizontally + bottom space */
  max-width: 90%;
  width: fit-content;         /* optional: shrink to content size */
}

.progress-container {
  position: relative;
  height: 8px;
  background: rgba(172,220,255,0.17);
  border-radius: 10px;
  box-shadow: 0 1px 9px #3af7ff22;
  border: 1px solid #37e5ff42;

}

.progress-bar {
  height: 100%;
  width: 0%;
  border-radius: 10px;
  background:
    linear-gradient(120deg, #fffbe1 5%, #00fff7 25%, #32ff7e 38%, #00d2ff 55%, #c26bff 72%, #ffbe32 90%, #fffbe1 100%),
    linear-gradient(110deg, rgba(255,255,255,0.15) 40%, rgba(255,255,255,0.5) 60%, rgba(255,255,255,0.1) 100%);
  background-size: 300% 100%, 300% 100%;
  background-blend-mode: screen, lighten;
  box-shadow:
    0 0 18px 5px #00fff9aa,
    0 0 22px 8px #ffe16644,
    0 2px 6px #32ff7e33;
  animation:
    prismMove 2.6s linear infinite,
    sparkPulse 0.4s infinite alternate;
  transition: width 0.5s cubic-bezier(.4,2,.6,1);
  position: relative;
  overflow: visible;
}
@keyframes prismMove {
  0% {
    background-position: 0% 50%, 30% 40%;
    box-shadow: 0 0 14px 4px #32ff7e55, 0 2px 6px #00d2ff33;
  }
  50% {
    background-position: 100% 50%, 70% 70%;
    box-shadow: 0 0 28px 8px #00fff988, 0 2px 12px #c26bff33;
  }
  100% {
    background-position: 0% 50%, 30% 40%;
    box-shadow: 0 0 14px 4px #ffe16677, 0 2px 6px #ffbe32aa;
  }
}
@keyframes sparkPulse {
  from { filter: brightness(1.04) saturate(1.24); }
  to { filter: brightness(1.18) saturate(1.42) drop-shadow(0 0 18px #fffbe199); }
}

.goals-on-bar {
  position: absolute;
  top: 100%;                         /* center vertically */
  left: 50%;                        /* center horizontally */
  transform: translate(-50%, -50%); /* perfectly center it */
  width: 100%;
  height: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  margin-top: 1%;;       /* moves it vertically if needed */
  padding:3%;      /* adds space inside left/right edges */
  box-sizing: border-box;
  
}
.goal {
  position: relative;
  pointer-events: auto;
  text-align: center;
  width: 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.goal-circle {
  display: relative;
  top: 50%;                         /* center vertically */
  left: 50%;                        /* center horizontally */
  justify-content: center;
  align-items: center;
  position: relative;
  border-radius: 50%;
  background: linear-gradient(120deg, #c5f4ff33 25%, #003d77cc 75%);
  box-shadow: 0 0 0 4px #38e4ff40, 0 2px 10px 0 #00b6e222;
  border: 2.5px solid #48e7ff;
  transition: box-shadow 0.25s cubic-bezier(.22,1.01,.36,1), border 0.18s;
  overflow: visible;
}

.goal.glow .goal-circle,
.goal-circle.glow {
  animation: glowPulse 1.4s infinite alternate;
  box-shadow: 0 0 24px 8px #00fff199, 0 0 7px 3px #fffbe188;
  border-color: #fffbe1;
  z-index: 8;
}

.goal img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  transition: transform 0.2s;
  vertical-align: middle;
}
.goal-label {
  font-size: 15px;
  color: #eaffff;
  font-weight: 800;
  margin-top: 2px;
  text-shadow: 0 1.5px 6px #1b3a99a8;
  letter-spacing: 0.04em;
}
.tooltip {
  visibility: hidden;
  min-width: 400px;
  background: linear-gradient(120deg, #2f82e7, #61fcff);
  color: #fff;
  text-align: center;
  border-radius: 12px;
  padding: 15px 14px;
  position: absolute;
  bottom: 66px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s, visibility 0s linear 0.3s;
  pointer-events: none;
  border: 2px solid #1ce0e9cc;
  box-shadow: 0 4px 16px #1931b360;
}

.tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 8px;
  border-style: solid;
  border-color: #2f82e7cc transparent transparent transparent;
}
.goal-circle:hover .tooltip {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}
.reward-announcement {
  text-align: center;
  margin-top: 60px;
}

.reward-announcement span {
  font-size: 1.11rem;
  color: #fffbe3;
}

.gold-icon {
  color: #ffe166;
}

.invite-message {
  text-align: center;
  margin-top: 15px;
}

.invite-message span {
  font-size: 0.96rem;
  color: #ffe166;
}
#celebration-particles {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9;
  display: block;
}
.modal-overlay {
  display: none;
  position: fixed;
  z-index: 10;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(38, 42, 60, 0.48);
  justify-content: center;
  align-items: center;
  transition: background 0.23s;
  z-index: 999;
}
.modal-overlay.active { display: flex; }
.modal-content {
  position: absolute;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 7px 40px rgba(50, 60, 110, 0.17);
  padding: 0;
  width: 98vw;
  max-width: 440px;
  animation: modalfadein .21s;
  min-height: 80px;
  z-index: 9999;
}
@keyframes modalfadein {
  from { transform: translateY(30px) scale(0.98); opacity:0; }
  to   { transform: none; opacity:1; }
}
.modal-close {
  position: absolute;
  right: 15px;
  top: 12px;
  background: transparent;
  border: none;
  font-size: 2.1rem;
  color: #5865b1;
  font-weight: bold;
  cursor: pointer;
  z-index: 999;
  line-height: 1;
  transition: color .17s;
}
.modal-close:hover {
  color: #ff5266;
  background: #f7f7fa;
  border-radius: 50%;
}
.modal-loading {
  padding: 60px 0 60px 0;
  text-align: center;
  color: #6681ad;
  font-size: 1.25rem;
  min-height: 180px;
}

/* --- News Section Styling (Separate) --- */

.section-news {
  position: relative;
  width: 100%;
  padding-top: 5vh;
  margin-top: 0;
  background-color: #ededed;
  color: white;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
background-color: rgba(237, 237, 237, 0.9); /* 0.8 = 80% opacity */
  z-index: 100;
}
.content-wrapper {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px; /* horizontal padding for breathing room */
  color: #000000; /* dark text for contrast */
}

.section-news h2 {
  font-size: 2.5em;
  margin-bottom: 0.5em;
  color: #21365e;
  text-shadow: 2px 2px 8px rgba(163, 102, 255, 0.4);
}

.section-news p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #21365e;
  max-width: 700px;
  margin: 0 auto 10px auto;
}

.news-grid {
  display: flex;
  max-width: 1080px; /* 3 cards × 280px + gaps */
  margin: 0 auto;
  justify-content: center;
  flex-wrap: nowrap;
}

/* --- Reusable Card Styling --- */
.card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.image-container {
  width: 100%;
  padding-bottom: 177.78%; /* 2:3 aspect ratio */
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Download Section Styling (Separate) --- */
.section-download {
  position: fixed; /* Makes the section stick to the bottom */
  bottom: 0; /* Positions it at the bottom */
  left: 0; /* Aligns it to the left edge of the screen */
  width: 100%; /* Ensures it spans the full width of the screen */
  margin: 0;
  padding: 40px 0; /* Vertical padding only */
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 1; /* Ensures it stays on top of other content */
}
.download-wrapper {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px; /* horizontal padding for breathing room */
  color: #000000; /* dark text for contrast */
}

.section-download h2 {
  font-size: 2.5em;
  margin-bottom: 0.5em;
  color: #ffffff;
  text-shadow: 2px 2px 8px rgb(102 238 255 / 40%);
}

.section-download p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #c4defc;
  max-width: 700px;
  margin: 0 auto 30px auto;
}

.platforms {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
}

.platform-card {
  width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.platform-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.platform-card img {
  height: 60px;
  width: auto;
}

.note {
  margin-top: 40px;
  font-size: 0.9em;
  color: #ffbe32;
  font-style: italic;
  text-shadow: none;
}
.spacer-after-hero {
  height: 100vh;
}
.scroll-down-indicator {
  position: absolute;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.scroll-down-indicator:hover {
  transform: scale(1.1);
}

.double-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  animation: bounceDown 1.8s infinite;
}

.chevron {
  display: block;
  width: 20px;
  height: 20px;
  border-bottom: 5px solid transparent;
  border-right: 5px solid transparent;
  transform: rotate(45deg);
  border-color: #ff0000;
  filter: drop-shadow(0 0 4px #4fc3ff88);
}

.chevron + .chevron {
  margin-top: -6px; /* overlap a bit */
}

@keyframes bounceDown {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(6px);
  }
}
/* Extra Small Devices - Portrait Phones */
@media (max-width: 480px) {
  /* Styles for phones like iPhone SE, Galaxy A01 */
  nav {
  position: fixed;
  display: flex;
  flex-direction: column-reverse;         /* Stack vertically */
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  height: auto;
  }
  .logo img {
  height: 100px;
  width: auto;
  max-width: 100%;
  display: block;
  }
.social-icons{
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  font-size: 0.5rem;
  }
.social-icons a {
  font-size: 2rem;
  }
.social-icons a:hover {
  color: #4fc3ff;
  }
.hero {
  height: 100vh;
  min-height: auto;
  margin: 0;
  padding: 0;
  overflow: hidden;
  }
.hero video {
  top: 0;
  left: 0;
  width: 100%;
  height: 60vh;
  object-fit: cover;
  object-position: top center;
  z-index: 1;
  }
  .prereg-open-banner {
    top: 25%; /* moves the banner higher on screen */
    transform: translate(-50%, 0); /* center horizontally, no vertical shift */
    line-height: 1.4;
    text-align: center;
    max-width: 100%;
    width: 95%;           /* set wide width */
    max-width: none;      /* remove the previous limit */
    padding: 0 10px;      /* optional: spacing on the sides */
  }
  .prereg-open-banner i {
  font-size: 1rem; /* optional: adjust size */
  margin: 0 1px;
  }
  .prereg-open-banner p {
  font-weight: bold;
  font-size: 2.6rem;
  text-align: center;
  letter-spacing: 0.09em;
  text-shadow: 0 1px 4px rgba(197, 240, 4, 0.5);
  font-size: 0.8rem; /* optional: adjust size */
  margin: 0 8px;
  }
.prereg-open-banner span {
  letter-spacing: 0.09em;
  font-size: 1rem;
  text-shadow: 0 1px 4px rgba(197, 240, 4, 0.5);
  }
.buttons-container {
   top: 18vw;              /* adjust position higher */
   padding: 0.5rem 1rem;   /* reduce padding for small screens */
   gap: 8px;               /* optional: spacing between child elements */
   overflow: visible;      /* in case elements overflow on small screens */
  }

.register-area {
    top: 40%; /* adjust center alignment for mobile */
    max-width: 94vw;
  }

.register-btn {
    padding: 12px 30px;
    font-size: 1.4rem;
    white-space: normal; /* allow multi-line text if needed */
    text-align: center;
  }

.register-btn span {
    gap: 6px;
    flex-wrap: wrap;
}
  .container {
    top: 35%;
    width: 95%;
    max-width: 94vw;            /* tighten the edge padding */
    margin-top: 30%;            /* move it a bit lower */
    padding: 12px;              /* reduce padding on smaller screens */
    border-radius: 16px;        /* softer rounding for compact view */
}
  .container h1 {
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.container .subtitle {
    font-size: 1rem;
    margin-bottom: 8px;
}
    .registered-count {
    font-size: 1.2rem;
    padding: 0.75rem 1rem;
    margin-bottom: 2rem;
    max-width: 95%;
}
.goals-on-bar {
    padding: 5%;            /* increase inner padding slightly */
    margin-top: 2%;         /* more space below the bar */
}

.goal img {
    height: 28px;
    width: 28px;
}

.goal-label {
    font-size: 12px;
    letter-spacing: 0.03em;
    margin-top: 1px;
}

.goal-circle {
    position: relative; /* ensure tooltip is relative to image */
}

.tooltip {
    position: fixed;
    top: -50%;
    left: 50%;
    transform: translate(-50%, -100%);
    bottom: auto;
    z-index: 999;
    min-width: 300px;
    max-width: 90vw;
    width: auto;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 14px;
    background: linear-gradient(120deg, #2f82e7, #61fcff);
    border: 2px solid #1ce0e9cc;
    box-shadow: 0 4px 20px #1931b360;
    white-space: normal;
    word-break: break-word;
    pointer-events: auto;
  }

.tooltip::after {
    display: none; /* Hide the arrow on mobile since it's centered */
}
.reward-announcement {
  text-align: center;
  margin-top: 60px;
}

.reward-announcement span {
  font-size: 0.95rem;
  color: #fffbe3;
}
  .invite-message {
  text-align: center;
  margin-top: 15px;
}

.invite-message span {
  font-size: 0.80rem;
  color: #ffe166;
}
 
  .news-grid {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
    max-width: 350px;
  }

  .platforms {
    flex-direction: column;
    align-items: center;
  }

  .platform-card {
    width: 90%;
    max-width: 300px;
  }
  .spacer-after-hero {
  height: 100vh; /* matches .hero height */
}
.section-download h2 {
  font-size: 1.3em;
}

}

/* Small Devices - Larger Phones */
@media (min-width: 481px) and (max-width: 600px) {
  /* Styles for phones like iPhone 12/13 Mini, Pixel 5 */
  nav {
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .logo,
  .social-icons {
    margin: 0.5rem 0;
  }
  .prereg-open-banner {
    top: 25%;
    font-size: 0.8rem;
  }
  .prereg-open-banner i {
    font-size: 1.2rem;
    margin: 0 6px;
  }

  .prereg-open-banner span {
    font-size: 1.5rem;
  }
  .prereg-open-banner p {
    font-size: 1.0rem;
  }
/*----*/
.buttons-container {
   top: 18vw;              /* adjust position higher */
   padding: 0.5rem 1rem;   /* reduce padding for small screens */
   gap: 8px;               /* optional: spacing between child elements */
   overflow: visible;      /* in case elements overflow on small screens */
  }

.register-area {
    top: 40%; /* adjust center alignment for mobile */
    max-width: 94vw;
  }

.register-btn {
    padding: 12px 30px;
    font-size: 1.4rem;
    white-space: normal; /* allow multi-line text if needed */
    text-align: center;
  }

.register-btn span {
    gap: 6px;
    flex-wrap: wrap;
}
    .container {
    top: 35%;
    width: 95%;
    max-width: 94vw;            /* tighten the edge padding */
    margin-top: 30%;            /* move it a bit lower */
    padding: 12px;              /* reduce padding on smaller screens */
    border-radius: 16px;        /* softer rounding for compact view */
}
    .container h1 {
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.container .subtitle {
    font-size: 1rem;
    margin-bottom: 8px;
}
    .registered-count {
    font-size: 1.2rem;
    padding: 0.75rem 1rem;
    margin-bottom: 2rem;
    max-width: 95%;
}
.goals-on-bar {
    padding: 5%;            /* increase inner padding slightly */
    margin-top: 2%;         /* more space below the bar */
}

.goal img {
    height: 28px;
    width: 28px;
}

.goal-label {
    font-size: 12px;
    letter-spacing: 0.03em;
    margin-top: 1px;
}

.goal-circle {
    position: relative; /* ensure tooltip is relative to image */
}

.tooltip {
    position: fixed;
    top: -50%;
    left: 50%;
    transform: translate(-50%, -100%);
    bottom: auto;
    z-index: 999;
    min-width: 300px;
    max-width: 90vw;
    width: auto;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 14px;
    background: linear-gradient(120deg, #2f82e7, #61fcff);
    border: 2px solid #1ce0e9cc;
    box-shadow: 0 4px 20px #1931b360;
    white-space: normal;
    word-break: break-word;
    pointer-events: auto;
  }

.tooltip::after {
    display: none; /* Hide the arrow on mobile since it's centered */
}
.reward-announcement {
  text-align: center;
  margin-top: 60px;
}

.reward-announcement span {
  font-size: 0.95rem;
  color: #fffbe3;
}
  .invite-message {
  text-align: center;
  margin-top: 15px;
}

.invite-message span {
  font-size: 0.80rem;
  color: #ffe166;
}
.section-download h2 {
  font-size: 0.5em;
}
}


/* Medium Devices - Tablets & Small Tablets */
@media (min-width: 601px) and (max-width: 768px) {
  /* Styles for tablets like iPad Mini, Galaxy Tab A */
	.logo img {
	  height: 150px;
	  width: auto;
	  max-width: 100%;
	  display: block;
	  }
	  
	.social-icons a {
	  font-size: 3rem;
	text-align: center;
	  }
	.social-icons a:hover {
	  color: #4fc3ff;
	  }  
  .prereg-open-banner {
    top: 25%; /* moves the banner higher on screen */
	font-size: 2rem;
  }
  .prereg-open-banner i{
	font-size: 1.5rem;
  }
  .news-grid {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
    max-width: 550px;
  }

  .platforms {
    flex-direction: column;
    align-items: center;
  }

  .platform-card {
    width: 90%;
    max-width: 300px;
  }
}

/* Large Devices - Tablets in Landscape */
@media (min-width: 769px) and (max-width: 1024px) {
  /* Styles for iPads (10.2", Air, etc.) and similar tablets */
  .register-area {
    width: 90vw;
    font-size: 1rem;
    top: 50%; /* move it lower or higher */
  }
  .prereg-open-banner {
  position: fixed;
  top: 27%;
  left: 50%;
}
 
}

/* Extra Large Devices - Desktops & Laptops */
@media (min-width: 1025px) {
  /* Styles for laptops, desktops, ultrawide monitors */
    .prereg-open-banner {
  position: fixed;
  top: 27%;
}
  .register-area {
    width: 90vw;
    font-size: 1rem;
    top: 50%; /* move it lower or higher */
  }
}
