:root {
  --red: #eb1e24;
  --white: #ffffff;
  --dark: #0a0a0a;
  --green-glow: #00ff88;
  --card-bg: #111111;
  --border: rgba(255, 255, 255, 0.08);
  --input-bg: #1a1a1a;
}

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

body {
  font-family: "Poppins", sans-serif;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
  height: 100vh;
  font-size: 16px;
  font-weight: 300;
}

/* Navbar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
  height: 100px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0px;
}

.logo-text {
  line-height: 1.1;
}

.logo-text span {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 26px;
}

.logo-text .brand-red {
  font-size: 28px;
  line-height: 28px;
  font-weight: 700;
  color: var(--red);
}

.logo-text .brand-white {
  color: #fff;
}

/* Hamburger Menu */
.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  z-index: 100;
  position: relative;
}

.hamburger-btn span {
  display: block;
  width: 40px;
  height: 1.5px;
  background: #fff;
  transition: all 0.3s;
}

.hamburger-btn.open span:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.hamburger-btn.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hamburger-btn.open span {
  background: var(--red);
}

/* Menu Overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.menu-overlay.open {
  z-index: 10;
  pointer-events: all;
}

.menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.4s;
}

.menu-overlay.open .menu-backdrop {
  opacity: 1;
}

.menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(400px, 100vw);
  height: 100%;
  background: #fff;
  color: #111;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  flex-direction: column;
  padding: 120px 50px 30px 60px;
}

.menu-overlay.open .menu-panel {
  transform: translateX(0);
}

.menu-logo {
  margin-bottom: 50px;
}

.menu-logo span {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 36px;
  line-height: 1.1;
}

.menu-logo .ml-red {
  color: var(--red);
  font-size: 38px;
  line-height: 38px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.menu-logo .ml-dark {
  color: #111;
}

.menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
}

.menu-links li a {
  font-size: 22px;
  font-style: italic;
  font-weight: 500;
  color: #111;
  text-decoration: none;
  padding: 10px 0;
  display: block;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition:
    color 0.2s,
    padding-left 0.2s;
  cursor: pointer;
}

.menu-links li a:hover {
  color: var(--red);
  padding-left: 8px;
}

/* Hero Section */
#hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
  display: flex;
  align-items: center;
}

#bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.bg-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 50% at 70% 60%,
      rgba(0, 255, 136, 0.12) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 60% 40% at 20% 30%,
      rgba(0, 80, 40, 0.3) 0%,
      transparent 70%
    ),
    #050f08;
  z-index: 0;
}

.bg-fallback::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 255, 136, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 136, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 60px 60px;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0.2) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
  padding: 0 40px;
}

.hero-content h1 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 600;
  line-height: 1.2;
  animation: fadeUp 0.8s ease both;
}

.hero-content h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--red);
}

.hero-subtitle {
  margin-top: 20px;
  font-size: 18px;
  color: rgba(255, 255, 255, 1);
  line-height: 1.6;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-cta {
  margin-top: 36px;
  animation: fadeUp 0.8s 0.4s ease both;
}

.btn-know-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 30px;
  color: #fff;
  font-size: 14px;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-decoration: none;
  backdrop-filter: blur(4px);
  background: rgba(0, 0, 0, 0.5);
  transition: all 0.3s;
  cursor: pointer;
}

.btn-know-more:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
  color: #fff;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Modals */
.gne-modal-wrap {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  padding: 20px;
}

.gne-modal-wrap.active {
  display: flex;
}

.gne-modal {
  background: #111;
  border-radius: 16px;
  padding: 40px;
  width: 100%;
  max-width: 1024px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid var(--border);
  animation: modalIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.gne-modal::-webkit-scrollbar {
  width: 4px;
}

.gne-modal::-webkit-scrollbar-track {
  background: #1a1a1a;
}

.gne-modal::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.modal-title {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 24px;
}

.modal-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-bottom: 28px;
}

