/* Reset and Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box !important;
}

html, body {
  height: 100%;
}

body {
  background-color: #141514; /* very dark green-black base */
  background-image: linear-gradient(135deg, #080808 0%, #080808 100%);
  min-height: 100vh;
  font-family: Arial, sans-serif;
  color: #eee;
  margin: 0;
  padding: 0;
  position: relative;
  overflow-x: hidden;
}

/* Loader Styles */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #111;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  color: #2ef74a; /* sets SVG stroke color */
}

.rotate {
  animation: rotate 2s linear infinite;
}

@keyframes rotate {
  100% {
    transform: rotate(1turn);
  }
}

/* Header and Navigation */
header {
  background-color: #222;
  text-align: center;
  padding-bottom: 10px;
  width: 100%;
}

.banner {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Nav Glow Button Setup */
.glow-nav {
  list-style: none;
  padding: 20px 0;
  display: flex;
  justify-content: center;
  background-color: #111;
  margin: 0;
  gap: 10px;
  flex-wrap: wrap;
}

.glow-nav li {
  margin: 0;
}

/* Creative Button Styling */
.button-creative {
  position: relative;
  display: inline-block;
  padding: 10px 20px;
  color: #2ef74a;
  border: 2px solid #2ef74a;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 1px;
  border-radius: 5px;
  background: transparent;
  overflow: hidden;
  z-index: 0;
  transition: color 0.3s, box-shadow 0.3s;
}

.button-creative::before {
  content: "";
  position: absolute;
  top: var(--y, 50%);
  left: var(--x, 50%);
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background: #2ef74a;
  opacity: 0.2;
  border-radius: 50%;
  z-index: -1;
  transition: width 0.3s ease, height 0.3s ease;
}

.button-creative:hover::before {
  width: 200px;
  height: 200px;
}

.button-creative:hover {
  color: #000;
  box-shadow: 0 0 10px #2ef74a, 0 0 20px #2ef74a, 0 0 40px #2ef74a;
}

.button-creative:focus {
  outline: 2px solid #2ef74a;
  outline-offset: 2px;
}

/* Main Content */
main {
  padding: 20px;
  max-width: 900px;
  margin: auto;
  width: 100%;
  z-index: 10;
  position: relative;
}

section {
  margin-bottom: 40px;
}

h1, h2, h3 {
  color: #2ef74a;
}

/* Download Button */
.download-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #2ef74a;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.download-button:hover {
  background-color: #25c73d;
}

.download-button:focus {
  outline: 2px solid #2ef74a;
  outline-offset: 2px;
}

/* Video Embed */
.video {
  margin-top: 20px;
  text-align: center;
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
}

/* News Posts */
.news-post {
  background-color: #222;
  border-left: 5px solid #2ef74a;
  padding: 15px;
  margin-bottom: 20px;
}

/* Contact Section */
#contact {
  text-align: center;
}

/* Footer */
footer {
  background-color: #222;
  text-align: center;
  padding: 10px;
  color: #aaa;
  font-size: 0.9em;
  width: 100%;
  position: relative;
  z-index: 10;
}

/* Dropdown container */
.dropdown {
  position: relative;
}

/* Dropdown menu hidden by default */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #111;
  border: 1px solid #2ef74a;
  border-radius: 5px;
  padding: 5px 0;
  min-width: 160px;
  z-index: 1000;
}

/* Show on hover */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* Dropdown links */
.dropdown-link {
  display: block;
  padding: 10px 15px;
  color: #2ef74a;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.dropdown-link:hover {
  background-color: #2ef74a;
  color: #000;
}


/* Responsive Nav Layout for Smaller Screens */
@media (max-width: 600px) {
  .glow-nav {
    flex-direction: column;
    align-items: center;
  }

  .glow-nav li {
    margin-bottom: 10px;
  }
}

/* Smooth Scroll Behavior */
html {
  scroll-behavior: smooth;
}
