



/* Global: prevent horizontal scrollbar */
html, body {
  overflow-x: hidden;
  background-color: #0c102a; /* Consistent dark background */
}

/* Glassmorphism Utilities - Restored to original look for countdowns */
.bg-blur {
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  background-color: rgba(0, 0, 0, 0.15) !important;
}

.bg-blur-strong {
  backdrop-filter: blur(25px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
  background-color: rgba(12, 16, 42, 0.75) !important;
}

/* --- LCGN Pricing Cards (Glassmorphism) --- */
.lcgn-pricing-grid {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 40px 0;
}

.lcgn-price-card {
  flex: 1;
  min-width: 280px;
  max-width: 360px;
  /* Glass: warna asli transparan, backdrop-filter dipindah ke ::before agar aman di build */
  background: rgba(31, 78, 233, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Backdrop-filter di ::before agar tidak di-strip Vite saat build */
.lcgn-price-card::before {
  content: '';
  position: absolute;
  inset: 0;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
}

.lcgn-price-card > * {
  position: relative;
  z-index: 1;
}

.lcgn-price-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(163, 255, 0, 0.15);
  border-color: rgba(163, 255, 0, 0.6) !important;
}

.lcgn-price-card-header {
  padding: 32px 28px 24px;
  border-bottom: 1px solid rgba(31, 78, 233, 0.25);
  position: relative;
  background: rgba(31, 78, 233, 0.08);
}

.lcgn-price-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(163, 255, 0, 0.22);
  border: 1.5px solid rgba(163, 255, 0, 0.6);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #a3ff00;
  margin-bottom: 18px;
  text-shadow: 0 0 10px rgba(163, 255, 0, 0.6);
}

.lcgn-price-card-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 6px;
}

.lcgn-price-card-subtitle {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

.lcgn-price-amount {
  margin-top: 20px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.lcgn-price-amount .amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: #a3ff00;
  line-height: 1;
}

.lcgn-price-amount .unit {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.lcgn-price-card-body {
  padding: 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.lcgn-price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  flex: 1;
}

.lcgn-price-features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.lcgn-price-features li:last-child {
  border-bottom: none;
}

.lcgn-price-features li::before {
  content: "✓";
  color: #a3ff00;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 1px;
}

.lcgn-price-btn {
  display: block;
  text-align: center;
  padding: 14px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  background: rgba(163, 255, 0, 0.25);
  border: 1.5px solid rgba(163, 255, 0, 0.7);
  color: #a3ff00;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  text-shadow: 0 0 8px rgba(163, 255, 0, 0.4);
}

.lcgn-price-btn:hover {
  background: #a3ff00;
  border-color: #a3ff00;
  color: #0c102a !important;
  text-shadow: none;
  text-decoration: none;
  font-weight: 800;
}

/* --- Countdown-Style Gallery CTA --- */
#section-tickets {
  scroll-margin-top: 86px;
}

.gallery-countdown-card {
  border-color: rgba(163, 255, 0, 0.26) !important;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.34), 0 0 36px rgba(31, 78, 233, 0.18);
}

.gallery-countdown-heading {
  display: flex;
  align-items: center;
  gap: 16px;
}

.gallery-countdown-icon {
  display: grid;
  place-items: center;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  color: #a3ff00;
  font-size: 25px;
  border: 1px solid rgba(163, 255, 0, 0.42);
  background: rgba(163, 255, 0, 0.1);
  box-shadow: inset 0 0 24px rgba(163, 255, 0, 0.08), 0 0 20px rgba(163, 255, 0, 0.12);
}

.gallery-countdown-kicker,
.gallery-countdown-label {
  display: block;
  margin: 0 0 6px;
  color: #a3ff00;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.gallery-countdown-title {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 2.7vw, 34px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.gallery-countdown-stats {
  gap: 0;
  margin-top: 6px;
}

