/* === LANDING PAGE STYLES === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: #f8fafc;
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* === WRAPPER === */
.wrapper {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  position: relative;
}

.wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

/* === MAIN CARD === */
.card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(51, 65, 85, 0.8) 100%);
  backdrop-filter: blur(20px);
  padding: 3rem;
  border-radius: 24px;
  text-align: center;
  box-shadow: 
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  max-width: 600px;
  width: 100%;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.5), transparent);
}

/* === LOGO === */
.logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 2rem auto;
  border-radius: 50%;
  border: 3px solid rgba(99, 102, 241, 0.3);
  box-shadow: 
    0 0 30px rgba(99, 102, 241, 0.3),
    0 0 60px rgba(99, 102, 241, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: float 6s ease-in-out infinite;
}

.logo:hover {
  transform: scale(1.05);
  box-shadow: 
    0 0 40px rgba(99, 102, 241, 0.4),
    0 0 80px rgba(99, 102, 241, 0.2);
}

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

/* === TYPOGRAPHY === */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #f8fafc 0%, #6366f1 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #f8fafc;
}

p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #cbd5e1;
}

strong {
  color: #6366f1;
  font-weight: 600;
}

/* === BUTTONS === */
.btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 4px 15px rgba(99, 102, 241, 0.3),
    0 0 0 1px rgba(99, 102, 241, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-discord::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: all 0.5s;
}

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

.btn-discord:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 8px 25px rgba(99, 102, 241, 0.4),
    0 0 0 1px rgba(99, 102, 241, 0.3);
}

.btn-discord:active {
  transform: translateY(-1px);
}

/* === ERROR STYLES === */
.error-card {
  animation: shake 0.5s ease-in-out;
}

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

.error-title {
  color: #ef4444;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.error-message {
  color: #fca5a5;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* === FOOTER === */
footer {
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #64748b;
  text-align: center;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #334155, transparent);
}

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

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .wrapper {
    padding: 1rem;
  }
  
  .card {
    padding: 2rem;
    margin: 1rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  p {
    font-size: 1rem;
  }
  
  .btn-discord {
    padding: 14px 28px;
    font-size: 1rem;
  }
  
  .logo {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 480px) {
  .card {
    padding: 1.5rem;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  .logo {
    width: 80px;
    height: 80px;
  }
  
  .btn-discord {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* === FOCUS STYLES === */
.btn-discord:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
}

/* === SELECTION === */
::selection {
  background: rgba(99, 102, 241, 0.3);
  color: #f8fafc;
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1e293b;
}

::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #475569;
}