/* Главная страница ItGo — современный стиль */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700&display=swap');

* {
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  margin: 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5e6d3;
  background: linear-gradient(135deg, #fef7ed 0%, #fed7aa 40%, #fdba74 70%, #f97316 100%);
  padding: 24px;
}

.index-page {
  width: 100%;
  max-width: 520px;
}

.index-card {
  background: rgba(255, 252, 248, 0.95);
  padding: 48px 40px;
  border-radius: 24px;
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.25);
  text-align: center;
  animation: indexFadeIn 0.6s ease-out;
}

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

.index-logo {
  width: 200px;
  margin-bottom: 24px;
}

.index-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.index-tagline {
  font-size: 1rem;
  color: #64748b;
  margin: 0 0 32px 0;
  line-height: 1.5;
}

.index-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.index-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  aspect-ratio: 1;
  padding: 20px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  color: #fff;
  border: none;
  border-radius: 16px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  min-height: 0;
}

.index-btn:hover {
  transform: translateY(-2px);
}

.index-btn-teacher {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.index-btn-teacher:hover {
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.5);
}

.index-btn-student {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4);
}

.index-btn-student:hover {
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.5);
}

.index-btn-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.index-btn-fallback {
  font-size: 3rem;
  line-height: 1;
}

.index-btn-label {
  font-size: 1rem;
  font-weight: 600;
}