.gallery-countdown-stats .countdown-section {
  min-width: 104px;
  padding: 0 16px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.gallery-countdown-stats .countdown-section:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.gallery-countdown-stats .countdown-amount {
  display: block;
  margin-bottom: 2px;
  color: #ffffff !important;
  font-size: 38px !important;
  font-weight: 800 !important;
  line-height: 1;
}

.gallery-countdown-stats .countdown-period {
  display: block;
  color: #ffffff !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: 1px;
  line-height: 1.25;
  opacity: 0.58;
  text-transform: uppercase;
}

.gallery-countdown-copy {
  max-width: 275px;
  margin: 0 0 13px auto;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.55;
}

.gallery-countdown-button {
  white-space: nowrap;
}

@media (max-width: 991px) {
  .gallery-countdown-heading {
    justify-content: center;
    text-align: left;
  }

  .gallery-countdown-copy {
    margin-right: auto;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .gallery-countdown-card {
    padding: 24px 18px !important;
  }

  .gallery-countdown-heading {
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .gallery-countdown-icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    font-size: 21px;
  }

  .gallery-countdown-title {
    font-size: 26px;
  }

  .gallery-countdown-stats {
    width: 100%;
  }

  .gallery-countdown-stats .countdown-section {
    flex: 1 1 33.333%;
    min-width: 0;
    padding: 0 8px;
  }

  .gallery-countdown-stats .countdown-amount {
    font-size: 28px !important;
  }

  .gallery-countdown-button {
    display: block;
    width: 100%;
    text-align: center;
  }
}

/* --- LCGN Timeline --- */
.lcgn-timeline-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.lcgn-timeline {
  flex: 1;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE */
}

.lcgn-timeline::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.lcgn-timeline-track {
  position: relative;
  display: flex;
  align-items: center;
  width: max-content;
  padding: 320px 20px 320px;
  gap: 0;
}

.lcgn-timeline-track::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #111c42, #1f4ee9, #111c42);
  border-radius: 4px;
  z-index: 1;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
}

.lcgn-timeline-wrapper.animated .lcgn-timeline-track::before {
  animation: lineGrow 4s linear forwards;
}

@keyframes lineGrow {
  0% { transform: translateY(-50%) scaleX(0); }
  100% { transform: translateY(-50%) scaleX(1); }
}

.lcgn-timeline-wrapper.animated .timeline-item {
  opacity: 0;
  animation: itemFadeIn 0.8s ease-out forwards;
}

.lcgn-timeline-wrapper.animated .timeline-item.bottom {
  animation-name: itemFadeInBottom;
}

.lcgn-timeline-wrapper.animated .timeline-item.top {
  animation-name: itemFadeInTop;
}

/* Delays for each timeline item sequentially */
.lcgn-timeline-wrapper.animated .timeline-item:nth-child(1) { animation-delay: 0.3s; }
.lcgn-timeline-wrapper.animated .timeline-item:nth-child(2) { animation-delay: 0.7s; }
.lcgn-timeline-wrapper.animated .timeline-item:nth-child(3) { animation-delay: 1.1s; }
.lcgn-timeline-wrapper.animated .timeline-item:nth-child(4) { animation-delay: 1.5s; }
.lcgn-timeline-wrapper.animated .timeline-item:nth-child(5) { animation-delay: 1.9s; }
.lcgn-timeline-wrapper.animated .timeline-item:nth-child(6) { animation-delay: 2.3s; }
.lcgn-timeline-wrapper.animated .timeline-item:nth-child(7) { animation-delay: 2.7s; }
.lcgn-timeline-wrapper.animated .timeline-item:nth-child(8) { animation-delay: 3.1s; }
.lcgn-timeline-wrapper.animated .timeline-item:nth-child(9) { animation-delay: 3.5s; }
.lcgn-timeline-wrapper.animated .timeline-item:nth-child(10) { animation-delay: 3.9s; }

@keyframes itemFadeInBottom {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes itemFadeInTop {
  0% { opacity: 0; transform: translateY(-30px); }
  100% { opacity: 1; transform: translateY(0); }
}

.timeline-nav-btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(31, 78, 233, 0.2);
  border: 1.5px solid rgba(31, 78, 233, 0.5);
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.timeline-nav-btn:hover {
  background: #1f4ee9;
  border-color: #1f4ee9;
  color: white;
  box-shadow: 0 0 20px rgba(31, 78, 233, 0.5);
}

.timeline-item {
  position: relative;
  z-index: 2;
  min-width: 260px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-node {
  width: 50px;
  height: 50px;
  background-color: #0c102a;
  border: 4px solid #a3ff00;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a3ff00;
  font-size: 20px;
  margin: 0;
  z-index: 2;
  position: relative;
  box-shadow: 0 0 15px rgba(163, 255, 0, 0.4);
  flex-shrink: 0;
}

.timeline-card {
  /* Glass: warna asli transparan */
  background: rgba(31, 78, 233, 0.15);
  border: 1px solid rgba(31, 78, 233, 0.35);
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  position: absolute;
  width: 230px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  overflow: hidden;
}

.timeline-card::before {
  content: '';
  position: absolute;
  inset: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
}

.timeline-card > * {
  position: relative;
  z-index: 1;
}

.timeline-item.bottom .timeline-card {
  top: 80px;
}
.timeline-item.top .timeline-card {
  bottom: 80px;
}

/* Connective arrows */
.timeline-item.bottom .timeline-card::after {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 0 10px 10px 10px;
  border-style: solid;
  border-color: transparent transparent rgba(31, 78, 233, 0.35) transparent;
}
.timeline-item.top .timeline-card::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px 10px 0 10px;
  border-style: solid;
  border-color: rgba(31, 78, 233, 0.35) transparent transparent transparent;
}

.timeline-date {
  display: inline-block;
  border: 1px solid rgba(31, 78, 233, 0.5);
  background-color: rgba(31, 78, 233, 0.25);
  color: white;
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 12px;
  font-weight: bold;
  margin-bottom: 10px;
}

.timeline-title {
  color: #a3ff00;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 700;
}

.subtitle {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #a3ff00;
  margin-bottom: 20px;
  display: inline-block; /* Changed to inline-block to prevent orphaned brackets */
}

.subtitle.s2 {
  font-size: 14px;
}
.timeline-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0;
  line-height: 1.5;
}

@media (max-width: 991px) {
  .lcgn-timeline-wrapper {
    flex-direction: column;
    align-items: stretch;
  }
  .timeline-nav-btn {
    display: none;
  }
  .lcgn-timeline-track {
    flex-direction: column;
    padding: 20px 0;
    width: 100%;
  }
  .lcgn-timeline-track::before {
    left: 23px;
    top: 0;
    width: 4px;
    height: 100%;
    transform: none;
    background: #1f4ee9;
    transform-origin: top center;
  }
  .lcgn-timeline-wrapper.animated .lcgn-timeline-track::before {
    animation: lineGrowVertical 2s ease-in-out forwards;
  }
  @keyframes lineGrowVertical {
    0% { transform: scaleY(0); }
    100% { transform: scaleY(1); }
  }
  .timeline-item {
    width: 100%;
    min-width: unset;
    align-items: flex-start;
    flex-direction: row;
    margin-bottom: 40px;
  }
  .timeline-item:last-child {
    margin-bottom: 0;
  }
  .timeline-node {
    margin-right: 20px;
    flex-shrink: 0;
  }
  .timeline-card, .timeline-item.top .timeline-card, .timeline-item.bottom .timeline-card {
    position: relative;
    width: calc(100% - 70px);
    left: auto;
    transform: none;
    top: auto;
    bottom: auto;
    margin-top: -10px;
  }
  .timeline-item.bottom .timeline-card::before,
  .timeline-item.top .timeline-card::after {
    display: none;
  }
}

/* --- LCGN Testimonials --- */
.lcgn-testimonial-marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 20px 0;
  /* Fade mask — more inward */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 30%, black 70%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 30%, black 70%, transparent 100%);
}

