/*
  CSS structure guide:
  - Global reset and box sizing: 1-7
  - Page root and body spacing: 9-18
  - Hero section styling: 20-55
*/
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: #09090b;
}

body {
  padding-top: 5rem;
}

.hero {
  position: absolute;
  top: 5rem;
  left: 0;
  width: 100%;
  min-height: calc(100vh - 5rem);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 3rem 2rem 2rem;
  color: #f8f8ff;
  z-index: 5;
  pointer-events: none;
}

.hero-content {
  max-width: 520px;
  pointer-events: auto;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-align: left;
}

.hero p {
  margin: 0 0 2rem;
  font-size: 1.05rem;
  color: rgba(248, 248, 255, 0.88);
  text-align: left;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: #ffffff;
  color: #09090b;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* raider code from 9-97 */
/* top manu code from 106 to 332 */
.radar-pattern {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: #09090b; /* Deep zinc black */

  /* Base square grid */
  background-image: linear-gradient(
      rgba(139, 92, 246, 0.1) 0.1em,
      transparent 0.1em
    ),
    linear-gradient(90deg, rgba(139, 92, 246, 0.1) 0.1em, transparent 0.1em);
  background-size: 3em 3em;
  overflow: hidden;
}

/* Concentric Radar Rings */
.radar-pattern::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150vw; /* Ensures rings cover the screen even if rotated */
  height: 150vh;
  transform: translate(-50%, -50%);
  background: repeating-radial-gradient(
    circle,
    transparent 0,
    transparent 2.9em,
    rgba(139, 92, 246, 0.2) 3em
  );
  z-index: 1;
}

/* The Sweeping Radar Beam */
.radar-pattern::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40em;
  height: 40em;
  margin-top: -20em;
  margin-left: -20em;
  border-radius: 50%;
  /* Conic gradient creates the sweeping beam light */
  background: conic-gradient(
    from 0deg,
    transparent 75%,
    rgba(139, 92, 246, 0.5) 100%
  );
  animation: radar-spin 4s linear infinite;
  z-index: 2;
}

/* Glowing Center Dot */
.radar-center {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1em;
  height: 1em;
  transform: translate(-50%, -50%);
  background-color: #a78bfa;
  border-radius: 50%;
  z-index: 3;
  animation: pulse-dot 2s ease-in-out infinite;
}

/* Animations */
@keyframes radar-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse-dot {
  0%,
  100% {
    box-shadow: 0 0 0.8em 0.2em rgba(139, 92, 246, 0.6);
  }
  50% {
    box-shadow: 0 0 2em 0.5em rgba(139, 92, 246, 1);
  }
}


