:root {
  --primary-bg: #f8fafc;
  --secondary-bg: #f1f5f9;
  --accent: #2563eb;
  --text-main: #0f172a;
  --text-sub: #475569;
  --card-bg: #ffffff;
  --card-border: #e2e8f0;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Menu Colors */
  --color-student: #3b82f6;
  --color-term: #10b981;
  --color-teacher: #f59e0b;
  --color-parents: #8b5cf6;
  --color-gold: #d4af37;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  background: var(--primary-bg);
  background: radial-gradient(circle at top right, #f1f5f9, #f8fafc);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
  position: relative;
}

/* Home Page Background */
.home-body {
  background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.5)), url('./assets/bg_merapi.jpg') no-repeat center center fixed;
  background-size: cover;
}

.home-body .bg-blobs {
  display: none;
}

.home-body h1 {
  color: #ffffff;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.home-body .subtitle {
  color: rgba(255, 255, 255, 0.9);
}

.home-body .sub-subtitle {
  color: var(--color-gold);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.home-body .footer {
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.5rem 3rem;
  border-radius: 20px;
  max-width: fit-content;
  margin: 5rem auto 2rem auto;
}

.glass-panel {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 40px;
  padding: 4rem 3rem;
  box-shadow: none;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  animation: scaleIn 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.home-body .menu-container {
  margin-top: 1rem;
}

.home-body .menu-item {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-left-width: 6px;
  color: var(--text-main);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.home-body .menu-item:hover {
  transform: translateY(-8px) scale(1.02);
  background: #ffffff;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.container {
  width: 100%;
  max-width: 1200px;
  padding: 2rem;
  text-align: center;
  z-index: 1;
}

.header {
  margin-bottom: 3.5rem;
  animation: fadeInDown 1s ease-out;
}

.logo {
  width: 150px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.08));
}

h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.subtitle {
  font-size: 1.5rem;
  color: var(--text-sub);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.sub-subtitle {
  font-size: 0.95rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
}

.menu-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.menu-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2rem 1.5rem;
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.15rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  border-left-width: 6px;
}

.menu-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Menu Specific Colors */
.menu-student {
  border-left-color: var(--color-student);
}

.menu-student:hover {
  background-color: rgba(59, 130, 246, 0.05);
  color: var(--color-student);
}

.menu-term {
  border-left-color: var(--color-term);
}

.menu-term:hover {
  background-color: rgba(16, 185, 129, 0.05);
  color: var(--color-term);
}

.menu-teacher {
  border-left-color: var(--color-teacher);
}

.menu-teacher:hover {
  background-color: rgba(245, 158, 11, 0.05);
  color: var(--color-teacher);
}

.menu-parents {
  border-left-color: var(--color-parents);
}

.menu-parents:hover {
  background-color: rgba(139, 92, 246, 0.05);
  color: var(--color-parents);
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bg-blobs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.blob {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
}

.blob-1 {
  top: -200px;
  right: -200px;
}

.blob-2 {
  bottom: -300px;
  left: -300px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .subtitle {
    font-size: 1.25rem;
  }

  .menu-container {
    grid-template-columns: 1fr;
  }

  .menu-item {
    padding: 1.5rem;
  }
}

.footer {
  margin-top: 5rem;
  padding: 2rem 0;
  border-top: 1px solid var(--card-border);
  color: var(--text-sub);
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.8;
}