@import url('https://fonts.cdnfonts.com/css/akony');

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #1a1a1a;
  --bg-gradient-start: #002182;
  --bg-gradient-mid: #021242;
  --bg-gradient-end: #0a0000;
  --text-primary: #ffffff;
  --text-secondary: #b4b4b4;
  --text-muted: #888888;
  --accent-primary: #3b82f6;
  --accent-secondary: #fbc638;
  --border-color: rgba(255, 255, 255, 0.1);
  --shadow-color: rgba(0, 0, 0, 0.3);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg-gradient-start);
  background: radial-gradient(circle at center, 
    var(--bg-gradient-start) 0%, 
    var(--bg-gradient-mid) 50%, 
    var(--bg-gradient-end) 100%);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Animation */
.background-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(251, 198, 56, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(0, 33, 130, 0.2) 0%, transparent 50%);
  animation: backgroundShift 20s ease-in-out infinite;
  z-index: -1;
}

@keyframes backgroundShift {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.header {
  padding: 2rem 0;
  text-align: center;
  position: relative;
}

.main-title {
  font-family: 'AKONY', sans-serif;
  font-size: clamp(2rem, 6.4vw, 4rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(251, 198, 56, 0.3);
  position: relative;
}

.main-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-secondary), transparent);
  border-radius: 2px;
}

.subtitle {
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: var(--text-secondary);
  font-weight: 300;
  margin-top: 1rem;
}

/* Main Content */
.main-content {
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

/* Status Section */
.status-section {
  width: 100%;
  display: flex;
  justify-content: center;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  box-shadow: 0 8px 32px var(--shadow-color);
}

.status-dot {
  width: 12px;
  height: 12px;
  background: var(--accent-secondary);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

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

.status-text {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--text-secondary);
  font-weight: 400;
}

/* CTA Section */
.cta-section {
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Logo Section */
.logo-section {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 2rem 0;
}

/* Footer */
.footer {
  margin-top: auto;
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid var(--border-color);
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
}

.footer p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Enhanced Visual Effects */
.main-title {
  position: relative;
  overflow: hidden;
}

.main-title::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(251, 198, 56, 0.2), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Glass morphism effects */
.status-indicator,
.footer {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Enhanced hover effects */
.cta {
  position: relative;
  overflow: hidden;
}

.cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent 30%, rgba(251, 198, 56, 0.1) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.cta:hover::after {
  transform: translateX(100%);
}

/* Improved focus states */
.cta:focus-visible {
  outline: 2px solid var(--accent-secondary);
  outline-offset: 4px;
}

/* Better text rendering */
.main-title,
.subtitle,
.status-text {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Loading states */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top: 2px solid var(--accent-secondary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Apply animations to elements */
.main-title {
  animation: fadeInUp 0.8s ease-out;
}

.subtitle {
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.status-indicator {
  animation: fadeInScale 0.6s ease-out 0.4s both;
}

.cta {
  animation: fadeInScale 0.6s ease-out 0.6s both;
}

.biglogo {
  animation: fadeInScale 0.8s ease-out 0.8s both;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  .header {
    padding: 1.5rem 0;
  }
  
  .main-content {
    gap: 2rem;
    padding: 1rem 0;
  }
  
  .status-indicator {
    padding: 0.75rem 1.5rem;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  
  .footer {
    padding: 1.5rem 0;
  }
  
  /* Reduce animations on mobile for better performance */
  .main-title::before {
    animation: none;
  }
}

@media (max-width: 480px) {
  .main-title {
    font-size: 2rem;
  }
  
  .subtitle {
    font-size: 1rem;
  }
  
  .status-indicator {
    padding: 0.5rem 1rem;
    margin: 0 1rem;
  }
  
  /* Disable complex animations on small screens */
  .cta::after {
    display: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --text-primary: #ffffff;
    --text-secondary: #ffffff;
    --border-color: #ffffff;
  }
  
  .status-indicator,
  .footer {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #ffffff;
  }
}

/* Print optimizations */
@media print {
  .background-animation,
  .cta::before,
  .cta::after,
  .main-title::before {
    display: none;
  }
  
  .main-title {
    color: #000000 !important;
    -webkit-text-fill-color: #000000 !important;
  }
  
  .status-indicator {
    background: #f0f0f0 !important;
    color: #000000 !important;
    border: 1px solid #000000 !important;
  }
}