/* Enchanted Enchanters Page - Magical Cozy Design */
:root {
  /* Magical Color Palette - Cozy + Chaotic + Community */
  --enchant-bg1: #f2d9ff;  /* lavender */
  --enchant-bg2: #d9edff;  /* sky */
  --enchant-bg3: #ffe4f2;  /* rose */
  --rose-300: #ffb7df;
  --rose-400: #ff9fd6;
  --lavender-300: #d7b6ff;
  --periwinkle-300: #b8c2ff;
  --sky-300: #8ec5ff;
  --mint-300: #b9f3e6;
  --navy-700: #172033;

  /* Text Colors */
  --enchant-ink: #0e0e12;
  --enchant-ink-soft: #2a2a33;
  --enchant-card: #ffffffee;

  /* Typography */
  --font-family: 'Inter', system-ui, sans-serif;
  --font-family-display: 'Orbitron', system-ui, sans-serif;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Spacing */
  --container-max-width: 1200px;
  --section-padding: 60px 0;
  --card-padding: 30px;
  --border-radius: 16px;
  --border-radius-large: 20px;

  /* Magical Shadows */
  --shadow-light: 0 4px 12px rgba(183, 107, 255, 0.15);
  --shadow-medium: 0 8px 24px rgba(142, 197, 255, 0.2);
  --shadow-large: 0 16px 40px rgba(183, 107, 255, 0.25);
}

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

body.enchanters-modern {
  font-family: var(--font-family);
  font-weight: var(--font-weight-normal);
  line-height: 1.6;
  color: var(--enchant-ink);
  background:
    radial-gradient(800px 300px at -10% -20%, rgba(255,255,255,.8), transparent 60%),
    radial-gradient(900px 380px at 115% -10%, rgba(255,255,255,.8), transparent 60%),
    radial-gradient(480px 200px at 20% 75%, rgba(255,183,223,.25), transparent 70%),
    radial-gradient(520px 220px at 80% 80%, rgba(184,240,230,.25), transparent 70%),
    linear-gradient(160deg, var(--enchant-bg1), var(--enchant-bg2) 50%, var(--enchant-bg3));
  min-height: 100vh;
  padding-top: 0 !important; /* Override global nav padding */
}

.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Container */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Ultra Fancy Enchanted Header with Logo */
.enchanted-header {
  position: relative;
  padding: 50px 0 60px;
  background:
    linear-gradient(135deg,
      rgba(15, 19, 32, 0.98) 0%,
      rgba(23, 32, 51, 0.95) 30%,
      rgba(31, 41, 66, 0.92) 70%,
      rgba(15, 19, 32, 0.98) 100%
    );
  overflow: hidden;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg,
    transparent 0%,
    rgba(215, 182, 255, 0.6) 20%,
    rgba(142, 197, 255, 0.8) 50%,
    rgba(255, 183, 223, 0.6) 80%,
    transparent 100%
  ) 1;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.header-bg-layers {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 400px at 15% 25%, rgba(215, 182, 255, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 900px 500px at 85% 75%, rgba(142, 197, 255, 0.20) 0%, transparent 65%),
    radial-gradient(ellipse 600px 300px at 50% 5%, rgba(255, 183, 223, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse 700px 350px at 25% 85%, rgba(185, 243, 230, 0.12) 0%, transparent 55%);
  animation: ethereal-drift 25s ease-in-out infinite;
}

.header-bg-layers::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      45deg,
      transparent 0px,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 2px,
      transparent 60px
    );
  animation: shimmer-lines 15s linear infinite;
}

@keyframes ethereal-drift {
  0%, 100% {
    transform: translateY(0) translateX(0) scale(1) rotate(0deg);
    opacity: 1;
  }
  25% {
    transform: translateY(-15px) translateX(10px) scale(1.03) rotate(0.5deg);
    opacity: 0.9;
  }
  50% {
    transform: translateY(-8px) translateX(-5px) scale(1.05) rotate(-0.3deg);
    opacity: 0.95;
  }
  75% {
    transform: translateY(-20px) translateX(8px) scale(1.02) rotate(0.8deg);
    opacity: 0.85;
  }
}

@keyframes shimmer-lines {
  0% { transform: translateX(-100px) translateY(-100px); }
  100% { transform: translateX(100px) translateY(100px); }
}

/* Floating Particles */
.floating-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.floating-particles::before,
.floating-particles::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, rgba(215, 182, 255, 0.8) 0%, transparent 70%);
  border-radius: 50%;
  animation: float-particle 15s linear infinite;
}

.floating-particles::before {
  top: 20%;
  left: 10%;
  animation-delay: -5s;
  animation-duration: 20s;
}

