:root {
  --bg: #0a0a0b;
  --bg-soft: #111113;
  --fg: #f2f2f2;
  --fg-dim: #9a9a9e;
  --fg-faint: #6b6b70;
  --border: rgba(255, 255, 255, 0.12);
  --glow: rgba(255, 255, 255, 0.28);
  --font-display: "Unbounded", sans-serif;
  --font-body: "Montserrat", sans-serif;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  overflow-x: hidden;
  user-select: none;
  -webkit-user-select: none;
}

img {
  -webkit-user-drag: none;
  pointer-events: none;
}

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

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

.divider {
  border: none;
  border-top: 1px solid var(--border);
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ---------- NAV ---------- */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 24px 10px;
}

.nav__logo-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  border-radius: 6px;
}

.nav__links {
  display: flex;
  gap: 36px;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-dim);
  padding-bottom: 6px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease;
}

.nav__link:hover { color: var(--fg); }

.nav__link.is-active {
  color: var(--fg);
  border-bottom-color: var(--fg);
}

/* ---------- HERO ---------- */

.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 24px 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.hero__content {
  flex: 1 1 380px;
  max-width: 460px;
}

.hero__logo {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 24px;
  border-radius: 28px;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.12))
    drop-shadow(0 0 48px rgba(255, 255, 255, 0.1));
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  letter-spacing: 0.35em;
  margin: 0 0 18px;
}

.hero__subtitle {
  font-size: 15px;
  line-height: 1.7;
  color: var(--fg-dim);
  margin: 0 0 34px;
}

.btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 26px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  background: var(--bg-soft);
  box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  transition: box-shadow 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.btn-discord__icon { width: 20px; height: 20px; }
.btn-discord__arrow { width: 18px; height: 18px; margin-left: 6px; transition: transform 0.25s ease; }

.btn-discord:hover {
  background: #17171a;
  box-shadow: 0 0 40px var(--glow);
  transform: translateY(-2px);
}

.btn-discord:hover .btn-discord__arrow {
  transform: translateX(4px);
}

.hero__gallery {
  position: relative;
  flex: 1 1 320px;
  min-width: 280px;
  height: 320px;
}

.photo-card {
  position: absolute;
  width: 220px;
  height: 150px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background-color: #0c0c0e;
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: flex-end;
  padding: 12px 14px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.65) 100%);
}

.photo-card span {
  position: relative;
  z-index: 1;
}

.photo-card--1 {
  top: 0;
  right: 40px;
  transform: rotate(-6deg);
  z-index: 1;
}

.photo-card--2 {
  top: 90px;
  right: 150px;
  transform: rotate(4deg);
  z-index: 2;
  color: #b7f7c9;
}

.photo-card--3 {
  top: 160px;
  right: 0;
  transform: rotate(-3deg);
  z-index: 3;
}

.hero__gallery:hover .photo-card {
  box-shadow: 0 20px 60px rgba(255, 255, 255, 0.08), 0 20px 50px rgba(0, 0, 0, 0.55);
}

/* ---------- FEATURES ---------- */

.features {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 24px 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  color: var(--fg-dim);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.feature svg {
  width: 32px;
  height: 32px;
  color: var(--fg);
  opacity: 0.85;
}

/* ---------- HISTORY ---------- */

.history {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 70px 24px 40px;
}

.history__eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--fg-faint);
  margin: 0 0 12px;
  font-weight: 600;
}

.history__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin: 0 0 24px;
}

.history__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 48px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--fg);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.history__link:hover {
  border-color: var(--fg-faint);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
}

.history__link-arrow {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.history__link:hover .history__link-arrow {
  transform: translateX(3px);
}

.timeline {
  list-style: none;
  margin: 0 0 48px;
  padding: 0 0 0 24px;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.timeline__item {
  position: relative;
}

.timeline__item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fg);
  box-shadow: 0 0 10px var(--glow);
}

.timeline__item h3 {
  font-family: var(--font-display);
  font-size: 17px;
  margin: 0 0 8px;
}

.timeline__item p {
  margin: 0;
  color: var(--fg-dim);
  font-size: 14px;
  line-height: 1.7;
  max-width: 560px;
}

.history__quote {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--fg-dim);
}

/* ---------- FOOTER ---------- */

.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 24px 40px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer__copy {
  color: var(--fg-faint);
  font-size: 13px;
  margin: 0;
}

.site-footer__socials {
  display: flex;
  gap: 26px;
}

.site-footer__socials a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fg-dim);
  transition: color 0.2s ease;
}

.site-footer__socials a:hover { color: var(--fg); }

.site-footer__socials svg {
  width: 18px;
  height: 18px;
}

/* ---------- SCROLL REVEAL ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1024px) and (min-width: 721px) {
  .hero { gap: 32px; }
  .hero__content { max-width: 420px; }
}

@media (max-width: 720px) {
  .nav__links { gap: 20px; }
  .hero { padding: 36px 24px 60px; gap: 40px; }
  .hero__content { text-align: center; margin: 0 auto; }
  .hero__logo { margin-left: auto; margin-right: auto; }
  .btn-discord { margin: 0 auto; }
  .hero__gallery { height: 280px; width: 100%; max-width: 300px; margin: 0 auto; }
  .photo-card { width: 190px; height: 130px; }
  .photo-card--1 { right: 30px; top: 0; }
  .photo-card--2 { right: 110px; top: 70px; }
  .photo-card--3 { right: 0; top: 120px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .site-footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .nav { padding: 20px 16px 8px; }
  .nav__links { gap: 12px; }
  .nav__link { font-size: 12px; }
  .hero, .features, .history, .site-footer { padding-left: 16px; padding-right: 16px; }
  .hero__logo { width: 120px; height: 120px; }
  .hero__title { font-size: 28px; letter-spacing: 0.28em; }
  .btn-discord { padding: 14px 20px; font-size: 12px; }
  .hero__gallery { height: 220px; width: 210px; min-width: 0; max-width: 210px; margin: 0 auto; }
  .photo-card { width: 140px; height: 95px; }
  .photo-card--1 { right: 0; top: 0; }
  .photo-card--2 { right: 70px; top: 60px; }
  .photo-card--3 { right: 10px; top: 110px; }
}

@media (max-width: 360px) {
  .btn-discord { flex-wrap: wrap; justify-content: center; padding: 14px 18px; }
  .hero__gallery { height: 190px; width: 175px; min-width: 0; max-width: 175px; margin: 0 auto; }
  .photo-card { width: 120px; height: 82px; }
  .photo-card--1 { right: 0; top: 0; }
  .photo-card--2 { right: 55px; top: 52px; }
  .photo-card--3 { right: 5px; top: 95px; }
}
