/* TXC CLUB - Welcome Page (Discord-style with Toxic theme) */

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

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  background: #000000;
  color: #ffffff;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Language Switcher */
.language-switcher {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  gap: 8px;
  background: rgba(18, 18, 18, 0.9);
  padding: 6px;
  border-radius: 12px;
  border: 1px solid rgba(216, 180, 0, 0.2);
  backdrop-filter: blur(10px);
}

.lang-btn {
  width: 42px;
  height: 42px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-size: 22px;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lang-btn:hover {
  background: rgba(216, 180, 0, 0.1);
  transform: scale(1.05);
}

.lang-btn.active {
  background: rgba(216, 180, 0, 0.2);
  box-shadow: 0 0 10px rgba(216, 180, 0, 0.3);
}

/* Animated toxic background */
.toxic-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse at center, #0a0a0a 0%, #000000 100%);
  overflow: hidden;
}

/* Radiation particles animation */
.radiation-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(216, 180, 0, 0.3), transparent),
    radial-gradient(2px 2px at 60% 70%, rgba(216, 180, 0, 0.2), transparent),
    radial-gradient(1px 1px at 50% 50%, rgba(216, 180, 0, 0.4), transparent),
    radial-gradient(1px 1px at 80% 10%, rgba(216, 180, 0, 0.3), transparent),
    radial-gradient(2px 2px at 90% 60%, rgba(216, 180, 0, 0.2), transparent),
    radial-gradient(1px 1px at 33% 80%, rgba(216, 180, 0, 0.3), transparent);
  background-size: 200% 200%;
  animation: particlesFloat 20s ease-in-out infinite;
}

@keyframes particlesFloat {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(-5%, 5%); }
  50% { transform: translate(5%, -5%); }
  75% { transform: translate(-5%, -5%); }
}

/* Central toxic glow */
.toxic-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(216, 180, 0, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: toxicPulse 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes toxicPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.3;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.5;
  }
}

/* Main container */
.welcome-container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Logo */
.logo-container {
  text-align: center;
  margin-bottom: 40px;
  animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.logo-radiation {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px;
  animation: rotateRadiation 8s linear infinite;
  filter: drop-shadow(0 0 30px rgba(216, 180, 0, 0.8));
}

@keyframes rotateRadiation {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.radiation-blade {
  fill: #d8b400;
}

.radiation-center {
  fill: #ffd700;
  filter: drop-shadow(0 0 10px #ffd700);
}

.logo-text {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #d8b400;
  text-shadow: 0 0 20px rgba(216, 180, 0, 0.5);
  margin: 0;
}

/* Welcome content */
.welcome-content {
  width: 100%;
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.5),
    0 0 1px rgba(216, 180, 0, 0.3);
  animation: fadeInUp 1s ease-out 0.2s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.welcome-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  color: #ffffff;
}

.welcome-description {
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
  color: #b9bbbe;
  margin-bottom: 32px;
}

/* Steam login button */
.steam-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(135deg, #1b2838 0%, #2a475e 100%);
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  border: 2px solid #66c0f4;
  box-shadow:
    0 4px 16px rgba(102, 192, 244, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.steam-login-btn::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;
}

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

.steam-login-btn:hover {
  background: linear-gradient(135deg, #2a475e 0%, #3b5a7c 100%);
  border-color: #8fddff;
  box-shadow:
    0 6px 20px rgba(102, 192, 244, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.steam-login-btn:active {
  transform: translateY(0);
  box-shadow:
    0 2px 8px rgba(102, 192, 244, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.steam-icon {
  width: 28px;
  height: 28px;
  fill: #ffffff;
}

/* Security info */
.security-info {
  margin-top: 32px;
  padding: 20px;
  background: rgba(88, 101, 242, 0.1);
  border-left: 3px solid #5865f2;
  border-radius: 8px;
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #5865f2;
  font-weight: 600;
}

.shield-icon {
  width: 20px;
  height: 20px;
  color: #5865f2;
}

.security-text {
  font-size: 14px;
  line-height: 1.5;
  color: #b9bbbe;
  margin: 0;
}

/* Features grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 32px;
}

.feature-card {
  background: rgba(30, 30, 30, 0.6);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(216, 180, 0, 0.2);
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: rgba(30, 30, 30, 0.8);
  border-color: rgba(216, 180, 0, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(216, 180, 0, 0.2);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #d8b400;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 13px;
  color: #b9bbbe;
  line-height: 1.4;
  margin: 0;
}

/* Footer */
.welcome-footer {
  margin-top: 40px;
  text-align: center;
  font-size: 13px;
  color: #72767d;
  animation: fadeIn 1s ease-out 0.4s both;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive design */
@media (max-width: 768px) {
  .language-switcher {
    top: 15px;
    right: 15px;
    padding: 4px;
  }

  .lang-btn {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }

  .welcome-container {
    padding: 40px 20px;
  }

  .welcome-content {
    padding: 30px 20px;
  }

  .logo-text {
    font-size: 28px;
  }

  .welcome-title {
    font-size: 26px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steam-login-btn {
    font-size: 16px;
    padding: 14px 24px;
  }
}

@media (max-width: 480px) {
  .language-switcher {
    top: 10px;
    right: 10px;
    padding: 3px;
  }

  .lang-btn {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .logo-radiation {
    width: 80px;
    height: 80px;
  }

  .logo-text {
    font-size: 24px;
  }

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

.email-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}
/* Email login button - Yellow toxic style */
.email-login-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(135deg, #2a2a1b 0%, #3d3d2a 100%);
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  border: 2px solid #f4c430;
  box-shadow:
    0 4px 16px rgba(244, 196, 48, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-top: 15px;
}

.email-login-btn:hover {
  transform: translateY(-2px);
  border-color: #ffd700;
  box-shadow:
    0 8px 32px rgba(244, 196, 48, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.email-login-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(244, 196, 48, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

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

.email-icon {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 0 4px rgba(244, 196, 48, 0.5));
}
