*,
*::before,
*::after {
  box-sizing: border-box;
  max-width: 100%;
}

html {
  margin: 0;
  padding: 0;
  overflow: hidden;
  overflow-y: auto;
  scroll-behavior: auto !important;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: #F8F9FA;
  max-width: 100% !important;
  position: relative;
  overflow: hidden;
  min-height: 100%;
  /* ← remove overflow-x: hidden from here */
}

/* Fonts */
.font-montserrat {
  font-family: "Montserrat", sans-serif;
}

.font-bebas {
  font-family: "Bebas Neue", sans-serif;
}

.font-playfair {
  font-family: "Playfair Display", serif;
}

/* Colors */
.text-green {
  color: #00FF87 !important;
}

.bg-green {
  background-color: #00FF87 !important;
}

.text-dark-green {
  color: #00BA88 !important;
}

.bg-dark-green {
  background-color: #00BA88 !important;
}

.bg-light-gray {
  background-color: #F8F9FA !important;
}

.bg-gray {
  background-color: #F5F5F5 !important;
}

/* Typography */
.tracking-wide {
  letter-spacing: 0.32px;
}

.tracking-extra-wide {
  letter-spacing: 40px;
}

.tracking-extra-wide-1 {
  letter-spacing: 14px;
}

.small-md-normal {
  font-size: 14px;
}

@media (min-width: 768px) {
  .small-md-normal {
    font-size: 16px;
  }
}

.h5-md-h4 {
  font-size: 18px;
}

@media (min-width: 768px) {
  .h5-md-h4 {
    font-size: 24px;
  }
}

/* Containers & Lines */
.container-custom {
  max-width: 1440px;
  width: 100%;
}

.green-line {
  width: 118px;
  height: 2px;
  background-color: #00FF87;
}

.dark-green-line {
  width: 118px;
  height: 2px;
  background-color: #00BA88;
}

.black-line {
  width: 0.10rem;
  background-color: #000;
}

