* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #000;
  color: #fff;
  font-family: "Segoe UI", sans-serif;
  overflow-x: hidden;
}

html,
body {
  overscroll-behavior: contain; /* Prevent bounce scroll */
}

.logo {
  width: 180px;
}

input:-internal-autofill-selected {
  appearance: menulist-button;
  background-image: none !important;
  background-color: light-dark(
    rgb(232, 240, 254),
    rgba(70, 90, 126, 0.4)
  ) !important;
  color: fieldtext !important;
}

input:-webkit-autofill {
  background-color: transparent !important;
  box-shadow: 0 0 0px 1000px transparent inset !important;
  -webkit-box-shadow: 0 0 0px 1000px transparent inset !important;
  -webkit-text-fill-color: inherit !important;
  transition: background-color 9999s ease-in-out 0s;
  -webkit-text-fill-color: white !important;
}

/* font family*/

/* Playfair Display */
@font-face {
  font-family: "PlayfairDisplay-Regular";
  src: url("../font/PlayfairDisplay-Regular.ttf");
}

@font-face {
  font-family: "PlayfairDisplay-Medium";
  src: url("../font/PlayfairDisplay-Medium.ttf");
}

@font-face {
  font-family: "PlayfairDisplay-Bold";
  src: url("../font/PlayfairDisplay-Bold.ttf");
}

@font-face {
  font-family: "PlayfairDisplay-SemiBold";
  src: url("../font/PlayfairDisplay-SemiBold.ttf");
}

/* MontserratAlternates */
@font-face {
  font-family: "Poppins-Bold";
  src: url("../font/MontserratAlternates-Regular.ttf");
}

@font-face {
  font-family: "MontserratAlternates-Regular";
  src: url("../font/MontserratAlternates-Regular.ttf");
}

@font-face {
  font-family: "MontserratAlternates-Medium";
  src: url("../font/MontserratAlternates-Medium.ttf");
}

@font-face {
  font-family: "MontserratAlternates-Bold";
  src: url("../font/MontserratAlternates-Bold.ttf");
}

@font-face {
  font-family: "MontserratAlternates-SemiBold";
  src: url("../font/MontserratAlternates-SemiBold.ttf");
}

/* Poppins */
@font-face {
  font-family: "Poppins-Bold";
  src: url("../font/Poppins-Bold.ttf");
}

@font-face {
  font-family: "Poppins-Medium";
  src: url("../font/Poppins-Medium.ttf");
}

@font-face {
  font-family: "Poppins-Regular";
  src: url("../font/Poppins-Regular.ttf");
}

@font-face {
  font-family: "Poppins-SemiBold";
  src: url("../font/Poppins-SemiBold.ttf");
}

/* Grid Animation */

.grid {
  width: 100vw;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

/* Radial glow background moving upwards */
.grid::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200%; /* make taller to allow scroll effect */
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.15),
    transparent 70%
  );
  animation: scrollGlow 10s linear infinite;
  z-index: -9999;
}

/* Glowing white grid lines */
.grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200%;
  background-image: repeating-linear-gradient(
      to top,
      rgba(255, 255, 255, 0.3) 0.1px,
      transparent 1px,
      transparent 150px
    ),
    repeating-linear-gradient(
      to right,
      rgba(255, 255, 255, 0.3) 0.1px,
      transparent 1px,
      transparent 150px
    );
  background-size: 100% 50px, 50px 100%;
  animation: scrollUp 10s linear infinite, glowLines 2s ease-in-out infinite;
  filter: drop-shadow(0 0 4px white);
  z-index: -9999;
}

/* Glow pulsating */
@keyframes glowLines {
  0%,
  100% {
    filter: drop-shadow(0 0 1px white);
  }
  50% {
    filter: drop-shadow(0 0 6px white);
  }
}

/* Grid lines scroll up */
@keyframes scrollUp {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

/* Glow scrolls upward */
@keyframes scrollGlow {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

.oval-shape-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.857);
  /* border-radius: 50% / 30%; */
  z-index: -999;
  filter: blur(80px); /* make it soft and diffused */
}

/* === GLOWING BUTTON === */
.button-wrapper {
  position: relative;
  width: 251.08px;
  height: 68.7px;
  margin: 0 auto;
  font-family: sans-serif;
  cursor: pointer;
}

.button-bg {
  width: 100%;
  height: 100%;
  display: block;
  /* transform: scale(1.25); */
}

.button-text {
  font-family: "MontserratAlternates-SemiBold";
  position: absolute;
  width: 251.08px;
  height: 68.7px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 0.938rem;
  pointer-events: auto;
  z-index: 1;
}

.btn-link:hover {
  color: #fff;
}

.svg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* transform: scale(1.25); */
}

.glow-path {
  fill: none;
  stroke: url(#glowGradient);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 140 500;
  stroke-dashoffset: 0;
  animation: dashMove 2s linear infinite;
  filter: drop-shadow(0 0 6px #0f0);
  transform: scale(0.92, 0.87) translate(10px, 4px);
}

@keyframes dashMove {
  to {
    stroke-dashoffset: -640;
  }
}
