* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --container-width: min(1200px, 92vw);
}
html, body { height: 100%; }
body {
  font-family: Arial, Helvetica, sans-serif;
  background: radial-gradient(circle at top, #05060b);
  color: #fff;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }

/* SCROLL PROGRESS BAR */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #00d4ff, #0077ff, #00d4ff);
  width: 0%;
  z-index: 1001;
  box-shadow: 0 0 12px #00d4ff, 0 0 24px #0077ff;
  transition: width 0.2s ease-out;
}

/* HEADER */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10,12,24,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
nav {
  max-width: 1200px;
  margin: auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 20px;
  cursor: pointer;
  opacity: 0.95;
  transition: 0.25s ease;
}

.logo:hover {
  color: #00d4ff;
  text-shadow: 0 0 10px #00d4ff;
}
.logo-avatar {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(0,212,255,0.6);
  box-shadow: 0 0 10px rgba(0,212,255,0.6);
  transition: 0.25s ease;
}

.logo:hover .logo-avatar {
  transform: scale(1.08);
  box-shadow: 0 0 16px rgba(0,212,255,0.9);
}

.hero {
  width: min(1200px, 92vw);
  margin: 40px auto;
  padding: 24px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 100%;

  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;

  backdrop-filter: blur(10px);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.4);
}

/* content block */
.hero-content {
  flex: 1;
}

/* 🔁 THIS flips layout */
.hero.reverse {
  flex-direction: row-reverse;
}

@media (max-width: 768px) {
  main {
    width: 100%;
    padding: 12px;
  }

  .hero {
    width: 100%;
    margin: 12px 0;
    border-radius: 16px;
    flex-direction: column;
    text-align: center;
  }
  .hero.reverse {
    flex-direction: column;
  }

  .hero-media {
    width: 100%;
    max-width: 360px;
  }
}


/* DESKTOP MENU */
.menu {
  list-style: none;
  display: flex;
  gap: 14px;
  align-items: center;
  margin-left: auto;
  padding: 6px;
  border-radius: 999px;
  background: rgba(0,0,0,0.25);
  box-shadow: 0 0 30px rgba(0,212,255,0.08);
}

.menu > li {
  position: relative;
}

/* Rounded button links */
.menu a {
  font-size: 13px;
  opacity: 0.9;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  transition: all 0.25s ease;
  cursor: pointer;
  display: inline-block;
}

/* Hover */
.menu a:hover {
  opacity: 1;
  color: #00d4ff;
  border-color: rgba(0,212,255,0.5);
  box-shadow:
    0 0 8px rgba(0,212,255,0.6),
    inset 0 0 8px rgba(0,212,255,0.2);
  transform: translateY(-2px);
}

/* Current page */
.menu a.current {
  color: #00d4ff;
  border-color: #00d4ff;
  box-shadow:
    0 0 10px #00d4ff,
    inset 0 0 10px rgba(0,212,255,0.3);
}

/* Remove underline animation from old style */
.menu a::after,
.menu a:hover::after,
.menu a.current::after {
  display: none;
}

/* SUBMENU */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background: linear-gradient(180deg, #171a32, #0d0f1f);
  border: 1px solid rgba(255,255,255,0.08);
  list-style: none;
  min-width: 200px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
  pointer-events: none;
}
.submenu li a { display: block; padding: 10px 18px; font-size: 12px; opacity: 0.85; }
.submenu li a:hover, .submenu li a.current { background: rgba(0,212,255,0.15); color: #00d4ff; text-shadow: 0 0 8px #00d4ff; }
.menu li:hover > .submenu, .menu li:focus-within > .submenu { opacity: 1; visibility: visible; pointer-events: auto; }

/* HAMBURGER */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; transition: all 0.3s; }
.hamburger span { width: 22px; height: 2px; background: #fff; transition: all 0.3s; }
.hamburger:hover span { background: #00d4ff; }

/* MOBILE MENU */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
  z-index: 998;
}
.mobile-menu-overlay.active { opacity: 1; visibility: visible; }

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 60%;
  max-width: 320px;
  height: 100%;
  background: #060714;
  transform: translateX(100%);
  transition: transform 0.4s ease;
  padding: 60px 24px 24px 24px;
  z-index: 999;
  box-shadow: -4px 0 20px rgba(0,0,0,0.6);
  overflow-y: auto;
}
.mobile-menu.active { transform: translateX(0); }

