/* Taca Taca — landing page.
   Colours, fonts and shapes come straight from the game (lib/app/theme.dart). */

:root {
  --bg-top: #0f4b37;
  --bg-bottom: #05271c;
  --bg-deep: #041d15;
  --card: #14503c;
  --card-light: #1b634a;
  --border: rgba(72, 194, 143, 0.32);
  --green: #1fa35b;
  --emerald: #10c47a;
  --yellow: #ffc928;
  --yellow-dark: #f2a900;
  --red: #e53935;
  --blue: #1e6fe8;
  --text: #ffffff;
  --soft: #b7d6c7;
  --muted: #7fa595;
  --ink: #14201a;
  --radius: 20px;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

* {
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--bg-deep);
  color: var(--text);
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

h1,
h2,
h3,
.display-font {
  font-family: "Lilita One", "Poppins", sans-serif;
  letter-spacing: 0.3px;
}

a {
  color: var(--emerald);
  text-decoration: none;
}

a:hover {
  color: var(--yellow);
}

.skip {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2000;
  background: var(--yellow);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 600;
}

/* ---------------------------------------------------------------- nav ---- */

.site-nav {
  padding: 14px 0;
  background: transparent;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.site-nav.scrolled {
  background: rgba(4, 29, 21, 0.92);
  backdrop-filter: blur(12px);
  padding: 8px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.site-nav .nav-link {
  color: var(--soft);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 10px;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.navbar-toggler {
  border-color: var(--border);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23b7d6c7' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Bootstrap's blue focus ring has no place here: the keyboard gets a yellow
   outline and the mouse leaves nothing behind. */
:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

/* Bootstrap zeroes the outline and paints a blue shadow instead: this puts the
   outline back, in the brand colour, and only for the keyboard. */
.btn:focus-visible,
.nav-link:focus-visible,
.dropdown-item:focus-visible,
.lang-btn:focus-visible,
.navbar-toggler:focus-visible,
.btn-close:focus-visible {
  box-shadow: none;
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

.btn:focus:not(:focus-visible),
.nav-link:focus:not(:focus-visible),
.dropdown-item:focus:not(:focus-visible),
.lang-btn:focus:not(:focus-visible),
.navbar-toggler:focus:not(:focus-visible),
.btn-close:focus:not(:focus-visible) {
  box-shadow: none;
  outline: none;
}

/* The nav groups: four short menus instead of a row of eight links. */
.site-nav .nav-link.dropdown-toggle {
  display: inline-flex;
  align-items: center;
  background: none;
  border: 0;
  font: inherit;
  cursor: pointer;
}

/* Bootstrap's little triangle out, a chevron that turns over in. */
.site-nav .dropdown-toggle::after {
  display: none;
}

.nav-caret {
  width: 15px;
  height: 15px;
  margin-left: 6px;
  opacity: 0.7;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.site-nav .dropdown-toggle[aria-expanded="true"] .nav-caret {
  transform: rotate(180deg);
  opacity: 1;
}

.site-nav .dropdown-toggle[aria-expanded="true"] {
  color: var(--yellow);
}

.nav-menu {
  --bs-dropdown-bg: var(--card);
  --bs-dropdown-border-color: var(--border);
  --bs-dropdown-link-color: var(--soft);
  --bs-dropdown-link-hover-color: var(--ink);
  --bs-dropdown-link-hover-bg: var(--yellow);
  --bs-dropdown-link-active-color: var(--ink);
  --bs-dropdown-link-active-bg: var(--yellow);
  --bs-dropdown-divider-bg: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.nav-menu .dropdown-item {
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.94rem;
  font-weight: 500;
}

@media (max-width: 991px) {
  /* The burger panel is its own surface: a list of groups, then the actions. */
  .site-nav .navbar-collapse {
    margin-top: 12px;
    padding: 6px 8px 14px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: var(--bg-deep);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.5);
  }

  .site-nav .navbar-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
  }

  .site-nav .nav-item {
    flex: 0 0 100%;
  }

  .site-nav .nav-item.dropdown + .nav-item.dropdown .nav-link,
  .site-nav .nav-item-cta {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }

  /* Each group fills the row, with its chevron against the right edge. */
  .site-nav .nav-link.dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 14px 12px;
    font-size: 1.05rem;
  }

  .nav-caret {
    margin-left: auto;
  }

  /* The links of an open group hang under it, indented. */
  .nav-menu {
    border: 0;
    background: rgba(0, 0, 0, 0.22);
    border-radius: 14px;
    margin: 0 4px 10px;
    padding: 6px;
  }

  .nav-menu .dropdown-item {
    padding: 11px 14px;
  }

  /* Actions: the download button across, language and social side by side. */
  .site-nav .nav-item-cta {
    margin: 12px 0 0;
    padding-top: 14px;
  }

  .site-nav .nav-item-cta .btn {
    display: block;
    width: 100%;
    padding: 12px 18px;
    font-size: 1rem;
  }

  .site-nav .nav-item-lang,
  .site-nav .nav-item-social {
    flex: 0 0 auto;
    margin: 14px 0 0;
  }

  .site-nav .nav-item-social {
    margin-left: auto;
  }

  .site-nav .nav-item-lang .lang-btn {
    padding: 8px 18px;
  }
}

/* Phones and tablets need a real gutter: Bootstrap leaves only 12 px, so the
   cards end up touching the edge of the screen. */
@media (max-width: 1199.98px) {
  .container {
    padding-left: clamp(20px, 4.2vw, 46px);
    padding-right: clamp(20px, 4.2vw, 46px);
  }
}

/* Social links: same pill language as the rest of the bar. */
.social-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-link {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
  color: var(--soft);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.social-link svg {
  width: 19px;
  height: 19px;
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--yellow);
}

.site-footer .social-links {
  justify-content: flex-start;
}

@media (max-width: 479px) {
  .site-footer .social-links {
    justify-content: center;
  }
}


.lang-switch {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-btn:hover {
  color: #fff;
}

.lang-btn.active {
  background: var(--emerald);
  color: var(--ink);
}

/* -------------------------------------------------------------- buttons -- */

.btn-tt {
  border-radius: 999px;
  font-weight: 700;
  border: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 26px;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-tt:active {
  transform: translateY(1px);
}

.btn-tt-primary {
  background: linear-gradient(180deg, var(--yellow) 0%, var(--yellow-dark) 100%);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(255, 201, 40, 0.28);
}

.btn-tt-primary:hover {
  background: linear-gradient(180deg, #ffd75a 0%, var(--yellow) 100%);
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(255, 201, 40, 0.35);
}

.btn-tt-ghost {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border: 1px solid var(--border);
}

.btn-tt-ghost:hover {
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
  transform: translateY(-2px);
}

/* ----------------------------------------------------------------- hero -- */

.hero {
  position: relative;
  padding: 150px 0 90px;
  background: radial-gradient(120% 90% at 20% 0%, #16624a 0%, var(--bg-top) 45%, var(--bg-bottom) 100%);
  overflow: hidden;
}

/* The diagonal light bands of the game's background. */
.pitch-lines {
  position: absolute;
  inset: -20% -10%;
  background: repeating-linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.045) 0 90px,
    rgba(255, 255, 255, 0) 90px 220px
  );
  pointer-events: none;
}

.hero-logo {
  --logo-width: min(430px, 82%);
  width: var(--logo-width);
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.45));
  animation: logo-in 0.9s cubic-bezier(0.2, 1.1, 0.4, 1) both;
}

@keyframes logo-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-title {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.08;
  margin-bottom: 16px;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.hero-sub {
  color: var(--soft);
  font-size: 1.08rem;
  max-width: 520px;
  margin-bottom: 28px;
}

.text-lg-start .hero-sub {
  margin-left: 0;
}

.hero-sub,
.section-sub {
  margin-inline: auto;
}

@media (min-width: 992px) {
  .hero-sub {
    margin-inline: 0;
  }

  /* The artwork carries a soft halo around the stripes (about 4 % of its
     width), so it is pulled out to line the ink up with the text below. */
  .hero-logo {
    margin-left: calc(var(--logo-width) * -0.037);
  }
}

.platform-chips {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

@media (min-width: 992px) {
  .platform-chips {
    justify-content: flex-start;
  }
}

.platform-chips li {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--soft);
  background: rgba(0, 0, 0, 0.18);
}

.hero-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-shots {
  position: relative;
  padding: 10px 0 30px;
}

.hero-desktop {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  animation: float-slow 9s ease-in-out infinite;
}

.hero-phone {
  position: absolute;
  width: 27%;
  left: -6%;
  bottom: 0;
  border-radius: 22px;
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  animation: float-slow 7s ease-in-out infinite reverse;
}

@keyframes float-slow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 575.98px) {
  .hero {
    padding-top: 120px;
  }
  .hero-phone {
    left: 0;
    width: 32%;
  }
}

/* ---------------------------------------------------------------- stats -- */

.stats {
  background: var(--bg-deep);
  padding: 64px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 575px) {
  /* Two rows on a phone, so the strip needs a little less height. */
  .stats {
    padding: 44px 0;
  }
}

.stat-num {
  display: block;
  font-family: "Lilita One", sans-serif;
  font-size: 2.4rem;
  color: var(--yellow);
  line-height: 1;
}

.stat-label {
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

/* ------------------------------------------------------------- sections -- */

.section {
  padding: 84px 0;
  background: var(--bg-bottom);
}

.section-alt {
  background: linear-gradient(180deg, var(--bg-bottom) 0%, #0a3527 50%, var(--bg-bottom) 100%);
}

.eyebrow {
  text-align: center;
  color: var(--emerald);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 8px;
}

.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 10px;
}

.section-sub {
  text-align: center;
  color: var(--soft);
  max-width: 620px;
  margin: 0 auto 10px;
}

/* ------------------------------------------------------------- features -- */

.feature {
  position: relative;
  height: 100%;
  cursor: pointer;
  background: linear-gradient(180deg, var(--card) 0%, rgba(20, 80, 60, 0.6) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 201, 40, 0.5);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
}

.feature-icon {
  font-size: 1.9rem;
  display: block;
  margin-bottom: 12px;
}

.feature h3 {
  font-size: 1.22rem;
  margin-bottom: 8px;
}

.feature p {
  color: var(--soft);
  font-size: 0.95rem;
  margin: 0;
}

/* The hint is a real button so the keyboard can reach it; the click listener
   sits on the card, so pressing anywhere works too. */
.feature-open {
  display: inline-block;
  cursor: pointer;
  margin-top: 14px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--yellow);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  opacity: 0.75;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.feature-open::after {
  content: " →";
}

.feature:hover .feature-open {
  opacity: 1;
  transform: translateX(3px);
}

.feature:has(.feature-open:focus-visible) {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

.feature-open:focus-visible {
  outline: none;
  opacity: 1;
}

/* ------------------------------------------------------ feature modal -- */

.feature-modal {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--bg-bottom);
}

.feature-modal .btn-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  background-color: rgba(0, 0, 0, 0.55);
  border-radius: 50%;
  padding: 10px;
}

/* The shot is a taste of the screen, so it fades out instead of being cut. */
.feature-modal-shot {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  height: 260px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--bg-top) 0%, #0c4433 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 68%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 68%, transparent 100%);
}

.feature-modal-shot img {
  width: 100%;
  max-width: 340px;
  object-fit: cover;
  object-position: top center;
}

.feature-modal-shot.is-wide img {
  max-width: 100%;
}

.feature-modal-body {
  padding: 10px 28px 30px;
  margin-top: -18px;
}

.feature-modal-title {
  font-family: "Lilita One", sans-serif;
  font-size: 1.7rem;
  color: #fff;
  margin: 8px 0 10px;
}

.feature-modal-lead {
  color: var(--soft);
  font-size: 1.02rem;
  margin-bottom: 14px;
}

.feature-modal-detail {
  color: var(--soft);
  line-height: 1.75;
  margin-bottom: 18px;
}

.feature-modal-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.feature-modal-points li {
  position: relative;
  padding-left: 26px;
  color: #fff;
  font-size: 0.95rem;
}

.feature-modal-points li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald);
}

@media (max-width: 575px) {
  .feature-modal-body {
    padding: 22px 20px 26px;
  }

  .feature-modal-shot {
    height: 190px;
  }
}

/* ---------------------------------------------------------------- video -- */

.video-frame {
  margin: 34px auto 0;
  max-width: 980px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}

.video-frame video {
  display: block;
  width: 100%;
  height: auto;
}

/* -------------------------------------------------------------- gallery -- */

/* One strip of shots that scrolls; the arrows and the timer just move it. */
.gallery-carousel {
  position: relative;
  margin-top: 30px;
}

.gallery-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 4px 2px 10px;
}

.gallery-track::-webkit-scrollbar {
  display: none;
}

.gallery-track:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 6px;
  border-radius: 20px;
}