.lcgn-testimonial-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 25s linear infinite;
  gap: 30px;
  padding: 10px 0;
}

.lcgn-testimonial-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 15px)); }
}

.lcgn-testimonial-card {
  width: 380px;
  /* Glass: warna asli transparan */
  background: rgba(31, 78, 233, 0.12);
  border: 1px solid rgba(31, 78, 233, 0.35);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  position: relative;
  overflow: hidden;
}

.lcgn-testimonial-card::before {
  content: '';
  position: absolute;
  inset: 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 0;
  pointer-events: none;
  border-radius: inherit;
}

.lcgn-testimonial-card > * {
  position: relative;
  z-index: 1;
}

.lcgn-testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(163, 255, 0, 0.4);
}

.testi-header {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testi-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #a3ff00;
  background-color: #0c102a;
}

.testi-info {
  display: flex;
  flex-direction: column;
}

.testi-name {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.testi-title {
  font-size: 13px;
  color: #a3ff00;
  line-height: 1.3;
}

.testi-body {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  font-style: italic;
  position: relative;
}

.testi-body::before {
  content: '"';
  font-size: 40px;
  color: rgba(163, 255, 0, 0.2);
  position: absolute;
  top: -10px;
  left: -20px;
  font-family: serif;
}

/* --- Sponsor Marquee & Section Fade --- */
.sponsor-marquee-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 60px 0;
  /* Mask for smooth fade edge on left/right marquee */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.sponsor-track {
  display: flex;
  width: max-content;
  animation: sponsorScroll 40s linear infinite;
  gap: 100px;
  align-items: center;
}

.sponsor-track:hover {
  animation-play-state: paused;
}

@keyframes sponsorScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 50px)); }
}

.sponsor-item img {
  height: clamp(30px, 4vw, 55px);
  width: auto;
  opacity: 0.6;
  transition: all 0.3s ease;
  filter: grayscale(1) brightness(2);
  display: block;
}

.sponsor-item:hover img {
  opacity: 1;
  filter: grayscale(0) brightness(1);
  transform: scale(1.1);
}

.section-fade-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to bottom, #0c102a 0%, transparent 100%);
  z-index: 10;
  pointer-events: none;
}

.section-fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(to top, #0c102a 0%, transparent 100%);
  z-index: 10;
  pointer-events: none;
}

/* --- Premium Button Refinement --- */
.btn-premium-glow {
  box-shadow: 0 0 20px rgba(163, 255, 0, 0.4);
  transition: all 0.3s ease !important;
}

.btn-premium-glow:hover {
  box-shadow: 0 0 35px rgba(163, 255, 0, 0.7);
  transform: translateY(-3px);
}

@keyframes jump-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-40px); } /* High crisp jump */
}

.jump-animate {
  animation: jump-bounce 0.5s cubic-bezier(0.45, 0.05, 0.55, 0.95) !important;
}


/* --- Custom Countdown Sizing --- */
.custom-countdown {
  margin-top: 10px;
}

#defaultCountdown.custom-countdown span {
  font-size: 38px !important;
  font-weight: 800 !important;
  color: #ffffff !important; /* Back to white as requested */
  line-height: 1;
}

#defaultCountdown.custom-countdown .countdown-section {
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#defaultCountdown.custom-countdown .countdown-amount {
  display: block;
  margin-bottom: 2px;
  color: #ffffff !important; /* Unified white */
}

#defaultCountdown.custom-countdown .countdown-period {
  font-size: 10px !important;
  color: #ffffff !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.5;
  font-weight: 400 !important;
}

/* --- Venue Image Crop --- */
.venue-img-cropped {
  width: 100%;
  height: 450px;
  object-fit: cover;
  object-position: 50% 100%; /* Shows from bottom up, effectively cropping top 15% */
  border-radius: 8px;
}

/* --- Coming Soon Overlay --- */
.coming-soon-blur {
  position: relative !important;
  pointer-events: none !important;
  user-select: none !important;
  min-height: 300px;
}

.coming-soon-blur::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(15px) grayscale(0.8);
  background: rgba(18, 18, 18, 0.4);
  z-index: 50;
}

.coming-soon-blur::after {
  content: "COMING SOON";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 51;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  padding: 12px 30px;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 4px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}
/* === PATCH: coming-soon-blur z-index fix === */

/* ─── Responsive Marquee Text ──────────────────────────────── */
.marquee-text {
  font-size: clamp(22px, 5vw, 60px);
  white-space: nowrap;
  font-weight: 700;
}

/* ─── Responsive Subtitle (Prevent brackets from falling on mobile) ─── */
@media (max-width: 767px) {
  .subtitle {
    font-size: 11px !important;
    letter-spacing: 1.5px !important;
    white-space: nowrap; /* Attempt to force single line for titles like SPONSORSHIP OPPORTUNITIES */
  }
}

/* ─── Fix Jarallax Fallback on Mobile ─────────────────────── */
.jarallax-img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: 0 !important;
}

/* ─── Logos Supported (mobile safe) ───────────────────────── */
#section-logos .d-flex {
  flex-wrap: wrap;
  gap: 24px !important;
}

