/* ===== REGISTRATION PAGE GAMING STYLES ===== */

/* Password Input Group */
.password-input-group {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--neon-blue);
  cursor: pointer;
  font-size: 16px;
  transition: all var(--transition-normal);
}

.password-toggle:hover {
  color: var(--neon-purple);
  text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

/* Password Strength Indicator */
.password-strength {
  margin-top: 8px;
}

.strength-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.strength-fill {
  height: 100%;
  transition: all var(--transition-normal);
  border-radius: 2px;
}

.strength-1 { 
  background: var(--neon-red); 
  width: 20%; 
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

.strength-2 { 
  background: var(--neon-orange); 
  width: 40%; 
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.strength-3 { 
  background: var(--neon-yellow); 
  width: 60%; 
  box-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.strength-4 { 
  background: var(--neon-green); 
  width: 80%; 
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.strength-5 { 
  background: var(--neon-blue); 
  width: 100%; 
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.strength-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 4px;
  font-weight: 600;
}

/* Form Feedback */
.form-feedback {
  font-size: 12px;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.text-success { 
  color: var(--neon-green); 
}

.text-warning { 
  color: var(--neon-yellow); 
}

.text-danger { 
  color: var(--neon-red); 
}

/* Custom Checkbox */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 14px;
  transition: all var(--transition-normal);
}

.checkbox-label:hover {
  color: var(--neon-blue);
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all var(--transition-normal);
}

.checkbox-label:hover .checkmark {
  border-color: var(--neon-blue);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: var(--neon-blue);
  border-color: var(--neon-blue);
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
  animation: checkmarkAppear 0.3s ease;
}

@keyframes checkmarkAppear {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Neon Text Links */
.text-neon {
  color: var(--neon-blue);
  text-decoration: none;
  transition: all var(--transition-normal);
  position: relative;
}

.text-neon::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gradient-primary);
  transition: width var(--transition-normal);
}

.text-neon:hover {
  color: var(--neon-purple);
  text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.text-neon:hover::before {
  width: 100%;
}

/* Benefits Section */
.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-glass);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.benefit-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  transition: left var(--transition-slow);
}

.benefit-item:hover {
  background: var(--bg-glass-hover);
  transform: translateX(5px);
  box-shadow: var(--shadow-card-hover);
}

.benefit-item:hover::before {
  left: 100%;
}

.benefit-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
  transition: all var(--transition-normal);
}

.benefit-item:hover .benefit-icon {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.benefit-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--neon-blue);
}

.benefit-content p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.5;
}

/* Stats Section */
.stat-item {
  text-align: center;
  padding: 1rem;
  transition: all var(--transition-normal);
}

.stat-item:hover {
  transform: translateY(-3px);
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--neon-blue);
  margin-bottom: 0.25rem;
  text-shadow: 0 0 15px rgba(0, 212, 255, 0.5);
}

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

/* Registration Form Enhancements */
#registerForm {
  animation: formSlideIn 0.8s ease-out;
}

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

.form-control:focus {
  animation: inputGlow 0.3s ease;
}

@keyframes inputGlow {
  0% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.3); }
  50% { box-shadow: 0 0 30px rgba(0, 212, 255, 0.5); }
  100% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.3); }
}

/* Submit Button Animation */
.btn-primary:active {
  transform: translateY(-1px) scale(0.98);
}

/* Responsive Design */
@media (max-width: 768px) {
  .benefits-list {
    margin-top: 2rem;
  }
  
  .benefit-item {
    padding: 1rem;
  }
  
  .benefit-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .stat-number {
    font-size: 1.25rem;
  }
  
  .stat-label {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .benefit-item {
    flex-direction: column;
    text-align: center;
  }
  
  .benefit-icon {
    align-self: center;
  }
}

/* Loading Animation for Form Submission */
.form-loading {
  position: relative;
  pointer-events: none;
}

.form-loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-lg);
}

.form-loading::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid var(--neon-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 1;
}

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

/* Success Animation */
.success-animation {
  animation: successPulse 0.6s ease;
}

@keyframes successPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Error Animation */
.error-animation {
  animation: errorShake 0.6s ease;
}

@keyframes errorShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

/* Floating Labels */
.floating-label {
  position: relative;
}

.floating-label .form-control {
  padding-top: 1.5rem;
  padding-bottom: 0.5rem;
}

.floating-label .form-label {
  position: absolute;
  top: 0.75rem;
  left: 1rem;
  transition: all var(--transition-normal);
  pointer-events: none;
  color: rgba(255, 255, 255, 0.5);
}

.floating-label .form-control:focus + .form-label,
.floating-label .form-control:not(:placeholder-shown) + .form-label {
  top: 0.25rem;
  font-size: 0.75rem;
  color: var(--neon-blue);
}

/* Progress Bar for Form Completion */
.form-progress {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.form-progress-bar {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 2px;
  transition: width var(--transition-slow);
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Tooltip Styles */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 200px;
  background: var(--bg-glass);
  color: white;
  text-align: center;
  border-radius: var(--border-radius-md);
  padding: 8px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -100px;
  opacity: 0;
  transition: opacity var(--transition-normal);
  font-size: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: var(--bg-glass) transparent transparent transparent;
} 