.shot {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: block;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: var(--card);
  padding: 0;
  cursor: zoom-in;
  margin: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.shot img {
  display: block;
  height: clamp(250px, 36vw, 386px);
  width: auto;
}

.shot:hover {
  border-color: rgba(255, 201, 40, 0.5);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
}

.shot-title {
  display: block;
  padding: 10px 14px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--soft);
  text-align: center;
}

.gallery-nav {
  position: absolute;
  top: calc(50% - 20px);
  transform: translateY(-50%);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(4, 29, 21, 0.86);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.gallery-nav svg {
  width: 22px;
  height: 22px;
}

.gallery-nav:hover,
.gallery-nav:focus-visible {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--ink);
}

.gallery-prev {
  left: -10px;
}

.gallery-next {
  right: -10px;
}

@media (max-width: 991px) {
  .gallery-nav {
    width: 40px;
    height: 40px;
  }

  .gallery-prev {
    left: -4px;
  }

  .gallery-next {
    right: -4px;
  }
}

/* The dialog wraps whatever the picture needs: the image is bounded by the
   window, never cropped, and the box shrinks to it. */
.shot-dialog {
  max-width: min(96vw, 1240px);
  width: fit-content;
}

.shot-modal {
  background: var(--bg-bottom);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  position: relative;
  width: fit-content;
  margin: 0 auto;
}