#section-logos img {
  max-width: 250px; /* Increased from 140px so max-height in JSX takes effect */
  height: auto;
}

@media (max-width: 576px) {
  #section-logos img {
    max-height: 55px !important;
    max-width: 150px;
  }
}

/* ─── Mobile Countdown box ─────────────────────────────────── */
@media (max-width: 767px) {
  #defaultCountdown.custom-countdown span {
    font-size: 26px !important;
  }
  #defaultCountdown.custom-countdown .countdown-section {
    padding: 0 6px;
  }
}

/* ─── FAQ Tabbed Section ───────────────────────────────────── */
.lcgn-faq-wrapper {
  max-width: 860px;
  margin: 0 auto;
}

.lcgn-faq-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  justify-content: center;
}

.lcgn-faq-tab-btn {
  padding: 10px 22px;
  border-radius: 50px;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.4px;
}

.lcgn-faq-tab-btn:hover {
  border-color: rgba(163, 255, 0, 0.4);
  color: #fff;
  background: rgba(163, 255, 0, 0.07);
}

.lcgn-faq-tab-btn.active {
  border-color: #a3ff00;
  background: rgba(163, 255, 0, 0.14);
  color: #a3ff00;
  box-shadow: 0 0 18px rgba(163, 255, 0, 0.2);
}

.lcgn-faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lcgn-faq-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

/* FAQ Staggered Animations */
.lcgn-faq-item.enter {
  animation: faqItemEnter 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  opacity: 0;
}
.lcgn-faq-item.exit {
  animation: faqItemExit 0.3s cubic-bezier(0.4, 0, 1, 1) forwards;
}

@keyframes faqItemEnter {
  0% { opacity: 0; transform: translateY(30px) scale(0.96); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes faqItemExit {
  0% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-20px) scale(0.96); }
}

.lcgn-faq-item.open {
  border-color: rgba(163, 255, 0, 0.3);
  background: rgba(163, 255, 0, 0.04);
}

.lcgn-faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px 22px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}

.lcgn-faq-item.open .lcgn-faq-question {
  color: #a3ff00;
}

.lcgn-faq-question i {
  flex-shrink: 0;
  font-size: 13px;
  opacity: 0.6;
}

.lcgn-faq-answer-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lcgn-faq-item.open .lcgn-faq-answer-wrapper {
  grid-template-rows: 1fr;
}

.lcgn-faq-answer-inner {
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.lcgn-faq-item.open .lcgn-faq-answer-inner {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.lcgn-faq-answer {
  padding: 0 22px 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14.5px;
  line-height: 1.7;
}

.lcgn-faq-answer p {
  margin: 0;
}

.lcgn-faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.lcgn-faq-list li {
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.lcgn-faq-list li:last-child {
  border-bottom: none;
}

.lcgn-faq-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #a3ff00;
  font-weight: 700;
}

@media (max-width: 576px) {
  .lcgn-faq-tab-btn {
    padding: 8px 14px;
    font-size: 13px;
  }
  .lcgn-faq-question {
    font-size: 14px;
    padding: 14px 16px;
  }
  .lcgn-faq-answer {
    padding: 0 16px 14px;
    font-size: 13.5px;
  }
}
/* AIvent Chat Widget Styling - Final Frosted Edition */
.aivent-chat-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99999;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif !important;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.aivent-chat-wrapper *, 
.aivent-chat-wrapper *:before, 
.aivent-chat-wrapper *:after {
    box-sizing: border-box;
}

/* Floating Bubble */
.aivent-chat-bubble {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    /* Glass: warna asli transparan, backdrop-filter di ::before agar aman di build */
    background: rgba(12, 16, 42, 0.45) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #a3ff00 !important;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-out;
    padding: 0;
    margin: 0;
    outline: none;
    animation: quickPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.aivent-chat-bubble::before {
    content: '';
    position: absolute;
    inset: 0;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
}

.aivent-chat-bubble > * {
    position: relative;
    z-index: 1;
}

@keyframes quickPop {
    from { opacity: 0; transform: scale(0.6); }
    to { opacity: 1; transform: scale(1); }
}

.aivent-chat-bubble:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7);
    border-color: rgba(163, 255, 0, 0.5) !important;
}

/* Pulsing Heartbeat Effect */
.aivent-chat-bubble::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(163, 255, 0, 0.2);
    z-index: -1;
    animation: aiventHeartbeat 2s infinite ease-out;
}

@keyframes aiventHeartbeat {
    0% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.4); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

/* Chat Window Container */
.aivent-chat-window {
    width: 400px;
    height: 600px;
    /* Glass: warna asli transparan, backdrop-filter di ::before */
    background: rgba(10, 15, 28, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    outline: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8);
    animation: slideInChat 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    z-index: 1;
}

