/* =========================
   NEONTIDE ESPORTS — ÜMUMİ STILLƏR
   ========================= */

/* FONTLAR (yerli TTF fayllar, Google Fonts əsasında) */
@font-face {
  font-family: "NTDisplay";
  src: url("../fonts/RussoOne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NTText";
  src: url("../fonts/Manrope-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "NTText";
  src: url("../fonts/Manrope-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* KÖK DƏYİŞƏNLƏR */
:root {
  --nt-body-bg: #f3f6ff;
  --nt-surface-soft: #ffffff;
  --nt-surface-ghost: #eef2ff;
  --nt-surface-chip: #e0ebff;

  --nt-text-main: #0f172a;
  --nt-text-soft: #4b5563;
  --nt-text-muted: #6b7280;
  --nt-text-inverse: #f9fafb;

  --nt-accent-primary: #2563eb;
  --nt-accent-secondary: #22d3ee;
  --nt-accent-pink: #fb37ff;
  --nt-accent-gold: #fbbf24;

  --nt-border-subtle: rgba(148, 163, 184, 0.35);
  --nt-border-strong: rgba(30, 64, 175, 0.6);

  --nt-shadow-soft: 0 20px 40px rgba(15, 23, 42, 0.08);
  --nt-shadow-strong: 0 24px 60px rgba(30, 64, 175, 0.25);

  --nt-radius-lg: 24px;
  --nt-radius-md: 18px;
  --nt-radius-pill: 999px;

  --nt-header-height: 80px;
  --nt-z-header: 40;
  --nt-z-overlay: 60;

  --nt-transition-fast: 160ms ease-out;
  --nt-transition-med: 220ms ease-out;
}

/* RESET & BAZA */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "NTText", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--nt-text-main);
  background: radial-gradient(circle at 0% 0%, #e0f2fe 0, transparent 50%),
    radial-gradient(circle at 100% 100%, #fce7f3 0, transparent 55%),
    var(--nt-body-bg);
}

/* Scrollbar (diqqəti yayındırmayan variant) */
body {
  scrollbar-width: thin;
  scrollbar-color: rgba(148, 163, 184, 0.9) transparent;
}

body::-webkit-scrollbar {
  width: 8px;
}

body::-webkit-scrollbar-track {
  background: transparent;
}

body::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.9);
  border-radius: 999px;
}

/* Mətn elementləri */
h1,
h2,
h3,
h4 {
  margin: 0 0 0.4em;
  font-family: "NTDisplay", system-ui, sans-serif;
  letter-spacing: 0.03em;
  color: var(--nt-text-main);
}

p {
  margin: 0 0 0.9em;
  line-height: 1.6;
  color: var(--nt-text-soft);
}

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

a:hover {
  text-decoration: none;
}

/* Kapsayıcı */
.nt-body {
  display: flex;
  flex-direction: column;
}

.nt-main {
  padding-top: var(--nt-header-height);
}

/* KONTEYNER */
.nt-section {
  padding: 72px 16px;
}

.nt-section > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* RESPONSIVE KONTEYNER */
@media (min-width: 768px) {
  .nt-section {
    padding: 96px 24px;
  }
}

@media (min-width: 1280px) {
  .nt-section {
    padding: 110px 32px;
  }
}

/* HEADER */
.nt-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: var(--nt-z-header);
  backdrop-filter: blur(18px);
  background: linear-gradient(
      to bottom,
      rgba(248, 250, 252, 0.95),
      rgba(248, 250, 252, 0.85),
      rgba(248, 250, 252, 0.8)
    ),
    radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.26) 0, transparent 55%);
  border-bottom: 1px solid rgba(148, 163, 184, 0.35);
  transition: background var(--nt-transition-med),
    box-shadow var(--nt-transition-med), border-color var(--nt-transition-med),
    transform var(--nt-transition-med);
}

.nt-header--scrolled {
  box-shadow: var(--nt-shadow-soft);
  border-bottom-color: rgba(148, 163, 184, 0.6);
}

.nt-header-inner {
  max-width: 1200px;
  margin-inline: auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 18px;
}

