:root {
  --ink: #3f2f24;
  --muted: #6f5a49;
  --paper: #fbf5e8;
  --surface: #fff8ea;
  --line: #d5c2aa;
  --green: #25d366;
  --green-deep: #128c4a;
  --green-soft: #dff5c4;
  --blue: #74baf0;
  --blue-soft: #d7ecff;
  --coffee: #b77b4f;
  --sand: #ead8bc;
  --shadow: 0 12px 32px rgba(63, 47, 36, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 16px 16px, rgba(37, 211, 102, .10) 0 2px, transparent 2px 100%),
    linear-gradient(180deg, var(--paper), #f7ecd8);
  background-size: 34px 34px, auto;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--ink);
  color: #fff;
  padding: .75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem clamp(1rem, 4vw, 3rem);
  background: rgba(255, 250, 240, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-weight: 900;
  text-decoration: none;
}

.brand img {
  border-radius: 50%;
  animation: gentle-bob 4.8s ease-in-out infinite;
}

.menu-shell {
  position: relative;
}

.menu-toggle,
.site-nav a,
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  border: 2px solid var(--ink);
  border-radius: 8px;
  padding: .6rem .85rem;
  color: var(--ink);
  text-decoration: none;
  font: inherit;
  font-weight: 800;
  background: #fff;
  position: relative;
  overflow: hidden;
  transform: translateY(0);
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
  box-shadow: 0 4px 0 rgba(63, 47, 36, .20);
}

.menu-toggle {
  cursor: pointer;
  background: var(--green-soft);
}

.menu-icon {
  display: grid;
  gap: 4px;
  width: 18px;
}

