* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #ffffff;
  background:
    radial-gradient(circle at top right, rgba(0, 255, 255, 0.25), transparent 35%),
    radial-gradient(circle at bottom left, rgba(255, 0, 255, 0.22), transparent 35%),
    #12002b;
}

a {
  color: inherit;
  text-decoration: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;

  padding: 18px 32px;
  background: rgba(7, 0, 39, 0.82);
  border-bottom: 2px solid rgba(101, 255, 244, 0.22);
  backdrop-filter: blur(14px);
}

.site-logo {
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-shadow:
    0 0 10px rgba(101, 255, 244, 0.8),
    0 0 24px rgba(139, 44, 255, 0.7);
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.nav-link {
  padding: 10px 16px;
  border: 2px solid transparent;
  border-radius: 999px;

  color: #e8dcff;
  font-weight: 700;

  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s,
    transform 0.2s;
}

.nav-link:hover {
  transform: translateY(-2px);
  border-color: rgba(101, 255, 244, 0.65);
  background: rgba(101, 255, 244, 0.1);
}

.nav-link.active {
  background: #65fff4;
  color: #14002e;
  border-color: #65fff4;
  box-shadow: 0 0 18px rgba(101, 255, 244, 0.45);
}
.page {
  min-height: 100vh;
  padding: clamp(16px, 3vw, 40px);
}

.hero {
  min-height: clamp(420px, 58vh, 680px);
  display: flex;
  align-items: center;
  justify-content: center;

  padding: clamp(36px, 6vw, 90px) 24px;

  border: 3px solid #2b0b67;
  border-radius: 32px;

  background:
    linear-gradient(135deg, rgba(34, 8, 88, 0.95), rgba(6, 29, 85, 0.88)),
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 18px,
      rgba(255, 255, 255, 0.04) 18px,
      rgba(255, 255, 255, 0.04) 36px
    );

  box-shadow: 0 0 50px rgba(0, 255, 255, 0.18);
}

.hero-content {
  width: min(100%, 980px);
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: #65fff4;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(56px, 9vw, 120px);
  line-height: 0.9;
  color: #ffffff;
  text-shadow:
    0 0 10px #00fff0,
    0 0 30px #8b2cff,
    6px 6px 0 #09002d;
}

.subtitle {
  margin: 28px auto 0;
  max-width: 760px;
  font-size: 24px;
  line-height: 1.45;
  color: #e8dcff;
}

.buttons {
  margin-top: 36px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.button {
  padding: 16px 24px;
  border: 2px solid #65fff4;
  border-radius: 999px;
  background: rgba(7, 0, 39, 0.75);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 0 18px rgba(0, 255, 240, 0.25);
  transition: transform 0.2s, background 0.2s;
}

.button:hover {
  transform: translateY(-3px);
  background: rgba(101, 255, 244, 0.15);
}

.button.primary {
  background: #65fff4;
  color: #14002e;
}

.links-section,
.thanks {
  max-width: 1200px;
  margin: 48px auto 0;
}

h2 {
  font-size: 40px;
  margin: 0 0 24px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.card {
  min-height: 170px;
  padding: 24px;
  border: 2px solid rgba(101, 255, 244, 0.35);
  border-radius: 24px;
  background: rgba(12, 0, 48, 0.72);
  box-shadow: 0 0 24px rgba(139, 44, 255, 0.2);
  transition: transform 0.2s, border-color 0.2s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #65fff4;
}

.card h3 {
  margin: 0 0 12px;
  color: #65fff4;
  font-size: 24px;
}

.card p {
  margin: 0;
  color: #ddd3ff;
  line-height: 1.5;
}

.thanks {
  padding: 32px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.12);
}

.thanks p {
  font-size: 20px;
  line-height: 1.5;
  color: #e8dcff;
}

@media (max-width: 700px) {
  .page {
    padding: 16px;
  }

  .subtitle {
    font-size: 18px;
  }

  h2 {
    font-size: 32px;
  }

}
  .small-hero {
  min-height: 45vh;
}

.small-hero h1 {
  font-size: clamp(48px, 8vw, 100px);
}
.thank-you-page {
  max-width: 900px;
}

.thank-you-page p + p {
  margin-top: 18px;
}
@media (max-width: 700px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px;
  }

  .site-nav {
    width: 100%;
  }

  .nav-link {
    font-size: 14px;
    padding: 9px 12px;
  }
}
.almanac-section {
  max-width: 1200px;
  margin: 48px auto 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-head p {
  margin: 0;
  color: #ddd3ff;
  font-size: 18px;
}

.search-input {
  width: min(100%, 360px);
  padding: 14px 18px;
  border: 2px solid rgba(101, 255, 244, 0.45);
  border-radius: 999px;
  outline: none;

  background: rgba(7, 0, 39, 0.72);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;

  box-shadow: 0 0 18px rgba(0, 255, 240, 0.12);
}

.search-input::placeholder {
  color: rgba(232, 220, 255, 0.65);
}

.search-input:focus {
  border-color: #65fff4;
  box-shadow: 0 0 24px rgba(101, 255, 244, 0.28);
}

.almanac-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.almanac-card {
  min-height: 260px;
  padding: 24px;
  border: 2px solid rgba(101, 255, 244, 0.35);
  border-radius: 26px;

  background:
    linear-gradient(160deg, rgba(18, 0, 62, 0.94), rgba(39, 7, 91, 0.76)),
    rgba(12, 0, 48, 0.72);

  box-shadow:
    0 0 28px rgba(139, 44, 255, 0.18),
    inset 0 0 22px rgba(101, 255, 244, 0.04);

  transition:
    transform 0.2s,
    border-color 0.2s,
    box-shadow 0.2s;
}

.almanac-card:hover {
  transform: translateY(-5px);
  border-color: #65fff4;
  box-shadow:
    0 0 34px rgba(101, 255, 244, 0.2),
    0 0 30px rgba(139, 44, 255, 0.18);
}

.card-topline {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;

  color: #65fff4;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.almanac-card h3 {
  margin: 0 0 14px;
  font-size: 28px;
  color: #ffffff;
}

.almanac-card p {
  margin: 0;
  color: #ddd3ff;
  line-height: 1.55;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.tag {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(101, 255, 244, 0.12);
  border: 1px solid rgba(101, 255, 244, 0.35);
  color: #bffffa;
  font-size: 13px;
  font-weight: 700;
}

.error-message {
  padding: 24px;
  border: 2px solid rgba(255, 100, 160, 0.45);
  border-radius: 20px;
  background: rgba(80, 0, 45, 0.45);
  color: #ffd7e8;
}

@media (max-width: 700px) {
  .section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .search-input {
    width: 100%;
  }
}
.link-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  align-items: center;
  gap: 20px;
}

.link-card-image {
  width: 96px;
  height: 96px;
  border-radius: 24px;
  object-fit: cover;

  border: 2px solid rgba(101, 255, 244, 0.55);
  background: rgba(7, 0, 39, 0.72);

  box-shadow:
    0 0 18px rgba(101, 255, 244, 0.22),
    0 0 28px rgba(139, 44, 255, 0.18);
}

.link-card-content h3 {
  margin-top: 0;
}

@media (max-width: 700px) {
  .link-card {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .link-card-image {
    width: 112px;
    height: 112px;
  }
}