/* top manu code from 100 to 295 */
/* theme-mode-style */
.mode + .container {
  --color-pure: #000;
  --color-primary: #e8e8e8;
  --color-secondary: #212121;
  --muted: #b8b8b8;
}
.mode:checked + .container {
  --color-pure: #fff;
  --color-primary: #212121;
  --color-secondary: #fff;
  --muted: #383838;
}
.container {
  background-color: var(--color-secondary);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0.75rem 0;
  z-index: 20;
}
.container .theme {
  color: var(--color-secondary);
  background-color: var(--color-primary);
  position: relative;
  cursor: pointer;
  z-index: 9;
  -webkit-user-select: none;
  user-select: none;
  border: 1px solid var(--muted);
  border-radius: calc(var(--round) - var(--p-y));
  margin-left: calc(var(--p-x) * 2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  transition: background-color 0.25s linear;
}
.container .theme:hover {
  background-color: var(--muted);
}
.container .theme::before {
  content: "";
  position: absolute;
  left: calc(var(--p-x) * -1);
  width: 1px;
  height: 100%;
  background-color: var(--muted);
}
.container .theme span {
  border: none;
  outline: none;
  background-color: transparent;
  padding: 0.125rem;
  border-radius: 9999px;
  align-items: center;
  justify-content: center;
}
.mode:checked + .container .theme span.light,
.mode + .container .theme span.dark {
  display: none;
}
.mode + .container .theme span.light,
.mode:checked + .container .theme span.dark {
  display: flex;
}
.container .theme svg {
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke: currentColor;
  fill: none;
  height: 22px;
  width: 22px;
}

/* main style */
.wrap {
  --round: 10px;
  --p-x: 8px;
  --p-y: 4px;
  --w-label: 100px;
  display: flex;
  align-items: center;
  padding: var(--p-y) var(--p-x);
  position: relative;
  background: #ffffff;
  border-radius: var(--round);
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  top: 0;
  z-index: 1;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.label {
  cursor: pointer;
  outline: none;
  font-size: 0.875rem;
  letter-spacing: initial;
  font-weight: 500;
  color: #252525;
  background: #ffffff;
  padding: 12px 16px;
  width: var(--w-label);
  min-width: var(--w-label);
  text-decoration: none;
  -webkit-user-select: none;
  user-select: none;
  transition: color 0.25s ease, background-color 0.25s ease;
  outline-offset: -6px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  border-radius: 999px;
  -webkit-tap-highlight-color: transparent;
}
.label span {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-clamp: 1;
}

.label:hover,
.label:focus {
  color: #09090b;
  background-color: rgba(235, 235, 245, 0.95);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: absolute;
  transform-origin: 0 0 0;
  height: 100%;
  width: var(--w-label);
  z-index: 0;
  transition: transform 0.5s cubic-bezier(0.33, 0.83, 0.99, 0.98);
}
.bar::before,
.bar::after {
  content: "";
  position: absolute;
  height: 4px;
  width: 100%;
  background: var(--color-secondary);
}
.bar::before {
  top: 0;
  border-radius: 0 0 9999px 9999px;
}
.bar::after {
  bottom: 0;
  border-radius: 9999px 9999px 0 0;
}

.slidebar {
  position: absolute;
  height: calc(100% - (var(--p-y) * 4));
  width: var(--w-label);
  border-radius: calc(var(--round) - var(--p-y));
  background: var(--muted);
  transform-origin: 0 0 0;
  z-index: 0;
  transition: transform 0.5s cubic-bezier(0.33, 0.83, 0.99, 0.98);
}

.wrap a:nth-of-type(1):hover ~ .slidebar {
  transform: translateX(0) scaleX(1);
}
.wrap a:nth-of-type(2):hover ~ .slidebar {
  transform: translateX(100%) scaleX(1);
}
.wrap a:nth-of-type(3):hover ~ .slidebar {
  transform: translateX(200%) scaleX(1);
}
.wrap a:nth-of-type(4):hover ~ .slidebar {
  transform: translateX(300%) scaleX(1);
}
.wrap a:nth-of-type(5):hover ~ .slidebar {
  transform: translateX(400%) scaleX(1);
}


/* image slider code from 387 to  */


.card {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slider {
  width: 100%;
  height: var(--height);
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 10% 90%, transparent);
}
.slider .list {
  display: flex;
  width: 100%;
  min-width: calc(var(--width) * var(--quantity));
  position: relative;
}
.slider .list .item {
  width: var(--width);
  height: var(--height);
  position: absolute;
  left: 100%;
  animation: autoRun 30s linear infinite;
  transition: filter 0.5s;
  animation-delay: calc(
    (30s / var(--quantity)) * (var(--position) - 1) - 30s
  ) !important;
}
.slider .list .item img {
  width: 100%;
}
@keyframes autoRun {
  from {
    left: 100%;
  }
  to {
    left: calc(var(--width) * -1);
  }
}
.slider:hover .item {
  animation-play-state: paused !important;
  filter: grayscale(1);
}
.slider .item:hover {
  filter: grayscale(0);
}
.slider[reverse="true"] .item {
  animation: reversePlay 10s linear infinite;
}
@keyframes reversePlay {
  from {
    left: calc(var(--width) * -1);
  }
  to {
    left: 100%;
  }
}
