/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* --- ICY BLUE PALETTE (Default) --- */
:root {
  --background-dark: #0d1b2a;
  --primary-purple: #1b263b; /* Re-purposed for primary color */
  --border-color: #3d5a80;
  --accent-glow: #98c1d9;   /* Re-purposed for accent color 1 */
  --accent-pink: #e0fbfc;    /* Re-purposed for accent color 2 */
  --text-light: #e0fbfc;
  --text-muted: #8d99ae;
  --shadow-color: rgba(0, 0, 0, 0.5);
  --live-red: #e91a16;
}

/* Base Styles */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--text-light);
  background: var(--background-dark);
  background-image: radial-gradient(circle at 1% 1%, var(--primary-purple), rgba(26, 10, 46, 0) 50%),
                    radial-gradient(circle at 99% 99%, var(--accent-pink), rgba(26, 10, 46, 0) 40%);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  text-align: center;
}

/* Header & Title Animation */
header {
  padding: 3rem 2rem 1rem;
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-light);
  text-shadow: 0 0 10px var(--accent-glow), 0 0 20px var(--accent-pink);
  animation: subtle-glow 4s ease-in-out infinite;
}

@keyframes subtle-glow {
	0% { text-shadow: 0 0 10px var(--accent-glow), 0 0 20px var(--accent-pink); }
	50% { text-shadow: 0 0 20px var(--accent-glow), 0 0 30px var(--accent-pink); }
	100% { text-shadow: 0 0 10px var(--accent-glow), 0 0 20px var(--accent-pink); }
}

/* Navigation Bar */
nav {
  background: transparent;
  padding: 1rem 2rem;
  margin-bottom: 2rem;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

nav a {
  color: var(--text-muted);
  margin: 0 1.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

nav a:hover, nav a.active {
  color: var(--text-light);
  text-shadow: 0 0 8px var(--accent-glow);
}

/* Main Content Area */
main {
  flex-grow: 1;
  padding: 0 2rem 3rem;
  max-width: 900px;
  margin: 0 auto;
}

p.description {
  font-size: 1.4rem;
  line-height: 1.7;
  font-weight: 300;
  color: var(--text-muted);
}

/* Footer */
footer {
  padding: 1.5rem 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  background: rgba(26, 10, 46, 0.3);
  border-top: 1px solid var(--border-color);
  margin-top: auto;
}

/* Language Switcher Styles */
.lang-switcher {
  margin-top: 3rem;
}
.lang-switcher a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease;
}
.lang-switcher a:hover {
  color: var(--accent-pink);
}

/* Team Section Styles */
#team-title {
  color: var(--text-light);
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.member-card {
  background: linear-gradient(145deg, var(--primary-purple), #1a0a2e);
  padding: 1.5rem;
  border-radius: 15px;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  animation: card-fade-in 0.5s ease forwards;
}

.member-card:nth-child(1) { animation-delay: 0.1s; }
.member-card:nth-child(2) { animation-delay: 0.2s; }
.member-card:nth-child(3) { animation-delay: 0.3s; }
.member-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes card-fade-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.member-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5), 0 0 15px var(--accent-glow);
}

.avatar,
.modal-avatar {
  border-radius: 50%;
  object-fit: cover;
}

.avatar {
  width: 100px;
  height: 100px;
  border: 4px solid var(--primary-purple);
  box-shadow: 0 0 10px var(--accent-glow);
  margin-bottom: 1rem;
}

.member-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-light);
  margin: 0.5rem 0 0;
}

.twitch-status {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--text-muted);
  border: 2px solid var(--primary-dark);
}
.twitch-status.live {
  background-color: var(--live-red);
  box-shadow: 0 0 8px var(--live-red);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(10, 0, 20, 0.7);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.3s;
}

.modal-content {
  background: var(--primary-dark);
  margin: 10% auto;
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  width: 90%;
  max-width: 500px;
  border-radius: 15px;
  box-shadow: 0 0 30px var(--accent-glow);
  position: relative;
  animation: slideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.close-button {
  color: var(--text-muted);
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-size: 2.5rem;
  font-weight: lighter;
  transition: color 0.3s ease, transform 0.3s ease;
}
.close-button:hover,
.close-button:focus {
  color: var(--accent-pink);
  transform: scale(1.2);
  text-decoration: none;
  cursor: pointer;
}

.modal-body {
  text-align: center;
}

.modal-avatar {
  width: 120px;
  height: 120px;
  border: 4px solid var(--accent-glow);
  margin-bottom: 1rem;
}

.modal-name {
  font-size: 2rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.modal-twitch-status {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 5px 10px;
  border-radius: 20px;
  background: var(--background-dark);
}
.modal-twitch-status .status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--text-muted);
  margin-right: 8px;
}
.modal-twitch-status .status-dot.live {
  background-color: var(--live-red);
  box-shadow: 0 0 8px var(--live-red);
}

.modal-description {
  line-height: 1.6;
  color: var(--text-light);
}

.modal-socials {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}
.modal-socials a {
  color: var(--text-muted);
  text-decoration: none;
  margin: 0 1rem;
  font-size: 1.8rem;
  transition: color 0.3s ease, transform 0.3s ease;
}
.modal-socials a:hover {
  color: var(--accent-pink);
  transform: scale(1.1);
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
@keyframes slideIn {
  from {transform: scale(0.9) translateY(-20px); opacity: 0;}
  to {transform: scale(1) translateY(0); opacity: 1;}
}

/* --- Custom Cursor Styles --- */
body {
  cursor: none;
}

.particle {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    border-radius: 50%;
    z-index: 9999;
    opacity: 0;
    background: var(--accent-pink);
    box-shadow: 0 0 10px var(--accent-pink), 0 0 20px var(--accent-glow);
    animation: particle-anim 1s forwards;
}

@keyframes particle-anim {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 1;
    }
    100% {
        transform: scale(0) translate(var(--x, 0), var(--y, 0));
        opacity: 0;
    }
}