.mobile-close { position: absolute; top: 16px; right: 16px; font-size: 28px; cursor: pointer; opacity: 0.8; transition: opacity 0.2s; }
.mobile-close:hover { opacity: 1; }

.mobile-menu ul { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-top: 24px; }
.mobile-menu a { font-size: 18px; opacity: 0.85; display: flex; justify-content: space-between; align-items: center; padding: 12px 0; transition: all 0.3s ease; }
.mobile-menu li { cursor: pointer; position: relative; }

/* Neon divider */
.mobile-menu ul li::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #00d4ff, #0077ff);
  transition: width 0.6s ease;
  opacity: 0.6;
}
.mobile-menu.active ul li::after { width: 100%; }

/* Mobile submenu */
.mobile-submenu {
  list-style: none;
  padding-left: 16px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, opacity 0.5s ease;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
}
.mobile-submenu.active { max-height: 500px; opacity: 1; }
.mobile-submenu li a:hover, .mobile-submenu li a.current { color: #00d4ff; text-shadow: 0 0 8px #00d4ff; }

/* Mobile current page glow */
.mobile-menu a.current, .mobile-submenu li a.current { color: #00d4ff; text-shadow: 0 0 8px #00d4ff, 0 0 12px #00d4ff; }

.arrow { display: inline-block; transition: transform 0.3s ease; }
.arrow.open { transform: rotate(90deg); }

/* MAIN CONTENT */
main { width: min(1200px, 92vw); margin: auto; padding: clamp(12px, 3vw, 20px); flex: 1; text-align: center; display: flex; flex-direction: column; justify-content: center; opacity: 0; transform: translateY(20px); animation: heroFadeIn 1s forwards 0.3s; }
h1 { font-size: clamp(36px, 6vw, 64px); margin-bottom: 8px; }
h1, h2, .section-title {
  text-align: center;
}
p { max-width: 680px; margin: auto; opacity: 0.8; line-height: 1.7; margin-bottom: 40px; text-align: justify; }
@keyframes heroFadeIn { to { opacity: 1; transform: translateY(0); } }

.cta { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.btn { padding: 14px 26px; font-size: 13px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.05); backdrop-filter: blur(6px); transition: all 0.3s ease; cursor: pointer; }
.btn:hover { background: #fff; color: #000; }

/* FOOTER */
footer { border-top: 1px solid rgba(255,255,255,0.08); padding: 28px 20px; background: #080a18; margin-top: auto;}
.footer-inner { max-width: 1200px; margin: auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.socials a { font-size: 12px; opacity: 0.7; margin-right: 14px; }
.socials a:hover { opacity: 1; }
.copyright { font-size: 12px; opacity: 0.6; }

@media (max-width: 900px) { 
  .menu { display: none; } 
  .hamburger { display: flex; } 
  main {
    width: 92vw;
    padding: 16px;
  }
}
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    padding: 40px 20px;
    gap: 24px;
  }

  .hero-left-image {
    width: 100%;
    min-height: 260px;
  }
}
.top-ad {
  position: sticky;
  top: 60px; /* adjust depending on your topbar height */

  width: 100%;
  z-index: 999;

  padding: 8px 12px;
  text-align: center;

  font-size: 12px;
  font-weight: 700;

  background: linear-gradient(90deg, #062a1f, #0b4a35, #062a1f);
  border-bottom: 1px solid rgba(25,245,163,0.25);

  color: #19f5a3;

  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.top-ad {
  animation: adGlow 3s ease-in-out infinite alternate;
}

@keyframes adGlow {
  from { box-shadow: 0 0 8px rgba(25,245,163,0.1); }
  to { box-shadow: 0 0 18px rgba(25,245,163,0.3); }
}
/* HERO TYPOGRAPHY SYSTEM */
.hero-content h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.2;

  color: #ffffff;

  /* subtle glow for identity */
  text-shadow: 0 0 12px rgba(0, 212, 255, 0.15);

  margin-bottom: 12px;
}
h2 {
  position: relative;
  text-align: center;
  margin: 32px auto;
  padding: 10px 18px;

  font-size: 22px;
  color: rgba(255, 255, 255, 0.9);

  z-index: 1;
}

/* clean strip background */
h2::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;

  width: 100%;
  height: 1px;

  background: rgba(255, 255, 255, 0.08);

  z-index: -1;
}

.hero-content p {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.78);

  margin-bottom: 14px;

  /* improves readability on dark backgrounds */
  max-width: 65ch;
}

/* optional emphasis styling inside paragraphs */
.hero-content p strong {
  color: #00d4ff;
  font-weight: 600;
}

/* optional subtle “intro feel” spacing */
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-content h2::after {
  content: "";
  display: block;

  width: 60px;
  height: 3px;

  margin: 10px 0 0;   /* reset first */
  margin-left: auto;
  margin-right: auto;

  background: linear-gradient(90deg, #00d4ff, transparent);
  border-radius: 999px;

  opacity: 0.85;
}
.section-block {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  width: min(1200px, 92vw);
  margin: 22px auto 16px auto;

  text-align: center;

  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: 0.4px;

  color: #00d4ff;
  text-shadow: 0 0 12px rgba(0,212,255,0.25);
}

.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);

  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  visibility: hidden;
  transition: 0.25s ease;

  z-index: 2000;
}

.image-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.image-lightbox img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(0,0,0,0.8);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;

  font-size: 28px;
  cursor: pointer;

  color: white;
  opacity: 0.8;
  transition: 0.2s ease;
}

