/* =====================================
   ATAG WEBSITE STYLES
===================================== */

:root {
  --green: #087a35;
  --green-light: #10a34a;
  --cyan: #00d9ff;
  --cyan-hover: #00bfe6;

  --background: #080d0a;
  --surface: #101813;
  --surface-light: #151f18;

  --text: #f5fff7;
  --muted: #a6b6aa;
  --border: rgba(255, 255, 255, 0.1);
  --cyan-border: rgba(0, 217, 255, 0.2);
}

/* =====================================
   RESET AND GLOBAL
===================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

/* =====================================
   HEADER
===================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  width: 100%;
  padding: 18px 7%;

  background: rgba(8, 13, 10, 0.94);
  border-bottom: 1px solid var(--border);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 2px;
  transition: color 0.2s ease;
}

.brand:hover {
  color: var(--cyan);
}

/* =====================================
   DISCORD BUTTON
===================================== */

.discord-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  padding: 10px 16px;

  border: 1px solid rgba(0, 217, 255, 0.55);
  border-radius: 10px;

  background: var(--cyan);
  color: #061820;

  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;

  box-shadow: 0 0 18px rgba(0, 217, 255, 0.08);

  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.discord-button:hover {
  background: var(--cyan-hover);
  box-shadow: 0 0 24px rgba(0, 217, 255, 0.25);
  transform: translateY(-2px);
}

.discord-button:active {
  transform: translateY(0);
}

.discord-logo {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  object-fit: contain;
}

/* =====================================
   NAVIGATION
===================================== */

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  position: relative;
  padding: 8px 0;

  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;

  transition: color 0.2s ease;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;

  height: 2px;

  background: var(--cyan);
  content: "";

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

/* Mobile navigation button */

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;

  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;

  border: 1px solid var(--border);
  border-radius: 9px;

  background: var(--surface);
  cursor: pointer;
}

