:root {
  color-scheme: light;
  font-family: "DM Sans", system-ui, sans-serif;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --ink: #f7fbff;
  --muted: #dceeff;
  --grain: repeating-linear-gradient(132deg, #ffffff08 0 1px, transparent 1px 3px);
  --glass: linear-gradient(120deg, #80c9ff38, #2169be45 55%, #0e368960);
  --rim: #d8efff72;
  --shadow: 0 5px 16px #001c5638, inset 0 1px 0 #ffffff40;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  margin: 0;
  position: relative;
  isolation: isolate;
  color: var(--ink);
  background: url("ondas.svg") center top / 256px 184px repeat #01439a;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 50% 4%, #4ab9ff31, transparent 67%);
}

a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #ffe64d; outline-offset: 2px; }
h1, h2, p { margin: 0; }

.page {
  width: min(100%, 468px);
  margin-inline: auto;
  padding: max(14px, env(safe-area-inset-top)) 14px max(12px, env(safe-area-inset-bottom));
}

.card, .stream a, footer a, .feature, .media-body, .profile, .cristo {
  border: 1px solid var(--rim);
  background: var(--grain), var(--glass);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
  backdrop-filter: blur(22px) saturate(135%);
}

.hero {
  position: relative;
  isolation: isolate;
  padding: 6px 0 7px;
  margin-bottom: 8px;
}

.hero-art {
  position: absolute;
  inset: -20px 0 -19px;
  z-index: -1;
  pointer-events: none;
  background: url("turma.webp") center 45% / 94% auto no-repeat;
  filter: blur(13px) saturate(1.2);
  opacity: .43;
  mask-image: linear-gradient(transparent, #000 35%, #000 66%, transparent);
}

.profile {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 8px;
  min-height: 66px;
  padding: 8px 10px;
  border-radius: 100px;
  --glass: linear-gradient(115deg, #8cd6ff50, #276fbe69 55%, #63baff45);
}

.profile-avatar, .profile-link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.profile-avatar { background: linear-gradient(145deg, #8edaff, #2375d6); box-shadow: inset 0 0 0 1px #ffffff91; }
.profile-avatar img { display: block; width: 44px; height: 44px; border-radius: 50%; }
.profile-link { background: #f6fcffdc; color: #102e58; }
h1 { text-align: center; font: 800 clamp(1.14rem, 5.1vw, 1.55rem)/1.05 var(--display); letter-spacing: -.04em; }

.primary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.primary .card { grid-template-columns: 32px minmax(0, 1fr); }
.primary .arrow { display: none; }
.lime { background: #edff43; color: #171b0a; }
.primary, .extras { display: grid; gap: 6px; }
.card {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) 14px;
  gap: 9px;
  align-items: center;
  min-height: 46px;
  padding: 5px 10px 5px 6px;
  border-radius: 15px;
}

.card strong { display: block; font-size: .92rem; font-weight: 800; line-height: 1.15; }
.icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; font-size: 1.11rem; font-weight: 800; }
.icon svg { width: 19px; height: 19px; }
.video { --glass: linear-gradient(115deg, #4b9df67a, #17499e90); --rim: #d8efff9e; }
.red { background: #fff; color: #d82436; }
.yellow { background: #fce5a3; color: #674600; }
.peach { background: #ffe7dc; color: #943524; }
.lilac { background: #eee5ff; color: #623ba0; }
.sky { background: #dcecff; color: #21529b; }

.arrow { justify-self: center; width: 7px; height: 7px; border-top: 2px solid; border-right: 2px solid; transform: rotate(45deg); opacity: .65; }

.section { margin-top: 11px; }
h2 { margin: 0 0 5px 3px; color: #f2f8ff; font-size: .76rem; font-weight: 800; }
.stream { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.stream a {
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 3px;
  min-height: 54px;
  padding: 4px 2px;
  border-radius: 14px;
  text-align: center;
  font-size: .68rem;
  font-weight: 800;
  line-height: 1.14;
}
.stream svg { width: 23px; height: 23px; padding: 2px; border-radius: 8px; background: #f5faff; }

.cuca-cover {
  display: block;
  position: relative;
  overflow: hidden;
  margin-top: 9px;
  aspect-ratio: 456 / 338;
  border: 1px solid var(--rim);
  border-radius: 22px;
  background: #124c9d;
}
.cuca-cover img { display: block; width: 100%; height: auto; }
.cristo {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 2px 0 9px;
  padding: 7px;
  border-radius: 17px;
}
.cristo img { display: block; width: 100%; height: auto; border-radius: 11px; }
.cristo strong, .cristo small, .cristo-cta { display: block; }
.cristo small { margin-top: 3px; color: var(--muted); font-size: .76rem; line-height: 1.2; }
.cristo-cta { margin-top: 4px; color: #ffe979; font-size: .73rem; font-weight: 800; }

.media-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; align-items: start; }
.feature {
  display: grid;
  grid-template-columns: 23px minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 7px;
  min-width: 0;
  height: 100%;
  padding: 0 0 7px;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  list-style: none;
}
.feature-cover {
  display: block;
  grid-column: 1 / -1;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}
.feature > .media-icon { margin-left: 6px; }
.feature > span:not([class]) { margin-inline: 6px; }
.feature:focus-visible { outline: 3px solid #ffe64d; outline-offset: 2px; }
.feature strong, .feature small { display: block; line-height: 1.15; }
.feature strong { font-size: .81rem; }
.feature small { margin-top: 3px; color: var(--muted); font-size: .67rem; font-weight: 700; }
.feature .arrow { display: none; }
.media-icon { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 7px; background: #f9fcff; }
.media-icon svg { width: 16px; height: 16px; }
.youtube-icon { color: #d82436; }
.media-body { margin-top: 7px; min-width: 0; padding: 5px 5px 0; border-radius: 15px; }
.media-body iframe { display: block; width: 100%; border: 0; border-radius: 11px; background: #173c67; }
.youtube-player { aspect-ratio: 16 / 9; }
.media-body a { display: flex; align-items: center; justify-content: center; min-height: 44px; font-size: .74rem; font-weight: 800; }

.store-banner { display: block; overflow: hidden; border-radius: 16px; }
.store-banner img { display: block; width: 100%; height: auto; }
.feature[aria-expanded="true"] { border-color: #ffe64d; }
footer { margin-top: 14px; }
footer p {
  margin-top: 12px;
  padding: 10px 8px 12px;
  border-top: 1px solid #a6caff80;
  border-radius: 0 0 15px 15px;
  background: #081d43;
  color: #e5efff;
  text-align: center;
  font-size: .69rem;
  line-height: 1.5;
}
footer nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}
footer a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 44px;
  padding: 0 3px;
  border-radius: 22px;
  font-size: .72rem;
  font-weight: 800;
}

footer svg { width: 18px; height: 18px; flex: none; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card, .stream a, footer a { transition: transform .16s ease, box-shadow .16s ease; }
  .card:hover, .stream a:hover, footer a:hover { transform: translateY(-2px); box-shadow: 0 8px 18px #245b942b; }
}

@media (min-width: 650px) {
  .page { padding-top: 28px; }
}