.menu-icon span {
  display: block;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .18s ease, opacity .18s ease;
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
  position: absolute;
  right: 0;
  top: calc(100% + .65rem);
  width: min(320px, calc(100vw - 2rem));
  display: grid;
  grid-template-columns: 1fr;
  gap: .45rem;
  padding: .65rem;
  background: rgba(255, 248, 234, .98);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(.98);
  transform-origin: top right;
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.menu-shell.is-open .site-nav {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.footer-links div,
.social-links div {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.menu-toggle:hover,
.site-nav a:hover,
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 rgba(63, 47, 36, .18);
}

.button:active,
.menu-toggle:active,
.site-nav a:active {
  transform: translateY(1px);
  box-shadow: 0 2px 0 rgba(63, 47, 36, .24);
}

.button::after {
  content: "";
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .34);
  transform: translate(-50%, -50%);
  transition: width .28s ease, height .28s ease;
}

.button:hover::after {
  width: 190px;
  height: 190px;
}

.menu-toggle[aria-expanded="true"],
.site-nav a.is-active {
  background: var(--green-soft);
}

.nav-badge,
.eyebrow,
.status-pill {
  border-radius: 999px;
  padding: .15rem .45rem;
  background: var(--blue-soft);
  color: var(--ink);
  font-size: .76rem;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: min(760px, 88vh);
  display: grid;
  align-items: end;
  padding: clamp(2rem, 6vw, 5rem);
  background:
    linear-gradient(180deg, rgba(63, 47, 36, .12), rgba(63, 47, 36, .74)),
    url("images/landing-hero.jpg") center / cover;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(900px, 100%);
}

.hero-social-bubbles {
  position: absolute;
  top: clamp(4.8rem, 13vh, 7.5rem);
  left: clamp(1.4rem, 8vw, 7rem);
  z-index: 2;
  width: min(720px, calc(100% - 2.8rem));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(.65rem, 3vw, 2.3rem);
  pointer-events: none;
}

.hero-social-bubbles .social-logo {
  pointer-events: auto;
  border: 4px solid rgba(255, 255, 255, .94);
  box-shadow:
    0 4px 0 rgba(63, 47, 36, .20),
    0 0 0 1px rgba(63, 47, 36, .10);
  transform: translateY(var(--float-y, 0)) rotate(var(--float-rotate, 0deg));
}

.hero-social-bubbles .social-logo:nth-child(1) {
  --float-y: .5rem;
  --float-rotate: -3deg;
}

.hero-social-bubbles .social-logo:nth-child(2) {
  --float-y: 1.8rem;
  --float-rotate: 2deg;
}

.hero-social-bubbles .social-logo:nth-child(3) {
  --float-y: 1rem;
  --float-rotate: -2deg;
}

.hero-social-bubbles .social-logo:nth-child(4) {
  --float-y: 2.2rem;
  --float-rotate: 3deg;
}

.hero-social-bubbles .social-logo:nth-child(5) {
  --float-y: 1.4rem;
  --float-rotate: -2deg;
}

.hero h1 {
  margin: .75rem 0 1rem;
  max-width: 780px;
  font-size: clamp(2.2rem, 7vw, 5.5rem);
  line-height: .98;
  letter-spacing: 0;
}

.hero p {
  max-width: 660px;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.25rem;
}

.button.primary {
  background: linear-gradient(135deg, var(--green-soft), var(--green));
}

.button.whatsapp {
  background: linear-gradient(135deg, #ecffe5, var(--green));
  color: #19351f;
}

.button.secondary {
  background: linear-gradient(135deg, var(--blue-soft), var(--blue));
}

.button.games-more {
  background: linear-gradient(135deg, #fff8ea, var(--sand));
}

.button.coffee {
  background: linear-gradient(135deg, #ffe8c6, #e9b783);
}

.band {
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 5vw, 4rem);
}

.band.surface {
  background: var(--surface);
}

.section-title {
  width: min(980px, 100%);
  margin: 0 auto 1.5rem;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  letter-spacing: 0;
}

.section-title-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--green-deep);
  text-decoration-thickness: 4px;
  text-underline-offset: .28em;
}

.section-title-link:hover,
.section-title-link:focus-visible {
  color: var(--green-deep);
}

.section-title p {
  color: var(--muted);
  max-width: 680px;
}

.grid {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.carousel-shell {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.carousel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .75rem;
  color: var(--muted);
  font-size: .95rem;
  font-weight: 900;
}

.carousel-controls {
  display: inline-flex;
  gap: .45rem;
}

.carousel-control {
  width: 38px;
  height: 38px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  box-shadow: 0 3px 0 rgba(63, 47, 36, .18);
}

.carousel-control:hover,
.carousel-control:focus-visible {
  background: var(--green-soft);
}

.tutorial-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 260px);
  gap: 1rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scroll-padding-inline: .25rem;
  padding: .25rem .25rem 1rem;
  scrollbar-color: var(--green-deep) var(--sand);
}

.tutorial-carousel:focus-visible {
  outline: 3px solid var(--green-deep);
  outline-offset: 4px;
}

.panel {
  border: 2px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.panel:hover {
  border-color: rgba(37, 211, 102, .55);
}

.panel h3 {
  margin: 0 0 .5rem;
}

.panel p {
  color: var(--muted);
}

.coming-soon-card {
  width: min(900px, 100%);
  margin: 0 auto 1.25rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1rem, 4vw, 1.5rem);
  align-items: center;
  padding: clamp(1rem, 4vw, 1.6rem);
  border: 2px solid var(--ink);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 232, 198, .95), rgba(223, 245, 196, .92)),
    var(--surface);
  box-shadow: 0 6px 0 rgba(63, 47, 36, .18);
}

.coming-soon-card h2 {
  margin: .3rem 0 .35rem;
  font-size: clamp(1.7rem, 5vw, 3rem);
  line-height: 1;
  letter-spacing: 0;
}

.coming-soon-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.helmet-illustration {
  width: clamp(104px, 28vw, 150px);
  height: auto;
  flex: 0 0 auto;
}

.helmet-shadow {
  fill: rgba(63, 47, 36, .18);
}

