/* ===== GOOGLE FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;700&display=swap');

/* ===== CSS VARIABLES ===== */
:root {
  /* Colors */
  --yellow-primary: #FCB802;
  --yellow-light: #FDD406;
  --yellow-mid: #FFC700;
  --grey: #545454;
  --bg-primary: #0F0F0F;
  --bg-secondary: #1A1A1A;
  --bg-card: #222222;
  --text-primary: #FFFFFF;
  --text-secondary: #AAAAAA;
  --border: #2E2E2E;

  /* Typography */
  --font-main: 'Space Grotesk', sans-serif;
  --font-code: 'JetBrains Mono', monospace;

  /* Spacing */
  --radius: 10px;
  --radius-lg: 16px;

  /* Shadow */
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  --glow: 0 0 20px rgba(252, 184, 2, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  padding-top: 135px;
  line-height: 1.6;
}

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

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

ul {
  list-style: none;
}

/* ===== GLOBAL BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background-color: var(--yellow-primary);
  color: #000000;
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--yellow-light);
  transform: translateY(-2px);
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--text-primary);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-secondary:hover {
  border-color: var(--yellow-primary);
  color: var(--yellow-primary);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
  text-align: center;
}

.btn-large {
  padding: 0.9rem 2rem;
  font-size: 1.1rem;
}

/* ===== NAVBAR ===== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 6%;
  background-color: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-logo img {
  height: 110px;
}

.nav-auth {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2,
.section-header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 6% 1.5rem;
  margin-top: 4rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand p {
  color: var(--text-secondary);
  margin-top: 0.75rem;
  font-size: 0.9rem;
  max-width: 280px;
}

.footer-brand img {
  height: 150px;
}

.footer-links {
  display: flex;
  gap: 3rem;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--yellow-primary);
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col ul li a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-col ul li a:hover {
  color: var(--yellow-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* ===== LOADER OVERLAY ===== */
#loader-overlay {
  position: fixed;
  inset: 0;
  background-color: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

#loader-overlay.hide {
  opacity: 0;
  pointer-events: none;
}

/* ===== LOADER ANIMATION ===== */
.loader-bell {
  font-size: 3rem;
  animation: bellRing 0.8s ease-in-out infinite alternate;
  transform-origin: top center;
}

.loader-brackets {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-code);
  font-size: 2rem;
  font-weight: 700;
  color: var(--yellow-primary);
  margin-top: 0.5rem;
}

.loader-brackets span {
  animation: fadeInOut 1s ease-in-out infinite alternate;
}

.loader-brackets span:nth-child(1) {
  animation-delay: 0s;
}

.loader-brackets span:nth-child(2) {
  animation-delay: 0.3s;
}

.loader-brackets span:nth-child(3) {
  animation-delay: 0.6s;
}

.loader-text {
  font-family: var(--font-code);
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 1.5rem;
  letter-spacing: 0.15em;
  animation: pulse 1.5s ease-in-out infinite;
}

/* ===== KEYFRAMES ===== */
@keyframes bellRing {
  0% {
    transform: rotate(-15deg);
  }

  100% {
    transform: rotate(15deg);
  }
}

@keyframes fadeInOut {
  0% {
    opacity: 0.2;
    color: var(--text-secondary);
  }

  100% {
    opacity: 1;
    color: var(--yellow-primary);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.4;
  }

  50% {
    opacity: 1;
  }
}


/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

  body {
    padding-top: 90px;
  }

  /* NAVBAR */
  nav {
    padding: 0.75rem 4%;
  }

  .nav-logo img {
    height: 56px;
  }

  .nav-auth {
    gap: 0.4rem;
  }

  .nav-auth a {
    font-size: 0.75rem;
    padding: 0.4rem 0.65rem;
  }

  .btn-primary {
    font-size: 0.85rem;
    padding: 0.55rem 1rem;
  }

  .btn-secondary {
    font-size: 0.85rem;
    padding: 0.55rem 1rem;
  }

  /* FOOTER */
  .footer-top {
    flex-direction: column;
    gap: 2rem;
  }

  .footer-links {
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  /* SECTION HEADER */
  .section-header h2,
  .section-header h1 {
    font-size: 1.5rem;
  }
}