.floating-particles::after {
  top: 60%;
  right: 15%;
  animation-delay: -10s;
  animation-duration: 18s;
  background: radial-gradient(circle, rgba(142, 197, 255, 0.8) 0%, transparent 70%);
}

@keyframes float-particle {
  0% {
    transform: translateY(0) translateX(0) scale(0);
    opacity: 0;
  }
  10% {
    transform: translateY(-20px) translateX(10px) scale(1);
    opacity: 1;
  }
  90% {
    transform: translateY(-200px) translateX(-30px) scale(0.8);
    opacity: 0.8;
  }
  100% {
    transform: translateY(-250px) translateX(-40px) scale(0);
    opacity: 0;
  }
}

/* Logo Ring */
.logo-ring {
  position: absolute;
  inset: -20px;
  border: 2px solid transparent;
  border-radius: 50%;
  background:
    conic-gradient(from 0deg,
      rgba(215, 182, 255, 0.6) 0deg,
      rgba(142, 197, 255, 0.8) 90deg,
      rgba(255, 183, 223, 0.6) 180deg,
      rgba(185, 243, 230, 0.7) 270deg,
      rgba(215, 182, 255, 0.6) 360deg
    );
  -webkit-mask:
    radial-gradient(circle at center, transparent 60px, black 62px, black 64px, transparent 66px);
  mask:
    radial-gradient(circle at center, transparent 60px, black 62px, black 64px, transparent 66px);
  animation: ring-rotate 12s linear infinite;
  opacity: 0.7;
}

@keyframes ring-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  position: relative;
  z-index: 2;
}

.logo-section {
  position: relative;
  display: flex;
  align-items: center;
}

.team-logo {
  width: 90px;
  height: 90px;
  border-radius: 20px;
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.5),
    0 0 0 3px rgba(255, 255, 255, 0.15),
    0 0 0 6px rgba(215, 182, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 3;
  filter: brightness(1.05) contrast(1.02) hue-rotate(0deg);
  animation: logo-glimmer 8s ease-in-out infinite;
}

.team-logo:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.6),
    0 0 0 3px rgba(255, 255, 255, 0.25),
    0 0 0 6px rgba(215, 182, 255, 0.15),
    0 0 30px rgba(215, 182, 255, 0.3),
    0 0 60px rgba(142, 197, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  filter: brightness(1.1) contrast(1.05) hue-rotate(10deg);
}

@keyframes logo-glimmer {
  0%, 100% {
    filter: brightness(1.05) contrast(1.02) hue-rotate(0deg) saturate(1);
  }
  25% {
    filter: brightness(1.08) contrast(1.04) hue-rotate(5deg) saturate(1.1);
  }
  50% {
    filter: brightness(1.06) contrast(1.03) hue-rotate(-3deg) saturate(1.05);
  }
  75% {
    filter: brightness(1.09) contrast(1.05) hue-rotate(8deg) saturate(1.15);
  }
}

.logo-glow {
  position: absolute;
  inset: -15px;
  background:
    radial-gradient(circle at 30% 30%, rgba(215, 182, 255, 0.6) 0%, transparent 40%),
    radial-gradient(circle at 70% 70%, rgba(142, 197, 255, 0.5) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(255, 183, 223, 0.4) 0%, transparent 60%);
  border-radius: 35px;
  opacity: 0.8;
  animation: logo-aurora 6s ease-in-out infinite;
  filter: blur(8px);
}

.logo-glow::before {
  content: '';
  position: absolute;
  inset: 5px;
  background:
    conic-gradient(from 0deg,
      rgba(215, 182, 255, 0.3) 0deg,
      rgba(142, 197, 255, 0.4) 120deg,
      rgba(255, 183, 223, 0.3) 240deg,
      rgba(215, 182, 255, 0.3) 360deg
    );
  border-radius: 25px;
  animation: logo-spin 20s linear infinite;
  filter: blur(4px);
}

@keyframes logo-aurora {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1) rotate(0deg);
  }
  25% {
    opacity: 0.9;
    transform: scale(1.15) rotate(2deg);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.2) rotate(-1deg);
  }
  75% {
    opacity: 0.85;
    transform: scale(1.1) rotate(3deg);
  }
}

@keyframes logo-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.header-text {
  flex: 1;
  text-align: center;
  color: white;
}

.enchanted-title {
  font-family: var(--font-family-display);
  font-size: 3.2rem;
  font-weight: var(--font-weight-bold);
  margin-bottom: 12px;
  background:
    linear-gradient(135deg,
      #ffffff 0%,
      rgba(215, 182, 255, 1) 25%,
      rgba(142, 197, 255, 0.95) 50%,
      rgba(255, 183, 223, 0.9) 75%,
      #ffffff 100%
    );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 0 30px rgba(215, 182, 255, 0.5),
    0 0 60px rgba(142, 197, 255, 0.3),
    0 8px 16px rgba(0, 0, 0, 0.4);
  letter-spacing: 1px;
  animation: title-shimmer 8s ease-in-out infinite;
  position: relative;
}

