/* ============================================================
   GLOBAL RESET & BASE
   ============================================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(145deg, #f0f4fa 0%, #d9e2ec 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  padding: 16px;
}

/* ============================================================
   HOME PAGE — CARD WITH 3 ICONS
   ============================================================ */
.entry-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 48px;
  padding: 48px 40px;
  box-shadow: 0 25px 40px -12px rgba(0, 20, 30, 0.3),
              inset 0 1px 3px rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.6);
  max-width: 850px;
  width: 100%;
}

.entry-card h2 {
  text-align: center;
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: #1e2b3a;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.entry-card h2 i {
  font-size: 28.8px;
  color: #2c3e50;
  opacity: 0.7;
}

/* Row of icons */
.icon-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px 32px;
}

/* Each clickable icon */
.icon-entry {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #1e2b3a;
  transition: transform 0.25s ease;
  cursor: pointer;
  outline: none;
  border-radius: 32px;
  padding: 8px 12px;
  max-width: 180px;
}

.icon-circle {
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 50%;
  box-shadow: 0 15px 25px -8px rgba(0, 20, 30, 0.2),
              0 6px 10px -4px rgba(0, 0, 0, 0.05),
              inset 0 -2px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.25s ease;
  font-size: 41.6px;
  color: #2c3e50;
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.icon-entry:hover .icon-circle {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 25px 30px -12px rgba(0, 30, 50, 0.3);
}

/* Accent colours per icon */
.icon-entry:nth-child(1):hover .icon-circle { color: #3b82f6; background: #eff6ff; }
.icon-entry:nth-child(2):hover .icon-circle { color: #10b981; background: #ecfdf5; }
.icon-entry:nth-child(3):hover .icon-circle { color: #8b5cf6; background: #f5f3ff; }

.icon-label {
  margin-top: 14.4px;
  font-size: 18.4px;
  font-weight: 500;
  color: #1e2b3a;
  background: rgba(255, 255, 255, 0.6);
  padding: 4px 16px;
  border-radius: 40px;
  text-align: center;
  line-height: 1.35;
  word-break: break-word;
}

.icon-entry:nth-child(2) .icon-label {
  font-size: 16px;
  padding: 4px 13.6px;
  max-width: 160px;
}

.icon-entry:focus-visible .icon-circle {
  outline: 3px solid #3b82f6;
  outline-offset: 4px;
}

/* ============================================================
   INNER PAGES — CONTENT CARD (no icon badge)
   ============================================================ */
.page-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 48px;
  padding: 48px 40px;
  box-shadow: 0 25px 40px -12px rgba(0, 20, 30, 0.3),
              inset 0 1px 3px rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.6);
  max-width: 750px;
  width: 100%;
}

.page-card h1 {
  font-size: 30.4px;
  font-weight: 600;
  color: #1e2b3a;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  text-align: center;
}

.page-content {
  color: #2c3e50;
  font-size: 17.6px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.page-content p + p {
  margin-top: 16px;
}

/* Back-to-home button */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 9.6px;
  padding: 13.6px 28.8px;
  background: white;
  color: #1e2b3a;
  text-decoration: none;
  border-radius: 48px;
  font-weight: 500;
  font-size: 16px;
  box-shadow: 0 10px 20px -8px rgba(0, 20, 30, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.9);
  transition: transform 0.2s, box-shadow 0.2s;
}

.back-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px -10px rgba(0, 30, 50, 0.35);
}

.back-link:focus-visible {
  outline: 3px solid #3b82f6;
  outline-offset: 3px;
}