/* General Body & Typography */
/* body {
    margin: 0;
    font-family: 'Montserrat', sans-serif; 
    background-color: #0c0c0c; 
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
} */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #0a0a0a;
  color: #ffffff;
  overflow-x: hidden;
}

/* Reusing main page font for titles */
.animated-title,
.section-title {
    font-family: 'Cinzel Decorative', serif;
    background: linear-gradient(90deg, #ffffff, #fadd7e, #ffffff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 6s linear infinite; /* Reusing shine animation */
    letter-spacing: 2px;
    margin-bottom: 25px;
}

/* Animations from main page */
@keyframes shine {
    to { background-position: 200% center; }
}

/* Hero Section */
.about-hero {
    position: relative;
    height: 60vh; /* Shorter hero section for about page */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7));
    background-attachment: fixed; /* Parallax effect */
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    overflow: hidden; 
}

.hero-content {
    z-index: 10;
}

.about-hero h1 {
    font-size: 4em;
    margin-bottom: 10px;
}

.about-hero p {
    font-size: 1.5em;
    color: #bbb;
    margin-top: 0;
}

.back-home-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    display: inline-block;
    padding: 10px 20px;
    font-size: 0.9em;
    color: #000;
    text-decoration: none;
    background: linear-gradient(110deg, #fadd7e, #ffffff);
    border-radius: 50px;
    transition: all 0.3s ease;
    z-index: 10;

     
    /* box-shadow: 0 0 10px #fadd7e; */
}

.back-home-btn.glow-btn:hover {
    transform: scale(1.05);
     box-shadow: 0 0 5px #fadd7e;
}

