/* ==================================================
   RESET & BASE
================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  background: #ffffff;
  color: #4f1c93;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ==================================================
   TYPOGRAPHY — IMPROVED SIZES FOR LAPTOP READABILITY
================================================== */

/* Base body text bumped up */
body, p, li, td, th {
  font-size: 1rem; /* was 0.95rem effectively */
}

h1 {
  font-weight: 800;
}

h2 {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 40px;
  text-align: center;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

h4 {
  font-size: 1rem;
  font-weight: 700;
}

p {
  font-size: 1rem;
  line-height: 1.7;
}

/* ==================================================
   NAVBAR — DESKTOP
================================================== */

.nav {
  position: sticky;
  top: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(79, 28, 147, 0.08));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 2px solid #4f1c93;
  box-shadow: 0 4px 20px rgba(79, 28, 147, 0.1);
  isolation: isolate;
}

.nav-container {
  max-width: 1500px;
  margin: auto;
  padding: 16px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==================================================
   LOGO
================================================== */

.logo {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-image {
  height: 40px;
  width: auto;
  display: block;
  max-width: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .logo-image {
    height: 32px;
  }
}

.footer-logo-image {
  height: 35px;
  width: auto;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.footer-logo-image:hover {
  transform: scale(1.05);
}

/* ==================================================
   NAV LINKS
================================================== */

.nav-links a {
  font-size: 1rem;
  font-weight: 500;
}

.nav-links a.nav-link {
  position: relative;
  color: #333;
  transition: color 0.3s ease;
}

.nav-links a.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #4f1c93, #7a3ba3);
  transition: width 0.3s ease;
}

.nav-links a.nav-link:hover {
  color: #4f1c93;
}

.nav-links a.nav-link:hover::after {
  width: 100%;
}

.btn {
  padding: 8px 16px;
  border: 2px solid #4f1c93;
  border-radius: 6px;
  background: linear-gradient(135deg, #4f1c93, #7a3ba3);
  color: white;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(79, 28, 147, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 28, 147, 0.4);
  border-color: #7a3ba3;
}

/* HIDE MOBILE ELEMENTS ON DESKTOP */
.menu-toggle,
.close-nav,
.nav-backdrop {
  display: none;
}

/* ==================================================
   MOBILE OFF-CANVAS
================================================== */

@media (max-width: 900px) {

  .menu-toggle {
    display: block;
    background: none;
    border: none;
    color: #4f1c93;
    font-size: 28px;
    cursor: pointer;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: #f9f9f9;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    visibility: hidden;
    pointer-events: none;
    transition: right 0.35s ease, visibility 0.35s ease;
    box-shadow: -12px 0 30px rgba(0,0,0,0.1);
    z-index: 1001;
  }

  .nav-links.active {
    right: 0;
    visibility: visible;
    pointer-events: auto;
  }

  .close-nav {
    display: block;
    align-self: flex-end;
    background: none;
    border: none;
    color: #4f1c93;
    font-size: 26px;
    cursor: pointer;
    margin-bottom: 16px;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 1000;
  }

  .nav-backdrop.active {
    opacity: 1;
    pointer-events: auto;
  }
}

/* ==================================================
   HERO
================================================== */

.hero {
  min-height: 90vh;
  background: url("images/hero 2.jpg") center / cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 clamp(20px, 6vw, 96px);
}

.hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 900px) {
  .hero-container {
    max-width: 960px;
    padding: 0 20px;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.75),
    rgba(0,0,0,0.35)
  );
}

.hero-text {
  position: relative;
  max-width: 640px;
  text-align: left;
  transition: transform 0.2s ease-out;
}

.hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: 800;
  line-height: 1.2;
}

.hero p {
  color: #ffffff;
  margin-bottom: 28px;
  font-size: 1.1rem;
}

.primary-btn {
  padding: 14px 28px;
  background: #4f1c93;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(79, 28, 147, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
}

.primary-btn:hover {
  background: #3d1570;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 28, 147, 0.35);
}

.primary-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(79, 28, 147, 0.2);
}

.primary-btn.dark {
  padding: 16px 40px;
  background: #4f1c93;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  font-weight: 800;
}