/* Header */
.header-gradient {
  height: 100px;
  background: linear-gradient(90deg, #071D32 -2.38%, #155898 100%);
}

.h-16-md-20 {
  height: 4rem;
}

@media (min-width: 768px) {
  .h-16-md-20 {
    height: 5rem;
  }
}

/* Hero */
.hero-section {
  min-height: 1150px;
  padding-bottom: 4rem;
  background: url(/assets/images/Main.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.hero-section-2 {
  min-height: 1150px;
  padding-bottom: 4rem;
  background: url(/assets/images/Main.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

@media (min-width: 992px) {
  .hero-section {
    min-height: 1150px;
    padding-bottom: 6rem;
    background: url(/assets/images/Main.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }

  .hero-section-2 {
    min-height: 1150px;
    padding-bottom: 6rem;
    background: url(/assets/images/Frame_3.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }
}

.hero-overlay {
  background: linear-gradient(47deg, #000 4.87%, rgba(0, 0, 0, 0) 60.85%);
}


.hero-title {
  font-size: 48px;
  line-height: 1;
  max-width: 589px;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 64px;
  }
}

@media (min-width: 992px) {
  .hero-title {
    font-size: 80px;
  }
}

.hero-text {
  max-width: 564px;
  line-height: 24px;
}

.hero-btn:hover {
  background-color: #00e07a !important;
}

/* Section 2 (Stats) */
.john-photo-wrapper {
  width: 100%;
}

@media (min-width: 1200px) {
  .john-photo-wrapper {
    width: 710px;
  }
}

.john-photo {
  height: 400px;
  min-height: 500px;
  border-bottom-right-radius: 10px;
  border-top-right-radius: 10px;
}

@media (min-width: 768px) {
  .john-photo {
    height: 600px;
  }
}

@media (min-width: 992px) {
  .john-photo {
    height: 100%;
  }
}

.stats-title {
  font-size: 44px;
}

@media (min-width: 768px) {
  .stats-title {
    font-size: 60px;
  }
}

@media (min-width: 992px) {
  .stats-title {
    font-size: 80px;
  }
}

.quote-text {
  font-size: 22px;
  max-width: 418px;
}

@media (min-width: 768px) {
  .quote-text {
    font-size: 28px;
  }
}

@media (min-width: 992px) {
  .quote-text {
    font-size: 32px;
  }
}

.stats-number {
  font-size: 48px;
}

@media (min-width: 768px) {
  .stats-number {
    font-size: 60px;
  }
}

.stats-large-number {
  font-size: 60px;
}

@media (min-width: 768px) {
  .stats-large-number {
    font-size: 80px;
  }
}

/* Prevention Section */
.prevention-bg-gradient {
  background: linear-gradient(143deg, #18315B 0%, #3368C1 109.93%);
}

.prevention-john-wrapper {
  width: 100%;
}

@media (min-width: 1200px) {
  .prevention-john-wrapper {
    width: 920px;
  }
}

.prevention-john {
  max-height: 600px;
  object-position: bottom;
}

@media (min-width: 992px) {
  .prevention-john {
    max-height: 868px;
  }
}

.prevention-title {
  font-size: 36px;
  max-width: 564px;
}

@media (min-width: 768px) {
  .prevention-title {
    font-size: 50px;
  }
}

@media (min-width: 992px) {
  .prevention-title {
    font-size: 60px;
  }
}

.prevention-desc {
  max-width: 447px;
}

.prevention-banner {
  height: 80px;
  max-width: 749px;
  background: linear-gradient(90deg, rgba(0, 255, 135, 0) 12.63%, #00FF87 100%);
}

.prevention-banner-text {
  font-size: 24px;
}

@media (min-width: 768px) {
  .prevention-banner-text {
    font-size: 32px;
  }
}

.prevention-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0) 100%);
}

.bottom-text-block {
  max-width: 1440px;
}

@media (min-width: 992px) {
  .bottom-text-block {
    padding-left: 183px !important;
    padding-right: 183px !important;
  }
}

.h2-md-display {
  font-size: 36px;
}

@media (min-width: 768px) {
  .h2-md-display {
    font-size: 50px;
  }
}

@media (min-width: 992px) {
  .h2-md-display {
    font-size: 60px;
  }
}

/* Section 5: Plan */
.mw-628 {
  max-width: 628px;
}

.uwe-plan-img-wrapper {
  width: 100%;
}

@media (min-width: 992px) {
  .uwe-plan-img-wrapper {
    width: 418px;
  }
}

.uwe-plan-img {
  height: 400px;
}

@media (min-width: 992px) {
  .uwe-plan-img {
    height: 552px;
  }
}

.h1-display {
  font-size: 60px;
}

@media (min-width: 768px) {
  .h1-display {
    font-size: 90px;
  }
}

@media (min-width: 992px) {
  .h1-display {
    font-size: 120px;
  }
}

.feature-card {
  height: 300px;
}

@media (min-width: 768px) {
  .feature-card {
    height: 400px;
  }
}

.feature-overlay-1 {
  background: linear-gradient(150deg, #000 -5.01%, rgba(0, 0, 0, 0) 47.99%);
}

.feature-overlay-2 {
  background: linear-gradient(153deg, #000 -11.64%, rgba(0, 0, 0, 0) 48.55%);
}

@media (min-width: 992px) {
  .feature-cards-container {
    padding-left: 156px !important;
    padding-right: 156px !important;
  }
}

/* Testimonials */
.testimonials-bg {
  background: linear-gradient(313deg, #18315B 0%, #000514 123.28%);
}

.h1-md-display {
  font-size: 48px;
}

@media (min-width: 768px) {
  .h1-md-display {
    font-size: 64px;
  }
}

@media (min-width: 992px) {
  .h1-md-display {
    font-size: 80px;
  }
}

.slider-btn:hover {
  opacity: 0.7;
  transition: opacity 0.3s;
}

.testimonial-card {
  border: 1px solid white;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.25) 100%);
  box-shadow: 40px 28px 80px 0 rgba(0, 0, 0, 0.08);
  transition: all 0.3s;
  height: 100%;
}

.testimonial-card-title {
  font-size: 28px;
  line-height: 42px;
  letter-spacing: 1.28px;
}

@media (min-width: 768px) {
  .testimonial-card-title {
    font-size: 32px;
  }
}

.testimonial-card-text {
  font-size: 16px;
  line-height: 28px;
}

@media (min-width: 768px) {
  .testimonial-card-text {
    font-size: 18px;
  }
}

.testimonial-card-author {
  font-size: 16px;
  font-weight: 800;
}

/* CTA */
.cta-wrapper {
  min-height: 500px;
}

@media (min-width: 992px) {
  .cta-wrapper {
    min-height: 801px;
  }
}

.cta-bg {
  background: linear-gradient(313deg, #18315B 0%, #000514 123.28%);
}

.cta-content {
  max-width: none;
}

/* Footer */
.footer-big-title {
  font-size: 80px;
}

@media (min-width: 768px) {
  .footer-big-title {
    font-size: 120px;
  }
}

@media (min-width: 992px) {
  .footer-big-title {
    font-size: 160px;
  }
}

.gradient-text {
  background: linear-gradient(90deg, #00BA88, #071D32);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hover-dark-green:hover {
  background-color: #009e73 !important;
}


.btn-protection {
  background: linear-gradient(135deg, #ff6a2f 0%, #ff4500 60%, #e63900 100%);
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 18px 52px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 6px 28px rgba(255, 90, 30, 0.45);
  transition: all 0.25s ease;
  text-decoration: none;
  display: inline-block;
  /* white-space: nowrap; */
}

.btn-protection:hover {
  background: linear-gradient(135deg, #ff7a45 0%, #ff5520 60%, #f04010 100%);
  color: #ffffff;
  box-shadow: 0 10px 36px rgba(255, 90, 30, 0.6);
  transform: translateY(-2px) scale(1.02);
}

.btn-protection:active {
  transform: translateY(0px) scale(0.99);
  box-shadow: 0 4px 16px rgba(255, 90, 30, 0.4);
}

.gradient-text {
  -webkit-text-fill-color: #0000;
  background: linear-gradient(30deg, #fff 40%, #00ff87 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: #0000;
}

.border-dark-green {
  border-color: #00BA88 !important;
  border-width: 0.60rem !important;
}

/* ── Nav arrows ── */
.slider-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #ccc;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #444;
}

.nav-arrow:hover {
  border-color: #00BA88;
  color: #00BA88;
  background: rgba(29, 185, 84, 0.07);
}

.nav-arrow svg {
  width: 18px;
  height: 18px;
}

/* ── Slider track ── */
.slider-outer {
  overflow: hidden;
  margin-top: 32px;
  cursor: grab;
  user-select: none;
}

.slider-outer:active {
  cursor: grabbing;
}

.slider-track {
  display: flex;
  gap: 18px;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  /* will-change: transform; */
}

/* ── Cards ── */
.slide-card {
  flex: 0 0 calc(20% - 15px);
  min-width: 260px;
  /* border-radius: var(--card-radius); */
  overflow: hidden;
  position: relative;
  border-radius: 20px;
  /* aspect-ratio: 3/4; */
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18); */
  /* transition: transform 0.3s ease, box-shadow 0.3s ease; */
}

.slide-card:hover {
  /* transform: translateY(-5px) scale(1.01); */
  border-radius: 20px;
  /* box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28); */
}

.slide-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.slide-card:hover img {
  transform: scale(1.04);
}

/* dark overlay gradient */
.slide-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.42) 0%,
      rgba(0, 0, 0, 0.1) 40%,
      rgba(0, 0, 0, 0.0) 100%);
  border-radius: var(--card-radius);
  pointer-events: none;
}

/* Card label overlay */
.card-label {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.card-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(29, 185, 84, 0.5);
}

.card-icon svg {
  width: 20px;
  height: 20px;
  stroke: #00BA88;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-label-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  max-width: 140px;
}

/* ── Progress dots ── */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.dot.active {
  background: #00BA88;
  width: 24px;
  border-radius: 4px;
}

/* ── Responsive ── */
@media (max-width: 1200px) {
  .slide-card {
    flex: 0 0 280px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 48px 0 40px;
  }

  .slide-card {
    flex: 0 0 240px;
  }
}

@media (max-width: 576px) {
  .slide-card {
    flex: 0 0 200px;
    min-width: 200px;
  }
}

/* Section */
.ts-section {
  position: relative;
  padding: 72px 0 80px;
  overflow: hidden;
}

/* Cyber grid */
.ts-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Radial glow corner */
.ts-section::after {
  content: '';
  position: absolute;
  top: -120px;
  left: -120px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 60, 140, 0.55) 0%, transparent 70%);
  pointer-events: none;
}

/* Glow blobs */
.ts-glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.35;
}

.ts-glow-blob.ts-g1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #003c8c, transparent);
  top: 40%;
  right: -80px;
}

.ts-glow-blob.ts-g2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #004d40, transparent);
  bottom: -60px;
  left: 30%;
}

/* Header */
.ts-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
  position: relative;
  z-index: 2;
}

.ts-section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
  margin: 0;
}

