:root {
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --text-primary: #ffffff;
  --text-secondary: #cbd5e1;
  --primary-glow: #3b82f6;
  --secondary-glow: #8b5cf6;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #0f172a;
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow-x: hidden;
  /* Top and Bottom padding are now handled by auth.js globally! */
}

/* --- BACKGROUND BLOBS --- */
.blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.5;
  animation: float 10s infinite ease-in-out alternate;
}
.blob-1 { width: 400px; height: 400px; background: var(--primary-glow); top: 10%; left: 10%; }
.blob-2 { width: 350px; height: 350px; background: var(--secondary-glow); bottom: 10%; right: 10%; animation-delay: -5s; }
@keyframes float { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(30px, 50px) scale(1.2); } }

/* --- PORTAL GRID SECTION --- */
.portal-container {
  width: 100%;
  max-width: 900px;
  margin-top: 3rem;
  z-index: 1;
  padding: 0 1rem;
  box-sizing: border-box;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.service-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  text-decoration: none;
  color: var(--text-primary);
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

.service-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.icon-wrapper {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--primary-glow), var(--secondary-glow));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
}

.service-card h2 { margin: 0 0 0.5rem; font-size: 1.3rem; font-weight: 700; }
.service-card p { margin: 0; font-size: 0.95rem; color: var(--text-secondary); }

.coming-soon {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  border: 1px dashed var(--glass-border);
  padding: 1.5rem;
  border-radius: 15px;
  margin-bottom: 2rem;
}