:root {
  --text: #ece6db;
  --wood: #4a3426;
  --wood-light: #6b4a35;
  --rust: #9b3a2b;
  --rust-dark: #70271d;
  --swamp-border: #8e775a;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text);
  background-color: #000;
  background-image: url("../../Призрачный аллигатор над болотом.png");
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

.site-header,
.main,
.site-footer {
  position: relative;
  z-index: 2;
}

.container {
  width: min(100% - 2rem, 960px);
  margin-inline: auto;
}

.site-header,
.site-footer {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.site-footer {
  border: 0;
  padding: 1rem 0;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  margin: 0;
  font-size: 1.25rem;
  color: #f9fafb;
}

.nav {
  display: flex;
  gap: 1rem;
}

.nav a {
  color: #f9fafb;
  text-decoration: none;
}

.nav a[aria-current="page"] {
  color: var(--primary);
  font-weight: 600;
}

.main {
  min-height: 190vh;
  padding: 2rem 0 35vh;
}

.main > .container {
  background: transparent;
  border: 0;
  color: #f4efe6;
  border-radius: 0;
  padding: 2rem;
  box-shadow: none;
  backdrop-filter: none;
}

.x-button {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 36px;
  padding: 0 1rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d9e5c6;
  background: linear-gradient(90deg, rgba(22, 36, 28, 0.84), rgba(37, 56, 44, 0.9), rgba(22, 36, 28, 0.84));
  border: 1px solid rgba(110, 134, 92, 0.78);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45);
}

.x-button:hover {
  background: linear-gradient(90deg, rgba(26, 42, 32, 0.9), rgba(44, 66, 52, 0.95), rgba(26, 42, 32, 0.9));
}

.center-photo-wrap {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  z-index: 1;
}

.center-photo {
  width: min(68vw, 820px);
  max-width: 96vw;
  max-height: 72vh;
  height: auto;
  object-fit: contain;
  transform: translateY(-4vh);
  filter: drop-shadow(0 20px 36px rgba(0, 0, 0, 0.55));
}

.ca-strip {
  position: fixed;
  left: 50%;
  top: calc(50% + min(27vh, 220px));
  transform: translateX(-50%);
  width: min(74vw, 920px);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  text-align: center;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: #d9e5c6;
  background: linear-gradient(90deg, rgba(22, 36, 28, 0.84), rgba(37, 56, 44, 0.9), rgba(22, 36, 28, 0.84));
  border: 1px solid rgba(110, 134, 92, 0.78);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45);
}

.ca-description {
  position: fixed;
  left: 50%;
  top: calc(50% + min(34vh, 290px));
  transform: translateX(-50%);
  width: min(84vw, 1040px);
  margin: 0;
  text-align: center;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #d9e5c6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}

@media (max-width: 900px) {
  .center-photo {
    width: min(92vw, 620px);
    max-height: 62vh;
    transform: translateY(-3vh);
  }

  .ca-strip {
    top: calc(50% + min(23vh, 165px));
    width: min(92vw, 620px);
    padding: 0.4rem 0.75rem;
    letter-spacing: 0.14em;
    font-size: 0.92rem;
  }

  .ca-description {
    top: calc(50% + min(30vh, 225px));
    width: min(94vw, 640px);
    font-size: 0.82rem;
    letter-spacing: 0.04em;
  }
}

.hero {
  background: transparent;
  border: 0;
  color: #f4efe6;
  border-radius: 0;
  padding: 2rem;
  box-shadow: none;
  backdrop-filter: none;
}

button {
  background: linear-gradient(180deg, var(--rust), var(--rust-dark));
  color: #fff;
  border: 1px solid rgba(232, 195, 146, 0.4);
  border-radius: 0.5rem;
  padding: 0.65rem 1rem;
  cursor: pointer;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);
}

button:hover {
  background: linear-gradient(180deg, #b24634, #7a2d21);
}

.message {
  margin-top: 1rem;
  min-height: 1.2rem;
}
