@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700;800&family=Inter:wght@400;500;600&display=swap");

:root {
  --verde: #2f3214;
  --coral: #e76f57;
  --mostaza: #e6b233;
  --marfil: #f7f4ee;
  --oliva: #7d8350;
  --gris: #5f6253;
  --paper: #ffffff;
  --line: #e4ded1;
  --ink: var(--verde);
  --muted: var(--gris);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(231, 111, 87, 0.12), transparent 42%),
    radial-gradient(circle at 88% 92%, rgba(230, 178, 51, 0.14), transparent 46%),
    var(--marfil);
}

.portal-body {
  display: grid;
  place-items: center;
  padding: 28px;
}

.profile-gate {
  width: min(100%, 860px);
  padding: 34px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 22px 60px rgba(47, 50, 20, 0.12);
}

.gate-logo {
  display: block;
  width: min(100%, 300px);
  height: auto;
}

.gate-kicker {
  margin: 22px 0 8px;
  color: var(--coral);
  font-family: "Nunito Sans", system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-family: "Nunito Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: 2.3rem;
  line-height: 1.12;
  color: var(--verde);
}

.gate-copy {
  max-width: 620px;
  margin: 14px 0 26px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.profile-card {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  min-height: 146px;
  padding: 18px;
  color: var(--ink);
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(47, 50, 20, 0.07);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.profile-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(47, 50, 20, 0.12);
}

.profile-card.user-profile {
  border-color: rgba(231, 111, 87, 0.7);
  box-shadow: 0 16px 34px rgba(231, 111, 87, 0.16);
}

.profile-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #ffffff;
  background: var(--verde);
  border-radius: 999px;
  font-size: 1.25rem;
}

.profile-card.user-profile .profile-icon {
  background: var(--coral);
}

.profile-card.coach-profile .profile-icon {
  background: var(--oliva);
}

.profile-card.admin-profile .profile-icon {
  color: var(--verde);
  background: var(--mostaza);
}

.profile-card strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Nunito Sans", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--verde);
}

.profile-card small {
  color: var(--muted);
  line-height: 1.45;
}

.placeholder {
  width: min(100%, 720px);
  text-align: center;
}

.placeholder .profile-card {
  grid-template-columns: 1fr;
}

.back-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--coral);
  font-family: "Nunito Sans", system-ui, sans-serif;
  font-weight: 700;
}

@media (max-width: 760px) {
  .portal-body {
    padding: 16px;
  }

  .profile-gate {
    padding: 24px;
    border-radius: 16px;
  }


  h1 {
    font-size: 1.85rem;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }
}