/* LOGO */
.nt-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  background: linear-gradient(
      120deg,
      rgba(37, 99, 235, 0.08),
      rgba(56, 189, 248, 0.09),
      rgba(244, 114, 182, 0.08)
    ),
    #ffffff;
  border: 1px solid rgba(129, 140, 248, 0.55);
  box-shadow: 0 14px 35px rgba(59, 130, 246, 0.25);
  transform-origin: left center;
  transition: transform var(--nt-transition-med),
    box-shadow var(--nt-transition-med), border-color var(--nt-transition-med);
}

.nt-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: conic-gradient(
    from 140deg,
    #2563eb,
    #22d3ee,
    #fb37ff,
    #fbbf24,
    #2563eb
  );
  color: #0b1120;
  font-family: "NTDisplay", system-ui, sans-serif;
  font-size: 18px;
  letter-spacing: 0.1em;
}

.nt-logo-mark--small {
  width: 28px;
  height: 28px;
  font-size: 15px;
}

.nt-logo-text {
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0b1120;
}

.nt-logo:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 18px 40px rgba(59, 130, 246, 0.28);
  border-color: rgba(37, 99, 235, 0.9);
}

/* NAVIGASİYA */
.nt-nav {
  margin-left: auto;
}

.nt-nav-list {
  display: flex;
  align-items: center;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nt-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--nt-text-muted);
  padding: 6px 10px;
  border-radius: 999px;
  transition: color var(--nt-transition-fast),
    background var(--nt-transition-fast), transform var(--nt-transition-fast);
}

.nt-nav-link::after {
  content: "";
  position: absolute;
  inset-inline: 10px;
  inset-block-end: 4px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    to right,
    var(--nt-accent-secondary),
    var(--nt-accent-primary)
  );
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: center;
  transition: opacity var(--nt-transition-fast),
    transform var(--nt-transition-fast);
}

.nt-nav-link:hover {
  color: #111827;
  background: rgba(191, 219, 254, 0.4);
  transform: translateY(-1px);
}

.nt-nav-link:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.nt-nav-link--active {
  color: #0b1120;
  background: linear-gradient(
      135deg,
      rgba(59, 130, 246, 0.08),
      rgba(56, 189, 248, 0.1)
    ),
    rgba(239, 246, 255, 0.85);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.25);
}

.nt-nav-link--active::after {
  opacity: 1;
  transform: scaleX(1);
}

/* HEADER CTA BUTTON */
.nt-header-cta {
  margin-left: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(56, 189, 248, 0.9);
  background: radial-gradient(circle at 0 0, #e0f2fe 0, transparent 55%),
    linear-gradient(120deg, #2563eb, #22d3ee);
  color: var(--nt-text-inverse);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  cursor: pointer;
  box-shadow: 0 16px 35px rgba(37, 99, 235, 0.45);
  transition: transform var(--nt-transition-fast),
    box-shadow var(--nt-transition-fast), filter var(--nt-transition-fast);
}

.nt-header-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.55);
  filter: brightness(1.05);
}

.nt-header-cta:active {
  transform: translateY(0);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.4);
}

/* BURGER BUTTON (mobil) — gamer style */
.nt-burger {
  margin-left: 8px;
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.75);
  background:
    radial-gradient(circle at 25% 0%, rgba(56, 189, 248, 0.8), transparent 55%),
    radial-gradient(circle at 80% 100%, rgba(244, 114, 182, 0.85), transparent 60%),
    rgba(15, 23, 42, 0.96);
  padding: 0;
  position: relative;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 1),
    0 12px 30px rgba(15, 23, 42, 0.9),
    0 0 32px rgba(59, 130, 246, 0.7);
  transition:
    transform var(--nt-transition-fast),
    box-shadow var(--nt-transition-fast),
    border-color var(--nt-transition-fast),
    background var(--nt-transition-fast);
}

/* внутреннее неоновое кольцо */
.nt-burger::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: inherit;
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 0 20px rgba(96, 165, 250, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--nt-transition-fast);
}

/* внешнее «дыхание» */
.nt-burger::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: inherit;
  border: 1px solid rgba(56, 189, 248, 0.25);
  opacity: 0;
  transform: scale(0.7);
  animation: nt-burger-pulse 2.1s ease-out infinite;
}