.shot-frame {
  display: flex;
  justify-content: center;
}

.shot-modal img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 150px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
}

.shot-modal .btn-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  padding: 10px;
}

.shot-caption {
  color: var(--soft);
  text-align: center;
  margin: 12px 0 4px;
  font-size: 0.92rem;
}

/* ------------------------------------------------------------ platforms -- */

.platform-shot {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.platform-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.platform-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding: 16px 4px;
}

/* The sprite only holds the symbols; nothing of it is painted. */
.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.pl-icon {
  flex: none;
  width: 46px;
  height: 46px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.22);
  color: #fff;
}

.platform-list li:hover .pl-icon {
  border-color: rgba(255, 201, 40, 0.45);
  color: var(--yellow);
}

.platform-list li:last-child {
  border-bottom: 0;
}

.pl-name {
  display: block;
  font-family: "Lilita One", sans-serif;
  font-size: 1.15rem;
  color: #fff;
}

.pl-note {
  color: var(--muted);
  font-size: 0.9rem;
}

/* ---------------------------------------------------------- play games -- */

#playgames {
  background: radial-gradient(70% 90% at 15% 30%, rgba(16, 196, 122, 0.1) 0%, transparent 70%);
}

.pgs-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}

/* Google asks for its mark on a light surface, and it reads better there. */
.pgs-logo {
  flex: none;
  width: 68px;
  height: 68px;
  padding: 11px;
  border-radius: 20px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4);
}

