@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --black: #050505;
  --dark: #0b0b0b;
  --panel: #121212;
  --panel2: #181818;
  --gold: #e0bf66;
  --bronze: #8a6a2f;
  --bronze-light: #c9a14a;
  --text: #efefef;
  --muted: #b8b8b8;
  --line: rgba(224, 191, 102, .25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

/* NAV */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(5, 5, 5, .76);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.navbar {
  height: 74px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.logo {
  font-family: "Cinzel", serif;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  font-weight: 700;
  font-size: .95rem;
}

.nav-links a:hover {
  color: var(--gold);
}

.telegram-link {
  border: 1px solid var(--bronze-light);
  border-radius: 999px;
  padding: 8px 15px;
}

.menu-toggle {
  display: none;
}

/* GLOBAL */

h1,
h2,
h3 {
  font-family: "Cinzel", serif;
}

.eyebrow,
.small-title {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  font-size: .85rem;
}

.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 6px;
  font-weight: 800;
  transition: .3s;
}

.btn.primary {
  background: linear-gradient(135deg, var(--bronze-light), var(--bronze));
  color: #111;
  border: none;
}

.btn.secondary {
  border: 1px solid var(--bronze-light);
  color: var(--gold);
  background: transparent;
}

.btn:hover {
  transform: translateY(-3px);
}

/* HOME HERO */

.cinematic-hero {
  min-height: 100vh;
  padding: 130px 22px 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(rgba(0,0,0,.42), rgba(0,0,0,.9)),
    url("../images/heroes/homepage-hero.png") center / cover no-repeat;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.hero-crest {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 24px;
  border: 1px solid var(--line);
  box-shadow: 0 0 35px rgba(224,191,102,.22);
}

.hero-content h1 {
  font-size: clamp(3rem, 8vw, 6.3rem);
  line-height: .95;
  margin: 20px 0;
  color: white;
}

.hero-text {
  max-width: 760px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-subline {
  margin-top: 26px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: .78rem;
}

/* JOIN PAGE HERO */

.page-join-hero {
  min-height: 82vh;
  padding: 165px 22px 100px;
  display: flex;
  align-items: center;
  text-align: center;
  background:
    linear-gradient(rgba(0,0,0,.68), rgba(0,0,0,.96)),
    url("../images/heroes/homepage-hero.png") center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.page-join-hero .container {
  max-width: 900px;
}

.page-join-hero h1 {
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 1;
  margin: 20px 0;
  color: white;
  letter-spacing: 2px;
  text-shadow: 0 0 35px rgba(0,0,0,.8);
}

.page-join-hero p {
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.7;
}

.page-crest {
  width: 155px;
  height: 155px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 24px;
  border: 1px solid var(--line);
  box-shadow: 0 0 35px rgba(224,191,102,.22);
}

/* JOIN CARDS */

.join-paths {
  padding: 95px 22px;
  background:
    linear-gradient(rgba(0,0,0,.96), rgba(0,0,0,.98)),
    radial-gradient(circle at center, rgba(201,161,74,.1), transparent 50%);
  border-bottom: 1px solid var(--line);
}

.section-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin-bottom: 40px;
}

.section-title span {
  width: 150px;
  height: 1px;
  background: var(--line);
}

.section-title h2 {
  color: var(--gold);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 1.55rem;
  white-space: nowrap;
}

.join-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.join-card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #181818, #0d0d0d);
  padding: 32px;
  text-align: center;
  transition: .3s;
  min-height: 230px;
  cursor: pointer;
}

.join-card:hover {
  transform: translateY(-7px);
  border-color: rgba(224,191,102,.55);
  box-shadow:
    0 0 30px rgba(201,161,74,.18),
    inset 0 0 25px rgba(201,161,74,.05);
}

.join-card:hover img {
  filter: drop-shadow(0 0 14px rgba(224,191,102,.35));
}

.join-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0 auto 18px;
}

.join-card h3 {
  color: var(--gold);
  font-size: 1.35rem;
  margin: 0 0 12px;
}

.join-card p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* JOIN FORM */

.join-form-section {
  padding: 120px 22px 100px;
  background:
    linear-gradient(rgba(0,0,0,.94), rgba(0,0,0,.98)),
    radial-gradient(circle at center, rgba(201,161,74,.1), transparent 50%);
}

.form-wrap {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 42px;
  align-items: start;
}

.form-intro h2 {
  color: var(--gold);
  font-size: clamp(2.6rem, 5vw, 4.25rem);
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: 1px;
}

.form-intro p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.05rem;
  max-width: 520px;
}