.helmet-shell,
.helmet-ridge,
.helmet-brim {
  fill: #f4c447;
  stroke: var(--ink);
  stroke-width: 5;
  stroke-linejoin: round;
}

.helmet-ridge {
  fill: #ffd86a;
}

.helmet-line {
  fill: none;
  stroke: rgba(63, 47, 36, .56);
  stroke-width: 4;
  stroke-linecap: round;
}

.helmet-dot {
  fill: var(--green-deep);
  stroke: var(--ink);
  stroke-width: 3;
}

.tutorial-card {
  margin: 0;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  overflow: hidden;
  box-shadow: var(--shadow);
  scroll-snap-align: start;
}

.tutorial-card img,
.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-bottom: 2px solid var(--line);
}

.tutorial-card figcaption {
  display: grid;
  gap: .25rem;
  padding: .9rem;
}

.tutorial-card strong {
  font-size: 1rem;
}

.tutorial-card span {
  color: var(--muted);
  font-size: .95rem;
}

.download-grid {
  align-items: stretch;
}

.latest-label {
  width: min(1100px, 100%);
  margin: -.5rem auto .8rem;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.download-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  gap: .65rem;
}

.download-card .button {
  margin-top: auto;
}

.download-card-cover {
  width: calc(100% + 2rem);
  max-width: none;
  aspect-ratio: 16 / 9;
  height: auto;
  margin: -1rem -1rem .25rem;
  object-fit: contain;
  background: #fff;
  border-bottom: 2px solid var(--line);
}

.resource-entry-list,
.recent-resource-list {
  width: min(860px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.recent-posts-widget {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: clamp(1rem, 3vw, 1.2rem);
  border: 1px solid rgba(18, 140, 74, .54);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(18, 140, 74, .98), rgba(13, 104, 56, .98)),
    var(--green-deep);
  box-shadow: 0 14px 34px rgba(18, 140, 74, .20);
}

.recent-posts-widget h3 {
  position: relative;
  margin: 0 0 .75rem;
  padding-bottom: .55rem;
  color: #fff;
  font-size: clamp(1.25rem, 3vw, 1.55rem);
  line-height: 1.1;
  letter-spacing: 0;
}

.recent-posts-widget h3::before,
.recent-posts-widget h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 999px;
}

.recent-posts-widget h3::before {
  width: 100%;
  background: rgba(223, 245, 196, .50);
}

.recent-posts-widget h3::after {
  width: 6rem;
  background: var(--green);
}

.recent-posts-widget .recent-resource-list {
  width: 100%;
  gap: 0;
}

.games-promo-card {
  width: min(980px, 100%);
  margin: clamp(1.2rem, 4vw, 2rem) auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: clamp(1rem, 3vw, 1.3rem);
  border: 2px solid var(--ink);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(215, 236, 255, .94), rgba(223, 245, 196, .92)),
    var(--surface);
  box-shadow: 0 6px 0 rgba(63, 47, 36, .18);
}

.games-promo-copy {
  min-width: 0;
}

.games-promo-copy h3 {
  margin: .35rem 0 .25rem;
  font-size: clamp(1.35rem, 4vw, 2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.games-promo-copy p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.games-promo-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: .65rem;
}

.resource-entry {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 4px;
  background: #1f1f1f;
  box-shadow: 0 18px 40px rgba(63, 47, 36, .2);
}

.resource-entry a {
  position: relative;
  display: block;
  min-height: clamp(240px, 34vw, 340px);
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}

.resource-entry img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  transition: transform .28s ease, filter .28s ease;
}

.resource-entry a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .05) 20%, rgba(0, 0, 0, .08) 42%, rgba(0, 0, 0, .76) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, .34), rgba(0, 0, 0, 0) 44%);
  pointer-events: none;
}

.resource-entry-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  display: grid;
  justify-items: start;
  gap: .35rem;
  padding: clamp(1rem, 4vw, 1.6rem);
}

