@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

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

body {
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.container {
  max-width: 600px;
  width: 100%;
  text-align: center;
}

.dashboard-container {
  max-width: 800px;
}

.hero-title {
  font-size: clamp(80px, 20vw, 160px);
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #666666 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
  letter-spacing: -4px;
  line-height: 0.9;
  animation: fadeInDown 1s ease;
}

.subtitle {
  font-size: 24px;
  font-weight: 500;
  color: #a0a0a0;
  margin-bottom: 50px;
  letter-spacing: 0.5px;
  animation: fadeInDown 1s ease 0.2s backwards;
}

.card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 60px 40px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 1s ease 0.3s backwards;
  transition: all 0.4s ease;
  margin-bottom: 30px;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

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

.card-icon {
  margin-bottom: 25px;
  animation: pulse 2s ease-in-out infinite;
}

.card-icon .material-icons {
  font-size: 64px;
  color: #5865F2;
}

.discord-icon {
  margin-bottom: 30px;
  animation: pulse 2s ease-in-out infinite;
}

.discord-icon svg {
  width: 80px;
  height: auto;
}

.card-title {
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.card-description {
  font-size: 16px;
  color: #a0a0a0;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* Form Styles */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 25px;
}

.form-group {
  text-align: left;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #a0a0a0;
  margin-bottom: 10px;
}

.form-group label .material-icons {
  font-size: 18px;
  color: #5865F2;
}

.form-group input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 15px;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s ease;
  outline: none;
}

.form-group input::placeholder {
  color: #666666;
}

.form-group input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: #5865F2;
  box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.1);
}

.auth-btn {
  padding: 16px 40px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
  margin-top: 10px;
}

.auth-btn.primary {
  background: #5865F2;
  color: #ffffff;
}

.auth-btn.primary:hover {
  background: #4752C4;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(88, 101, 242, 0.4);
}

.auth-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.auth-btn:hover::before {
  width: 300px;
  height: 300px;
}

.auth-btn .material-icons {
  position: relative;
  z-index: 1;
}

.card-footer {
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.card-footer p {
  font-size: 14px;
  color: #a0a0a0;
}

.link-btn {
  background: none;
  border: none;
  color: #5865F2;
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s ease;
  text-decoration: underline;
}

.link-btn:hover {
  color: #4752C4;
}

/* Notification */
.notification {
  position: fixed;
  top: 30px;
  right: 30px;
  padding: 16px 24px;
  background: rgba(255, 59, 48, 0.95);
  color: #ffffff;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  transform: translateX(400px);
  transition: transform 0.3s ease;
  z-index: 9999;
  max-width: 350px;
}

.notification.show {
  transform: translateX(0);
}

.notification.success {
  background: rgba(52, 199, 89, 0.95);
}

.notification.error {
  background: rgba(255, 59, 48, 0.95);
}

.discord-btn {
  padding: 16px 40px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  background: #5865F2;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.discord-btn:hover {
  background: #4752C4;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(88, 101, 242, 0.4);
}

.discord-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.discord-btn:hover::before {
  width: 300px;
  height: 300px;
}

.discord-btn .material-icons {
  position: relative;
  z-index: 1;
}

/* Dashboard Styles */
.profile-card {
  padding: 40px;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-bottom: 40px;
  text-align: left;
}

.profile-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.profile-avatar:hover {
  border-color: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.profile-name {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
}

.profile-email {
  font-size: 14px;
  color: #a0a0a0;
  margin-bottom: 4px;
}

.profile-id {
  font-size: 12px;
  color: #666666;
  font-family: 'Courier New', monospace;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
  padding: 30px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.stat-icon {
  font-size: 32px;
  color: #5865F2;
}

.stat-label {
  font-size: 12px;
  color: #a0a0a0;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
}

.action-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.logout-btn {
  padding: 14px 32px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  background: rgba(255, 59, 48, 0.1);
  color: #ff3b30;
  border: 1px solid rgba(255, 59, 48, 0.2);
}

.logout-btn:hover {
  background: rgba(255, 59, 48, 0.2);
  border-color: rgba(255, 59, 48, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 59, 48, 0.2);
}

.info-card {
  padding: 40px;
}

.info-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 30px;
  color: #ffffff;
}

.info-title .material-icons {
  color: #5865F2;
}

.info-grid {
  display: grid;
  gap: 20px;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.info-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.info-label {
  font-size: 14px;
  color: #a0a0a0;
  font-weight: 500;
}

.info-value {
  font-size: 14px;
  color: #ffffff;
  font-weight: 600;
  font-family: 'Courier New', monospace;
}

/* Particles */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
}

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

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

@keyframes float {
  0%, 100% { 
    transform: translateY(0px) translateX(0px) rotate(0deg); 
    opacity: 0.1; 
  }
  25% { 
    transform: translateY(-30px) translateX(10px) rotate(90deg); 
    opacity: 0.3; 
  }
  50% { 
    transform: translateY(-60px) translateX(-10px) rotate(180deg); 
    opacity: 0.2; 
  }
  75% { 
    transform: translateY(-30px) translateX(-20px) rotate(270deg); 
    opacity: 0.3; 
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 60px;
    margin-bottom: 8px;
  }
  
  .subtitle {
    font-size: 18px;
    margin-bottom: 40px;
  }
  
  .card {
    padding: 40px 25px;
  }
  
  .profile-header {
    flex-direction: column;
    text-align: center;
  }
  
  .profile-stats {
    grid-template-columns: 1fr;
  }
  
  .info-item {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  
  .notification {
    top: 20px;
    right: 20px;
    left: 20px;
    max-width: none;
  }
}