.pgs-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 14px;
}

.pgs-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card);
}

.pgs-icon {
  flex: none;
  width: 26px;
  height: 26px;
  margin-top: 2px;
  color: var(--yellow);
}

.pgs-name {
  display: block;
  font-family: "Lilita One", sans-serif;
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: 0.3px;
}

.pgs-note {
  color: var(--soft);
  font-size: 0.92rem;
}

.pgs-foot {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.pgs-shot {
  display: flex;
  justify-content: center;
}

.pgs-shot img {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 9 / 15;
  object-fit: cover;
  object-position: top center;
  border-radius: 26px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* ------------------------------------------------------------ legal ------ */

.legal-hero {
  position: relative;
  overflow: hidden;
  padding: 130px 0 10px;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
}

.legal-hero .eyebrow,
.legal-hero .section-title {
  position: relative;
}

.legal-section {
  padding-top: 26px;
}

.legal-card {
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--card);
  padding: 22px 26px;
  margin-bottom: 16px;
}

.legal-card h2:first-child,
.legal-card h3:first-child {
  margin-top: 0;
}

.legal-card p:last-child,
.legal-card ul:last-child,
.legal-card li:last-child {
  margin-bottom: 0;
}

@media (max-width: 575px) {
  .legal-card {
    padding: 20px 18px;
    border-radius: 18px;
  }
}

.legal {
  max-width: 760px;
  margin: 0 auto;
}



.legal-date {
  position: relative;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 0;
}

.legal-lead {
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.7;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--card);
}

.legal h2 {
  font-family: "Lilita One", sans-serif;
  font-size: 1.45rem;
  color: var(--yellow);
  margin: 36px 0 12px;
}

.legal h3 {
  font-family: "Lilita One", sans-serif;
  font-size: 1.1rem;
  color: #fff;
  margin: 24px 0 8px;
}

.legal p,
.legal li {
  color: var(--soft);
  line-height: 1.75;
}

.legal ul {
  padding-left: 20px;
}

.legal li {
  margin-bottom: 8px;
}

.legal li::marker {
  color: var(--emerald);
}

.legal strong {
  color: #fff;
  font-weight: 600;
}

