/* ===== GILROY FONT FACES ===== */
@font-face {
  font-family: "Gilroy";
  src: url("../fonts/GILROY-REGULAR.TTF") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("../fonts/GILROY-MEDIUM.TTF") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("../fonts/GILROY-BOLD.TTF") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("../fonts/GILROY-HEAVY.TTF") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("../fonts/GILROY-THIN.TTF") format("truetype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("../fonts/GILROY-LIGHT.TTF") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ===== BASE ===== */
:root {
  font-family: "Gilroy", sans-serif;
}
*, *::before, *::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  font-family: "Gilroy", sans-serif;
  color: #fff;
  min-height: 100vh;
  position: relative;
  background: #000000;
  background-attachment: fixed;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  overflow-x: hidden;
}

/* ===== ANIMATED BACKGROUND ===== */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 120% 80% at 70% 20%, #00553b52, transparent 50%),
    radial-gradient(ellipse 100% 60% at 30% 10%, rgba(0,255,255,0.12), transparent 60%),
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(0,106,124,0.18), transparent 65%),
    radial-gradient(ellipse 110% 50% at 80% 30%, rgba(0,39,20,0.08), transparent 40%);
  animation: gradientPulse 8s ease-in-out infinite;
}

@keyframes gradientPulse {
  0%, 100% { opacity: 0.5; filter: brightness(0.8); }
  50%       { opacity: 1;   filter: brightness(1); }
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(37,233,148,0.8) 1px, transparent 1px),
    radial-gradient(circle, rgba(0,255,255,0.6) 1px, transparent 1px),
    radial-gradient(circle, hsla(163,100%,36%,0.70) 1px, transparent 1px),
    radial-gradient(circle, rgba(149,244,203,0.5) 1px, transparent 1px);
  background-size: 200px 200px, 300px 300px, 250px 250px, 350px 350px;
  background-position: 0 0, 50px 60px, 130px 270px, 70px 100px;
  animation: fireflies 20s linear infinite;
}

@keyframes fireflies {
  0%   { background-position: 0 0, 50px 60px, 130px 270px, 70px 100px; opacity: 0.3; }
  25%  { opacity: 0.6; }
  50%  { background-position: 200px 100px, 250px 160px, 330px 370px, 270px 200px; opacity: 0.4; }
  75%  { opacity: 0.7; }
  100% { background-position: 400px 200px, 450px 260px, 530px 470px, 470px 300px; opacity: 0.3; }
}