.join-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  border: 1px solid var(--line);
  background: rgba(18,18,18,.85);
  padding: 30px;
  box-shadow: 0 0 40px rgba(0,0,0,.35);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row.full {
  grid-column: 1 / -1;
}

label {
  color: var(--gold);
  font-weight: 700;
  font-size: .9rem;
}

input,
select,
textarea {
  width: 100%;
  background: #080808;
  border: 1px solid rgba(224,191,102,.28);
  color: var(--text);
  padding: 13px;
  font: inherit;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.join-form .btn {
  grid-column: 1 / -1;
  justify-self: start;
  width: fit-content;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  padding: 16px 28px;
}

/* HOME SECTIONS */

.stand-beside,
.feature-band,
.latest-section,
.telegram-support {
  padding: 76px 22px;
  background: #050505;
  border-bottom: 1px solid var(--line);
}

.stand-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border: 1px solid var(--line);
  background: rgba(12,12,12,.78);
}

.stand-item {
  text-align: center;
  padding: 28px 16px;
  border-right: 1px solid var(--line);
}

.stand-item:last-child {
  border-right: none;
}

.stand-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin: 0 auto 16px;
}

.stand-item p {
  margin: 0;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.55;
}

.stand-closing {
  text-align: center;
  margin: 34px 0 0;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-family: "Cinzel", serif;
}

.feature-grid,
.news-grid,
.bottom-grid {
  display: grid;
  gap: 24px;
}

.feature-grid {
  grid-template-columns: 1fr 1.3fr .8fr;
  border: 1px solid var(--line);
}

.feature-panel,
.news-card,
.bottom-panel {
  border: 1px solid var(--line);
  background: rgba(18,18,18,.82);
  padding: 28px;
}

.feature-panel {
  border: none;
  border-right: 1px solid var(--line);
}

.feature-panel:last-child {
  border-right: none;
}

.feature-panel h2,
.bottom-panel h2,
.section-header-row h2 {
  color: var(--gold);
}

.feature-panel p,
.news-card p,
.bottom-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.patron-panel {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  align-items: center;
}

.patron-panel img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line);
}

.scripture-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.scripture {
  color: var(--gold) !important;
  font-family: "Cinzel", serif;
  font-style: italic;
}

.reference {
  color: var(--bronze-light) !important;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.text-link {
  color: var(--bronze-light);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: .82rem;
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.news-grid {
  grid-template-columns: repeat(3, 1fr);
}

.news-card {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
}

.news-card img {
  width: 110px;
  height: 110px;
  object-fit: cover;
}

.bottom-grid {
  grid-template-columns: 1fr 1fr;
}

.bottom-panel {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: center;
}

.bottom-panel img {
  width: 76px;
  height: 76px;
  object-fit: contain;
}

/* BASIC PAGE HERO */

.page-hero {
  padding: 150px 22px 90px;
  text-align: center;
  background:
    linear-gradient(rgba(0,0,0,.75), rgba(0,0,0,.94)),
    url("../images/heroes/homepage-hero.png") center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  color: white;
  font-size: clamp(2.8rem, 7vw, 5rem);
}

.page-hero p,
.narrow p {
  color: var(--muted);
  line-height: 1.75;
}

.section {
  padding: 80px 22px;
}

.mission {
  text-align: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #181818, #0d0d0d);
  padding: 30px;
}

.card h3 {
  color: var(--gold);
}

.card p {
  color: var(--muted);
  line-height: 1.7;
}

.split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.support-preview {
  text-align: center;
}

.site-footer {
  padding: 34px 22px;
  text-align: center;
  background: #050505;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

/* MOBILE */

@media (max-width: 1000px) {
  .join-grid,
  .form-wrap,
  .join-form,
  .stand-grid,
  .feature-grid,
  .news-grid,
  .bottom-grid,
  .cards {
    grid-template-columns: 1fr;
  }

  .feature-panel {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .stand-item {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .patron-panel,
  .news-card,
  .bottom-panel {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .patron-panel img,
  .news-card img,
  .bottom-panel img {
    margin: 0 auto;
  }
}

@media (max-width: 700px) {
  .menu-toggle {
    display: block;
    background: none;
    border: 1px solid var(--line);
    color: var(--gold);
    font-size: 1.5rem;
    padding: 4px 10px;
    border-radius: 6px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: #070707;
    flex-direction: column;
    padding: 22px;
  }

  .nav-links.active {
    display: flex;
  }

  .section-title span {
    width: 45px;
  }

  h1 {
    font-size: 3rem;
  }

  .join-form .btn {
    justify-self: stretch;
    text-align: center;
  }
}