.enchanted-title::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(215, 182, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.1) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: title-overlay 12s ease-in-out infinite;
}

@keyframes title-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes title-overlay {
  0%, 100% { opacity: 0; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-2px); }
}

.enchanted-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.98);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.3px;
  text-shadow:
    0 0 20px rgba(255, 183, 223, 0.6),
    0 0 40px rgba(215, 182, 255, 0.4),
    0 4px 12px rgba(0, 0, 0, 0.3);
  line-height: 1.5;
  animation: subtitle-glow 4s ease-in-out infinite;
  position: relative;
}

.enchanted-subtitle::before {
  content: '';
  position: absolute;
  inset: -10px;
  background:
    radial-gradient(ellipse 200% 100% at 50% 50%,
      rgba(255, 183, 223, 0.1) 0%,
      transparent 70%
    );
  border-radius: 20px;
  animation: subtitle-aura 6s ease-in-out infinite;
  z-index: -1;
}

@keyframes subtitle-glow {
  0%, 100% {
    text-shadow:
      0 0 20px rgba(255, 183, 223, 0.6),
      0 0 40px rgba(215, 182, 255, 0.4),
      0 4px 12px rgba(0, 0, 0, 0.3);
  }
  50% {
    text-shadow:
      0 0 30px rgba(255, 183, 223, 0.8),
      0 0 60px rgba(215, 182, 255, 0.6),
      0 0 80px rgba(142, 197, 255, 0.4),
      0 4px 12px rgba(0, 0, 0, 0.3);
  }
}

@keyframes subtitle-aura {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.1); }
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: var(--font-weight-medium);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.nav-link.team-link {
  background: rgba(145, 70, 255, 0.2);
  border: 1px solid rgba(145, 70, 255, 0.3);
  color: #b794ff;
}

.nav-link.team-link:hover {
  background: #9146ff;
  color: white;
  border-color: #9146ff;
  box-shadow: 0 4px 12px rgba(145, 70, 255, 0.3);
}

.nav-separator {
  color: rgba(255, 255, 255, 0.4);
  font-weight: var(--font-weight-light);
}

.nav-current {
  color: rgba(215, 182, 255, 0.9);
  font-weight: var(--font-weight-semibold);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .enchanted-title {
    font-size: 2.2rem;
  }

  .team-logo {
    width: 70px;
    height: 70px;
  }
}

/* Main Content */
.main-content {
  flex: 1;
  padding: var(--section-padding);
}

/* Snazzy Enchanted Team Introduction */
.team-intro {
  background: var(--enchant-card);
  border-radius: var(--border-radius-large);
  padding: 60px 50px;
  margin-bottom: 50px;
  box-shadow:
    0 15px 40px rgba(23,32,51,.12),
    0 0 0 1px rgba(255,255,255,.9),
    0 20px 50px rgba(183,107,255,.18),
    0 12px 30px rgba(142,197,255,.18),
    inset 0 1px 0 rgba(255,255,255,.3);
  text-align: center;
  position: relative;
  border: 1px solid rgba(255,255,255,.85);
  transform: translateY(0);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: card-float 6s ease-in-out infinite;
}

.team-intro:hover {
  transform: translateY(-8px);
  box-shadow:
    0 25px 60px rgba(23,32,51,.15),
    0 0 0 1px rgba(255,255,255,.95),
    0 30px 70px rgba(183,107,255,.25),
    0 18px 40px rgba(142,197,255,.25),
    inset 0 1px 0 rgba(255,255,255,.4);
}

.team-intro::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--border-radius-large);
  padding: 2px;
  background: linear-gradient(135deg,
    rgba(215,182,255,.9) 0%,
    rgba(142,197,255,.95) 25%,
    rgba(255,183,223,.85) 50%,
    rgba(185,243,230,.9) 75%,
    rgba(215,182,255,.9) 100%
  );
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.8;
  animation: border-shimmer 8s ease-in-out infinite;
}

@keyframes card-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes border-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.team-name {
  font-family: var(--font-family-display);
  font-size: 3.8rem;
  font-weight: var(--font-weight-bold);
  background: linear-gradient(135deg,
    var(--rose-400) 0%,
    var(--lavender-300) 25%,
    var(--sky-300) 50%,
    var(--mint-300) 75%,
    var(--rose-400) 100%
  );
  background-size: 400% 400%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 25px;
  letter-spacing: 0.8px;
  filter:
    drop-shadow(0 6px 20px rgba(183,107,255,.3))
    drop-shadow(0 3px 12px rgba(142,197,255,.25))
    drop-shadow(0 0 30px rgba(255,183,223,.2));
  animation: enchanter-rainbow 15s ease-in-out infinite;
  position: relative;
  text-shadow:
    0 0 40px rgba(215,182,255,.4),
    0 0 80px rgba(142,197,255,.3);
}