.primary-btn.dark:hover {
  background: #3d1570;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(79, 28, 147, 0.4);
}

/* ==================================================
   SECTIONS
================================================== */

section {
  padding: clamp(64px, 8vw, 96px) clamp(20px, 6vw, 96px);
}

.trust {
  text-align: center;
  color: #4f1c93;
}

/* ==================================================
   HOW IT WORKS
================================================== */

.how {
  background: #ffffff;
  padding: clamp(64px, 8vw, 96px) clamp(20px, 6vw, 96px);
}

.how h2 {
  text-align: center;
  margin-bottom: 48px;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  color: #4f1c93;
  font-weight: 800;
}

.how-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: 1000px;
  margin: 0 auto;
}

.simple-card {
  text-align: center;
  padding: 36px 28px;
  border-radius: 12px;
  background: #f9f9f9;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

.simple-card:hover {
  transform: translateY(-8px);
  background: #ffffff;
  border-color: #4f1c93;
  box-shadow: 0 12px 30px rgba(79, 28, 147, 0.1);
}

.simple-icon {
  position: relative;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.simple-icon .number {
  font-size: 52px;
  font-weight: 800;
  color: rgba(79, 28, 147, 0.15);
  position: absolute;
  left: 0;
}

.simple-icon i {
  font-size: 26px;
  color: #4f1c93;
  transition: all 0.3s ease;
}

.simple-card:hover .simple-icon i {
  font-size: 30px;
  transform: scale(1.1);
}

.simple-card h3 {
  font-size: 1.15rem;
  color: #4f1c93;
  margin-bottom: 12px;
  font-weight: 700;
}

.simple-card p {
  font-size: 0.98rem;
  color: #555;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .how-grid {
    gap: 24px;
  }
  .simple-card {
    padding: 28px 20px;
  }
}

/* ==================================================
   GAME MODES
================================================== */

.modes {
  background: #ffffff;
  padding: clamp(64px, 8vw, 96px) clamp(20px, 6vw, 96px);
}

.modes h2 {
  text-align: center;
  margin-bottom: 48px;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  color: #4f1c93;
  font-weight: 800;
}

.simple-mode-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  max-width: 1000px;
  margin: 0 auto;
}

.mode-item {
  background: #ffffff;
  padding: 40px 32px;
  border-radius: 12px;
  border: 1px solid #eee;
  text-align: center;
  transition: all 0.3s ease;
}

.mode-item:hover {
  transform: translateY(-10px);
  border-color: #4f1c93;
  box-shadow: 0 16px 40px rgba(79, 28, 147, 0.12);
}

.mode-icon-simple {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #4f1c93, #3d1570);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #ffffff;
  margin: 0 auto 20px;
  transition: all 0.3s ease;
}

.mode-item:hover .mode-icon-simple {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(79, 28, 147, 0.3);
}

.mode-item h3 {
  font-size: 1.2rem;
  color: #4f1c93;
  margin-bottom: 12px;
  font-weight: 700;
}

.mode-item p {
  font-size: 0.98rem;
  color: #555;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .simple-mode-grid {
    gap: 20px;
  }
  .mode-item {
    padding: 28px 20px;
  }
}

/* ==================================================
   SPONSORS
================================================== */

.sponsors {
  background: #ffffff;
  padding: clamp(64px, 8vw, 96px) clamp(20px, 6vw, 96px);
  text-align: center;
}

.sponsors h2 {
  margin-bottom: 12px;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  color: #4f1c93;
  font-weight: 800;
}

.sponsors-subtitle {
  font-size: 1rem;
  color: #666;
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 500;
}

.sponsors-slider {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px 0;
}