.aivent-chat-window::before {
    content: '';
    position: absolute;
    inset: 0;
    backdrop-filter: blur(40px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(40px) saturate(150%) !important;
    z-index: -1;
    pointer-events: none;
}

@keyframes slideInChat {
    from { opacity: 0; transform: translateY(50px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Header Section */
.aivent-chat-header {
    flex: 0 0 auto !important;
    padding: 25px 20px;
    background: rgba(18, 26, 42, 0.5) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.aivent-bot-avatar {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.08);
    color: #a3ff00;
    border-radius: 14px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 22px;
}

.aivent-bot-info {
    text-align: left;
}

.aivent-bot-info h6 {
    color: white !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    margin: 0 !important;
    letter-spacing: 0.5px;
}

.aivent-status {
    color: rgba(255, 255, 255, 0.6) !important;
    font-size: 11px !important;
    text-transform: capitalize !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    margin-top: 2px;
}

.aivent-online-dot {
    width: 7px;
    height: 7px;
    background: #00ff88;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
    animation: aiventPulseDot 1.5s infinite ease-in-out;
}

@keyframes aiventPulseDot {
    0% { transform: scale(1); opacity: 1; box-shadow: 0 0 5px rgba(0, 255, 136, 0.5); }
    50% { transform: scale(1.3); opacity: 0.7; box-shadow: 0 0 15px rgba(0, 255, 136, 0.8); }
    100% { transform: scale(1); opacity: 1; box-shadow: 0 0 5px rgba(0, 255, 136, 0.5); }
}

.aivent-close-btn {
    background: transparent !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 20px !important;
    cursor: pointer !important;
    transition: all 0.2s ease;
    padding: 5px !important;
}

.aivent-close-btn:hover {
    color: white !important;
    transform: rotate(90deg);
}

/* Messages Scroller */
.aivent-chat-messages {
    flex: 1 1 0% !important; /* Forces the box to shrink and scroll */
    min-height: 0 !important;
    padding: 25px 20px !important;
    overflow-y: auto !important;
    overscroll-behavior: contain; /* Mencegah scroll bocor ke halaman utama */
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    background: transparent !important;
    position: relative;
    z-index: 2;
}

/* Scrollbar Customization */
.aivent-scrollbar-v::-webkit-scrollbar {
    width: 4px;
}
.aivent-scrollbar-v::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

/* Message Bubble */
.aivent-message-bubble {
    width: 100%;
    display: flex !important;
    flex-direction: column !important;
}

.aivent-message-bubble.assistant {
    align-items: flex-start !important;
}

.aivent-message-bubble.user {
    align-items: flex-end !important;
}

.aivent-chat-content {
    max-width: 88% !important;
    min-width: 40px !important;
    padding: 14px 18px !important;
    border-radius: 20px !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
}

.assistant .aivent-chat-content {
    background: rgba(255, 255, 255, 0.05) !important; /* Darker chat for better blur visibility */
    color: #e2e4f0 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-bottom-left-radius: 4px !important;
}

.user .aivent-chat-content {
    background: #a3ff00 !important;
    color: #0c102a !important;
    font-weight: 600 !important;
    border-bottom-right-radius: 4px !important;
    box-shadow: 0 8px 25px rgba(163, 255, 0, 0.3);
}

/* Markdown elements styling */
.aivent-chat-content p {
    margin: 8px 0 !important;
}
.aivent-chat-content p:first-child { margin-top: 0 !important; }
.aivent-chat-content p:last-child { margin-bottom: 0 !important; }

.aivent-chat-content a {
    text-decoration: underline !important;
    font-weight: 700 !important;
}
.assistant .aivent-chat-content a {
    color: #a3ff00 !important;
}
.user .aivent-chat-content a {
    color: #0c102a !important;
}

.aivent-chat-content strong {
    font-weight: 800 !important;
}

.assistant .aivent-chat-content strong {
    color: #a3ff00 !important;
}

/* Typing Animation */
.aivent-typing-indicator {
    padding: 10px 0;
}
.aivent-typing-indicator span {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #a3ff00;
    border-radius: 50%;
    margin-right: 5px;
    animation: aiventTypingPulse 1s infinite alternate;
}
.aivent-typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.aivent-typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes aiventTypingPulse {
    from { opacity: 0.3; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1.2); }
}

/* Bottom Input Area */
.aivent-chat-input {
    flex: 0 0 auto !important;
    padding: 20px;
    background: rgba(12, 16, 42, 0.7) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    display: flex !important;
    gap: 12px !important;
    align-items: center !important;
}

.aivent-chat-input input {
    flex: 1 1 auto !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 14px !important;
    padding: 12px 18px !important;
    color: white !important;
    font-size: 14px !important;
    outline: none !important;
    transition: all 0.2s ease;
}

.aivent-chat-input button {
    flex: 0 0 45px !important;
    height: 45px !important;
    background: #a3ff00 !important;
    color: #0c102a !important;
    border: none !important;
    border-radius: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease;
    padding: 0 !important;
    font-size: 18px !important;
}

.aivent-chat-input button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(163, 255, 0, 0.3);
}

.aivent-chat-input button:disabled {
    opacity: 0.3 !important;
}

/* Mobile Fixes */
@media (max-width: 480px) {
    .aivent-chat-window {
        width: calc(100vw - 40px);
        height: calc(100vh - 120px);
    }
}
.gallery-page {
  --gallery-bg: #0c102a;
  --gallery-panel: #12183b;
  --gallery-panel-2: #171f48;
  --gallery-line: rgba(255, 255, 255, 0.1);
  --gallery-muted: rgba(238, 242, 255, 0.66);
  --gallery-blue: #487bff;
  min-height: 100vh;
  color: #fff;
  background: var(--gallery-bg);
}

.gallery-page .gallery-header-cta {
  display: flex;
  gap: 14px;
  align-items: center;
}

.gallery-page #mainmenu .active {
  color: #fff;
}

.gallery-page #mainmenu .active::after {
  width: 100%;
}

.gallery-page .gallery-hero {
  position: relative;
  display: flex;
  min-height: min(680px, 74vh);
  align-items: end;
  padding: 184px 0 92px;
  background: var(--gallery-bg);
}

.gallery-page .gallery-hero-video {
  opacity: 0.58;
}

.gallery-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 72% 38%, rgba(57, 99, 255, 0.3), transparent 31%),
    linear-gradient(90deg, rgba(12, 16, 42, 0.92) 0%, rgba(12, 16, 42, 0.54) 52%, rgba(12, 16, 42, 0.84) 100%),
    linear-gradient(0deg, #0c102a 0%, transparent 48%);
}

