﻿/* ===== Base ================================================================= */

:root {
  --bg: #0b0b0b;
  --fg: #e9e9e9;
  --muted: #bdbdbd;
  --green: #39ff14;
  --green-2: #2edc10;
  --line: #2ec41a;
  --max: 1100px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Rajdhani', system-ui, Segoe UI, Roboto, Inter, Arial, sans-serif;
  letter-spacing: 0.2px;
}

a {
  color: #fff;
  text-decoration: none;
}

a:hover {
  opacity: 0.9;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Topbar =============================================================== */

.topbar {
  background: var(--green);
  color: #000;
  text-align: center;
  font-weight: 700;
  padding: 10px 12px;
  font-size: 14px;
}

.topbar a {
  color: #000;
  text-decoration: underline;
}

/* ===== Header / Navigation ================================================== */

.site-header {
  background: #0e0e0e;
  border-bottom: 1px solid #151515;
  position: sticky;
  top: 0;
  z-index: 3000;
  -webkit-tap-highlight-color: transparent;
}

.nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
  padding-inline: 16px;
}

.brand-logo {
  display: block;
  height: 42px;
  width: auto;
  margin-top: 0;
  filter: drop-shadow(0 0 6px rgba(57, 255, 20, 0.5));
}

.menu {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu a {
  display: block;
  padding: 10px 2px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  text-decoration: none;
  line-height: 1;
}

.menu a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ===== Burger Button ======================================================= */

.burger {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 2000;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  position: absolute;
  left: 8px;
  transition: all 0.3s ease;
}

.burger span:nth-child(1) {
  top: 12px;
}

.burger span:nth-child(2) {
  top: 19px;
}

.burger span:nth-child(3) {
  top: 26px;
}

.burger.active span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}

/* ===== Mobile Overlay ====================================================== */

.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1500;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: auto;
}

.mobile-overlay.active {
  display: block;
  opacity: 1;
}

/* ===== Hero ================================================================ */

.hero {
  position: relative;
  z-index: 0;
  background: #0a0a0a;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../img/hero.jpg') center/cover no-repeat;
  filter: brightness(0.35);
}

.hero-img {
  display: none;
}

.hero-inner {
  position: relative;
  text-align: center;
  z-index: 2;
}

.hero-logo {
  width: 220px;
  filter: drop-shadow(0 0 12px rgba(57, 255, 20, 0.8));
  margin-top: -110px;
  display: inline-block;
}

.hero h1 {
  margin: 24px 0 8px 0;
  letter-spacing: 1px;
  color: #fff;
  font-size: 28px;
}

.hero h2 {
  margin: 0;
  font-size: 22px;
  color: #fff;
  opacity: 0.95;
}

/* ===== Typography & Helpers =============================================== */

h1,
h2,
h3 {
  font-family: 'Rajdhani', sans-serif;
  text-transform: uppercase;
}

.section-title,
.page-title,
.page-title-alt {
  color: var(--green);
  font-size: 28px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.page-subtitle {
  color: #fff;
  opacity: 0.9;
  font-size: 18px;
  margin-top: 6px;
}

.page-intro {
  text-align: center;
  margin-bottom: 24px;
}

.page-intro p {
  margin: 10px auto;
  max-width: 820px;
  line-height: 1.6;
}

.divider {
  width: 100%;
  height: 2px;
  background: var(--green);
  margin: 32px 0 24px 0;
}

.page-centered {
  text-align: center;
}

.page-centered p,
.page-centered .section-title {
  margin-left: auto;
  margin-right: auto;
}

.page-centered .divider {
  margin: 32px auto 24px auto;
}

.page-centered ul.bullet {
  display: inline-block;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
}

.membership-variant {
  max-width: 680px;
  margin: 24px auto 16px auto;
}

.membership-variant p {
  margin: 0 auto;
  line-height: 1.7;
}

.variant-label {
  display: block;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 6px;
  font-size: 18px;
}

.variant-label--active,
.variant-label--passive {
  color: var(--green);
}

.muted-sub {
  color: #e8e8e8;
  opacity: 0.8;
  font-size: 16px;
  font-weight: 600;
}

.highlight {
  color: #fff;
}

.green {
  color: var(--green);
}

/* ===== Intro =============================================================== */

.intro {
  padding: 40px 0;
  text-align: center;
}

.intro p {
  margin: 12px auto;
  max-width: 1053px;
}

/* ===== Team Grid =========================================================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 18px;
}

.team-grid figure {
  margin: 0;
  border: 2px solid var(--green);
  padding: 8px;
  border-radius: 6px;
  background: #0c0c0c;
}

.team-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  display: block;
}

.team-grid figcaption {
  font-size: 14px;
  margin-top: 8px;
  color: var(--green);
}

/* ===== Table =============================================================== */

.table-wrap {
  margin-top: 24px;
  border-top: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  margin-bottom: 40px;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  border-bottom: 2px solid var(--green);
  padding: 18px 12px;
  text-align: left;
}

.table thead th {
  color: #fff;
  text-transform: uppercase;
}

.table td {
  color: #d8d8d8;
}

/* ===== Gallery ============================================================= */

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin: 28px auto 40px;
  max-width: calc((250px * 3) + (28px * 2));
}