.sponsors-slider .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sponsor-card {
  background: #ffffff;
  padding: 24px;
  border-radius: 16px;
  border: 2px solid rgba(79, 28, 147, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 12px rgba(79, 28, 147, 0.08);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.sponsor-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
}

.sponsor-logo img {
  max-width: 90%;
  max-height: 80px;
  object-fit: contain;
  transition: all 0.35s ease;
}

.sponsor-card:hover {
  transform: translateY(-12px) scale(1.05);
  border-color: rgba(79, 28, 147, 0.3);
  box-shadow: 0 16px 40px rgba(79, 28, 147, 0.18);
}

.sponsor-card:hover .sponsor-logo img {
  transform: scale(1.1);
}

.sponsors-slider .swiper-pagination-bullet {
  background: rgba(79, 28, 147, 0.4);
  opacity: 0.7;
}

.sponsors-slider .swiper-pagination-bullet-active {
  background: #4f1c93;
  opacity: 1;
}

.sponsors-slider .swiper-button-prev,
.sponsors-slider .swiper-button-next {
  color: #4f1c93;
  width: 40px;
  height: 40px;
  background: rgba(79, 28, 147, 0.1);
  border-radius: 50%;
}

.sponsors-slider .swiper-button-prev::after,
.sponsors-slider .swiper-button-next::after {
  font-size: 16px;
}

.sponsors-slider .swiper-button-prev:hover,
.sponsors-slider .swiper-button-next:hover {
  background: rgba(79, 28, 147, 0.2);
}

@media (max-width: 768px) {
  .sponsor-card {
    min-height: 100px;
  }
  .sponsor-logo img {
    max-height: 60px;
  }
}

/* ==================================================
   GIF SHOWCASE
================================================== */

.gifs-showcase {
  background: #ffffff;
}

.gifs-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 50px;
  font-size: 1rem;
}

.gifs-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  opacity: 1;
}

.gif-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(79, 28, 147, 0.15);
  transition: all 0.3s ease;
  aspect-ratio: 16/9;
  background: #f5f5f5;
}

.gif-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(79, 28, 147, 0.25);
}

.gif-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .gifs-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .gif-item {
    aspect-ratio: auto;
    min-height: 300px;
  }
}

/* ==================================================
   SPLIT SECTION — FIX: Live badge visibility + tablet overlap
================================================== */

.split {
  display: flex;
  flex-direction: column;
  gap: 56px;
  align-items: center;
  justify-content: center;
}

.split-image {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.split img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(79, 28, 147, 0.15);
  object-fit: cover;
  display: block;
}

.split > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  max-width: 540px;
}

/* FIXED: Live badge — visible text + not overlapping image on tablet */
.split-badge {
  position: absolute;
  bottom: -20px;       /* pull below image instead of on top of it */
  right: 0;
  background: #4f1c93;  /* solid purple — no transparency so text is always visible */
  color: #ffffff;
  padding: 12px 18px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(79, 28, 147, 0.4);
  animation: float 3s ease-in-out infinite;
  z-index: 10;
  white-space: nowrap;
}

.split-badge i {
  color: #ffffff;
  font-size: 1rem;
}

.split-badge p {
  color: #ffffff !important;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
}

@media (min-width: 900px) {
  .split {
    flex-direction: row;
    gap: 80px;
    align-items: center;
    justify-content: space-between;
    text-align: left;
  }

  .split-image {
    flex: 0 0 45%;
    max-width: 520px;
    order: -1;
    /* Add margin-bottom to accommodate the badge that hangs below */
    margin-bottom: 24px;
  }

  .split img {
    flex: 0 0 45%;
    max-width: 520px;
    order: -1;
  }

  .split > div {
    flex: 0 0 50%;
    text-align: left;
    max-width: 100%;
  }

  .split-badge {
    bottom: -20px;
    right: 20px;
  }
}

@media (max-width: 900px) {
  .split {
    gap: 40px;
  }

  .split-content h2 {
    text-align: center;
  }

  .split-content {
    text-align: center;
  }

  .split-features {
    justify-content: center;
  }

  /* On tablet, badge sits below the image cleanly */
  .split-image {
    margin-bottom: 32px;
  }

  .split-badge {
    position: static;
    margin-top: 16px;
    display: inline-flex;
    animation: none;
  }
}

.split-content h2 {
  text-align: left;
  margin-bottom: 20px;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
}

.split-features {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.split-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: #4f1c93;
  font-weight: 500;
}

.split-features i {
  color: #4f1c93;
  font-size: 1.2rem;
}