/* Form Styles */
.gne-label {
  display: block;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.gne-input,
.gne-select,
.gne-textarea {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s;
}

.gne-input:focus,
.gne-select:focus,
.gne-textarea:focus {
  border-color: rgba(255, 255, 255, 0.4);
}

.gne-select option {
  background: #1a1a1a;
}

/* OTP Styles */
.otp-wrapper {
  display: flex;
  gap: 10px;
}

.otp-wrapper .gne-input {
  flex: 1;
}

.btn-otp {
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-otp:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.15);
}

.btn-otp:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.otp-fields {
  display: flex;
  gap: 6px;
}

.otp-digit {
  width: 50px;
  height: 54px;
  text-align: center;
  font-size: 22px;
  font-weight: 600;
  background: var(--input-bg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: #fff;
  outline: none;
}

.otp-digit:focus {
  border-color: var(--red);
}

.otp-countdown {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 6px;
  display: none;
}

.verified-badge {
  font-size: 12px;
  color: #00ff88;
  display: none;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
}

.verified-badge.show {
  display: flex;
}

/* File Upload */
.upload-zone {
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s;
}

.upload-zone:hover,
.upload-zone.drag-over {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.03);
}

.upload-icon {
  font-size: 30px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.4);
}

.upload-zone p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

.upload-zone .browse-link {
  color: var(--red);
  text-decoration: underline;
  cursor: pointer;
}

.upload-zone small {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  display: block;
  margin-top: 6px;
}

#file-name-display {
  font-size: 13px;
  color: #00ff88;
  margin-top: 8px;
  display: none;
}

/* Submit Button */
.btn-submit-gne {
  padding: 14px 30px;
  background: var(--red);
  border: none;
  border-radius: 50px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.1s;
  margin-top: 8px;
}

.btn-submit-gne:hover:not(:disabled) {
  background: #c51a1f;
}

.btn-submit-gne:active {
  transform: scale(0.99);
}

.btn-submit-gne:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* About Section */
.about-section {
  margin-bottom: 28px;
}

.about-section h3 {
  font-size: 16px;
  font-weight: 600;
  font-style: italic;
  color: var(--white);
  margin-bottom: 5px;
}

.about-section p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--white);
}

.about-section a {
  color: var(--red);
  text-decoration: none;
}

.inline-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.inline-list li {
  font-size: 14px;
  line-height: 2;
  background: var(--red);
  color: #fff;
  border-radius: 15px;
  position: relative;
  padding: 0px 10px;
  display: inline-block;
}
/* .inline-list li:not(:first-child)::after {
  content: "";
  position: absolute;
  height: 20px;
  width: 1px;
  left: 0;
  top: 0;
  background-color: red;
} */

.mt-3 {
  margin-top: 16px;
}

/* Success State */
.success-state {
  text-align: center;
  padding: 40px 20px;
  display: none;
}

.success-state.show {
  display: block;
}

.success-icon {
  font-size: 56px;
  margin-bottom: 16px;
}

.success-state h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
}

.success-state p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

/* Loading Spinner */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.6s linear infinite;
  margin-right: 8px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Checkbox Styles */
.form-check-input {
  background-color: #1a1a1a;
  border-color: rgba(255, 255, 255, 0.2);
}

.form-check-input:checked {
  background-color: var(--red);
  border-color: var(--red);
}

.form-check-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 576px) {
  .site-nav {
    padding: 18px 20px;
  }

  .hero-content {
    padding: 0 20px;
  }

  .gne-modal {
    padding: 24px 20px;
  }

  .otp-digit {
    width: 40px;
    height: 46px;
    font-size: 18px;
  }
  .inline-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
  }
  .inline-list li {
    background: var(--red);
    color: #fff;
    border-radius: 10px;
  }

  .inline-list li:not(:first-child)::after {
    display: none;
  }

  .menu-panel {
    padding: 150px 30px 30px 40px;
  }

  .menu-links li a {
    font-size: 18px;
  }

  .site-header.open .logo-text .brand-white {
    color: var(--dark);
    transition: all 0.3s ease-in-out;
  }
  .menu-logo {
    display: none;
  }
}