.thumb {
  display: block;
  width: 250px;
  flex: 0 0 250px;
  border: 2px solid var(--green);
  padding: 6px;
  background: #0c0c0c;
  border-radius: 6px;
  transition: transform 0.15s ease;
}

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

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

.gallery-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 4000;
  box-sizing: border-box;
}

.gallery-lightbox.open {
  display: flex;
}

.gallery-lightbox img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border: 2px solid var(--green);
  border-radius: 8px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.7);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  color: var(--green);
  border-color: var(--green);
  outline: none;
}

body.lightbox-open {
  overflow: hidden;
}

/* ===== Partners ============================================================ */

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 30px;
}

.partner {
  border: 2px solid var(--green);
  border-radius: 6px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0c0c0c;
}

.partner img {
  width: 220px;
  max-width: 100%;
  filter: drop-shadow(0 0 10px rgba(57, 255, 20, 0.6));
}

/* ===== Lists =============================================================== */

ul.bullet {
  list-style: none;
  margin: 8px 0 18px 0;
  padding-left: 0;
}

ul.bullet li {
  position: relative;
  padding-left: 18px;
  margin: 10px 0;
}

ul.bullet li::before {
  content: '-';
  position: absolute;
  left: 0;
  color: var(--green);
}

/* ===== Contact ============================================================= */

.contact-box {
  border: 2px solid var(--green);
  padding: 18px;
  border-radius: 6px;
  background: #0c0c0c;
  margin-top: 32px;
  margin-bottom: 40px;
}

/* ===== Footer ============================================================= */

.site-footer {
  background: linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
  padding: 60px 0 30px;
  border-top: 3px solid var(--green);
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--green) 20%,
    var(--green-2) 50%,
    var(--green) 80%,
    transparent 100%
  );
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.5);
}

@keyframes footer-glow {
  0%,
  100% {
    filter: drop-shadow(0 0 18px rgba(57, 255, 20, 0.55));
  }
  50% {
    filter: drop-shadow(0 0 30px rgba(57, 255, 20, 0.85));
  }
}

@keyframes footer-glow-boost {
  0%,
  100% {
    filter: drop-shadow(0 0 24px rgba(57, 255, 20, 0.75));
  }
  50% {
    filter: drop-shadow(0 0 40px rgba(57, 255, 20, 0.95));
  }
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 35px;
}

.footer-logo-section {
  text-align: center;
}

.footer-logo {
  width: 150px;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(57, 255, 20, 0.55));
  animation: footer-glow 3.6s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  animation: footer-glow-boost 1.8s ease-in-out infinite;
  transform: scale(1.05);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  max-width: 700px;
}

.footer-btn {
  padding: 0;
  background: none;
  color: #666;
  text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: none;
  position: relative;
  transition: all 0.3s ease;
}

.footer-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #888;
  transition: width 0.3s ease;
}

.footer-btn:hover {
  color: #aaa;
}

.footer-btn:hover::after {
  width: 100%;
}

@keyframes sweep-glow {
  0% {
    background-position: 200% 0;
    filter: drop-shadow(0 0 0 rgba(57, 255, 20, 0));
  }
  50% {
    background-position: -200% 0;
    filter: drop-shadow(0 0 8px rgba(57, 255, 20, 0.8));
  }
  100% {
    background-position: -400% 0;
    filter: drop-shadow(0 0 0 rgba(57, 255, 20, 0));
  }
}

.footer-btn-highlight {
  color: #888;
  font-weight: 700;
  font-size: 15px;
  background: linear-gradient(
    90deg,
    #888 0%,
    #888 30%,
    var(--green) 50%,
    #888 70%,
    #888 100%
  );
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sweep-glow 3s ease-in-out infinite;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 20px;
  border-top: 1px solid rgba(57, 255, 20, 0.15);
  margin-top: 15px;
}