.split h2 {
  margin-bottom: 28px;
  font-size: clamp(1.9rem, 4vw, 2.4rem);
  line-height: 1.4;
  font-weight: 800;
  color: #4f1c93;
}

.split p {
  color: #4f1c93;
  margin-bottom: 0;
  font-size: 1rem;
  line-height: 1.8;
}

/* ==================================================
   GALLERY SWIPER
================================================== */

.gallery-swiper {
  width: 100%;
  max-width: 500px;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(79, 28, 147, 0.2);
}

.swiper-wrapper {
  height: 100%;
}

.swiper-slide {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
}

.gallery-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(79, 28, 147, 0.8), rgba(79, 28, 147, 0.4));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-image:hover .image-overlay {
  opacity: 1;
}

.image-overlay p {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.swiper-pagination {
  bottom: 20px !important;
}

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.6) !important;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: #ffffff !important;
  width: 30px !important;
  border-radius: 10px !important;
}

.swiper-button-next,
.swiper-button-prev {
  color: #ffffff;
  background: rgba(79, 28, 147, 0.8);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(79, 28, 147, 1);
  transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 20px;
}

@media (max-width: 900px) {
  .gallery-swiper {
    height: 350px;
  }
}

@media (max-width: 600px) {
  .gallery-swiper {
    height: 280px;
  }
}

/* ==================================================
   SCORING SECTION (HOMEPAGE)
================================================== */

