/* CSS DESIGN SYSTEM: HOME PAGE (PREMIUM UI REVAMP) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --primary-blue: #3b82f6;
  --secondary-blue: #1d4ed8;
  --accent-blue: #60a5fa;
  --bg-color-1: #020617;
  --bg-color-2: #0f172a;
  --bg-color-3: #1e3a8a;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --glass-bg: rgba(15, 23, 42, 0.4);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-highlight: rgba(255, 255, 255, 0.15);
  --glow-color: rgba(59, 130, 246, 0.5);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color-1);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 80px;
  color: var(--text-main);
  overflow-x: hidden;
  position: relative;
}

/* Dynamic Animated Background */
.bg-animated {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background: radial-gradient(circle at 15% 50%, rgba(30, 58, 138, 0.4), transparent 50%),
              radial-gradient(circle at 85% 30%, rgba(29, 78, 216, 0.3), transparent 50%);
  background-size: 200% 200%;
  animation: bgBreathing 15s ease infinite alternate;
}

@keyframes bgBreathing {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.home-container {
  width: 90%;
  max-width: 700px;
  margin: auto;
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: 28px;
  padding: 3.5rem 3rem;
  text-align: center;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5), inset 0 1px 0 var(--glass-highlight);
  position: relative;
  z-index: 10;
  /* Entrance Animation handled by stagger classes below */
}

/* Staggered Animations */
.animate-stagger-1 { opacity: 0; animation: fadeInUp 0.8s ease forwards 0.1s; }
.animate-stagger-2 { opacity: 0; animation: fadeInUp 0.8s ease forwards 0.2s; }
.animate-stagger-3 { opacity: 0; animation: fadeInUp 0.8s ease forwards 0.3s; }
.animate-stagger-4 { opacity: 0; animation: fadeInUp 0.8s ease forwards 0.4s; }
.animate-stagger-5 { opacity: 0; animation: fadeInUp 0.8s ease forwards 0.5s; }

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

.logo-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(135deg, var(--accent-blue), var(--primary-blue));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  box-shadow: 0 0 30px var(--glow-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-icon:hover {
  transform: scale(1.05);
  box-shadow: 0 0 45px rgba(96, 165, 250, 0.7);
}

.logo-svg {
  width: 44px;
  height: 44px;
  color: white;
}

.home-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(to right, #ffffff, #93c5fd);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.home-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.about-section {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  padding: 2rem 2.5rem;
  margin-bottom: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  transition: background 0.3s ease;
}

.about-section:hover {
  background: rgba(255, 255, 255, 0.05);
}

.about-section h2 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.about-section p {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.about-section p strong {
  color: var(--accent-blue);
  font-weight: 600;
}

.button-group {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  padding: 1.1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  max-width: 350px;
  position: relative;
  overflow: hidden;
}

.btn-icon {
  width: 20px;
  height: 20px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
  color: white;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 10px 25px rgba(29, 78, 216, 0.4);
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
  transform: skewX(-20deg);
  transition: 0.5s;
}

.btn-glow:hover::after {
  left: 150%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.6);
  border-color: rgba(255,255,255,0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
  color: white;
}

.hidden {
  display: none !important;
}

@media (max-width: 600px) {
  .home-title {
    font-size: 2.2rem;
  }
  .home-container {
    padding: 2.5rem 1.5rem;
    width: 95%;
  }
  .about-section {
    padding: 1.5rem;
  }
  .btn {
    max-width: 100%;
  }
}

.admin-link-wrapper {
  margin-top: 30px;
  text-align: center;
}

.admin-link {
  color: #64748b;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.3s;
}

.admin-link:hover {
  color: var(--text-main);
}