/* ===== UTILITY CLASSES ===== */
.text-gradient {
  background: linear-gradient(to right, #34d399, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.button-gradient {
  background: linear-gradient(86deg, #00B582 2.74%, #027081 99.52%);
  border: none;
  color: #fff;
  padding: 0.4rem 1.5rem;
  border-radius: 5px;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.3s ease;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.button-gradient-hero {
  background: linear-gradient(86deg, #00B582 2.74%, #027081 99.52%);
  border: none;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 5px;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.3s ease;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.button-gradient:hover, .button-gradient-hero:hover {
  background: linear-gradient(86deg, #027081 2.74%, #00B582 99.52%);
}
.button-gradient:active, .button-gradient-hero:active {
  background: linear-gradient(86deg, #004F39 2.74%, #00B582 99.52%);
  transform: scale(0.98);
}

.button-transparent {
  background: transparent;
  border: 1px solid #70707057;
  color: #fff;
  padding: 0.4rem 1.5rem;
  border-radius: 5px;
  font-weight: 400;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.button-transparent-hero {
  background: transparent;
  border: 1px solid #70707057;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 5px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.button-transparent:hover {
  background: #ffffff;
  border: 1px solid white;
  color: #000;
}

.category {
  background: linear-gradient(86deg, #00B582 2.74%, #004F39 99.52%);
  border: none;
}

.badge-bg {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  width: fit-content;
  border: 1px solid rgba(252,252,252,0.3);
  border-radius: 9999px;
  color: white;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 5px;
}
.badge-bg-plugin {
  background: rgba(37,233,148,0.10);
  border: 1px solid rgba(255,252,252,0.24);
  border-radius: 5px;
  color: #fff;
  padding: 0.15rem 0.6rem;
  font-size: 12px;
}

.stat-card {
  background: linear-gradient(180deg, rgba(0,131,74,0.04) 0%, rgba(12,255,150,0.07) 100%);
  border: 1px solid #ffffff2f;
  border-radius: 5px;
  padding: 10px 15px;
  backdrop-filter: blur(5px);
}

.blog-card {
  background: linear-gradient(to bottom right, rgba(31,41,55,0.3), rgba(17,24,39,0.3));
  border: 1px solid #ffffff2f;
  border-radius: 5px;
  padding: 20px 15px;
  backdrop-filter: blur(2px);
  transition: scale 0.3s ease, box-shadow 0.3s ease;
}
.blog-card:hover {
  border-color: rgba(16,185,129,0.5);
  box-shadow: 0 20px 25px -5px rgba(16,185,129,0.1), 0 10px 10px -5px rgba(16,185,129,0.1);
  scale: 1.02;
}

.transparent-card {
  background: rgba(0,104,23,0.02);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0px 2px 2px rgb(0,255,149);
  border-radius: 10px;
  padding: 20px;
  backdrop-filter: blur(2px);
  transition: all 0.3s ease, box-shadow 0.3s ease;
}
.transparent-card:hover {
  background: rgba(0,255,149,0.05);
  scale: 1.02;
}

.work-step-card {
  background: rgba(217,217,217,0.10);
  box-shadow: 0 4px 4px 0 #0CFF96;
  border-radius: 5px;
  padding: 10px 15px;
  backdrop-filter: blur(2px);
  transition: all 0.3s ease, box-shadow 0.3s ease;
}
.work-step-card:hover {
  scale: 1.02;
  background: rgba(217,217,217,0.07);
}

.color-icon { color: #00FF95; }

.stroke {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.23) 50%, rgba(255,255,255,0) 100%);
  margin: 50px 0 0 0;
}

.headline {
  font-size: 48px;
  font-weight: 800;
  line-height: 48px;
  display: inline;
}

.gradient-border {
  border-image: linear-gradient(180deg, #0cff9600, #0cff96d6, #0cff9600) 1;
  box-shadow: 0px -4px 0px rgba(12,255,150,0.84);
  backdrop-filter: blur(5px);
}

/* ===== BENTO CARDS ===== */
.bento-card {
  background: url('../images/mass-payout-tile-banner-02.webp') center / 100% no-repeat;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transition: background-size 0.3s linear, box-shadow 0.3s ease-in-out;
}
.card2 {
  background: url('../images/mass-payout-tile-banner-04.webp') center / 100% no-repeat;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transition: background-size 0.3s linear, box-shadow 0.3s ease-in-out;
}
.card3 {
  background: url('../images/mass-payout-tile-banner-01.webp') center / 100% no-repeat;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transition: background-size 0.3s linear, box-shadow 0.3s ease-in-out;
}
.card4 {
  background: url('../images/Group 77.webp') center / 100% no-repeat;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  transition: background-size 0.3s linear, box-shadow 0.3s ease-in-out;
}
.bento-card:hover, .card2:hover, .card3:hover, .card4:hover {
  background-size: 110%;
  transition: all 0.2s linear;
}

/* ===== BLOG CONTENT ===== */
.blog-content h2 { font-size: 28px; font-weight: 800; line-height: 44px; margin-bottom: 10px; }
.blog-content h3 { font-size: 20px; font-weight: 600; line-height: 32px; margin-bottom: 10px; }
.blog-content ul  { margin-top: 10px; list-style-type: disc; margin-left: 20px; }
.blog-content b   { font-weight: 700; }

/* ===== AFFILIATE ===== */
.affiliate-hero {
  background-repeat: no-repeat;
  background-size: cover;
  backdrop-filter: opacity(0.1);
}
.affiliate-step {
  background: rgba(217,217,217,0.10);
  box-shadow: 0 4px 4px 0 #0CFF96;
  border-radius: 5px;
  backdrop-filter: blur(2px);
  transition: all 0.3s ease, box-shadow 0.3s ease;
}
.affiliate-step:hover {
  scale: 1.02;
  background: rgba(217,217,217,0.07);
}
.affiliate-step-number {
  background: #00A878;
  border-radius: 5px;
  padding: 5px;
  width: 80px;
  height: 80px;
  font-size: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-weight: 600;
}

/* ===== TERMS ===== */
.terms-title {
  cursor: pointer;
  padding-left: 10px;
  transition: all 0.3s linear;
}
.terms-title:hover { color: white; }

/* ===== PLUGIN CARD ===== */
.plugin-card {
  background: linear-gradient(to bottom right, rgba(31,41,55,0.3), rgba(17,24,39,0.3));
  border-radius: 16px;
  border: 1px solid #ffffff2f;
  padding: 20px;
  backdrop-filter: blur(2px);
  transition: all 0.3s ease, transform 0.3s ease;
}
.plugin-card:hover {
  border-color: rgba(16,185,129,0.5);
  box-shadow: 0 20px 25px -5px rgba(16,185,129,0.1), 0 10px 10px -5px rgba(16,185,129,0.1);
  scale: 1.02;
}

/* ===== POS HERO ===== */
.POS-hero {
  position: relative;
  z-index: 1;
  background: linear-gradient(96deg, rgba(0,141,80,0.42) 1.01%, rgba(0,29,17,0.12) 73.05%, rgba(0,29,17,0.01) 73.05%);
  border-radius: 10px;
}

/* ===== COIN ANIMATION ===== */
@keyframes moveZigZag {
  0%   { offset-distance: 0%;   opacity: 0; transform: translate(-50%,-50%) scale(0.8); }
  5%   {                         opacity: 0; transform: translate(-50%,-50%) scale(0.5); }
  10%  {                         opacity: 0.5; transform: translate(-50%,-50%) scale(0.8); }
  30%  {                         opacity: 1; transform: translate(-50%,-50%) scale(1); }
  50%  {                         opacity: 1; transform: translate(-50%,-50%) scale(1.2); }
  90%  {                         opacity: 0.5; transform: translate(-50%,-50%) scale(0.8); }
  95%  {                         opacity: 0; transform: translate(-50%,-50%) scale(0.5); }
  100% { offset-distance: 100%; opacity: 0; transform: translate(-50%,-50%) scale(0.5); }
}

.coin-wrapper {
  offset-path: path('M 50 50 Q 150 20, 250 50 T 450 50 Q 550 20, 650 50 T 850 50 Q 950 20, 1050 50 T 1250 50 Q 1350 20, 1450 50');
  animation: moveZigZag 20s linear infinite;
  position: absolute;
}

/* ===== TOP BUTTON ===== */
.top-down {
  animation: topDown 5s linear infinite;
}
@keyframes topDown {
  0%   { transform: translateY(0px);   opacity: 0.5; }
  25%  { transform: translateY(-5px);  opacity: 0.8; }
  50%  { transform: translateY(-10px); opacity: 1; }
  75%  { transform: translateY(-5px);  opacity: 0.8; }
  100% { transform: translateY(0px);   opacity: 0.5; }
}

/* ===== ANIMATIONS ===== */
@keyframes fade-in {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-in { animation: fade-in 0.3s ease-out; }

/* ===== MARQUEE ===== */
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-track {
  display: flex;
  gap: 2rem;
  animation: marqueeScroll 20s linear infinite;
  width: max-content;
}
.marquee-wrapper {
  overflow: hidden;
  width: 100%;
}

/* ===== NAVBAR ===== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: transparent;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* ===== DROPDOWN ===== */
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 288px;
  background: #111;
  border: 1px solid #ffffff22;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  overflow: hidden;
  z-index: 100;
  animation: fade-in 0.2s ease-out;
}
.dropdown-menu.right { left: auto; right: 0; }
.dropdown-trigger:hover .dropdown-menu,
.dropdown-menu:hover { display: block; }

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  cursor: pointer;
  border-bottom: 1px solid #ffffff11;
  transition: background 0.2s;
  text-decoration: none;
  color: #fff;
}
.dropdown-item:last-child { border-bottom: none; }
.dropdown-item:hover { background: #ffffff0d; }
.dropdown-item-icon { font-size: 20px; color: #25E994; flex-shrink: 0; }
.dropdown-item-title { font-weight: 500; font-size: 14px; }
.dropdown-item-sub { font-size: 12px; color: #9ca3af; }

/* ===== MOBILE DRAWER ===== */
#mobile-drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: 320px;
  background: #0a0a0a;
  border-left: 1px solid #ffffff22;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 60;
  overflow-y: auto;
}
#mobile-drawer.open { transform: translateX(0); }
#mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 55;
}
#mobile-overlay.open { display: block; }

/* ===== FAQ ACCORDION ===== */
.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}
.faq-content.open { max-height: 500px; }
.faq-arrow {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }

/* ===== TESTIMONIAL CAROUSEL ===== */
#testimonial-track {
  display: flex;
  transition: transform 0.7s ease-in-out;
}
.testimonial-slide {
  flex-shrink: 0;
  padding: 0 12px;
}
.testimonial-dot {
  height: 8px;
  border-radius: 9999px;
  transition: all 0.3s ease;
  background: #4b5563;
  border: none;
  cursor: pointer;
  width: 8px;
}
.testimonial-dot.active {
  width: 32px;
  background: linear-gradient(to right, #34d399, #22d3ee);
}

/* ===== MOBILE ACCORDION ===== */
.mobile-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.mobile-accordion-content.open { max-height: 400px; }
.mobile-arrow { transition: transform 0.3s ease; display: inline-block; }

/* ===== SCROLL TO TOP BUTTON ===== */
#top-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 40;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(86deg, #00B582, #027081);
  border: none;
  color: #fff;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 20px rgba(0,181,130,0.4);
  transition: opacity 0.3s;
}
#top-btn.visible { display: flex; }

/* ===== WHO-IT-FOR CARD ACTIVE STATE ===== */
.who-card-active {
  border-color: #10b981 !important;
  box-shadow: 0 25px 50px -12px rgba(16,185,129,0.3) !important;
  transform: scale(1.05);
}
@media (max-width: 1023px) {
  .who-card-active { transform: none; }
}