/* Nav */
.ts-nav-arrows {
  display: flex;
  gap: 14px;
}

.ts-arrow-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.22s ease;
}

.ts-arrow-btn:hover {
  border-color: #00e5ff;
  color: #00e5ff;
  background: rgba(0, 229, 255, 0.08);
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.25);
}

.ts-arrow-btn svg {
  width: 20px;
  height: 20px;
}

/* Slider wrapper */
.ts-slider-outer {
  overflow: hidden;
  position: relative;
  z-index: 2;
  cursor: grab;
  user-select: none;
}

.ts-slider-outer:active {
  cursor: grabbing;
}

/* Fade edges */
.ts-slider-outer::before,
.ts-slider-outer::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  pointer-events: none;
  z-index: 3;
}

.ts-slider-outer::before {
  left: 0;
  /* background: linear-gradient(to right, #020c1b, transparent); */
}

.ts-slider-outer::after {
  right: 0;
  /* background: linear-gradient(to left, #020c1b, transparent); */
}

.ts-slider-track {
  display: flex;
  gap: 24px;
  transition: transform 0.48s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* Cards */
.ts-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 300px;
  background: rgba(5, 25, 55, 0.72);
  border: 1px solid rgba(0, 229, 255, 0.18);
  border-radius: 18px;
  padding: 32px 28px 28px;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.ts-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #00e5ff, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ts-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 255, 0.4);
  box-shadow: 0 8px 40px rgba(0, 229, 255, 0.12), 0 2px 12px rgba(0, 0, 0, 0.5);
}

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

