/* css/main-page.css */

.main-content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  gap: 0;
}

/* ── Logo ring ── */
.logo-ring {
  margin-bottom: 24px;
  animation: spin-slow 24s linear infinite;
}

@keyframes spin-slow { to { transform: rotate(360deg); } }

/* ── Title ── */
.main-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(52px, 10vw, 96px);
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1;
  background: linear-gradient(135deg, #fff 25%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}

.main-sub {
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 56px;
  letter-spacing: 0.2px;
}

/* ── Role cards ── */
.role-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 390px;
}

.role-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  cursor: pointer;
  color: var(--text);
  font-family: 'Sora', sans-serif;
  font-size: 18px;
  font-weight: 600;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(12px);
  text-align: left;
  width: 100%;
}

.role-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.35);
}

.role-card:active { transform: translateY(-1px); }

.role-icon { font-size: 30px; line-height: 1; }
.role-label { flex: 1; }

.role-arrow {
  color: var(--muted);
  font-size: 20px;
  transition: transform 0.2s, color 0.2s;
}
.role-card:hover .role-arrow {
  transform: translateX(5px);
  color: var(--text);
}

/* ── Login link ── */
.main-login-link {
  margin-top: 36px;
  color: var(--muted);
  font-size: 14px;
}

.main-login-link a {
  color: #60a5fa;
  font-weight: 500;
}

/* ── Responsive ── */
@media (max-width: 480px) {
  .main-title { letter-spacing: -2px; }
  .role-card { padding: 18px 20px; font-size: 16px; }
}