.resource-entry-overlay .status-pill {
  background: rgba(255, 248, 234, .92);
  color: var(--ink);
}

.resource-entry-overlay h2,
.resource-entry-overlay h3 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.25rem, 4vw, 2rem);
  line-height: 1.05;
  letter-spacing: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .42);
}

.resource-entry-overlay time {
  color: rgba(255, 255, 255, .92);
  font-size: .92rem;
  font-weight: 900;
}

.resource-entry-overlay time::before {
  content: "";
  display: inline-block;
  width: .72rem;
  height: .72rem;
  margin-right: .35rem;
  border: 2px solid currentColor;
  border-radius: 999px;
  vertical-align: -.05rem;
}

.resource-entry-overlay p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, .86);
  font-weight: 700;
}

.resource-entry:hover img,
.resource-entry a:focus-visible img {
  transform: scale(1.025);
  filter: saturate(1.04);
}

.resource-entry a:focus-visible {
  outline: 3px solid var(--blue-soft);
  outline-offset: 4px;
}

.wallpaper-collection-list {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: grid;
  gap: clamp(1.25rem, 4vw, 2rem);
}

.wallpaper-collection {
  display: grid;
  gap: 1rem;
}

.wallpaper-collection-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .85rem;
  align-items: start;
  padding: clamp(1rem, 3vw, 1.2rem);
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 0 rgba(63, 47, 36, .10);
}

.wallpaper-collection-heading h2 {
  margin: 0 0 .25rem;
  font-size: clamp(1.35rem, 4vw, 2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.wallpaper-collection-heading time {
  display: inline-block;
  margin-bottom: .45rem;
  color: var(--muted);
  font-weight: 900;
}

.wallpaper-collection-heading p {
  margin: 0;
  color: var(--muted);
}

.wallpaper-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.wallpaper-card {
  min-width: 0;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 0 rgba(63, 47, 36, .12);
}

.wallpaper-preview {
  display: grid;
  place-items: center;
  height: clamp(260px, 42vw, 360px);
  padding: .7rem;
  background:
    linear-gradient(45deg, rgba(247, 239, 220, .9), rgba(255, 255, 255, .96)),
    #fff;
  border-bottom: 2px solid var(--line);
}

.wallpaper-preview img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(63, 47, 36, .16));
}

.wallpaper-card-body {
  display: grid;
  gap: .75rem;
  padding: .9rem;
}

.wallpaper-card-body h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.wallpaper-card .entry-actions {
  gap: .5rem;
}

.wallpaper-card .button {
  min-height: 42px;
  padding: .68rem .82rem;
  font-size: .88rem;
}

.resource-share {
  position: absolute;
  top: .8rem;
  right: .8rem;
  z-index: 3;
  min-height: 40px;
  padding: .58rem .85rem;
  border: 2px solid rgba(255, 255, 255, .78);
  border-radius: 999px;
  background: rgba(255, 248, 234, .92);
  color: var(--ink);
  font: inherit;
  font-size: .88rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .28);
  cursor: pointer;
}

.resource-share:focus-visible {
  outline: 3px solid var(--blue-soft);
  outline-offset: 3px;
}

.recent-resource {
  border-bottom: 1px solid rgba(223, 245, 196, .22);
}

.recent-resource:last-child {
  border-bottom: 0;
}

.recent-resource a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 72px;
  align-items: center;
  gap: 1rem;
  min-height: 88px;
  padding: .75rem 0;
  color: #fff;
  text-decoration: none;
}