.gallery-hero-container {
  position: relative;
  z-index: 2;
}

.gallery-page .subtitle {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.gallery-page .gallery-hero h1 {
  max-width: 720px;
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(48px, 6.2vw, 82px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.055em;
}

.gallery-page .gallery-hero h1 span {
  color: #fff;
  text-shadow: 0 0 34px rgba(72, 123, 255, 0.5);
}

.gallery-page .gallery-lead {
  max-width: 630px;
  color: var(--gallery-muted);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.75;
}

.gallery-page .gallery-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border: 1px solid var(--gallery-line);
  border-radius: 15px;
  background: rgba(17, 23, 57, 0.7);
  backdrop-filter: blur(13px);
}

.gallery-page .gallery-summary div {
  padding: 27px 10px;
  text-align: center;
}

.gallery-page .gallery-summary div + div {
  border-left: 1px solid var(--gallery-line);
}

.gallery-page .gallery-summary strong {
  display: block;
  margin-bottom: 7px;
  color: #fff;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1;
}

.gallery-page .gallery-summary span {
  color: var(--gallery-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.gallery-page .gallery-showcase {
  padding: 82px 0 92px;
  background:
    radial-gradient(circle at 88% 0%, rgba(45, 83, 211, 0.12), transparent 26rem),
    var(--gallery-bg) !important;
}

.gallery-page .gallery-showcase > .container {
  max-width: 1180px;
  margin-inline: auto;
}

.gallery-page .gallery-controls {
  display: flex;
  gap: 32px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 34px;
}

.gallery-page .gallery-showcase-title {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.045em;
}

.gallery-page .gallery-search {
  display: flex;
  flex: 0 1 365px;
  gap: 13px;
  align-items: center;
  height: 55px;
  padding: 0 18px;
  border: 1px solid var(--gallery-line);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.45);
  background: var(--gallery-panel);
}

.gallery-page .gallery-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #fff;
  font: inherit;
  font-size: 14px;
  background: transparent;
}

.gallery-page .gallery-search input::placeholder {
  color: rgba(238, 242, 255, 0.42);
}

.gallery-page .gallery-category-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 11px;
  margin: 0 0 42px;
}

.gallery-page .gallery-category-nav a {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  padding: 13px 18px;
  border: 1px solid var(--gallery-line);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  background: var(--gallery-panel);
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.gallery-page .gallery-category-nav a:hover {
  border-color: rgba(72, 123, 255, 0.6);
  background: rgba(50, 89, 220, 0.18);
  transform: translateY(-2px);
}

.gallery-page .gallery-category-nav b {
  color: #8eabff;
  font-size: 12px;
  font-weight: 600;
}

.gallery-page .gallery-category-list {
  display: grid;
  gap: 33px;
}

.gallery-page .gallery-category {
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--gallery-line);
  border-radius: 14px;
  scroll-margin-top: 92px;
  background: rgba(18, 24, 59, 0.78);
}

.gallery-page .gallery-category-heading {
  display: flex;
  gap: 22px;
  align-items: start;
  justify-content: space-between;
  margin-bottom: 27px;
}

.gallery-page .gallery-category-heading p {
  margin: 0 0 7px;
  color: #7c9cff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.gallery-page .gallery-category-heading h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(29px, 4vw, 39px);
  font-weight: 700;
  letter-spacing: -0.04em;
}

.gallery-page .gallery-category-heading span {
  color: var(--gallery-muted);
  font-size: 14px;
}

.gallery-page .gallery-category-heading strong {
  flex-shrink: 0;
  padding: 11px 16px;
  border: 1px solid rgba(72, 123, 255, 0.32);
  border-radius: 8px;
  color: #9cb5ff;
  font-size: 13px;
  background: rgba(72, 123, 255, 0.1);
}

.gallery-page .gallery-game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  justify-content: center;
  gap: 17px;
}

.gallery-page .gallery-game-card {
  overflow: hidden;
  border: 1px solid var(--gallery-line);
  border-radius: 10px;
  background: var(--gallery-panel-2);
  transition: border-color 0.24s ease, transform 0.24s ease;
}

.gallery-page .gallery-game-card:hover {
  border-color: rgba(72, 123, 255, 0.48);
  transform: translateY(-4px);
}

.gallery-page .gallery-game-card img {
  display: block;
  width: 100%;
  height: 164px;
  object-fit: cover;
  opacity: 0.9;
}

.gallery-page .gallery-game-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 164px;
  color: var(--gallery-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  background:
    radial-gradient(circle at 50% 28%, rgba(72, 123, 255, 0.2), transparent 52%),
    var(--gallery-panel);
}

.gallery-page .gallery-game-placeholder svg {
  color: #567de9;
  font-size: 29px;
}

.gallery-page .gallery-game-content {
  padding: 17px 17px 18px;
}

.gallery-page .gallery-badge {
  display: inline-block;
  margin-bottom: 11px;
  padding: 4px 9px;
  border: 1px solid rgba(72, 123, 255, 0.38);
  border-radius: 4px;
  color: #a4bbff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(72, 123, 255, 0.12);
}

.gallery-page .gallery-game-card h4 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 19px;
  font-weight: 600;
}

.gallery-page .gallery-game-school {
  display: flex;
  gap: 8px;
  align-items: start;
  min-height: 38px;
  margin-bottom: 11px;
  color: #a4bbff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
}

.gallery-page .gallery-game-school svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: #6d94ff;
}