.team-name::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(135deg,
    rgba(255,255,255,.15) 0%,
    rgba(215,182,255,.25) 50%,
    rgba(255,255,255,.15) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: name-overlay 10s ease-in-out infinite;
}

@keyframes enchanter-rainbow {
  0%, 100% {
    background-position: 0% 50%;
    filter:
      drop-shadow(0 6px 20px rgba(183,107,255,.3))
      drop-shadow(0 3px 12px rgba(142,197,255,.25))
      drop-shadow(0 0 30px rgba(255,183,223,.2));
  }
  25% {
    background-position: 25% 75%;
    filter:
      drop-shadow(0 6px 20px rgba(142,197,255,.35))
      drop-shadow(0 3px 12px rgba(255,183,223,.3))
      drop-shadow(0 0 30px rgba(185,243,230,.25));
  }
  50% {
    background-position: 100% 50%;
    filter:
      drop-shadow(0 6px 20px rgba(255,183,223,.3))
      drop-shadow(0 3px 12px rgba(185,243,230,.25))
      drop-shadow(0 0 30px rgba(183,107,255,.2));
  }
  75% {
    background-position: 75% 25%;
    filter:
      drop-shadow(0 6px 20px rgba(185,243,230,.35))
      drop-shadow(0 3px 12px rgba(183,107,255,.3))
      drop-shadow(0 0 30px rgba(142,197,255,.25));
  }
}

@keyframes name-overlay {
  0%, 100% { opacity: 0; transform: translateY(0); }
  50% { opacity: 0.3; transform: translateY(-2px); }
}

.team-tagline {
  font-size: 1.3rem;
  color: var(--enchant-ink-soft);
  margin-bottom: 30px;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.2px;
}

.team-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--enchant-ink);
  max-width: 800px;
  margin: 0 auto 40px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Snazzy Enchanted Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border: none;
  border-radius: 14px;
  font-family: var(--font-family);
  font-size: 1.05rem;
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(255,255,255,.1) 0%,
    transparent 50%,
    rgba(255,255,255,.05) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg,
    var(--rose-400) 0%,
    var(--lavender-300) 50%,
    var(--sky-300) 100%
  );
  background-size: 200% 200%;
  color: #0f1320;
  border: 2px solid rgba(255,255,255,.8);
  box-shadow:
    0 10px 25px rgba(183,107,255,.3),
    0 8px 20px rgba(142,197,255,.25),
    inset 0 1px 0 rgba(255,255,255,.3);
  animation: btn-shimmer 6s ease-in-out infinite;
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow:
    0 15px 35px rgba(183,107,255,.4),
    0 12px 25px rgba(142,197,255,.35),
    0 0 30px rgba(255,183,223,.3),
    inset 0 1px 0 rgba(255,255,255,.4);
  background-position: 100% 100%;
}

.btn-secondary {
  background: rgba(255,255,255,.95);
  color: var(--enchant-ink);
  border: 2px solid rgba(215,182,255,.3);
  box-shadow:
    0 8px 20px rgba(23,32,51,.1),
    inset 0 1px 0 rgba(255,255,255,.5);
}

.btn-secondary:hover {
  background: linear-gradient(135deg,
    rgba(215,182,255,.15),
    rgba(142,197,255,.12),
    rgba(255,183,223,.1)
  );
  transform: translateY(-3px) scale(1.02);
  border-color: rgba(215,182,255,.5);
  box-shadow:
    0 12px 28px rgba(23,32,51,.15),
    0 0 25px rgba(215,182,255,.2),
    inset 0 1px 0 rgba(255,255,255,.6);
}