.score-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.score-item {
  background: linear-gradient(135deg, #faf9ff 0%, #f5f3ff 100%);
  padding: 32px 24px;
  border-radius: 14px;
  border: 1px solid rgba(79, 28, 147, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 12px rgba(79, 28, 147, 0.08);
}

.score-item:hover {
  animation: none;
  transform: translateY(-10px);
  border-color: rgba(79, 28, 147, 0.3);
  box-shadow: 0 16px 36px rgba(79, 28, 147, 0.18);
}

.score-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #4f1c93, #3d1570);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #ffffff;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.score-item:hover .score-icon {
  transform: scale(1.15) rotate(-8deg);
  box-shadow: 0 8px 20px rgba(79, 28, 147, 0.35);
}

.score-item > div:last-child {
  font-size: 1rem;
  font-weight: 600;
  color: #4f1c93;
}

/* ==================================================
   CTA STRIP
================================================== */

.cta-strip {
  background: #4f1c93 !important;
  color: #ffffff !important;
  text-align: center;
  padding: 96px 24px !important;
}

.cta-strip h2 {
  margin-bottom: 20px;
  color: #ffffff !important;
  font-weight: 800;
}

.cta-strip .primary-btn {
  background: #3d1570 !important;
  color: #ffffff !important;
  border: 2px solid rgba(255,255,255,0.3) !important;
  animation: none !important;
}

.cta-strip .primary-btn:hover {
  background: #2a0d52 !important;
  transform: translateY(-3px);
}

.cta-strip,
.cta-strip * {
  opacity: 1 !important;
  visibility: visible !important;
}

/* ==================================================
   FOOTER — WITH SOCIAL MEDIA LINKS
================================================== */

.footer {
  background: #f5f5f5;
  padding: 72px clamp(20px, 6vw, 96px) 32px;
  border-top: 1px solid #e8e8e8;
  transition: all 0.3s ease;
}

.footer:hover {
  background: linear-gradient(180deg, #fbfafb 0%, #f9f7fb 100%);
  border-top-color: rgba(79, 28, 147, 0.2);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.footer-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.footer-grid > div {
  transition: all 0.3s ease;
}

.footer-grid > div:hover {
  transform: translateY(-8px);
}

.footer h3,
.footer h4 {
  margin-bottom: 16px;
  color: #4f1c93;
  font-weight: 700;
  font-size: 1rem;
}

.footer h3 {
  font-size: 1.2rem;
}

.footer h3 span {
  color: #4f1c93;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer a,
.footer p {
  color: #4f1c93;
  font-size: 0.95rem;
  margin-bottom: 10px;
  display: block;
  transition: all 0.3s ease;
}

.footer a:hover {
  color: #3d1570;
  transform: translateX(6px);
  font-weight: 600;
}

/* SOCIAL MEDIA ICONS */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.footer-social a {
  width: 38px;
  height: 38px;
  background: #4f1c93;
  color: #ffffff !important;
  border-radius: 8px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 0;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.footer-social a:hover {
  background: #3d1570;
  transform: translateY(-4px) !important;
  box-shadow: 0 6px 16px rgba(79, 28, 147, 0.35);
}

.footer-bottom {
  text-align: center;
  font-size: 0.9rem;
  color: #4f1c93;
  margin-top: 40px;
  border-top: 1px solid rgba(79, 28, 147, 0.15);
  padding-top: 24px;
}

/* ==================================================
   NEWSLETTER
================================================== */

.newsletter-section {
  background: linear-gradient(135deg, rgba(79, 28, 147, 0.05), rgba(79, 28, 147, 0.08));
  padding: 40px;
  border-radius: 16px;
  border: 1px solid rgba(79, 28, 147, 0.15);
  transition: all 0.3s ease;
}

.newsletter-section:hover {
  background: linear-gradient(135deg, rgba(79, 28, 147, 0.08), rgba(79, 28, 147, 0.12));
  border-color: rgba(79, 28, 147, 0.3);
  box-shadow: 0 8px 24px rgba(79, 28, 147, 0.12);
  transform: translateY(-4px);
}

.newsletter-section h4 {
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: #4f1c93;
}

.newsletter-section p {
  margin-bottom: 20px;
  font-size: 1rem;
  color: #4f1c93;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.newsletter-input {
  padding: 12px 16px;
  border: 2px solid rgba(79, 28, 147, 0.3);
  border-radius: 8px;
  font-size: 1rem;
  background: #ffffff;
  color: #1a1a1a;
  transition: all 0.25s ease;
}

.newsletter-input:hover {
  border-color: rgba(79, 28, 147, 0.5);
}

.newsletter-input::placeholder {
  color: #999999;
}

.newsletter-input:focus {
  outline: none;
  border-color: #4f1c93;
  box-shadow: 0 0 0 3px rgba(79, 28, 147, 0.1);
}

.newsletter-btn {
  padding: 12px 24px;
  background: #4f1c93;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.newsletter-btn:hover {
  background: #3d1570;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(79, 28, 147, 0.25);
}

@media (min-width: 900px) {
  .footer-content {
    gap: 80px;
  }
  .newsletter-form {
    flex-direction: row;
    gap: 10px;
  }
  .newsletter-input {
    flex: 1;
  }
  .newsletter-btn {
    flex: 0 0 auto;
    padding: 12px 32px;
  }
}

/* ==================================================
   TRUST SECTION
================================================== */

.trust-container {
  max-width: 1200px;
  margin: 0 auto;
}

.trust-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 48px;
  text-align: center;
  color: #4f1c93;
}

.trust-stats {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.trust-stat {
  text-align: center;
  padding: 32px 24px;
  background: linear-gradient(135deg, #faf9ff 0%, #f5f3ff 100%);
  border-radius: 16px;
  border: 1px solid rgba(79, 28, 147, 0.15);
  transition: all 0.3s ease;
}

.trust-stat:hover {
  transform: translateY(-8px);
  border-color: rgba(79, 28, 147, 0.3);
  box-shadow: 0 12px 32px rgba(79, 28, 147, 0.15);
}

.trust-stat h3 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #4f1c93;
  margin-bottom: 8px;
  font-weight: 800;
}

.trust-stat p {
  font-size: 1rem;
  color: #666;
  font-weight: 500;
}

/* ==================================================
   SCORING PAGE — FIXES
================================================== */

/* INTRO */
.scoring-intro {
  text-align: center;
}

.intro-highlights {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  max-width: 720px;
  margin: 40px auto 0;
}

.intro-highlights strong {
  display: block;
  margin-bottom: 6px;
  color: #4f1c93;
  font-size: 1rem;
}

.intro-highlights p {
  font-size: 0.98rem;
  color: #555;
}

/* CORE SCORING CARDS */
.scoring-core {
  background: #f5f5f5;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
}

.scoring-core .score-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
}

.scoring-core .score-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  padding: 36px 28px;
  border-radius: 16px;
  border: 1px solid #e8e8e8;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(79, 28, 147, 0.05);
}

.scoring-core .score-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(79, 28, 147, 0.15);
  border-color: #4f1c93;
}

.scoring-core .score-icon {
  font-size: 44px;
  margin-bottom: 16px;
  display: inline-block;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
}

.scoring-core .score-card h3 {
  font-size: 1.2rem;
  color: #4f1c93;
  margin-bottom: 12px;
  font-weight: 700;
}

.scoring-core .score-card p {
  color: #555;
  font-size: 1rem;
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .scoring-core .score-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .scoring-core .score-card-grid {
    grid-template-columns: 1fr;
  }
}

/* POSITION CARDS */
.position-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.position-card {
  background: #f9f9f9;
  padding: 32px;
  border-radius: 16px;
  border: 1px solid #e8e8e8;
  transition: transform 0.25s ease;
}

.position-card:hover {
  transform: translateY(-4px);
}

.position-card h4 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  font-weight: 700;
}

.position-card p {
  color: #555;
  font-size: 0.98rem;
}

/* DATA TRUST SECTION — FIX: left-aligned heading + purple border on card */
.scoring-trust-section {
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: flex-start;
}

@media (min-width: 900px) {
  .scoring-trust-section {
    flex-direction: row;
    align-items: flex-start;
    gap: 64px;
  }
}

.scoring-trust-text {
  flex: 1;
}

.scoring-trust-text h2 {
  text-align: left !important;
  margin-bottom: 20px;
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.scoring-trust-text p {
  font-size: 1rem;
  color: #4f1c93;
  margin-bottom: 16px;
  line-height: 1.8;
}

/* DATA BOX — purple border as requested */
.data-box {
  background: #ffffff;
  padding: 36px 32px;
  border-radius: 16px;
  border: 2px solid #4f1c93;  /* purple border — was just #e8e8e8 */
  box-shadow: 0 8px 24px rgba(79, 28, 147, 0.1);
  flex: 0 0 auto;
  min-width: 260px;
}

.data-box h4 {
  margin-bottom: 16px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #4f1c93;
}

.data-box ul {
  list-style: none;
}

.data-box li {
  margin-bottom: 12px;
  color: #4f1c93;
  font-size: 0.98rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.data-box li::before {
  content: "✓";
  color: #4f1c93;
  font-weight: 700;
  flex-shrink: 0;
}

/* ==================================================
   LEAGUES PAGE
================================================== */

.leagues-section {
  position: relative;
}

.league-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.league-card {
  background: #ffffff;
  padding: 36px 32px;
  border-radius: 18px;
  position: relative;
  border: 1px solid #e8e8e8;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.league-tag {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(79,28,147,0.15);
  color: #4f1c93;
  padding: 4px 12px;
  border-radius: 999px;
}

.league-tag.private {
  background: rgba(99,102,241,0.15);
  color: #818cf8;
}

.league-tag.fast {
  background: rgba(245,158,11,0.15);
  color: #b45309;  /* was too light — darkened for contrast */
}

.league-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
  font-weight: 700;
}

.league-desc {
  color: #555;
  margin-bottom: 20px;
  font-size: 1rem;
  line-height: 1.7;
}

.league-features {
  list-style: none;
  margin-bottom: 28px;
}

.league-features li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.98rem;
  color: #333;
}

.league-features li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #4f1c93;
  font-weight: 700;
}