.gallery-page .gallery-game-card p {
  display: -webkit-box;
  min-height: 45px;
  overflow: hidden;
  margin: 0 0 18px;
  color: var(--gallery-muted);
  font-size: 13px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.gallery-page .gallery-game-action {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 15px;
  border: 1px solid rgba(72, 123, 255, 0.5);
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  background: rgba(72, 123, 255, 0.16);
  transition: border-color 0.22s ease, background 0.22s ease;
}

.gallery-page .gallery-game-action:hover {
  border-color: #6d94ff;
  color: #fff;
  background: rgba(72, 123, 255, 0.34);
}

.gallery-page .gallery-game-action svg {
  font-size: 11px;
}

.gallery-page .gallery-game-unavailable {
  display: inline-flex;
  padding: 10px 15px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: var(--gallery-muted);
  font-size: 13px;
  font-weight: 600;
}

.gallery-page .gallery-empty {
  padding: 28px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: var(--gallery-muted);
  text-align: center;
}

.gallery-page .gallery-footer {
  border-top: 1px solid var(--gallery-line);
  padding: 30px 0;
  background: #090d24;
}

.gallery-page .gallery-footer-inner {
  display: flex;
  gap: 25px;
  align-items: center;
  justify-content: space-between;
}

.gallery-page .gallery-footer img {
  width: 112px;
}

.gallery-page .gallery-footer p {
  color: var(--gallery-muted);
  font-size: 13px;
}

.gallery-page .gallery-footer a {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  color: #9db5ff;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 991px) {
  .gallery-page .gallery-header-cta .btn-main {
    display: none;
  }

  .gallery-page .gallery-hero {
    padding: 138px 0 66px;
  }

  .gallery-page .gallery-summary {
    margin-top: 37px;
  }

  .gallery-page .gallery-controls {
    flex-direction: column;
    align-items: start;
  }

  .gallery-page .gallery-search {
    flex-basis: auto;
    width: min(100%, 420px);
  }

  .gallery-page .gallery-category-nav {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px;
    min-height: 58px;
    margin-bottom: 28px;
    padding-bottom: 2px;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .gallery-page .gallery-category-nav::-webkit-scrollbar {
    display: none;
  }

  .gallery-page .gallery-category-nav a {
    flex: 0 0 auto;
    height: auto !important;
    min-height: 54px;
    min-width: 126px;
    justify-content: space-between;
  }
}

@media (max-width: 576px) {
  .gallery-page .gallery-hero {
    min-height: 600px;
    padding: 116px 0 48px;
  }

  .gallery-page .gallery-showcase {
    padding: 55px 0 64px;
  }

  .gallery-page .gallery-category-heading,
  .gallery-page .gallery-footer-inner {
    flex-direction: column;
    align-items: start;
  }

  .gallery-page .gallery-game-grid {
    grid-template-columns: 1fr;
  }
}
.winner-highlights {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 86px 0 94px;
  background:
    radial-gradient(circle at 50% 5%, rgba(55, 102, 255, 0.17), transparent 34%),
    linear-gradient(180deg, #101637 0%, #0b1029 100%);
}

.winner-highlights::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background-image:
    radial-gradient(circle, rgba(255, 215, 112, 0.55) 0 2px, transparent 2.5px),
    radial-gradient(circle, rgba(86, 132, 255, 0.52) 0 2px, transparent 2.5px);
  background-position: calc(50% - 310px) 90px, calc(50% + 314px) 154px;
  background-repeat: no-repeat;
}

.winner-highlights::after {
  position: absolute;
  bottom: 7%;
  left: 50%;
  z-index: -1;
  width: min(1160px, 92vw);
  height: 180px;
  content: "";
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(250, 186, 54, 0.08), transparent 68%);
  pointer-events: none;
}

.winner-glow {
  position: absolute;
  top: -190px;
  left: 50%;
  width: min(980px, 100%);
  height: 430px;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse, rgba(31, 78, 233, 0.28) 0%, transparent 67%),
    radial-gradient(circle at center, rgba(255, 195, 61, 0.1), transparent 44%);
  pointer-events: none;
}

.winner-heading {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: center;
  margin: 0 auto 48px;
  text-align: center;
}

.winner-heading .subtitle {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  padding: 8px 15px;
  border: 1px solid rgba(255, 205, 81, 0.34);
  border-radius: 999px;
  color: #ffd76b;
  background: rgba(121, 81, 7, 0.18);
  box-shadow: 0 0 26px rgba(255, 196, 48, 0.1);
}

.winner-heading .subtitle::before,
.winner-heading .subtitle::after {
  width: 16px;
  height: 1px;
  content: "";
  background: #f6c94e;
}

.winner-heading h2 {
  margin: 0 0 12px;
  color: transparent;
  font-size: clamp(36px, 4.4vw, 54px);
  line-height: 1.1;
  letter-spacing: -0.045em;
  background: linear-gradient(100deg, #fff 12%, #ffe3a3 49%, #fff 86%);
  background-clip: text;
  -webkit-background-clip: text;
}

.winner-heading p {
  max-width: 610px;
  margin: 0 auto;
  color: rgba(238, 242, 255, 0.68);
  font-size: 16px;
  line-height: 1.72;
}

.winner-gallery-link {
  box-shadow: 0 14px 30px rgba(40, 87, 245, 0.3);
}

.winner-gallery-link span {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  white-space: nowrap;
}

.winner-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 17px;
}

.winner-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 209, 94, 0.17);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(27, 36, 79, 0.98), rgba(12, 17, 45, 0.99));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.26);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.winner-card::before {
  position: absolute;
  top: 0;
  left: 18%;
  z-index: 2;
  width: 64%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 213, 110, 0.78), transparent);
}

