/* =========================================================
   ER:LC Owner Insights
   Simple one-page landing style
   ========================================================= */

:root {
  --background-color: #07111f;

  /*
    Add or change your background image here.
    Example:
    --background-image: url("background.jpg");

    Keep your image file in the same folder as this CSS file.
  */
  --background-image: url("images/erlc-background.png");

  --overlay: rgba(3, 0, 0, 0.72);
  --text: #f4f9ff;
  --muted-text: #c9b8b8;
  --accent: #c0392b;
  --accent-strong: #7b0000;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--background-color);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

.directory-bar {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(20, 0, 0, 0.65);
  border: 1px solid rgba(192, 57, 43, 0.25);
  border-radius: 999px;
  display: flex;
  gap: 1.2rem;
  justify-content: space-between;
  left: 50%;
  max-width: calc(100% - 2rem);
  padding: 0.75rem 1rem;
  position: fixed;
  top: 1rem;
  transform: translateX(-50%);
  width: min(920px, calc(100% - 2rem));
  z-index: 10;
}

.site-name {
  align-items: center;
  color: var(--text);
  display: flex;
  font-size: 0.95rem;
  font-weight: 800;
  gap: 0.5rem;
  text-decoration: none;
  white-space: nowrap;
}

.site-logo {
  border-radius: 50%;
  height: 28px;
  width: 28px;
}

nav {
  display: flex;
  gap: 0.35rem;
}

nav a {
  border-radius: 999px;
  color: var(--muted-text);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.55rem 0.8rem;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

nav a:hover,
nav a:focus-visible,
nav a.active {
  background: rgba(192, 57, 43, 0.25);
  color: var(--text);
}

/* Full-screen landing page. The image blur sits behind the content. */
.landing-page {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
  padding: 2rem;
  position: relative;
  text-align: center;
}

.landing-page::before {
  background: var(--background-image) center / cover no-repeat;
  content: "";
  filter: blur(4px);
  inset: -10px;
  position: absolute;
  transform: scale(1.02);
  z-index: 0;
}

.landing-page::after {
  background:
    linear-gradient(var(--overlay), var(--overlay)),
    radial-gradient(circle at 50% 20%, rgba(192, 57, 43, 0.28), transparent 34rem);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.hero-content {
  animation: fadeUp 700ms ease both;
  max-width: 900px;
  position: relative;
  z-index: 2;
}

/* =========================================================
   CTA Button
   ========================================================= */

.cta-btn {
  background: var(--accent);
  border-radius: 999px;
  color: #07111f;
  display: inline-block;
  font-size: 1rem;
  font-weight: 800;
  margin-top: 2rem;
  padding: 0.85rem 2.2rem;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.cta-btn:hover,
.cta-btn:focus-visible {
  background: #7dd3fc;
  transform: translateY(-2px);
}

/* =========================================================
   About Page
   ========================================================= */

.about-page {
  min-height: 100vh;
  padding: 7rem 2rem 6rem;
  position: relative;
}

.about-page::before {
  background: url("images/uklrpstaff.png") center / cover no-repeat;
  content: "";
  filter: blur(4px);
  inset: -10px;
  opacity: 0.15;
  position: fixed;
  transform: scale(1.02);
  z-index: 0;
}

.about-page::after {
  background:
    linear-gradient(rgba(3, 0, 0, 0.78), rgba(3, 0, 0, 0.78)),
    radial-gradient(circle at 50% 0%, rgba(192, 57, 43, 0.3), transparent 40rem);
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: 0;
}

.about-hero {
  animation: fadeUp 600ms ease both;
  margin-bottom: 3rem;
  position: relative;
  text-align: center;
  z-index: 1;
}

.about-title {
  color: var(--text);
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  letter-spacing: -0.06em;
  line-height: 1;
  margin-bottom: 0.5rem;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.about-body {
  animation: fadeUp 700ms 100ms ease both;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-inline: auto;
  max-width: 780px;
  position: relative;
  z-index: 1;
}

.about-section {
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 2rem 2.2rem;
}

.about-section h2 {
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-section p {
  color: var(--muted-text);
  font-size: 0.975rem;
  line-height: 1.75;
}

.topics-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.topic-card {
  align-items: center;
  background: rgba(192, 57, 43, 0.1);
  border: 1px solid rgba(192, 57, 43, 0.25);
  border-radius: 12px;
  display: flex;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
}

.topic-icon {
  height: 28px;
  width: 28px;
  flex-shrink: 0;
}

.topic-label {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 700;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
}

.values-list li {
  color: var(--muted-text);
  font-size: 0.975rem;
  padding-left: 1.2rem;
  position: relative;
}

.values-list li::before {
  color: var(--accent);
  content: "—";
  left: 0;
  position: absolute;
}

.about-disclaimer {
  border-color: rgba(255, 255, 255, 0.05);
  opacity: 0.7;
}



.contribute-page {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
  padding: 2rem;
  position: relative;
  text-align: center;
}

.contribute-page::before {
  background: url("images/utahrp.png") center / cover no-repeat;
  content: "";
  filter: blur(4px);
  inset: -10px;
  position: absolute;
  transform: scale(1.02);
  z-index: 0;
}

.contribute-page::after {
  background:
    linear-gradient(rgba(3, 0, 0, 0.72), rgba(3, 0, 0, 0.72)),
    radial-gradient(circle at 50% 20%, rgba(192, 57, 43, 0.3), transparent 34rem);
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.contribute-content {
  animation: fadeUp 700ms ease both;
  max-width: 680px;
  position: relative;
  z-index: 2;
}

.contribute-title {
  color: var(--text);
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  letter-spacing: -0.06em;
  line-height: 1;
  margin-bottom: 1.5rem;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.contribute-body {
  color: var(--muted-text);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  line-height: 1.7;
  margin-bottom: 1rem;
  margin-inline: auto;
  max-width: 560px;
}



.advice-page {
  min-height: 100vh;
  padding: 7rem 2rem 5rem;
  position: relative;
}

.advice-page::before {
  background: url("images/fortworth.png") center / cover no-repeat;
  content: "";
  filter: blur(6px);
  inset: -10px;
  opacity: 0.35;
  position: fixed;
  transform: scale(1.02);
  z-index: 0;
}

.advice-page::after {
  background:
    linear-gradient(rgba(3, 0, 0, 0.72), rgba(3, 0, 0, 0.72)),
    radial-gradient(circle at 50% 20%, rgba(192, 57, 43, 0.3), transparent 34rem);
  content: "";
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: 0;
}

.advice-hero {
  animation: fadeUp 600ms ease both;
  margin-bottom: 3.5rem;
  position: relative;
  text-align: center;
  z-index: 1;
}

.advice-title {
  color: var(--text);
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  letter-spacing: -0.06em;
  line-height: 1;
  margin-bottom: 0.85rem;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.advice-hero-sub {
  color: var(--muted-text);
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  line-height: 1.6;
  margin-inline: auto;
  max-width: 520px;
}

.advice-grid {
  animation: fadeUp 700ms 100ms ease both;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  margin-inline: auto;
  max-width: 1100px;
  position: relative;
  z-index: 1;
}

.advice-card {
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
  padding: 1.6rem 1.8rem;
  position: relative;
  transition: border-color 220ms ease, transform 220ms ease;
}

.advice-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateY(-4px);
}

.advice-card::before {
  background-image: var(--logo);
  background-position: center;
  background-size: 70%;
  background-repeat: no-repeat;
  border-radius: 18px;
  content: "";
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 300ms ease;
  z-index: 0;
}

.advice-card:hover::before {
  opacity: 0.12;
}

.advice-card > * {
  position: relative;
  z-index: 1;
}

.card-header {
  align-items: center;
  display: flex;
  gap: 0.9rem;
}

.avatar {
  align-items: center;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  border-radius: 50%;
  color: #fff;
  display: flex;
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 800;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.owner-name {
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0;
}

.server-owns {
  color: var(--accent);
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.15rem;
}

.card-members {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--muted-text);
  display: flex;
  font-size: 0.82rem;
  font-weight: 600;
  gap: 0.4rem;
  padding-top: 0.75rem;
}

.members-icon {
  height: 16px;
  width: 16px;
  flex-shrink: 0;
}


  color: var(--muted-text);
  font-size: 0.975rem;
  line-height: 1.65;
  max-width: none;
}

.eyebrow {
  color: var(--accent);
  font-size: clamp(0.8rem, 2vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.hero-content h1 {
  font-size: clamp(3rem, 11vw, 8rem);
  letter-spacing: -0.08em;
  line-height: 0.95;
  margin-bottom: 1.25rem;
  text-shadow: 0 18px 55px rgba(0, 0, 0, 0.42);
}

.hero-content p {
  color: var(--muted-text);
  font-size: clamp(1.1rem, 3vw, 1.55rem);
  line-height: 1.6;
  margin-inline: auto;
  max-width: 720px;
}

/* =========================================================
   Team Page
   ========================================================= */

.team-body {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  margin-inline: auto;
  max-width: 900px;
  position: relative;
  text-align: center;
  z-index: 1;
}

.team-row-title {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}

.team-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  justify-items: center;
}

.team-card {
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: border-color 220ms ease, transform 220ms ease;
}

.team-card:hover {
  border-color: rgba(192, 57, 43, 0.4);
  transform: translateY(-4px);
}

.team-avatar {
  align-items: center;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 1.4rem;
  font-weight: 800;
  height: 72px;
  justify-content: center;
  margin-bottom: 0.5rem;
  overflow: hidden;
  width: 72px;
}

.team-avatar img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.team-name {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0;
}

.team-role {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.team-desc {
  color: var(--muted-text);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-top: 0.25rem;
}



.site-footer {
  align-items: center;
  background: rgba(10, 0, 0, 0.85);
  border-top: 1px solid rgba(192, 57, 43, 0.2);
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  left: 0;
  padding: 1rem 2rem;
  position: fixed;
  right: 0;
  text-align: center;
  transform: translateY(100%);
  transition: transform 300ms ease;
  z-index: 5;
}

.site-footer.visible {
  transform: translateY(0);
}

.footer-affiliation {
  color: rgba(201, 184, 184, 0.6);
  font-size: 0.8rem;
  max-width: none;
}

.footer-affiliation a {
  color: var(--accent);
  text-decoration: none;
}

.footer-affiliation a:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  justify-content: center;
}

.footer-links a {
  border-radius: 999px;
  color: var(--muted-text);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.footer-links a:hover {
  background: rgba(192, 57, 43, 0.2);
  color: var(--text);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content {
    animation: none;
  }
}

@media (max-width: 640px) {
  .directory-bar {
    align-items: stretch;
    border-radius: 24px;
    flex-direction: column;
    gap: 0.55rem;
    text-align: center;
  }

  nav {
    justify-content: center;
  }

  nav a {
    padding-inline: 0.65rem;
  }

  .landing-page {
    padding-top: 8rem;
  }
}
