@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600&family=Lora&display=swap');

:root {
  --charcoal: #1b1715;
  --blood: #8b1f1f;
  --gold: #c89a3c;
  --ivory: #f2e6d4;
  --smoke: #3a2a24;
}

body {
  background-color: var(--charcoal);
  color: var(--ivory);
  font-family: 'Lora', serif;
  margin: 0;
}

.wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 20px;
}

/* HEADER */
.header {
  position: relative;
  width: 100%;
  max-width: 980px;
  height: 400px;
  margin: 0 auto;
  background: url('header.png') center top no-repeat;
  background-size: cover;
  background-color: var(--charcoal);
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  z-index: 2;
}

/* overlay gradient */
.header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(27, 23, 21, 0.0) 60%,
      rgba(0, 0, 0, 0.75) 92%,
      var(--charcoal) 100%);
  border-radius: 12px 12px 0 0;
  pointer-events: none;
  z-index: 1;
}

/* warm light */
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 25% 30%, rgba(200, 154, 60, 0.35), transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(139, 31, 31, 0.35), transparent 60%);
  mix-blend-mode: soft-light;
  border-radius: 12px 12px 0 0;
  pointer-events: none;
  z-index: 1;
}

.header-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 25px 40px;
  box-sizing: border-box;
}

.header-text h1 {
  margin: 0;
  font-family: 'Cinzel', serif;
  font-size: 2.4rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ivory);
}

.header-text .tagline {
  margin: 6px 0 0;
  font-size: 0.95rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(242, 230, 212, 0.8);
}

/* NAVIGATION */
.nav {
  max-width: 980px;
  margin: 0 auto;
  background: linear-gradient(to bottom,
      rgba(20, 16, 14, 0.98) 0%,
      rgba(10, 7, 6, 0.98) 100%);
  text-align: center;
  padding: 15px 0;
  border-radius: 0 0 12px 12px;
  position: relative;
  z-index: 3;
  border-top: 1px solid rgba(200, 154, 60, 0.35);
  box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.4) inset;
}

.nav a {
  color: var(--gold);
  text-decoration: none;
  margin: 0 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: color 0.3s, text-shadow 0.3s;
}

.nav a:hover {
  color: var(--ivory);
  text-shadow: 0 0 8px rgba(200, 154, 60, 0.7);
}

/* CONTENT */
.content {
  padding: 30px 0;
}

.content h2 {
  color: var(--gold);
  font-family: 'Cinzel', serif;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 1px dotted var(--gold);
  padding-bottom: 8px;
  margin-top: 0;
  margin-bottom: 20px;
}

/* shared card style */
.page,
.welcome,
.stats {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(200, 154, 60, 0.35);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 35px;
}

/* links */
a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 154, 60, 0.4);
  padding-bottom: 2px;
  transition: border-color 0.3s, color 0.3s;
}

a:hover {
  color: var(--ivory);
  border-bottom-color: var(--ivory);
}

/* FOOTER */
.footer {
  text-align: center;
  color: rgba(242, 230, 212, 0.8);
  font-style: italic;
  padding: 20px 0;
  border-top: 1px solid rgba(200, 154, 60, 0.3);
  font-size: 0.9rem;
}

/* Join / Update Form Layout */

.join-form p {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.join-form label {
  font-weight: bold;
}

.join-form input,
.join-form select {
  max-width: 320px;
  padding: 6px;
  font-family: inherit;
}

.join-form input[type="radio"] {
  width: auto;
}

.join-form input[type="submit"] {
  margin-top: 10px;
  width: fit-content;
}