.nt-burger:hover {
  transform: translateY(-1px) scale(1.03);
  border-color: rgba(59, 130, 246, 0.95);
  box-shadow:
    0 16px 38px rgba(15, 23, 42, 0.95),
    0 0 40px rgba(56, 189, 248, 1);
}

.nt-burger:hover::before {
  opacity: 1;
}

/* линии */
.nt-burger-line {
  position: absolute;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22d3ee, #fb37ff, #fbbf24);
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.95);
  transition:
    transform var(--nt-transition-fast),
    opacity var(--nt-transition-fast),
    top var(--nt-transition-fast),
    bottom var(--nt-transition-fast);
}

.nt-burger-line:nth-child(1) {
  top: 16px;
}

.nt-burger-line:nth-child(2) {
  top: 21px;
}

.nt-burger-line:nth-child(3) {
  bottom: 16px;
}

/* состояние «открыто» */
.nt-burger--open {
  background:
    radial-gradient(circle at 20% 0%, rgba(56, 189, 248, 0.9), transparent 55%),
    radial-gradient(circle at 80% 100%, rgba(251, 191, 36, 0.9), transparent 60%),
    rgba(30, 64, 175, 0.98);
  box-shadow:
    0 16px 42px rgba(15, 23, 42, 0.98),
    0 0 45px rgba(251, 191, 36, 0.95);
}

.nt-burger--open .nt-burger-line:nth-child(1) {
  top: 21px;
  transform: rotate(42deg);
}

.nt-burger--open .nt-burger-line:nth-child(2) {
  opacity: 0;
}

.nt-burger--open .nt-burger-line:nth-child(3) {
  bottom: auto;
  top: 21px;
  transform: rotate(-42deg);
}

/* лёгкий пульс свечение */
@keyframes nt-burger-pulse {
  0% {
    opacity: 0;
    transform: scale(0.7);
  }
  40% {
    opacity: 0.6;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.15);
  }
}


/* MOBIL MENYU */
.nt-mobile-menu {
  display: none;
  position: fixed;
  inset-inline: 0;
  inset-block-start: var(--nt-header-height);
  background: rgba(248, 250, 252, 0.98);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.15);
  z-index: var(--nt-z-overlay);
  transform-origin: top;
  transform: scaleY(0.96);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--nt-transition-med),
    transform var(--nt-transition-med);
}

.nt-mobile-menu--open {
  display: block;
  opacity: 1;
  transform: scaleY(1);
  pointer-events: auto;
}

.nt-mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 12px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nt-mobile-menu-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--nt-text-main);
  background: rgba(239, 246, 255, 0.9);
  border: 1px solid rgba(191, 219, 254, 0.9);
  transition: background var(--nt-transition-fast),
    transform var(--nt-transition-fast), border-color var(--nt-transition-fast);
}

.nt-mobile-menu-link::after {
  content: "↗";
  font-size: 13px;
  color: var(--nt-text-muted);
}

.nt-mobile-menu-link:hover {
  background: rgba(219, 234, 254, 1);
  transform: translateY(-1px);
  border-color: rgba(59, 130, 246, 0.9);
}

.nt-mobile-menu-link--active {
  background: linear-gradient(
      130deg,
      rgba(59, 130, 246, 0.14),
      rgba(56, 189, 248, 0.14)
    ),
    rgba(239, 246, 255, 0.98);
}

/* FOOTER */
.nt-footer {
  margin-top: auto;
  padding: 40px 16px 24px;
  background: radial-gradient(
      circle at 100% 0%,
      rgba(59, 130, 246, 0.14),
      transparent 50%
    ),
    #020617;
  color: var(--nt-text-inverse);
}

.nt-footer-inner {
  max-width: 1200px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) repeat(3, minmax(0, 1.2fr));
  gap: 28px;
  align-items: flex-start;
}

.nt-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  border: 1px solid rgba(129, 140, 248, 0.8);
  background: radial-gradient(
      circle at 0 0,
      rgba(37, 99, 235, 0.4),
      transparent 55%
    ),
    rgba(15, 23, 42, 0.95);
}