.legal-link {
  color: #555;
  text-decoration: none;
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
}

.legal-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #777;
  transition: width 0.3s ease;
}

.legal-link:hover {
  color: #888;
}

.legal-link:hover::after {
  width: 100%;
}

.legal-separator {
  color: #333;
  font-size: 10px;
}

/* ===== Footer Responsive =================================================== */

@media (max-width: 768px) {
  .site-footer {
    padding: 40px 0 20px;
  }

  .footer-inner {
    gap: 28px;
  }

  .footer-logo {
    width: 120px;
  }

  .footer-links {
    gap: 6px 18px;
  }

  .footer-btn,
  .footer-btn-highlight {
    font-size: 13px;
  }

  .footer-legal {
    flex-direction: column;
    gap: 10px;
  }

  .legal-separator {
    display: none;
  }
}

@media (max-width: 480px) {
  .footer-logo {
    width: 100px;
  }

  .footer-links {
    gap: 8px 12px;
  }

  .footer-btn,
  .footer-btn-highlight {
    font-size: 12px;
  }
}

/* ===== Mobile Layout ======================================================= */

@media (max-width: 1053px) {
  .container {
    padding: 0 16px;
  }

  .topbar {
    font-size: 12px;
    padding: 8px 10px;
  }

  .nav {
    height: 64px;
    gap: 16px;
  }

  .brand-logo {
    height: 36px;
  }

  .burger {
    display: block;
  }

  .menu {
    position: fixed;
    top: 64px;
    right: 0;
    bottom: 0;
    width: 80%;
    max-width: 320px;
    background: #0e0e0e;
    border-left: 2px solid var(--green);
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1800;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
  }

  .menu.active {
    transform: translateX(0);
  }

  body.menu-active {
    overflow: hidden;
  }

  .menu li {
    list-style: none;
    margin: 0;
    padding: 0;
    border-bottom: 1px solid #1a1a1a;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
  }

  .menu.active li {
    opacity: 1;
    transform: translateX(0);
  }

  .menu.active li:nth-child(1) { transition-delay: 0.05s; }
  .menu.active li:nth-child(2) { transition-delay: 0.1s; }
  .menu.active li:nth-child(3) { transition-delay: 0.15s; }
  .menu.active li:nth-child(4) { transition-delay: 0.2s; }
  .menu.active li:nth-child(5) { transition-delay: 0.25s; }
  .menu.active li:nth-child(6) { transition-delay: 0.3s; }

  .menu a {
    display: block;
    padding: 18px 24px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
  }

  .menu a:hover,
  .menu a:active {
    background: rgba(57, 255, 20, 0.1);
    color: var(--green);
    padding-left: 28px;
  }

  .menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--green);
    transition: width 0.2s ease;
  }

  .menu a:hover::before,
  .menu a:active::before {
    width: 4px;
  }

  .hero {
    display: block;
    min-height: unset;
    position: relative;
  }

  .hero-bg {
    display: none;
  }

  .hero-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.55));
    z-index: 1;
    pointer-events: none;
  }

  .hero-inner {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: var(--max);
    padding: 0 16px;
    text-align: center;
    z-index: 2;
  }

  .hero-logo {
    width: 140px;
    margin-top: -60px;
  }

  .hero .page-title,
  .hero .page-title-alt,
  .hero h1 {
    font-size: 20px;
    margin: 20px 0 8px 0;
  }

  .hero h2 {
    font-size: 15px;
  }

  .section-title,
  .page-title,
  .page-title-alt {
    font-size: 24px;
  }

  .intro {
    padding: 32px 0;
  }

  .footer-logo {
    width: 90px;
  }
}

@media (max-width: 480px) {
  .hero-logo {
    width: 120px;
    margin-top: -50px;
  }

  .hero .page-title,
  .hero .page-title-alt,
  .hero h1 {
    font-size: 18px;
  }

  .hero h2 {
    font-size: 14px;
  }

  .section-title,
  .page-title,
  .page-title-alt {
    font-size: 22px;
  }

  .menu {
    width: 85%;
  }

  .menu a {
    font-size: 14px;
    padding: 16px 20px;
  }
}

/* ===== Desktop Zoom ======================================================== */

@media (min-width: 901px) {
  body {
    zoom: 1.5;
  }
}