.ts-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 0%, rgba(0, 100, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

/* Quote watermark */
.ts-quote-mark {
  position: absolute;
  top: 22px;
  right: 24px;
  font-size: 64px;
  line-height: 1;
  color: rgba(0, 229, 255, 0.08);
  font-family: Georgia, serif;
  font-weight: 900;
  pointer-events: none;
  z-index: 0;
}

.ts-card-title {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #00e676;
  line-height: 1.3;
  position: relative;
  z-index: 1;
  margin: 0;
}

.ts-card-body {
  font-size: 0.88rem;
  font-weight: 400;
  color: #cfe8ff;
  line-height: 1.7;
  position: relative;
  z-index: 1;
  flex: 1;
}

.ts-card-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.ts-stars {
  display: flex;
  gap: 3px;
}

.ts-star {
  width: 16px;
  height: 16px;
  color: #00e676;
}

.ts-star svg {
  width: 100%;
  height: 100%;
}

.ts-author-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.02em;
}

/* Dots */
.ts-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 36px;
  position: relative;
  z-index: 2;
}

.ts-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.ts-dot.active {
  background: #00e5ff;
  width: 26px;
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(0, 229, 255, 0.6);
}

/* Responsive */
@media (max-width: 1100px) {
  .ts-card {
    flex: 0 0 calc(50% - 12px);
  }
}