.btn-twitch {
  background: linear-gradient(135deg, #9146ff 0%, #772ce8 100%);
  color: white;
  border: 2px solid rgba(145, 70, 255, 0.3);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 8px 20px rgba(145, 70, 255, 0.3),
    0 0 20px rgba(145, 70, 255, 0.1),
    inset 0 1px 0 rgba(255,255,255,.2);
}

.btn-twitch::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-twitch:hover::before {
  left: 100%;
}

.btn-twitch:hover {
  background: linear-gradient(135deg, #a970ff 0%, #8a2be2 100%);
  border-color: #9146ff;
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 12px 30px rgba(145, 70, 255, 0.4),
    0 0 35px rgba(145, 70, 255, 0.25),
    inset 0 1px 0 rgba(255,255,255,.3);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

@keyframes btn-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Enchanted Team Information Grid */
.team-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.info-card {
  background: var(--enchant-card);
  border-radius: var(--border-radius);
  padding: var(--card-padding);
  box-shadow:
    0 12px 35px rgba(23,32,51,.1),
    0 0 0 1px rgba(255,255,255,.9),
    0 15px 40px rgba(183,107,255,.12),
    0 10px 28px rgba(142,197,255,.12),
    inset 0 1px 0 rgba(255,255,255,.25);
  border: 1px solid rgba(255,255,255,.85);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  position: relative;
  transform: translateY(0);
  animation: card-gentle-float 8s ease-in-out infinite;
}

.info-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--border-radius);
  padding: 2px;
  background: linear-gradient(135deg,
    rgba(215,182,255,.8) 0%,
    rgba(142,197,255,.85) 25%,
    rgba(255,183,223,.75) 50%,
    rgba(185,243,230,.8) 75%,
    rgba(215,182,255,.8) 100%
  );
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.7;
  animation: card-border-flow 12s ease-in-out infinite;
}

.info-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    0 20px 50px rgba(23,32,51,.15),
    0 0 0 1px rgba(255,255,255,.95),
    0 25px 60px rgba(183,107,255,.2),
    0 15px 40px rgba(142,197,255,.2),
    0 0 40px rgba(255,183,223,.15),
    inset 0 1px 0 rgba(255,255,255,.35);
}

.info-card:nth-child(2) {
  animation-delay: -2s;
}

.info-card:nth-child(3) {
  animation-delay: -4s;
}

@keyframes card-gentle-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes card-border-flow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.card-icon {
  width: 75px;
  height: 75px;
  background: linear-gradient(135deg,
    var(--lavender-300) 0%,
    var(--sky-300) 50%,
    var(--mint-300) 100%
  );
  background-size: 200% 200%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
  color: #0f1320;
  font-size: 2rem;
  box-shadow:
    0 10px 25px rgba(183,107,255,.3),
    0 0 30px rgba(142,197,255,.2),
    inset 0 2px 0 rgba(255,255,255,.4);
  border: 3px solid rgba(255,255,255,.9);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: icon-pulse 6s ease-in-out infinite;
  position: relative;
}

.card-icon::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    rgba(215,182,255,.4) 0deg,
    rgba(142,197,255,.5) 120deg,
    rgba(255,183,223,.4) 240deg,
    rgba(215,182,255,.4) 360deg
  );
  animation: icon-ring 8s linear infinite;
  z-index: -1;
  filter: blur(3px);
}

.card-icon:hover {
  transform: scale(1.1) translateY(-3px);
  background-position: 100% 100%;
  box-shadow:
    0 15px 35px rgba(183,107,255,.4),
    0 0 40px rgba(142,197,255,.3),
    0 0 60px rgba(255,183,223,.2),
    inset 0 2px 0 rgba(255,255,255,.5);
}

@keyframes icon-pulse {
  0%, 100% {
    background-position: 0% 50%;
    box-shadow:
      0 10px 25px rgba(183,107,255,.3),
      0 0 30px rgba(142,197,255,.2),
      inset 0 2px 0 rgba(255,255,255,.4);
  }
  50% {
    background-position: 100% 50%;
    box-shadow:
      0 12px 30px rgba(142,197,255,.35),
      0 0 35px rgba(255,183,223,.25),
      inset 0 2px 0 rgba(255,255,255,.45);
  }
}

@keyframes icon-ring {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.info-card h3 {
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--enchant-ink);
  margin-bottom: 20px;
  letter-spacing: 0.2px;
}

.feature-list {
  list-style: none;
  text-align: left;
}

.feature-list li {
  padding: 10px 0;
  color: var(--enchant-ink-soft);
  position: relative;
  padding-left: 30px;
}

.feature-list li::before {
  content: '✨';
  position: absolute;
  left: 0;
  color: var(--lavender-300);
  font-weight: var(--font-weight-bold);
  font-size: 1.1rem;
}

.apply-text {
  color: var(--enchant-ink-soft);
  margin-bottom: 25px;
  line-height: 1.6;
}


/* Live Stream Roster */
.live-stream-roster {
  background: var(--enchant-card);
  border-radius: var(--border-radius-large);
  padding: 40px;
  margin-bottom: 50px;
  box-shadow:
    0 15px 40px rgba(23,32,51,.1),
    0 0 0 1px rgba(255,255,255,.9),
    0 20px 50px rgba(183,107,255,.12),
    0 12px 30px rgba(142,197,255,.12),
    inset 0 1px 0 rgba(255,255,255,.3);
  border: 1px solid rgba(255,255,255,.85);
  position: relative;
  animation: section-float 10s ease-in-out infinite;
}

