/* Realm Archive color theme */
body {
  margin: 0;
  min-height: 100vh;
  background: #0a0014;
  color: #fce9ff;
  font-family: 'Patrick Hand', sans-serif;
}

/* Twinkling sparkle background */
.sparkle-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 20% 30%, #ffffff, transparent),
    radial-gradient(1px 1px at 40% 70%, #ffb3d9, transparent),
    radial-gradient(2px 2px at 60% 20%, #c44dff, transparent),
    radial-gradient(1px 1px at 80% 80%, #ff4fa3, transparent),
    radial-gradient(1px 1px at 15% 85%, #ffffff, transparent);
  animation: twinkle 6s infinite alternate;
}
@keyframes twinkle {
  0%   { opacity: 0.4; }
  100% { opacity: 1; }
}

/* Glowing purple site header */
.site-header {
  position: sticky;
  top: 0;
  background: #140520;
  border-bottom: 3px solid #c44dff;
  box-shadow: 0 0 25px rgba(196, 77, 255, 0.4);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  z-index: 100;
}
.logo {
  color: #ff4fa3;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  text-shadow: 0 0 10px #ff4fa3;
}
.logo span {
  color: #ffb3d9;
  font-size: 1rem;
}
.main-nav {
  display: flex;
  gap: 1.3rem;
  align-items: center;
}
.main-nav a {
  color: #fce9ff;
  text-decoration: none;
  font-size: 1.05rem;
}
.main-nav a:hover {
  color: #ff4fa3;
  text-shadow: 0 0 8px #ff4fa3;
}
.btn-join {
  background: linear-gradient(135deg, #ff4fa3, #c44dff);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  box-shadow: 0 0 10px #ff4fa3;
}

/* Container for page content */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Hero landing section */
.hero {
  text-align: center;
  padding: 4rem 2rem;
  margin: 2rem auto;
  max-width: 800px;
  border: 3px solid #c44dff;
  border-radius: 16px;
  background: rgba(123, 44, 191, 0.15);
  box-shadow: 0 0 40px rgba(196, 77, 255, 0.3);
}
.hero-title {
  font-family: 'UnifrakturCook', serif;
  font-size: 3.5rem;
  background: linear-gradient(135deg, #ff4fa3, #c44dff, #ffb3d9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin: 0;
  text-shadow: 0 0 30px rgba(255,79,163,0.3);
  line-height: 1;
}
.hero-title span {
  display: block;
  font-family: 'Patrick Hand', cursive;
  font-size: 1.2rem;
  color: #ff4fa3;
  -webkit-text-fill-color: #ff4fa3;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-top: 0.5rem;
}
.hero-sub {
  color: #ffb3d9;
  font-size: 1.2rem;
  margin: 1rem 0;
}
.hero-desc {
  color: #e0c9e8;
  margin-bottom: 1.5rem;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-pink, .btn-purple-outline {
  padding: 0.65rem 1.4rem;
  border-radius: 24px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
}
.btn-pink {
  background: linear-gradient(135deg, #ff4fa3, #c44dff);
  color: white;
  box-shadow: 0 0 10px #ff4fa3;
}
.btn-pink:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px #ff4fa3;
}
.btn-purple-outline {
  border: 2px solid #c44dff;
  color: #c44dff;
  background: transparent;
}
.btn-purple-outline:hover {
  background: #c44dff;
  color: white;
  box-shadow: 0 0 10px #c44dff;
}

/* Footer */
.site-footer {
  border-top: 3px solid #c44dff;
  background: #050008;
  text-align: center;
  padding: 1.5rem;
  margin-top: 3rem;
  box-shadow: 0 -5px 25px rgba(196, 77, 255, 0.3);
}
.footer-title {
  font-family: 'UnifrakturCook', serif;
  color: #ff4fa3;
  font-size: 1.3rem;
  text-shadow: 0 0 10px #ff4fa3;
  margin: 0 0 0.3rem;
}

/* Scrolling marquee */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  margin-top: 0.8rem;
  color: #ff4fa3;
  font-family: 'Courier New', monospace;
}
.marquee span {
  display: inline-block;
  padding-left: 100%;
  animation: marquee 22s linear infinite;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* Styled form inputs - glow pink on focus */
form label input {
  transition: all 0.2s ease;
}
form label input:focus {
  outline: none;
  border-color: #ff4fa3 !important;
  box-shadow: 0 0 10px #ff4fa3;
  background: #140520 !important;
}
form button {
  font-family: 'Patrick Hand', sans-serif;
}
form button:hover {
  transform: translateY(-2px);
}

/* Member card grid */
.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1rem 0 3rem;
}
.member-card {
  border: 2px solid #c44dff;
  border-radius: 12px;
  padding: 1.2rem;
  text-align: center;
  background: rgba(123, 44, 191, 0.15);
  box-shadow: 0 0 15px rgba(123,44,191,0.25);
  transition: all 0.2s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}
.member-card:hover {
  transform: translateY(-4px);
  border-color: #ff4fa3;
  box-shadow: 0 0 20px #ff4fa3;
}
.member-card.kvzuto {
  border-color: #ff4fa3;
  background: rgba(255,79,163,0.1);
  box-shadow: 0 0 15px rgba(255,79,163,0.25);
}
.member-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  font-family: 'UnifrakturCook', serif;
}
.member-avatar.pink {
  background: linear-gradient(135deg, #ff4fa3, #c44dff);
  border: 3px solid #ff4fa3;
  box-shadow: 0 0 10px #ff4fa3;
}
.member-avatar.purple {
  background: linear-gradient(135deg, #c44dff, #ff4fa3);
  border: 3px solid #c44dff;
  box-shadow: 0 0 10px #c44dff;
}
.member-card h3 {
  color: #ffb3d9;
  margin: 0;
}
.member-handle {
  color: #c44dff;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  margin: 0.2rem 0;
}
.member-title {
  color: #e0c9e8;
  font-style: italic;
  font-size: 0.9rem;
  margin: 0.3rem 0;
}
.member-views {
  color: #c44dff;
  font-size: 0.85rem;
  margin: 0;
}