.menu-toggle span {
  width: 19px;
  height: 2px;

  border-radius: 2px;
  background: #ffffff;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

/* =====================================
   HOMEPAGE HERO
===================================== */

.hero {
  position: relative;
  isolation: isolate;

  display: flex;
  min-height: 620px;
  align-items: center;

  padding: 90px 10%;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  z-index: -2;
  inset: 0;

  background:
    radial-gradient(
      ellipse at 80% 45%,
      rgba(8, 122, 53, 0.24),
      transparent 55%
    ),
    linear-gradient(
      135deg,
      #080d0a 0%,
      #0b170e 55%,
      #08100b 100%
    );
}

.banner-wrap {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: 7%;
  width: 49%;

  transform: translateY(-50%);
}

.banner {
  width: 100%;
  height: auto;

  border: 1px solid var(--border);
  border-radius: 22px;

  object-fit: cover;
  box-shadow: 0 25px 90px rgba(0, 0, 0, 0.4);

  animation: banner-appear 0.8s ease both;
}

.hero-content {
  position: relative;
  z-index: 2;

  width: 54%;
  max-width: 650px;

  animation: content-appear 0.7s ease both;
}

.eyebrow {
  margin-bottom: 16px;

  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 4px;
}

.hero h1 {
  margin-bottom: 22px;

  font-size: clamp(3rem, 6vw, 5.7rem);
  font-weight: 900;
  letter-spacing: -3px;
  line-height: 1.1;
}

.hero h1 span {
  color: var(--green-light);
}

.hero-copy {
  max-width: 440px;
  margin-bottom: 30px;

  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

/* Explore button */

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  padding: 14px 23px;

  border: 1px solid var(--green-light);
  border-radius: 9px;

  background: var(--green);
  color: #ffffff;

  font-weight: 800;

  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.primary-button:hover {
  background: var(--green-light);
  box-shadow: 0 0 30px rgba(16, 163, 74, 0.2);
  transform: translateY(-3px);
}

/* Decorative background orbs */

.orb {
  position: absolute;
  z-index: -1;

  border-radius: 50%;
  pointer-events: none;
}

.orb-one {
  top: 10%;
  right: 10%;

  width: 170px;
  height: 170px;

  background: rgba(0, 217, 255, 0.05);
  filter: blur(35px);
}

.orb-two {
  bottom: 5%;
  left: 25%;

  width: 200px;
  height: 200px;

  background: rgba(8, 122, 53, 0.1);
  filter: blur(50px);
}

/* =====================================
   HOMEPAGE ABOUT SECTION
===================================== */

.section {
  padding: 100px 10%;
}

.about {
  background: var(--surface);
  border-top: 1px solid var(--border);
  text-align: center;
}

.about h2 {
  margin-bottom: 18px;

  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 900;
  letter-spacing: -1.5px;
}

.section-copy {
  max-width: 600px;
  margin: 0 auto 25px;

  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: var(--cyan);
  font-weight: 700;

  transition: gap 0.2s ease, color 0.2s ease;
}

.text-link:hover {
  gap: 14px;
  color: #8df0ff;
}

/* =====================================
   PRIVACY POLICY PAGE
===================================== */

.privacy-page {
  position: relative;
  isolation: isolate;

  min-height: calc(100vh - 150px);
  padding: 80px 24px 100px;

  background:
    radial-gradient(
      ellipse at 50% 0%,
      rgba(8, 122, 53, 0.15),
      transparent 50%
    ),
    var(--background);
}

/* Main centered policy container */

.privacy-content {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  padding: 55px 60px;

  border: 1px solid var(--border);
  border-radius: 20px;

  background: rgba(16, 24, 19, 0.94);

  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);

  text-align: center;
}

/* Policy heading */

.privacy-content > .eyebrow {
  margin-bottom: 15px;
}

.privacy-content > h1 {
  margin-bottom: 22px;

  color: var(--text);
  font-size: clamp(2.6rem, 6vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.15;
}

.privacy-content > h1 span {
  color: var(--green-light);
}

/* Introductory text */

.privacy-intro {
  max-width: 620px;
  margin: 0 auto 25px;

  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.9;
}

/* Policy status label */

.privacy-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  color: #c5d5c9;
  font-size: 0.85rem;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;

  border-radius: 50%;
  background: var(--cyan);

  box-shadow: 0 0 12px rgba(0, 217, 255, 0.35);
}

/* Divider */

.privacy-divider {
  width: 100%;
  height: 1px;
  margin: 35px 0;

  background: var(--border);
}

/* Individual policy sections */

.privacy-section {
  margin-bottom: 35px;
  text-align: center;
}

.privacy-section h2 {
  margin-bottom: 13px;

  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.4;
}

.privacy-section p {
  max-width: 650px;
  margin: 0 auto 15px;

  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.9;
}

.privacy-section p:last-child {
  margin-bottom: 0;
}

/* Centered bullet lists */

.privacy-section ul {
  display: inline-block;
  max-width: 620px;

  margin: 0 auto 18px;
  padding-left: 23px;

  color: var(--muted);
  text-align: left;
}

.privacy-section li {
  margin-bottom: 10px;
  padding-left: 5px;
  line-height: 1.8;
}

.privacy-section li::marker {
  color: var(--cyan);
}

.privacy-section strong {
  color: #eaf6ed;
  font-weight: 700;
}

/* Links inside the policy */

.inline-link {
  color: var(--cyan);
  text-decoration: underline;
  text-decoration-color: rgba(0, 217, 255, 0.4);
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}

.inline-link:hover {
  color: #a0f3ff;
}

/* Contact button... */

.privacy-discord {
  margin-top: 20px;

  border-color: var(--cyan);
  background: var(--cyan);
  color: #061820;
}

.privacy-discord:hover {
  border-color: var(--cyan-hover);
  background: var(--cyan-hover);
}

.privacy-discord .discord-logo {
  width: 21px;
  height: 21px;
}

/* Policy reminder */

.privacy-note {
  margin-top: 30px;
  padding: 20px 22px;

  border: 1px solid var(--cyan-border);
  border-radius: 12px;

  background: rgba(0, 217, 255, 0.04);

  text-align: center;
}

.privacy-note p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.8;
}