@media (max-width: 640px) {
  .ts-card {
    flex: 0 0 88vw;
    min-width: 260px;
  }

  .ts-section-title {
    font-size: 1.8rem;
  }
}

/* Preloader  */

#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hide {
  opacity: 0;
  visibility: hidden;
}

/* ── Court floor lines ── */
.court-line {
  position: absolute;
  bottom: 38%;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 90px;
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-bottom: none;
  border-radius: 90px 90px 0 0;
}

.court-line-h {
  position: absolute;
  bottom: 38%;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
}

/* ── Shadow on floor ── */
.floor-shadow {
  position: absolute;
  bottom: 37%;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 14px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  animation: shadow-anim 0.55s cubic-bezier(0.33, 0, 0.66, -0.4) infinite alternate;
}

@keyframes shadow-anim {
  from {
    width: 68px;
    opacity: 0.7;
  }

  to {
    width: 28px;
    opacity: 0.2;
  }
}

/* ── Ball ── */
.ball-container {
  position: absolute;
  bottom: 37%;
  left: 50%;
  transform: translateX(-50%);
  animation: dribble 0.55s cubic-bezier(0.33, 0, 0.66, -0.55) infinite alternate;
}

@keyframes dribble {
  from {
    bottom: 37%;
    animation-timing-function: cubic-bezier(0.33, 0, 0.66, -0.55);
  }

  to {
    bottom: 62%;
  }
}

.ball-svg {
  width: 88px;
  height: 88px;
  animation: ball-squash 0.55s ease-in-out infinite alternate;
  filter: drop-shadow(0 4px 16px rgba(200, 100, 20, 0.4));
}

/* squash & stretch */
@keyframes ball-squash {
  from {
    transform: scaleX(1.18) scaleY(0.82);
  }

  /* squash on floor */
  to {
    transform: scaleX(0.9) scaleY(1.1);
  }

  /* stretch in air  */
}

/* ── Trailing dots ── */
.trail {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  bottom: 48%;
  animation: trail-fade 0.55s ease-in-out infinite alternate;
}

.trail span {
  display: block;
  border-radius: 50%;
  background: #e8751a;
}

.trail span:nth-child(1) {
  width: 7px;
  height: 7px;
  opacity: 0.5;
}

.trail span:nth-child(2) {
  width: 5px;
  height: 5px;
  opacity: 0.3;
}

.trail span:nth-child(3) {
  width: 3px;
  height: 3px;
  opacity: 0.15;
}

@keyframes trail-fade {
  from {
    opacity: 0;
    transform: translateX(-50%) scaleY(0.5);
  }

  to {
    opacity: 1;
    transform: translateX(-50%) scaleY(1);
  }
}

/* ── Ripple on bounce ── */
.ripple {
  position: absolute;
  bottom: 36.5%;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 8px;
  border: 1.5px solid rgba(232, 117, 26, 0.6);
  border-radius: 50%;
  animation: ripple-out 0.55s ease-out infinite;
}

.ripple:nth-child(2) {
  animation-delay: 0.18s;
}

@keyframes ripple-out {
  0% {
    width: 20px;
    opacity: 0.7;
  }

  100% {
    width: 110px;
    opacity: 0;
  }
}

/* ── Spotlight ── */
.spotlight {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 260px;
  height: 340px;
  background: radial-gradient(ellipse at 50% 100%, rgba(232, 117, 26, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Main content ── */
#main-content {
  opacity: 0;
  transition: opacity 0.6s ease;
}

#main-content.show {
  opacity: 1;
}

/* Top scroll */
#scrollTopBtn {
  position: fixed;
  bottom: 32px;
  right: 28px;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ff6b00;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#scrollTopBtn:hover {
  background: #e05a00;
  transform: translateY(-3px);
}

#scrollTopBtn:active {
  transform: scale(0.94);
}