.floating-dots::before, .floating-dots::after {
  content: '';
  position: absolute;
  width: 200%;
  height: 300%;
  top: -100%;
  left: -50%;
  background: radial-gradient(#ffffff 1px, transparent 1px);
  background-size: 50px 50px;
  animation: moveBg 15s linear infinite;
  z-index: 1;
  pointer-events: none;
}

.floating-dots::after {
  animation-direction: reverse;
  opacity: 0.5;
}


@keyframes shine {
  to {
    background-position: 200% center;
  }
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes moveBg {
  0% { transform: translate(0, 0); }
  100% { transform: translate(10%, 10%); }
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .floating-dots::before,
  .floating-dots::after {
    background: radial-gradient(#ffffff 2px, transparent 2px);
    background-size: 60px 60px;
  }
}

.offer-section {
  position: relative;
  min-height: 70vh;
  padding: 9vh 5vw;
  display: flex;
  align-items: center;
  justify-content: center;
  /* scroll-snap-align: start; */
  /* clip-path: polygon(0 0, 100% 3%, 100% 97%, 0% 100%); */
  /* transition: clip-path 0.5s ease; */

}
.offer-section + .offer-section {
  padding-top: 0;
}
.section-1 {
  background: #000;
}

.section-2 {
  background: #000;
  /* overflow: auto; */
  /* z-index: 3; */
  /* margin-top: -100px; */
}

.section-3 {
 
  background-color:#000;
  display: flex;
  justify-content: center;
  text-align: center;
  /* padding: 10vh 10vw; */
  /* z-index: 3; */
}

.content-wrapper {
  display: flex;
  gap: 5vw;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.content-wrapper.reverse {
  flex-direction: row-reverse;
}

.text {
  max-width: 500px;
}
.text-head {
  max-width: auto;
}

.text h2 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 2.2rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #ffffff, #fadd7e, #ffffff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 6s linear infinite; /* Reusing shine animation */
    /* text-align: center; */
}

.text-head h2 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 2.4rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #ffffff, #fadd7e, #ffffff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 6s linear infinite; /* Reusing shine animation */
    text-align: center;
}
.text-head p{
  
  font-size: 1.2rem;
  text-align: center;
  line-height: 2.5rem;
}

.glass-card {
  background:#000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(15px);
  border-radius: 20px;
  padding: 2rem;
  max-width: 400px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  z-index: 5;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.3);
}

.glass-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  background: linear-gradient(90deg, #ffffff, #fadd7e, #ffffff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 6s linear infinite; /* Reusing shine animation */
}

.glass-card ul {
  list-style: none;
  padding-left: 0;
}

.glass-card li {
  margin-bottom: 0.8rem;
  font-weight: 300;
  font-size: 1.3rem;
}

.centered-content {
  max-width: 800px;
}

.glass-glow {
  background: #000;
  padding: 3rem;
  border-radius: 20px;
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffe9c5;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.centered-content h2 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  background: linear-gradient(90deg, #ffffff, #fadd7e, #ffffff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 6s linear infinite; /* Reusing shine animation */
}

.centered-content p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #ffffff;
}

/* spin style */

 .container {
      position: relative;
      width: 400px;
      height: 400px;
      max-width: 90vw;
      max-height: 90vw;
    }

    #wheel {
      position: relative;
      width: 100%;
      height: 100%;
      border-radius: 50%;
      /* border: 6px solid #00ffff; */
      /* box-shadow: inset 0 0 30px #00ffffcc; */
      transition: transform 4s cubic-bezier(0.33, 1, 0.68, 1);
      cursor: pointer;
    }

    .segment {
      position: absolute;
      width: 50%;
      height: 50%;
      top: 50%;
      left: 50%;
      transform-origin: 0% 0%;
      border-radius: 100% 0 0 0;
      display: flex;
      justify-content: center;
      align-items: center;
      font-weight: 700;
      font-size: clamp(16px, 5vw, 24px);
      color: white;
      cursor: pointer;
      text-align: center;
      padding: 10px;
    }

    .segment:nth-child(1) {
      background-color: #a8a8a7;
      color: #222;
      transform: rotate(0deg) translate(-100%, -100%);
    }

    .segment:nth-child(1):hover {
      transform: rotate(0deg) translate(-105%, -105%) scale(1);
      transition: transform 0.4s ease;

      z-index: 2;
    }

    .segment:nth-child(2) {
      background-color: #868b8d;
      color: #222;
      transform: rotate(90deg) translate(-100%, -100%);
    }

    .segment:nth-child(2):hover {
      transform: rotate(90deg) translate(-105%, -105%) scale(1);
      transition: transform 0.4s ease;

      z-index: 2;
    }

    .segment:nth-child(3) {
      background-color: #a8a8a7;
      color: #222;
      transform: rotate(180deg) translate(-100%, -100%);
    }

    .segment:nth-child(3):hover {
      transform: rotate(180deg) translate(-105%, -105%) scale(1);
      transition: transform 0.4s ease;

      z-index: 2;
    }

    .segment:nth-child(4) {
      background-color: #868b8d;
      color: #222;
      transform: rotate(270deg) translate(-100%, -100%);
    }

    .segment:nth-child(4):hover {
      transform: rotate(270deg) translate(-105%, -105%) scale(1);
      transition: transform 0.4s ease;

      z-index: 2;
    }

    .arrow-container {
      position: absolute;
      top: -30px;
      left: 50%;
      transform: translateX(-50%);
      width: 30px;
      height: 35px;
      pointer-events: none;
      z-index: 10;
      animation: pulse 1.5s infinite ease-in-out;
    }

    .arrow {
      position: relative;
      width: 0;
      height: 0;
      border-left: 12px solid transparent;
      border-right: 12px solid transparent;
      border-top: 25px solid white;
      /* filter: drop-shadow(0 0 8px #00ffff); */
      /* box-shadow: 0 0 10px #00ffff; */
    }

    /* .arrow::after {
      content: '';
      position: absolute;
      top: 10px;
      left: -3px;
      width: 6px;
      height: 15px;
      background: #00ffff;
      transform: translateX(-50%);
    } */

    @keyframes pulse {
      0% {
        transform: translateX(-50%) scale(1);
      }

      50% {
        transform: translateX(-50%) scale(1.1);
      }

      100% {
        transform: translateX(-50%) scale(1);
      }
    }

    #spinBtn {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 110px;
      height: 110px;
      border-radius: 50%;
      /* border: 4px solid #00ffff; */
      background: #000;
      color: white;
      font-weight: 900;
      font-size: clamp(24px, 6vw, 32px);
      line-height: 110px;
      text-align: center;
      cursor: pointer;
      /* box-shadow: 0 0 25px #00ffff inset; */
      z-index: 15;
      transition: background-color 0.3s ease, color 0.3s ease;
    }

    #spinBtn:hover:not([disabled]) {
      background-color: white;
      color: #121212;
    }

    #spinBtn[disabled] {
      cursor: not-allowed;
      opacity: 0.6;
    }

    #popup {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 600px;
      max-width: 200vw;
      background: rgba(0, 0, 0, 0.95);
      /* border-radius: 18px; */
      padding: 22px;
      box-shadow: 0 0 10px 1px #b6b6b6cc;
      color: white;
      transform: translate(-50%, -50%) scale(0);
      transition: transform 0.3s ease;
      z-index: 50;
      text-align: center;
      pointer-events: none;
      visibility: hidden;
      padding: 30px;
      overflow-y: auto;
    }

    #popup.active {
      transform: translate(-50%, -50%) scale(1);
      pointer-events: auto;
      visibility: visible;
    }

    #popup img {
      width: 100%;
      max-height: 300px;
      object-fit: contain;
      border-radius: 12px;
      margin-bottom: 16px;
      /* box-shadow: 0 0 22px #00ffffaa; */
      display: none;
    }

    #popup img.loaded {
      display: block;
    }

    #popup h2 {
      margin: 0 0 12px 0;
      background: linear-gradient(90deg, #ffffff, #fadd7e, #ffffff);
      background-size: 200% auto;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      animation: shine 6s linear infinite;
      /* Reusing shine animation */
      font-size: clamp(20px, 5vw, 24px);
    }

    #popup p {
      font-size: clamp(14px, 4vw, 16px);
      line-height: 1.5;
    }

    #popup .close-btn {
      position: absolute;
      top: 8px;
      right: 12px;
      font-size: 28px;
      color: white;
      font-weight: 900;
      cursor: pointer;
      user-select: none;
    }

/* Responsive Tweaks */
@media (max-width: 768px) {
  #popup {
    width: 90vw;
    max-width: 90vw;
    max-height: 85vh;
    padding: 20px 16px;
  }
}

@media (max-width: 480px) {
  #popup {
    width: 95vw;
    padding: 16px 12px;
  }

  #popup h2 {
    font-size: 18px;
  }

  #popup p {
    font-size: 14px;
  }

  #popup .close-btn {
    font-size: 24px;
  }
}
    @media (prefers-reduced-motion: reduce) {

      #wheel,
      .arrow-container {
        transition: none;
        animation: none;
      }

      #popup {
        transition: none;
      }
    }

    @media (max-width: 600px) {
      .container {
        width: 300px;
        height: 300px;
      }

      .arrow-container {
        top: -25px;
        width: 25px;
        height: 30px;
      }

      .arrow {
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        /* border-bottom: 20px solid #00ffff; */
      }

      .arrow::after {
        top: 8px;
        width: 5px;
        height: 12px;
      }

      #spinBtn {
        width: 80px;
        height: 80px;
        line-height: 80px;
        font-size: 20px;
      }
    }
    
 .fade-in-text {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s ease-out forwards;
}

/* Keyframes for fade and upward slide */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}