.winner-card.is-favorite::before {
  background: linear-gradient(90deg, transparent, rgba(113, 161, 255, 0.84), transparent);
}

.winner-card:hover {
  border-color: rgba(255, 206, 81, 0.45);
  box-shadow: 0 23px 55px rgba(4, 7, 23, 0.4), 0 0 34px rgba(246, 191, 50, 0.1);
  transform: translateY(-7px);
}

.winner-card.is-favorite:hover {
  border-color: rgba(92, 140, 255, 0.62);
  box-shadow: 0 23px 55px rgba(4, 7, 23, 0.4), 0 0 34px rgba(65, 113, 255, 0.18);
}

.winner-media {
  position: relative;
  height: 164px;
  overflow: hidden;
}

.winner-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(12, 16, 42, 0.78), transparent 62%);
}

.winner-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.winner-card:hover .winner-media img {
  transform: scale(1.05);
}

.winner-rank {
  position: absolute;
  bottom: 12px;
  left: 50%;
  z-index: 1;
  display: inline-flex;
  gap: 7px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid rgba(255, 208, 94, 0.4);
  border-radius: 5px;
  color: #ffde82;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: rgba(108, 77, 8, 0.48);
  backdrop-filter: blur(8px);
  transform: translateX(-50%);
}

.winner-rank.is-favorite {
  border-color: rgba(112, 159, 255, 0.5);
  color: #d3e0ff;
  background: rgba(30, 65, 155, 0.5);
}

.winner-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 19px 16px 17px;
  text-align: center;
}

.winner-category {
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: #a8beff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.winner-category span {
  color: #507cff;
}

.winner-card h3 {
  min-height: 49px;
  margin: 0 0 9px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.38;
}

.winner-members {
  display: grid;
  gap: 4px;
  min-height: 45px;
  color: rgba(238, 242, 255, 0.62);
  font-size: 12px;
  line-height: 1.48;
}

.winner-members span {
  display: block;
}

.winner-play {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 43px;
  margin-top: auto;
  padding: 11px 12px;
  border: 1px solid rgba(255, 205, 81, 0.28);
  border-radius: 10px;
  color: #ffe29a;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(245, 181, 36, 0.09);
  transition: border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.winner-play:hover {
  border-color: rgba(255, 210, 96, 0.6);
  color: #fff1c4;
  background: rgba(245, 181, 36, 0.17);
}

.winner-play.is-unavailable {
  border-color: rgba(159, 180, 233, 0.16);
  color: rgba(185, 201, 245, 0.62);
  font-family: inherit;
  background: rgba(99, 119, 171, 0.08);
  cursor: not-allowed;
}

@media (max-width: 1199px) {
  .winner-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .winner-highlights {
    padding: 64px 0 70px;
  }

  .winner-heading {
    margin-bottom: 30px;
  }

  .winner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 479px) {
  .winner-heading h2 {
    font-size: 34px;
  }

  .winner-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .winner-card,
  .winner-media img,
  .winner-play {
    transition: none;
  }
}
:root {
  --text: #6b6375;
  --text-h: #08060d;
  --bg: #fff;
  --border: #e5e4e7;
  --code-bg: #f4f3ec;
  --accent: #aa3bff;
  --accent-bg: rgba(170, 59, 255, 0.1);
  --accent-border: rgba(170, 59, 255, 0.5);
  --social-bg: rgba(244, 243, 236, 0.5);
  --shadow:
    rgba(0, 0, 0, 0.1) 0 10px 15px -3px, rgba(0, 0, 0, 0.05) 0 4px 6px -2px;

  --sans: 'Manrope', system-ui, 'Segoe UI', Roboto, sans-serif;
  --heading: 'Manrope', system-ui, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, Consolas, monospace;

  font: 18px/145% var(--sans);
  letter-spacing: 0.18px;
  color-scheme: light dark;
  color: var(--text);
  background: var(--bg);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  @media (max-width: 1024px) {
    font-size: 16px;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #9ca3af;
    --text-h: #f3f4f6;
    --bg: #16171d;
    --border: #2e303a;
    --code-bg: #1f2028;
    --accent: #c084fc;
    --accent-bg: rgba(192, 132, 252, 0.15);
    --accent-border: rgba(192, 132, 252, 0.5);
    --social-bg: rgba(47, 48, 58, 0.5);
    --shadow:
      rgba(0, 0, 0, 0.4) 0 10px 15px -3px, rgba(0, 0, 0, 0.25) 0 4px 6px -2px;
  }

  #social .button-icon {
    filter: invert(1) brightness(2);
  }
}

body {
  margin: 0;
}

#root {
  width: 100%;
  min-height: 100vh;
}

h1,
h2 {
  font-family: var(--heading);
  font-weight: 500;
  color: var(--text-h);
}

h1 {
  font-size: 56px;
  letter-spacing: -1.68px;
  margin: 32px 0;
  @media (max-width: 1024px) {
    font-size: 36px;
    margin: 20px 0;
  }
}
h2 {
  font-size: 48px;
  font-weight: 700;
  line-height: 110%;
  letter-spacing: -0.02em;
  margin: 0 0 15px;
  @media (max-width: 1024px) {
    font-size: 32px;
  }
}
p {
  margin: 0;
}

code,
.counter {
  font-family: var(--mono);
  display: inline-flex;
  border-radius: 4px;
  color: var(--text-h);
}

code {
  font-size: 15px;
  line-height: 135%;
  padding: 4px 8px;
  background: var(--code-bg);
}
.test-backdrop {
  backdrop-filter: blur(20px);
}
.test-webkit {
  -webkit-backdrop-filter: blur(20px);
}
.test-both {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.test-both-reverse {
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