.recent-resource a:hover strong,
.recent-resource a:focus-visible strong {
  color: var(--green-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.recent-resource a:focus-visible {
  outline: 3px solid var(--green-soft);
  outline-offset: 4px;
}

.recent-resource-copy {
  display: grid;
  gap: .25rem;
  min-width: 0;
}

.recent-resource-copy strong {
  font-size: clamp(1rem, 2.8vw, 1.15rem);
  line-height: 1.18;
  letter-spacing: 0;
}

.recent-resource-copy time {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: rgba(223, 245, 196, .88);
  font-size: .85rem;
  font-weight: 800;
  line-height: 1.2;
}

.recent-resource-copy time::before {
  content: "";
  width: .72rem;
  height: .72rem;
  border: 2px solid currentColor;
  border-radius: 999px;
  flex: 0 0 auto;
}

.recent-resource-cover {
  width: 72px;
  height: 72px;
  border: 1px solid rgba(223, 245, 196, .34);
  border-radius: 4px;
  object-fit: cover;
  background: #fff;
}

.download-card-preview {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: .55rem;
  margin: 0 0 .35rem;
  padding: .5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.download-card-preview img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
}

.download-card-preview figcaption {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 800;
}

.social-logo {
  --float-y: 0rem;
  --float-rotate: 0deg;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 0 rgba(63, 47, 36, .20);
  animation: social-float 4.8s ease-in-out infinite;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.social-logo:nth-child(2) {
  animation-delay: -.7s;
}

.social-logo:nth-child(3) {
  animation-delay: -1.35s;
}

.social-logo:nth-child(4) {
  animation-delay: -2.05s;
}

.social-logo:nth-child(5) {
  animation-delay: -2.75s;
}

.social-logo:hover {
  animation-play-state: paused;
  filter: saturate(1.08);
  transform: translateY(calc(var(--float-y) - 6px)) rotate(var(--float-rotate)) scale(1.04);
  box-shadow: 0 7px 0 rgba(63, 47, 36, .18);
}

.social-logo:active {
  transform: translateY(1px);
  box-shadow: 0 2px 0 rgba(63, 47, 36, .24);
}

.social-logo svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.social-logo.facebook {
  background: #1877f2;
}

.social-logo.instagram {
  background: #c13584;
}

.social-logo.youtube {
  background: #ff0033;
}

.social-logo.tiktok {
  background: #111;
}

.social-logo.whatsapp {
  background: #25d366;
}

.section-cta {
  width: min(1100px, 100%);
  margin: 1.2rem auto 0;
}

.download-list {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.download-entry {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.download-cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #fff;
  border-bottom: 2px solid var(--line);
}

.download-body {
  display: grid;
  align-content: start;
  gap: .85rem;
  padding: clamp(1rem, 3vw, 1.5rem);
}

.download-body h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: 0;
}

.download-body p {
  margin: 0;
  color: var(--muted);
}

.blog-resource-entry time {
  color: var(--muted);
  font-weight: 900;
}

.entry-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  align-items: center;
}

.entry-actions .share-button {
  background: #fff8ea;
}

.share-button.is-copied {
  background: #dff7d4;
}

.download-product {
  display: grid;
  grid-template-columns: 92px 1fr;
  align-items: center;
  gap: .8rem;
  margin: .2rem 0;
  padding: .75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.download-product img {
  width: 92px;
  height: 92px;
  border-radius: 8px;
  object-fit: cover;
}

.download-product figcaption {
  color: var(--muted);
  font-weight: 800;
}

.resource-links {
  width: min(900px, 100%);
  margin: 1.25rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  text-align: left;
}

.resource-links article {
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
}

.resource-links h3 {
  margin: 0 0 .35rem;
  font-size: 1.05rem;
}

.resource-links p {
  margin: 0 0 .4rem;
  color: var(--muted);
}

.text-link {
  color: var(--ink);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--green-deep);
}

.cafecito-hero {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 2rem;
  align-items: center;
}

.cafecito-hero img {
  width: min(420px, 100%);
  margin: 0 auto;
  border: 4px solid var(--ink);
  border-radius: 8px;
  background: #fff;
}

.channels-band {
  background:
    linear-gradient(135deg, rgba(223, 245, 196, .95), rgba(255, 248, 234, .98)),
    var(--surface);
}

.channel-grid {
  align-items: stretch;
}

.channel-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: space-between;
}

.channel-card h2 {
  margin: .75rem 0 .4rem;
  font-size: 1.5rem;
  letter-spacing: 0;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .45s ease, transform .45s ease;
}

@keyframes gentle-bob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes social-float {
  0%, 100% {
    transform: translateY(var(--float-y)) rotate(var(--float-rotate));
  }
  50% {
    transform: translateY(calc(var(--float-y) - 5px)) rotate(var(--float-rotate));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2fr minmax(220px, 1fr);
  gap: 1rem;
  padding: 2rem clamp(1rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #fff8ea, #eef8df);
}

.footer-block {
  border: 2px solid rgba(18, 140, 74, .22);
  border-radius: 8px;
  background: linear-gradient(180deg, #effbdc, #dff5c4);
  padding: 1rem;
  box-shadow: 0 8px 22px rgba(63, 47, 36, .10);
}

.footer-block strong {
  display: block;
  margin-bottom: .55rem;
  color: var(--ink);
}

.site-footer p {
  margin: .35rem 0 0;
  color: var(--muted);
}

.site-footer a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  text-underline-offset: 4px;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.site-footer a.is-active {
  color: var(--green-deep);
  text-decoration: underline;
}

@media (max-width: 760px) {
  .site-header,
  .site-footer,
  .cafecito-hero {
    grid-template-columns: 1fr;
  }

  .site-header {
    display: flex;
  }

  .brand span {
    font-size: .98rem;
  }

  .menu-shell {
    justify-self: end;
  }

  .site-nav {
    width: min(300px, calc(100vw - 2rem));
  }

  .site-nav a,
  .button {
    width: 100%;
  }

  .site-nav a {
    min-height: 38px;
    padding: .5rem .6rem;
  }

  .hero {
    min-height: min(690px, 88vh);
    padding: 2rem 1rem;
  }

  .hero-social-bubbles {
    top: 5.2rem;
    left: 1rem;
    width: calc(100% - 2rem);
    gap: .55rem;
  }

  .hero-social-bubbles .social-logo {
    width: clamp(42px, 12vw, 50px);
    height: clamp(42px, 12vw, 50px);
    border-width: 3px;
  }

  .hero-social-bubbles .social-logo svg {
    width: 24px;
    height: 24px;
  }

  .carousel-heading {
    align-items: flex-start;
  }

  .tutorial-carousel {
    grid-auto-columns: minmax(230px, 78vw);
    margin-inline: -1rem;
    padding-inline: 1rem;
    scroll-padding-inline: 1rem;
  }

  .tutorial-card img {
    aspect-ratio: 1 / 1;
  }

  .games-promo-card {
    grid-template-columns: 1fr;
  }

  .games-promo-actions {
    justify-content: stretch;
  }

  .coming-soon-card {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .resource-entry-list {
    gap: .85rem;
  }

  .resource-entry a {
    min-height: 230px;
  }

  .resource-entry-overlay {
    gap: .25rem;
    padding: 1rem;
  }

  .resource-entry-overlay h2,
  .resource-entry-overlay h3 {
    font-size: clamp(1.1rem, 7vw, 1.45rem);
  }

  .resource-entry-overlay p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: .92rem;
  }

  .wallpaper-collection-heading {
    grid-template-columns: 1fr;
  }

  .wallpaper-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
  }

  .wallpaper-preview {
    height: 240px;
    padding: .55rem;
  }

  .wallpaper-card-body {
    padding: .75rem;
  }

  .wallpaper-card .entry-actions {
    display: grid;
  }

  .download-cover {
    min-height: 190px;
    aspect-ratio: 16 / 9;
  }

  .download-product {
    grid-template-columns: 72px 1fr;
  }

  .download-product img {
    width: 72px;
    height: 72px;
  }
}