.league-card .primary-btn {
  width: 100%;
  justify-content: center;
}

@media (hover: hover) {
  .league-card:hover {
    transform: translateY(-4px);
    transition: transform 0.25s ease;
  }
}

.league-card.highlight {
  outline: 2px solid rgba(79, 28, 147, 0.3);
  background: linear-gradient(135deg, #ffffff 0%, #faf9ff 100%);
}

/* WHY LEAGUES */
.dark-section {
  background: #f5f5f5;
  border-top: 1px solid #e8e8e8;
  border-bottom: 1px solid #e8e8e8;
}

.explain-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.explain-grid h4 {
  margin-bottom: 10px;
  font-size: 1.05rem;
  font-weight: 700;
}

.explain-grid p {
  color: #555;
  font-size: 1rem;
  line-height: 1.7;
}

/* ==================================================
   HOW IT WORKS PAGE — STEP GRID
================================================== */

.how-flow {
  padding: clamp(64px, 8vw, 96px) clamp(20px, 6vw, 96px);
}

.step-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1200px;
  margin: 0 auto;
}

.step {
  background: linear-gradient(135deg, #ffffff 0%, #faf9ff 100%);
  padding: 40px 32px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(79, 28, 147, 0.15);
  box-shadow: 0 8px 24px rgba(79, 28, 147, 0.08);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.step::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4f1c93, transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Large step number watermark */
.step span {
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 52px;
  font-weight: 900;
  background: linear-gradient(135deg, rgba(79, 28, 147, 0.2), rgba(79, 28, 147, 0.06));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  pointer-events: none;
  transition: all 0.4s ease;
  line-height: 1;
}

.step h3 {
  font-size: 1.15rem;
  color: #4f1c93;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.step p {
  color: #555;
  font-size: 0.98rem;
  line-height: 1.7;
  position: relative;
  z-index: 1;
  margin: 0;
}

@media (hover: hover) {
  .step:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(79, 28, 147, 0.35);
    box-shadow: 0 20px 40px rgba(79, 28, 147, 0.18);
  }

  .step:hover::after {
    opacity: 1;
  }

  .step:hover span {
    transform: scale(1.15) rotate(-5deg);
  }

  .step:hover h3 {
    color: #3d1570;
  }
}

@media (max-width: 1024px) {
  .step-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .step-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .step {
    padding: 32px 24px;
  }

  .step span {
    font-size: 42px;
  }
}

/* ==================================================
   SECTION HEADERS (Shared)
================================================== */

.section-header {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-header h2 {
  margin-bottom: 12px;
  font-weight: 800;
}

.section-header p {
  color: #555;
  font-size: 1rem;
  line-height: 1.7;
}

/* SMALL HERO */
.hero-small {
  min-height: 60vh;
}

/* ==================================================
   SCROLL TO TOP
================================================== */

.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #4f1c93, #3d1570);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 8px 20px rgba(79, 28, 147, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.scroll-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(79, 28, 147, 0.4);
}

/* ==================================================
   RIPPLE
================================================== */

.ripple {
  position: absolute;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  pointer-events: none;
  animation: ripple-animation 0.6s ease-out;
}

@keyframes ripple-animation {
  from { opacity: 1; transform: scale(0); }
  to   { opacity: 0; transform: scale(4); }
}

/* ==================================================
   ANIMATIONS
================================================== */

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

@keyframes pulse-glow {
  0%   { box-shadow: 0 0 0 0 rgba(79, 28, 147, 0.7); }
  70%  { box-shadow: 0 0 0 20px rgba(79, 28, 147, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 28, 147, 0); }
}

@keyframes zoomInImg {
  from { transform: scale(1); }
  to   { transform: scale(1.05); }
}

/* ==================================================
   DESKTOP NAV FIX
================================================== */

@media (min-width: 769px) {
  .nav-links {
    position: static !important;
    display: flex !important;
    align-items: center;
    gap: 32px;
    background: transparent !important;
    height: auto !important;
    transform: none !important;
    visibility: visible !important;
  }

  .nav-backdrop {
    display: none !important;
    pointer-events: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
}

.nav-links a {
  position: relative;
  pointer-events: auto;
}

/* ==================================================
   LAPTOP ZOOM FIX
================================================== */

html {
  overflow-x: unset;
}

body {
  overflow-x: hidden;
}

@media (min-width: 900px) {
  html {
    zoom: 0.85;
  }
}

/* AOS fallback */
[data-aos] {
  pointer-events: auto !important;
}

[data-aos].aos-animate {
  opacity: 1 !important;
  transform: none !important;
}

/* Primary btn — no leftover animations */
.primary-btn { animation: none !important; }

/* ==================================================
   REDUCED MOTION
================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}