/* =========================
   GLOBAL
========================= */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: #f5f7ff;
   font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
               Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans',
               'Helvetica Neue', sans-serif;
  color: #111827;
}

/* =========================
   NAVBAR
========================= */
.navbar {
  max-width: 1100px;
  margin: 20px auto;
  padding: 16px 22px;
  background: white;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  position: relative;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.nav-logo-text {
  font-size: 20px;
  font-weight: 700;
}

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

.nav-links {
  list-style: none;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #374151;
  font-weight: 500;
}

.nav-links a:hover {
  color: #6D5BFF;
}

/* TELEGRAM BUTTON */
.telegram-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #6D5BFF, #C77DFF);
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.telegram-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(109,91,255,0.35);
}

.telegram-btn img {
  width: 18px;
  height: 18px;
}

/* =========================
   HAMBURGER
========================= */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 24px;
  height: 3px;
  background: #111827;
  border-radius: 4px;
}

/* ================= HERO SECTION ================= */

.hero-wrapper {
  max-width: 1100px;
  margin: 0 auto 40px;
  padding: 0 20px; /* same feel as navbar */
}


.hero {
  max-width: 100%;
  margin: 40px auto 30px;
  padding: 80px 60px;
  background: linear-gradient(135deg, #6366F1, #8B5CF6, #EC4899);
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(109, 91, 255, 0.15);
  overflow: hidden;
}

/* HERO INNER GRID */
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 30px;
}

/* LEFT CONTENT */
.hero-content {
  max-width: 600px;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
  color: #ffffff;
}

.hero h1 span {
  background: #ffffff;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 16px;
  color: #e5e7eb;
  line-height: 1.7;
  margin-bottom: 30px;
}

/* HERO BUTTONS */
.hero-buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.hero-primary {
  padding: 13px 30px;
  border-radius: 999px;
  background: white;
  color: linear-gradient(90deg, #6D5BFF, #C77DFF);
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(109, 91, 255, 0.35);
  transition: all 0.3s ease;
}

.hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(109, 106, 134, 0.45);
}

.hero-secondary {
  padding: 13px 30px;
  border-radius: 999px;
  border: 2px solid #ffffff;
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(109, 106, 134, 0.45);
}

/* RIGHT SVG */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-visual img {
  width: 100%;
  max-width: 520px;
  animation: float 6s ease-in-out infinite;
}

/* FLOATING ANIMATION */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-18px);
  }
  100% {
    transform: translateY(0);
  }
}

/* ================= RESPONSIVE ================= */

/* TABLET */
@media (max-width: 900px) {
  .hero h1 {
    font-size: 36px;
  }
}

/* MOBILE */
@media (max-width: 768px) {
  .hero {
    padding: 50px 24px;
    text-align: center;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    margin-bottom: 20px;  
  }

  .hero-visual img {
    max-width: 280px;
  }

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

/* SMALL MOBILE */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 30px;
  }

  .hero p {
    font-size: 14px;
  }
}


/* =========================
   CAMPAIGNS
========================= */
main {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}

.page-title {
  font-size: 26px;
  margin: 30px 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: rgba(255,255,255,0.75);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 12px 30px rgba(109,91,255,0.08);
  display: flex;
    transition: 
    transform 0.35s ease,
    box-shadow 0.35s ease;
  flex-direction: column;
}

.card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.category-text {
  font-size: 13px;
  color: #6D5BFF;
  margin-top: 4px;
}

/* MAIN CARD HOVER */
.card:hover {
  transform: translateY(-5px) scale(1);
  box-shadow: 0 30px 70px rgba(109, 91, 255, 0.28);
}

.card:hover::before {
  opacity: 1;
}

.desc-box {
  margin: 14px 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(199,125,255,0.12);
  font-size: 14px;
}

