@font-face {
  font-family: "Nunito Sans";
  src: url("/assets/nunito-sans-400.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("/assets/nunito-sans-600.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("/assets/nunito-sans-700.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Nunito Sans";
  src: url("/assets/nunito-sans-800.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  font-family: "Nunito Sans", system-ui, sans-serif;
  color: #34273f;
  background: #fff4e6;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 24px;
  background:
    radial-gradient(ellipse at 10% 8%, #f0e1fc85, transparent 47%),
    radial-gradient(ellipse at 95% 98%, #e1eed985, transparent 42%),
    #fff4e6;
}
.community { width: min(100%, 620px); }
h1 {
  margin: 0 0 50px;
  text-align: center;
  color: #5b3f8c;
  font-size: clamp(32px, 6.5vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.2px;
}
.community-links { display: flex; gap: 22px; }
.community-card {
  --accent: #7360f2;
  --accent-dark: #6650dc;
  flex: 1 1 0;
  min-width: 0;
  min-height: 256px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  padding: 32px 24px 28px;
  color: #34273f;
  text-decoration: none;
  background: #fffcf8;
  border: 1px solid #e9dfd4;
  border-radius: 28px;
  box-shadow: 0 8px 32px #5b3f8c06;
  -webkit-tap-highlight-color: transparent;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.whatsapp-card { --accent: #18854b; --accent-dark: #126d3d; }
.platform-icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.platform-icon img { width: 56px; height: 56px; object-fit: contain; }
.platform-name { font-size: 24px; font-weight: 800; letter-spacing: -0.4px; }
.join-label {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  width: 160px;
  margin-top: 3px;
  padding: 11px 16px;
  border-radius: 14px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  transition: background 180ms ease;
}
.join-label span { font-size: 19px; line-height: 1; }
.community-card:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
.community-card:active { transform: scale(0.985); }
@media (hover: hover) {
  .community-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 14px 38px #5b3f8c0d;
  }
  .community-card:hover .join-label { background: var(--accent-dark); }
}
@media (max-width: 540px) {
  body { padding: 36px 22px; }
  .community { max-width: 360px; }
  h1 { margin-bottom: 32px; }
  .community-links { flex-direction: column; gap: 16px; }
  .community-card { min-height: 206px; padding: 23px 24px; gap: 9px; border-radius: 24px; }
  .platform-icon { width: 60px; height: 60px; }
  .platform-icon img { width: 48px; height: 48px; }
  .platform-name { font-size: 22px; }
  .join-label { margin-top: 7px; }
}
@media (max-width: 540px) and (max-height: 680px) {
  body { padding: 24px 22px; }
  h1 { margin-bottom: 24px; }
  .community-links { gap: 12px; }
  .community-card { min-height: 174px; padding: 16px 20px; gap: 6px; }
  .platform-icon { width: 48px; height: 48px; }
  .platform-icon img { width: 42px; height: 42px; }
  .join-label { margin-top: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .community-card, .join-label { transition: none; }
  .community-card:hover, .community-card:active { transform: none; }
}