.lightbox-close:hover {
  opacity: 1;
  color: #00d4ff;
}

.clickable-image {
  cursor: zoom-in;
  transition: 0.2s ease;
}

.clickable-image:hover {
  transform: scale(1.02);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 10px 0 40px;
  align-items: stretch;

  grid-auto-rows: 1fr;
}

/* laptop */
@media (max-width: 1200px) {
  .grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* tablet */
@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* mobile */
@media (max-width: 600px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* small mobile */
@media (max-width: 400px) {
  .grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

.card {
  height: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 12px;
  cursor: pointer;
  transition: 0.25s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
  position: relative;
  transform: translateY(0);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,212,255,0.5);
  box-shadow: 0 0 20px rgba(0,212,255,0.15);
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: 14px;
  background: var(--grad, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.9;
  background-size: 300% 300%;
  animation: borderFlow 4s linear infinite;
  will-change: background-position;
}
@keyframes borderFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.card img { width: 100%; border-radius: 10px; margin-bottom: 10px; }

.card-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2px;
  color: #00d4ff;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.25);
  box-shadow: 0 4px 10px rgba(0,0,0,0.25), inset 0 0 8px rgba(0, 212, 255, 0.06);
  width: 100%;
  line-height: 1.3;
  text-align: center;
  min-height: 54px;
}

#popupOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
#popupCard {
  width: min(420px, 90vw);
  background: #0b0d1a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 14px;
  position: relative;
}
#popupClose {
  position: absolute;
  top: 10px;
  right: 12px;

  font-size: 22px;
  cursor: pointer;

  z-index: 9999;

  color: #fff;
  background: rgba(0,0,0,0.4);
  border-radius: 6px;
  padding: 2px 6px;

  backdrop-filter: blur(6px);
}
#popupClose:hover {
  transform: scale(1.1);
  background: rgba(0,0,0,0.6);
}
.popup-media-frame { width: 100%; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 0 20px rgba(0, 212, 255, 0.15), 0 20px 60px rgba(0, 0, 0, 0.5); }
.popup-media-frame img { width: 100%; display: block; transform: scale(1.01); }
#popupCardName { margin-top: 10px; font-weight: 800; font-size: 16px; color: rgba(255,255,255,0.9); text-align: center; letter-spacing: 0.3px; }