.privacy-note strong {
  color: var(--cyan);
}

/* Back to home */

.back-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  margin-top: 35px;
  padding: 11px 18px;

  border: 1px solid var(--border);
  border-radius: 9px;

  color: #eaf6ed;
  font-size: 0.95rem;
  font-weight: 700;

  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
}

.back-home:hover {
  border-color: var(--cyan-border);
  background: rgba(0, 217, 255, 0.05);
  color: var(--cyan);
}

/* =====================================
   FOOTER
===================================== */

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  padding: 25px 7%;

  border-top: 1px solid var(--border);
  background: var(--background);

  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer a {
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--cyan);
}

/* =====================================
   ANIMATIONS
===================================== */

@keyframes content-appear {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes banner-appear {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* =====================================
   TABLET RESPONSIVENESS
===================================== */

@media (max-width: 900px) {
  .site-header {
    padding: 16px 5%;
  }

  .header-left {
    gap: 16px;
  }

  .nav-links {
    gap: 20px;
  }

  .hero {
    min-height: 560px;
    padding: 75px 7%;
  }

  .hero-content {
    width: 58%;
  }

  .banner-wrap {
    right: 4%;
    width: 45%;
  }

  .hero h1 {
    font-size: clamp(3rem, 7vw, 4.5rem);
  }

  .section {
    padding: 80px 7%;
  }

  .privacy-page {
    padding: 60px 22px 80px;
  }

  .privacy-content {
    padding: 45px 35px;
  }
}

/* =====================================
   MOBILE RESPONSIVENESS
===================================== */

@media (max-width: 650px) {
  .site-header {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 5%;
  }

  .header-left {
    gap: 12px;
  }

  .brand {
    font-size: 1.55rem;
  }

  .discord-button {
    gap: 7px;
    padding: 8px 10px;
    font-size: 0.8rem;
  }

  .discord-logo {
    width: 20px;
    height: 20px;
  }

  .menu-toggle {
    display: flex;
    margin-left: auto;
  }

  .nav-links {
    display: none;
    width: 100%;

    align-items: stretch;
    flex-direction: column;
    gap: 4px;

    padding: 12px 0 4px;

    border-top: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 11px 8px;
  }

  .nav-links a::after {
    display: none;
  }

  .nav-links a.active {
    border-radius: 7px;
    background: rgba(0, 217, 255, 0.08);
    color: var(--cyan);
  }

  /* Homepage */

  .hero {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;

    padding: 65px 6% 55px;
  }

  .hero-content {
    width: 100%;
    max-width: none;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 12vw, 4.5rem);
    letter-spacing: -2px;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .banner-wrap {
    position: relative;
    top: auto;
    right: auto;
    z-index: 1;

    width: 100%;
    margin-top: 45px;

    transform: none;
  }

  .banner {
    border-radius: 14px;
  }

  .section {
    padding: 70px 6%;
  }

  .about h2 {
    font-size: 2.2rem;
  }

  /* Privacy page */

  .privacy-page {
    min-height: auto;
    padding: 35px 14px 55px;
  }

  .privacy-content {
    padding: 35px 20px;

    border-radius: 14px;
  }

  .privacy-content > h1 {
    font-size: clamp(2.3rem, 10vw, 3.2rem);
    letter-spacing: -1.5px;
  }

  .privacy-intro {
    font-size: 0.97rem;
  }

  .privacy-divider {
    margin: 28px 0;
  }

  .privacy-section {
    margin-bottom: 30px;
  }

  .privacy-section h2 {
    font-size: 1.2rem;
  }

  .privacy-section p,
  .privacy-section li {
    font-size: 0.93rem;
  }

  .privacy-section ul {
    padding-left: 21px;
  }

  .privacy-note {
    padding: 17px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;

    padding: 22px 6%;
  }
}

/* =====================================
   REDUCED MOTION ACCESSIBILITY
===================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