.nt-footer-text {
  margin-top: 12px;
  font-size: 14px;
  color: rgba(226, 232, 240, 0.86);
}

.nt-footer-col {
  font-size: 14px;
}

.nt-footer-title {
  font-family: "NTText", system-ui, sans-serif;
  font-size: 13px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: rgba(209, 213, 219, 0.98);
}

.nt-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.nt-footer-links a {
  color: rgba(226, 232, 240, 0.9);
  transition: color var(--nt-transition-fast),
    transform var(--nt-transition-fast);
}

.nt-footer-links a:hover {
  color: #e5e7eb;
  transform: translateX(2px);
}

.nt-footer-bottom {
  max-width: 1200px;
  margin: 20px auto 0;
  padding-top: 14px;
  border-top: 1px solid rgba(55, 65, 81, 0.8);
  text-align: center;
}

.nt-footer-copy {
  margin: 0;
  font-size: 12px;
  color: rgba(148, 163, 184, 0.95);
}

/* ŞƏKİLLƏR (qlobal limit 350px) */
.nt-img {
  display: block;
  max-width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  box-shadow: var(--nt-shadow-soft);
  object-fit: cover;
}

.nt-img--hero-main,
.nt-img--hero-thumb {
  max-width: 350px;
}

/* BUTTONLAR */
.nt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--nt-radius-pill);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform var(--nt-transition-fast),
    box-shadow var(--nt-transition-fast), background var(--nt-transition-fast),
    border-color var(--nt-transition-fast), color var(--nt-transition-fast);
}

.nt-btn--primary {
  background: linear-gradient(120deg, #2563eb, #22d3ee);
  border-color: rgba(37, 99, 235, 0.9);
  color: var(--nt-text-inverse);
  box-shadow: var(--nt-shadow-strong);
}

.nt-btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 26px 60px rgba(37, 99, 235, 0.55);
  background: linear-gradient(120deg, #1d4ed8, #06b6d4);
}

.nt-btn--ghost {
  background: rgba(248, 250, 252, 0.7);
  border-color: rgba(148, 163, 184, 0.7);
  color: var(--nt-text-main);
}

.nt-btn--ghost:hover {
  background: rgba(219, 234, 254, 0.9);
  border-color: rgba(59, 130, 246, 0.95);
  transform: translateY(-1px);
}

/* PILL / STATİSTİKA */
.nt-pill {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 18px;
  background: radial-gradient(
      circle at 0 0,
      rgba(191, 219, 254, 0.9),
      transparent 75%
    ),
    var(--nt-surface-soft);
  border: 1px solid rgba(191, 219, 254, 0.9);
  min-width: 120px;
}

.nt-pill-label {
  font-size: 15px;
  font-weight: 700;
  color: #1e3a8a;
}

.nt-pill-text {
  font-size: 12px;
  color: var(--nt-text-muted);
}

/* ANİMASİYA ÜÇÜN REVEAL KLASSI */
.js-reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.98);
  transition: opacity 420ms ease-out, transform 420ms ease-out;
}

.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* RESPONSIVE BREAKPOINTLƏR */

/* 1024px-dən kiçik (planşet & kiçik noutbuk) */
@media (max-width: 1024px) {
  .nt-header-inner {
    padding-inline: 16px;
  }

  .nt-header-cta {
    display: none;
  }
}

/* 768px-dən kiçik (planşet & böyük telefon) */
@media (max-width: 768px) {
  :root {
    --nt-header-height: 70px;
  }

  .nt-nav {
    display: none;
  }

  .nt-burger {
    display: inline-flex;
  }

  .nt-footer-inner {
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr);
    row-gap: 20px;
  }
}

/* 600px-dən kiçik (mobil) */
@media (max-width: 600px) {
  .nt-section {
    padding: 72px 14px;
  }

  .nt-footer-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .nt-header-inner {
    gap: 10px;
  }

  .nt-logo-text {
    font-size: 13px;
  }
}

/* 400px-dən kiçik (kiçik mobil) */
@media (max-width: 400px) {
  .nt-section {
    padding-inline: 12px;
  }

  .nt-footer {
    padding-inline: 12px;
  }
}