.earning-badge {
  background: linear-gradient(90deg,#22c55e,#16a34a);
  color: white;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
}

/* ONLY Go to Offer button */
.card .offer-btn {
  margin-top: auto;
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(90deg,#6D5BFF,#C77DFF);
  color: white;
  text-decoration: none;
  font-weight: 600;
  width: fit-content;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.card:hover .offer-btn {
  transform: scale(1);
  box-shadow: 0 10px 30px rgba(109,91,255,0.45);
}

.desc-box a {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  color: #6366F1;
  font-weight: 600;
  text-decoration: underline;
  display: inline;
}

.desc-box a:hover {
  background: transparent;
  transform: none !important;
  box-shadow: none !important;
}



/* =========================
   ABOUT SECTION
========================= */

.about {
  max-width: 1100px;
  margin: 90px auto 80px;
  padding: 0 20px;
}

/* MAIN CONTAINER */
.about-container {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(109, 91, 255, 0.07),
    rgba(199, 125, 255, 0.12)
  );
  border-radius: 32px;
  padding: 70px 55px;
  box-shadow: 0 25px 70px rgba(109, 91, 255, 0.18);
  text-align: center;
  overflow: hidden;
}

/* SOFT GLOW */
.about-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(199, 125, 255, 0.25),
    transparent 60%
  );
  z-index: 0;
}

.about-container * {
  position: relative;
  z-index: 1;
}

/* HEADING */
.about h2 {
  font-size: 36px;
  font-weight: 900;
  margin-bottom: 18px;
  background: linear-gradient(90deg, #6D5BFF, #C77DFF);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* DESCRIPTION */
.about p {
  max-width: 760px;
  margin: 0 auto 55px;
  font-size: 17px;
  line-height: 1.8;
  color: #374151;
}

/* =========================
   ABOUT CARDS
========================= */

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* SINGLE CARD */
.about-card {
  position: relative;
  padding: 36px 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 45px rgba(109, 91, 255, 0.15);
  transition: all 0.35s ease;
  overflow: hidden;
}

/* TOP GRADIENT STRIP */
.about-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #6D5BFF, #C77DFF);
}

/* HOVER EFFECT */
.about-card:hover {
  transform: translateY(-14px) scale(1.03);
  box-shadow: 0 35px 80px rgba(109, 91, 255, 0.35);
}

/* ICON */
.about-card span {
  display: inline-block;
  font-size: 26px;
  margin-bottom: 14px;
}

/* TITLE */
.about-card h4 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #111827;
}

/* TEXT */
.about-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: #4b5563;
  margin: 0;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {
  .about-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .about-container {
    padding: 45px 26px;
  }

  .about h2 {
    font-size: 30px;
  }

  .about p {
    font-size: 15.5px;
    margin-bottom: 40px;
  }

  .about-cards {
    grid-template-columns: 1fr;
  }
}


/* =========================
   FOOTER
/* ========================= */
.footer {
  background: linear-gradient(
    135deg,
    rgba(29, 0, 248, 0.116),
    rgba(138, 0, 244, 0.178)
  );
  padding: 60px 20px 30px;
  margin-top: 80px;
  border-top: 1px solid #e5e7eb;
}

.footer-container {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}

/* BRAND */
.footer-brand h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: #111827;
}

.footer-brand p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  max-width: 280px;
}

/* LINKS + COMMUNITY */
.footer-links,
.footer-contact {
  display: flex;
  flex-direction: column; /* 👈 MAIN FIX */
  gap: 10px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
  margin-bottom: 12px;
}

/* LINKS STYLE */
.footer-links a,
.footer-contact a {
  font-size: 14px;
  color: #4b5563;
  text-decoration: none;
  width: fit-content;
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #6D5BFF;
}

/* FOOTER BOTTOM */
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  font-size: 13px;
  color: #9ca3af;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-brand p {
    margin: auto;
  }

  .footer-brand a{
  justify-content: center;
}


  .footer-links,
  .footer-contact {
    align-items: center;
  }
}



/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width: 768px) {

  /* NAVBAR */
  .hamburger {
    display: flex;
  }

  .nav-right {
    display: none;
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    width: calc(100% - 40px);
    padding: 20px;
    border-radius: 18px;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    z-index: 99;
  }

  .nav-right.active {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }


  .hero h1 {
    font-size: 32px;
  }

  .hero-buttons {
    justify-content: center;
    flex-direction: column;
  }
}

@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