.legal a {
  color: var(--yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ------------------------------------------------------------- press ----- */

.press-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 22px 0 0;
}

.factsheet {
  display: grid;
  grid-template-columns: minmax(120px, 170px) 1fr;
  gap: 10px 20px;
  margin: 0;
}

.factsheet dt {
  font-family: "Lilita One", sans-serif;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.3px;
}

.factsheet dd {
  margin: 0;
  color: var(--soft);
}

@media (max-width: 575px) {
  .factsheet {
    grid-template-columns: 1fr;
    gap: 2px 0;
  }

  .factsheet dd {
    margin-bottom: 12px;
  }
}

/* Text a journalist is meant to select and paste: it needs room to breathe and
   a clear edge, so nothing runs into its heading. */
.legal-card h3 + .press-quote {
  margin-top: 0;
}

.press-quote {
  border-left: 3px solid var(--emerald);
  padding: 2px 0 2px 18px;
  margin-bottom: 32px;
  color: var(--soft);
  line-height: 1.8;
}

.press-quote p {
  margin-bottom: 16px;
}

.press-quote p:last-child {
  margin-bottom: 0;
}

.press-quote:last-child {
  margin-bottom: 0;
}

.legal-card h3 {
  margin-top: 32px;
  margin-bottom: 14px;
  color: var(--yellow);
  font-size: 1rem;
  letter-spacing: 0.4px;
}

.legal-card h2 + h3 {
  margin-top: 22px;
}

/* ------------------------------------------------------------ donate ----- */

.donate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}

.donate-card {
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 28px 22px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: var(--card);
}

.donate-card-featured {
  border-color: rgba(255, 201, 40, 0.55);
  background: radial-gradient(90% 120% at 50% 0%, #17654b 0%, var(--card) 60%);
  box-shadow: var(--shadow);
}

.donate-tag {
  align-self: center;
  margin: -6px 0 10px;
  padding: 3px 12px;
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.donate-amount {
  font-family: "Lilita One", sans-serif;
  font-size: 2.4rem;
  line-height: 1.1;
  color: var(--yellow);
  margin: 0;
}

.donate-name {
  font-family: "Lilita One", sans-serif;
  font-size: 1.1rem;
  color: #fff;
  margin: 6px 0 8px;
}

.donate-note {
  color: var(--soft);
  font-size: 0.9rem;
  margin: 0 0 20px;
  flex: 1;
}

.donate-pending {
  max-width: 620px;
  margin: 26px auto 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
}

/* ------------------------------------------------------------- download -- */

.download-card {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 28px;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: radial-gradient(90% 120% at 50% 0%, #17654b 0%, var(--card) 55%, rgba(10, 53, 39, 0.9) 100%);
  box-shadow: var(--shadow);
}

.download-icon {
  border-radius: 26px;
  margin-bottom: 18px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}

.download-note {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}

/* ------------------------------------------------------------------ faq -- */

.faq-accordion {
  max-width: 760px;
  margin-top: 28px;
}

.faq-accordion .accordion-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px !important;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-accordion .accordion-button {
  background: transparent;
  color: #fff;
  font-weight: 600;
  box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--yellow);
  background: rgba(255, 201, 40, 0.08);
}

.faq-accordion .accordion-button::after {
  filter: invert(1) sepia(1) saturate(0) brightness(1.6);
}

.faq-accordion .accordion-body {
  color: var(--soft);
  font-size: 0.95rem;
}

/* --------------------------------------------------------------- footer -- */

.site-footer {
  background: var(--bg-deep);
  padding: 56px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Brand plus two link columns: wide enough to breathe, few enough to read. */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr));
  gap: 36px 40px;
}

@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 479px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

.footer-brand img {
  margin-bottom: 14px;
}

.footer-brand .footer-note {
  margin-bottom: 6px;
}

.footer-title {
  font-family: "Lilita One", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  color: #fff;
  margin-bottom: 12px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px 24px;
}


.footer-col a {
  color: var(--soft);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-col a:hover,
.footer-col a:focus {
  color: var(--yellow);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom .footer-note {
  max-width: 430px;
  font-size: 0.84rem;
}

/* Language picker and the fine print share the right-hand end. */
.footer-end {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.footer-end .footer-fine {
  max-width: 320px;
  text-align: right;
}

@media (max-width: 991px) {
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }

  .footer-bottom .footer-note {
    max-width: none;
  }

  .footer-end {
    margin-left: 0;
    flex-direction: column;
    gap: 12px;
  }

  .footer-end .footer-fine {
    max-width: none;
    text-align: center;
  }
}

.footer-note {
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-fine {
  color: rgba(127, 165, 149, 0.7);
  font-size: 0.76rem;
}

.footer-note a {
  color: var(--soft);
}

/* -------------------------------------------------------------- reveals -- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.shown {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero-logo,
  .hero-desktop,
  .hero-phone {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