.card-image-wrap {
  position: relative;
  width: 100%;
}

.card-image-wrap img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
  display: block;
}

.card-price-overlay {
  position: absolute;
  bottom: 10px;
  left: 10px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  padding: 6px 10px;
  border-radius: 10px 12px 12px 10px;

  background: linear-gradient(135deg, #0f3d2e, #145c3a, #0b2a20);
  border: 1px solid rgba(25, 245, 163, 0.35);

  color: #19f5a3;
  font-size: 11px;
  font-weight: 800;

  backdrop-filter: blur(6px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.45);
  z-index: 3;
}

.card:hover .card-price-overlay {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 10px 22px rgba(25,245,163,0.18);
  filter: brightness(1.1);
}

.card-price-overlay span {
  display: flex;
  align-items: center;
  line-height: 1;
  transform: translateY(0.2px);
}

.card-price-overlay img {
  width: 14px;
  height: 14px;
  object-fit: contain;

  display: block;
  align-self: center;

  transform: none;
  margin: 0;
}
.card-price-overlay {
  transition: all 0.2s ease;
}

.card:hover .card-price-overlay {
  transform: translate(-50%, -50%) scale(1.05);
  opacity: 1;
}
section h2 {
  margin-top: 22px;
  margin-bottom: 16px;

  font-size: clamp(22px, 3vw, 32px);
  letter-spacing: 0.4px;

  color: #00d4ff;
  text-shadow: 0 0 12px rgba(0,212,255,0.25);
}
.buy-btn {
  margin-top: 10px;
  width: 100%;
  padding: 10px 12px;

  border-radius: 10px;
  border: 1px solid rgba(0,212,255,0.35);

  background: rgba(0,212,255,0.08);
  color: #00d4ff;

  font-weight: 700;
  font-size: 12px;

  cursor: pointer;

  transition: 0.2s ease;
}

.buy-btn:hover {
  background: rgba(0,212,255,0.18);
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(0,212,255,0.25);
}
#popupBuyBtn {
  display: inline-flex;
  margin-top: 12px;
  padding: 10px 14px;

  justify-content: center;
  align-items: center;

  width: 100%;
  border-radius: 10px;

  background: linear-gradient(135deg, #0f3d2e, #145c3a, #0b2a20);
  border: 1px solid rgba(25, 245, 163, 0.35);

  color: #19f5a3;
  font-weight: 800;
  font-size: 12px;
  text-decoration: none;

  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
  transition: 0.2s ease;
}

#popupBuyBtn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(25, 245, 163, 0.15);
}

.wallet-box {
  max-width: 900px;
  width: 100%;
  margin: 0 auto 18px auto;
  padding: 18px 20px;
  

  position: relative;
  overflow: hidden;

  background: linear-gradient(
    135deg,
    rgba(0, 212, 255, 0.08),
    rgba(0, 0, 0, 0.35)
  );

  border: 1px solid rgba(0, 212, 255, 0.25);
  border-radius: 16px;

  box-shadow:
    0 0 25px rgba(0, 212, 255, 0.15),
    inset 0 0 18px rgba(0, 212, 255, 0.05);

  backdrop-filter: blur(14px);

  text-align: center;
}

/* animated subtle glow sweep */
.wallet-box::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(
    120deg,
    transparent 40%,
    rgba(0, 212, 255, 0.15),
    transparent 60%
  );

  transform: rotate(25deg);
  animation: scanMove 6s linear infinite;
}