.live-stream-roster::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--border-radius-large);
  padding: 2px;
  background: linear-gradient(135deg,
    rgba(215,182,255,.8) 0%,
    rgba(142,197,255,.85) 25%,
    rgba(255,183,223,.75) 50%,
    rgba(185,243,230,.8) 75%,
    rgba(215,182,255,.8) 100%
  );
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.7;
  animation: section-border-flow 15s ease-in-out infinite;
}

.live-stream-roster h3 {
  font-size: 2.2rem;
  font-weight: var(--font-weight-bold);
  color: var(--enchant-ink);
  margin-bottom: 15px;
  letter-spacing: 0.3px;
  text-align: center;
  background: linear-gradient(135deg,
    #ff4444 0%,
    var(--rose-400) 30%,
    var(--lavender-300) 70%,
    var(--sky-300) 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: live-title-pulse 3s ease-in-out infinite;
}

.roster-intro {
  font-size: 1.1rem;
  color: var(--enchant-ink-soft);
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.6;
}

.stream-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  margin-top: 20px;
}

/* Stream Player */
.stream-player-container {
  background: rgba(0, 0, 0, 0.9);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.3),
    0 0 0 2px rgba(255, 255, 255, 0.1);
  height: fit-content;
}

.stream-player iframe {
  display: block;
  border: none;
  border-radius: 12px 12px 0 0;
}

.stream-player {
  width: 100%;
  height: 400px;
  background: linear-gradient(135deg, rgba(23, 32, 51, 0.9), rgba(31, 41, 66, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.default-stream-state {
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 400px;
  box-sizing: border-box;
}

.enchanted-logo {
  position: relative;
  margin-bottom: 25px;
  animation: logo-float 6s ease-in-out infinite;
}

.default-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    0 0 30px rgba(215,182,255,.4),
    0 0 60px rgba(142,197,255,.3),
    inset 0 2px 0 rgba(255,255,255,.2);
  filter: brightness(1.1) contrast(1.05);
}

.logo-sparkles {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 1.5rem;
  animation: sparkle-rotate 4s linear infinite;
}

.default-stream-state h4 {
  font-size: 1.8rem;
  color: white;
  margin-bottom: 10px;
  font-weight: var(--font-weight-bold);
  background: linear-gradient(135deg,
    var(--rose-400) 0%,
    var(--lavender-300) 50%,
    var(--sky-300) 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: title-shimmer 8s ease-in-out infinite;
}

.default-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
  font-style: italic;
  text-shadow: 0 2px 4px rgba(0,0,0,.3);
}

.stream-stats {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  min-width: 70px;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: var(--font-weight-bold);
  color: var(--lavender-300);
  text-shadow: 0 2px 4px rgba(0,0,0,.3);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.default-instruction {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 10px;
}

.offline-streamer-state {
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 400px;
  box-sizing: border-box;
}

.offline-avatar {
  position: relative;
  margin-bottom: 20px;
}

.offline-profile-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.3);
  filter: grayscale(0.7) brightness(0.8);
  box-shadow: 0 8px 20px rgba(0,0,0,.3);
}

.offline-indicator {
  position: absolute;
  bottom: -5px;
  right: -5px;
  font-size: 1.5rem;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 50%;
  padding: 5px;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.offline-streamer-state h4 {
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
  font-weight: var(--font-weight-semibold);
}

.offline-streamer-state p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 20px;
  font-style: italic;
}

.offline-actions {
  margin-top: 10px;
}

.offline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9146ff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: var(--font-weight-medium);
  padding: 10px 20px;
  border-radius: 12px;
  background: rgba(145, 70, 255, 0.15);
  border: 1px solid rgba(145, 70, 255, 0.3);
  transition: all 0.3s ease;
}

.offline-link:hover {
  color: white;
  background: #9146ff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(145, 70, 255, 0.3);
}

.no-stream-selected {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  padding: 30px 20px;
}

.no-stream-selected h4 {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
}

.no-stream-selected p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
}

@keyframes logo-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}

@keyframes sparkle-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes title-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.stream-info {
  padding: 15px 20px;
  background: rgba(0, 0, 0, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stream-info h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 8px;
  font-weight: var(--font-weight-semibold);
}

.stream-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.viewer-count {
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Team Roster */
.team-roster {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 20px;
  box-shadow:
    0 8px 25px rgba(23,32,51,.08),
    0 0 0 1px rgba(255,255,255,.9),
    inset 0 1px 0 rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.9);
  height: fit-content;
}

.roster-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(215,182,255,.2);
}

.roster-header h4 {
  font-size: 1.3rem;
  color: var(--enchant-ink);
  font-weight: var(--font-weight-bold);
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--enchant-ink-soft);
  font-weight: var(--font-weight-medium);
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #ff4444;
  border-radius: 50%;
  animation: live-pulse 2s ease-in-out infinite;
}

.streamers-list {
  max-height: 400px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(215,182,255,.3) transparent;
}

.streamers-list::-webkit-scrollbar {
  width: 6px;
}

.streamers-list::-webkit-scrollbar-track {
  background: transparent;
}

.streamers-list::-webkit-scrollbar-thumb {
  background: rgba(215,182,255,.3);
  border-radius: 3px;
}

.streamers-list::-webkit-scrollbar-thumb:hover {
  background: rgba(215,182,255,.5);
}

@keyframes live-title-pulse {
  0%, 100% {
    background-position: 0% 50%;
    transform: scale(1);
  }
  50% {
    background-position: 100% 50%;
    transform: scale(1.02);
  }
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

/* Streamer Cards */
.streamer-card {
  display: flex;
  align-items: center;
  padding: 12px;
  margin-bottom: 8px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  position: relative;
}

.streamer-card:hover {
  background: rgba(215,182,255,.1);
  transform: translateX(5px);
}

.streamer-card.selected {
  background: rgba(215,182,255,.15);
  border-color: rgba(215,182,255,.4);
  box-shadow: 0 4px 12px rgba(215,182,255,.2);
}

.streamer-card.live {
  border-left: 4px solid #ff4444;
}

.streamer-card.live::before {
  content: '';
  position: absolute;
  top: 8px;
  right: 8px;
  width: 8px;
  height: 8px;
  background: #ff4444;
  border-radius: 50%;
  animation: live-pulse 2s ease-in-out infinite;
}

.streamer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 12px;
  border: 2px solid rgba(255,255,255,.8);
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}

.streamer-info {
  flex: 1;
  min-width: 0;
}

.streamer-name {
  font-size: 0.95rem;
  font-weight: var(--font-weight-semibold);
  color: var(--enchant-ink);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.streamer-status {
  font-size: 0.8rem;
  color: var(--enchant-ink-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.streamer-status.live {
  color: #ff4444;
  font-weight: var(--font-weight-medium);
}

.streamer-viewers {
  font-size: 0.75rem;
  color: var(--enchant-ink-soft);
  display: flex;
  align-items: center;
  gap: 3px;
  margin-top: 2px;
}

.loading-streamers {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
  color: var(--enchant-ink-soft);
}

.loading-spinner {
  width: 30px;
  height: 30px;
  border: 3px solid rgba(215,182,255,.2);
  border-top: 3px solid var(--lavender-300);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .stream-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .team-roster {
    order: -1;
  }

  .stream-player {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .live-stream-roster {
    padding: 25px 20px;
  }

  .stream-player {
    height: 250px;
  }

  .roster-header {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

/* Enchanted Team Members */
.team-members {
  background: var(--enchant-card);
  border-radius: var(--border-radius-large);
  padding: 50px 40px;
  margin-bottom: 50px;
  text-align: center;
  box-shadow:
    0 15px 40px rgba(23,32,51,.1),
    0 0 0 1px rgba(255,255,255,.9),
    0 20px 50px rgba(183,107,255,.12),
    0 12px 30px rgba(142,197,255,.12),
    inset 0 1px 0 rgba(255,255,255,.3);
  border: 1px solid rgba(255,255,255,.85);
  position: relative;
  animation: section-float 10s ease-in-out infinite;
}

.team-members::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--border-radius-large);
  padding: 2px;
  background: linear-gradient(135deg,
    rgba(215,182,255,.8) 0%,
    rgba(142,197,255,.85) 25%,
    rgba(255,183,223,.75) 50%,
    rgba(185,243,230,.8) 75%,
    rgba(215,182,255,.8) 100%
  );
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.7;
  animation: section-border-flow 15s ease-in-out infinite;
}

.team-members h3 {
  font-size: 2.2rem;
  font-weight: var(--font-weight-bold);
  color: var(--enchant-ink);
  margin-bottom: 20px;
  letter-spacing: 0.3px;
  background: linear-gradient(135deg,
    var(--rose-400) 0%,
    var(--lavender-300) 50%,
    var(--sky-300) 100%
  );
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: members-title-shimmer 8s ease-in-out infinite;
}

.members-intro {
  font-size: 1.1rem;
  color: var(--enchant-ink-soft);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.member-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 25px 20px;
  box-shadow:
    0 8px 25px rgba(23,32,51,.08),
    0 0 0 1px rgba(255,255,255,.9),
    0 12px 30px rgba(183,107,255,.1),
    0 6px 18px rgba(142,197,255,.1);
  border: 1px solid rgba(255,255,255,.9);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  text-align: center;
  animation: member-float 6s ease-in-out infinite;
}

.member-card:nth-child(odd) {
  animation-delay: -1s;
}

.member-card:nth-child(even) {
  animation-delay: -3s;
}

.member-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 16px;
  padding: 1px;
  background: linear-gradient(135deg,
    rgba(215,182,255,.6) 0%,
    rgba(142,197,255,.7) 50%,
    rgba(255,183,223,.6) 100%
  );
  background-size: 200% 200%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.6;
  animation: member-border-glow 8s ease-in-out infinite;
}

.member-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow:
    0 15px 40px rgba(23,32,51,.12),
    0 0 0 1px rgba(255,255,255,.95),
    0 20px 45px rgba(183,107,255,.18),
    0 10px 25px rgba(142,197,255,.18),
    0 0 30px rgba(255,183,223,.15);
}

.member-avatar {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg,
    var(--lavender-300) 0%,
    var(--sky-300) 50%,
    var(--mint-300) 100%
  );
  background-size: 200% 200%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  box-shadow:
    0 6px 18px rgba(183,107,255,.25),
    0 0 20px rgba(142,197,255,.15),
    inset 0 1px 0 rgba(255,255,255,.4);
  border: 2px solid rgba(255,255,255,.9);
  animation: avatar-pulse 5s ease-in-out infinite;
}

.member-card h4 {
  font-size: 1.2rem;
  font-weight: var(--font-weight-bold);
  color: var(--enchant-ink);
  margin-bottom: 15px;
  letter-spacing: 0.2px;
}

.member-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9146ff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: var(--font-weight-medium);
  padding: 8px 16px;
  border-radius: 10px;
  background: rgba(145, 70, 255, 0.1);
  border: 1px solid rgba(145, 70, 255, 0.2);
  transition: all 0.3s ease;
}