@keyframes scanMove {
  0% { transform: translateX(-40%) rotate(25deg); }
  100% { transform: translateX(40%) rotate(25deg); }
}

.wallet-label {
  font-size: 11px;
  letter-spacing: 2px;
  color: #00d4ff;
  opacity: 0.85;
  margin-bottom: 10px;
  display: block;
}

.wallet-address {
  font-family: "Courier New", monospace;
  font-size: 13px;
  color: rgba(255,255,255,0.9);

  word-break: break-all;

  padding: 10px 12px;
  border-radius: 10px;

  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.06);

  box-shadow: inset 0 0 12px rgba(0,0,0,0.4);
}

.policy-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;

  max-width: 1100px;
  margin: 24px auto 0 auto;
  padding: 20px;

  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;

  backdrop-filter: blur(12px);

  box-shadow:
    0 0 30px rgba(0,0,0,0.5),
    inset 0 0 10px rgba(0,212,255,0.05);
}

.policy-item {

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  padding: 16px 14px;

  font-size: 13px;
  line-height: 1.6;

  color: rgba(255,255,255,0.88);

  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.04),
    rgba(0,0,0,0.25)
  );

  border: 1px solid rgba(0,212,255,0.12);
  border-radius: 12px;

  position: relative;
  overflow: hidden;

  transition: 0.25s ease;
}

.policy-item:hover {
  transform: translateY(-3px);
  border-color: rgba(0,212,255,0.5);
  box-shadow: 0 0 16px rgba(0,212,255,0.2);
}

/* subtle top glow line */
.policy-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #00d4ff, transparent);
  opacity: 0.5;
}

@media (max-width: 900px) {
  .policy-box {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .policy-box {
    grid-template-columns: 1fr;
  }
}

.carousel-wrapper {
  width: var(--container-width);
  display: flex;
  justify-content: center;
  max-width: 100%;
  width: min(1200px, 92vw); 
  margin: 40px auto;
  overflow: hidden;

  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);

  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(10px);

  box-shadow: 0 0 25px rgba(0,0,0,0.4);

  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 16px;
  padding: 14px;

  width: max-content;

  will-change: transform;
  transform: translate3d(0,0,0);

  align-items: center;
}

.carousel-wrapper {
  overflow: hidden;
}

.carousel-item {
  flex: 0 0 auto;
  width: clamp(180px, 25vw, 320px);
  height: 140px;
  object-fit: cover;

  border-radius: 14px;
  cursor: pointer;

  border: 1px solid rgba(255,255,255,0.08);

  transition: 0.25s ease;
}

.carousel-item:hover {
  transform: scale(1.05);
  border-color: rgba(0,212,255,0.5);
  box-shadow: 0 0 18px rgba(0,212,255,0.25);
}
.carousel-item img {
  width: 100%;
  display: block;
}

#scrollTopBtn {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(10, 12, 24, 0.75);
  border: 1px solid rgba(0, 212, 255, 0.25);
  color: #00d4ff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 212, 255, 0.08), inset 0 0 12px rgba(0, 212, 255, 0.05);
  opacity: 0;
  transform: translateY(16px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
#scrollTopBtn.show { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
#scrollTopBtn:hover { border-color: rgba(0, 212, 255, 0.6); box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55), 0 0 18px rgba(0, 212, 255, 0.25), inset 0 0 14px rgba(0, 212, 255, 0.08); transform: translateY(-2px) scale(1.02); }

.terms-section {
  padding: 60px 20px 100px;
  max-width: 1100px;
  margin: auto;
  flex: 1;
}

main, .terms-section {
  padding-bottom: 60px;
}

.section-title {
  font-size: 28px;
  margin-bottom: 30px;
  text-align: center;
}


/* TERMS CONTAINER (policy-box styling) */
.terms-box {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;

  max-width: 100%;
  margin: 18px auto 0 auto;
  padding: 18px;

  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;

  backdrop-filter: blur(12px);

  box-shadow:
    0 0 30px rgba(0,0,0,0.5),
    inset 0 0 10px rgba(0,212,255,0.04);
}

/* TERM ITEM */
.terms-item {
  padding: 16px 16px;

  font-size: 13.5px;
  line-height: 1.55;
  text-align: left;

  color: rgba(255,255,255,0.88);

  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.04),
    rgba(0,0,0,0.25)
  );

  border: 1px solid rgba(0,212,255,0.12);
  border-radius: 12px;

  min-height: 80px;

  position: relative;
  overflow: hidden;

  box-shadow:
    0 4px 12px rgba(0,0,0,0.25),
    inset 0 1px 0 rgba(255,255,255,0.03);

  transition: 0.22s ease;
}

/* NEON HOVER */
.terms-item:hover {
  transform: translateY(-3px);
  border-color: rgba(0,212,255,0.45);
  box-shadow:
    0 12px 22px rgba(0,0,0,0.5),
    0 0 14px rgba(0,212,255,0.18);
}

/* neon top glow line */
.terms-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  width: 76%;
  height: 1px;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(0,212,255,0.9),
    transparent
  );

  opacity: 0.6;
}

/* TITLE */
.terms-item strong {
  display: block;
  margin-bottom: 6px;

  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2px;

  color: #00d4ff;
}

/* divider */
.terms-item strong::after {
  content: "";
  display: block;
  margin-top: 6px;
  width: 28px;
  height: 1px;
  background: rgba(0,212,255,0.25);
}

/* MOBILE */
@media (max-width: 900px) {
  .terms-box {
    grid-template-columns: 1fr;
  }
}

.terms-title {
  display: block;
  text-align: center;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 8px;
  color: #ffffff;
}

.terms-item p {
  text-align: center;
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
}


.carousel-card {
  position: relative;
}

/* overlay container (your exact system) */
.card-type-overlay {
  position: absolute;
  top: -10px;
  left: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  z-index: 5;
}

/* badge base */
.type-badge {
  font-size: 9px;
  padding: 5px 10px;
  border-radius: 8px 12px 12px 8px;
  color: #0b0d1a;
  font-weight: 700;
  letter-spacing: 0.3px;
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

/* accent bar */
.type-badge::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 60%;
  background: inherit;
  border-radius: 2px;
  opacity: 0.9;
}

/* variants */
.type-badge.integrated {
  background: linear-gradient(135deg, #22c55e, #86efac);
}

.type-badge.pending {
  background: linear-gradient(135deg, #00d4ff, #7be7ff);
}

.popup-details {
  margin-top: 10px;
  padding: 10px 12px;

  font-size: 12px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);

  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;

  display: flex;
  flex-direction: column;
  gap: 6px;
}
.details-title {
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 11.5px;
  color: #e9fff6;
}

.details-row {
  display: flex;
  align-items: center;
  gap: 8px;

  padding: 4px 6px;
  margin-bottom: 4px;

  border-radius: 8px;
}

.details-info {
  flex: 0 0 70px; /* fixed column width (IMPORTANT) */

  background: linear-gradient(135deg, #ffffff, #e8fff6);
  color: #063528;

  font-weight: 800;
  font-size: 12px;

  padding: 3px 6px;
  border-radius: 6px;

  text-align: center;
  white-space: nowrap;
}

.bundle-text {
  color: #cfeee4;
  font-size: 11px;
  line-height: 1.25;
}

@media (max-width: 600px) {
  #popup-details {
    padding: 6px 8px;
    font-size: 11px;
  }

  .details-row {
    gap: 6px;
    padding: 3px 4px;
  }

  .details-info {
    font-size: 9.5px;
    min-width: 42px;
    padding: 2px 5px;
  }

  .details-text {
    font-size: 10.5px;
  }
}