.member-link:hover {
  color: white;
  background: #9146ff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(145, 70, 255, 0.3);
}

@keyframes section-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes section-border-flow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes members-title-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes member-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

@keyframes member-border-glow {
  0%, 100% {
    background-position: 0% 50%;
    opacity: 0.6;
  }
  50% {
    background-position: 100% 50%;
    opacity: 0.8;
  }
}

@keyframes avatar-pulse {
  0%, 100% {
    background-position: 0% 50%;
    transform: scale(1);
  }
  50% {
    background-position: 100% 50%;
    transform: scale(1.05);
  }
}

/* Enchanted Team Owners */
.team-owners {
  background: var(--enchant-card);
  border-radius: var(--border-radius-large);
  padding: 50px 40px;
  text-align: center;
  box-shadow:
    0 10px 28px rgba(23,32,51,.08),
    0 0 0 1px rgba(255,255,255,.85),
    0 12px 32px rgba(183,107,255,.10),
    0 8px 22px rgba(142,197,255,.10);
  border: 1px solid rgba(255,255,255,.8);
  position: relative;
}

.team-owners::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--border-radius-large);
  padding: 1px;
  background: linear-gradient(135deg, rgba(215,182,255,.95), rgba(142,197,255,.95));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.85;
}

.team-owners h3 {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: var(--enchant-ink);
  margin-bottom: 35px;
  letter-spacing: 0.2px;
}

.owners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 600px;
  margin: 0 auto;
}

.owner-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--border-radius);
  padding: 30px 25px;
  box-shadow: 0 8px 20px rgba(183,107,255,.15);
  border: 1px solid rgba(255,255,255,.9);
  transition: all 0.3s ease;
  position: relative;
}

.owner-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--border-radius);
  padding: 1px;
  background: linear-gradient(135deg, rgba(215,182,255,.8), rgba(142,197,255,.8));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.7;
}

.owner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(183,107,255,.25);
}

.owner-avatar {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #9146ff, #772ce8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: white;
  font-size: 1.4rem;
  box-shadow: 0 6px 16px rgba(145, 70, 255, 0.3);
  border: 2px solid rgba(255,255,255,.8);
}

.owner-info h4 {
  font-size: 1.3rem;
  font-weight: var(--font-weight-bold);
  color: var(--enchant-ink);
  margin-bottom: 12px;
  letter-spacing: 0.2px;
}

.owner-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lavender-300);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: var(--font-weight-medium);
  transition: all 0.3s ease;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(215,182,255,.1);
}

.owner-link:hover {
  color: var(--rose-400);
  background: rgba(215,182,255,.2);
  transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .page-title {
    font-size: 2rem;
  }

  .team-intro {
    padding: 30px 25px;
  }

  .team-name {
    font-size: 2.2rem;
  }

  .team-info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .owners-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .main-content {
    padding: 30px 0;
  }

  .team-intro {
    margin-bottom: 30px;
  }

  .info-card {
    padding: 20px;
  }

  .team-owners {
    padding: 25px 20px;
  }
}
