:root {
  --bg: #040915;
  --bg-2: #071027;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(160, 190, 255, 0.1);
  --border-strong: rgba(160, 190, 255, 0.2);
  --primary: #2f7bff;
  --primary-2: #5aa2ff;
  --primary-deep: #1f5bff;
  --cyan: #38d6ff;
  --green: #34e3a4;
  --amber: #ffc24b;
  --pink: #ff6b9a;
  --text: #f3f6ff;
  --muted: #8f9cbc;
  --muted-2: #61709a;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --glow: 0 10px 40px -10px rgba(47, 123, 255, 0.55);
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;

  --c-quadra: var(--primary);
  --c-parque: var(--green);
  --c-gratuita: var(--amber);
  --c-evento: var(--pink);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

::selection {
  background: rgba(47, 123, 255, 0.4);
}

:focus-visible {
  outline: 2px solid var(--primary-2);
  outline-offset: 3px;
  border-radius: 8px;
}

.container {
  width: min(1200px, 100% - 48px);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--primary);
  transition: top 0.2s;
}
.skip-link:focus {
  top: 16px;
}

.text-gradient {
  background: linear-gradient(100deg, #8fc0ff 0%, var(--primary) 45%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s;
}
.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease);
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary-2), var(--primary-deep));
  color: #fff;
  box-shadow: var(--glow), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px -10px rgba(47, 123, 255, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.btn--ghost {
  border: 1px solid var(--border-strong);
  background: var(--surface);
}
.btn--ghost:hover {
  border-color: rgba(90, 162, 255, 0.5);
  background: rgba(47, 123, 255, 0.08);
}

.btn--glass {
  background: rgba(7, 16, 39, 0.7);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: 40px;
  padding: 0 16px;
  font-size: 14px;
}
.btn--glass:hover {
  border-color: var(--primary);
}
.btn--glass:hover svg {
  transform: none;
}

.btn--lg {
  height: 56px;
  padding: 0 30px;
  font-size: 16px;
}

.btn--block {
  width: 100%;
}

.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.icon-btn:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
}

.link-btn {
  color: var(--primary-2);
  font-size: 14px;
  font-weight: 600;
}
.link-btn:hover {
  text-decoration: underline;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(90, 162, 255, 0.25);
  background: rgba(47, 123, 255, 0.08);
  color: var(--primary-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(56, 214, 255, 0.6);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(56, 214, 255, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(56, 214, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 214, 255, 0); }
}

/* ============ Header ============ */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(4, 9, 21, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-color: var(--border);
}
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo__mark {
  width: 34px;
  height: 34px;
  padding: 3px;
  border-radius: 10px;
  background: linear-gradient(145deg, #0b1a3d, #071027);
  border: 1px solid rgba(90, 162, 255, 0.25);
  box-shadow: 0 6px 20px -6px rgba(47, 123, 255, 0.6);
  stroke: none;
  transition: transform 0.5s var(--ease);
}
.logo:hover .logo__mark {
  transform: rotate(-8deg) scale(1.05);
}
.logo__text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
}
.nav__link {
  position: relative;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s, background 0.2s;
}
.nav__link:hover {
  color: var(--text);
}
.nav__link.is-active {
  color: var(--text);
  background: rgba(47, 123, 255, 0.16);
}
.nav__cta-mobile {
  display: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.menu-toggle {
  display: none;
}

.fav-counter__badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--primary);
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  transform: scale(0);
  transition: transform 0.3s var(--ease);
}
.fav-counter.has-items .fav-counter__badge {
  transform: scale(1);
}
.fav-counter.bump {
  animation: bump 0.45s var(--ease);
}
@keyframes bump {
  40% { transform: scale(1.18); }
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 70% 10%, rgba(31, 91, 255, 0.18), transparent 60%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(140, 170, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 170, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
}
.hero__network {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.7;
}
.hero__glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero__glow--1 {
  width: 520px;
  height: 520px;
  right: -120px;
  top: 10%;
  background: rgba(47, 123, 255, 0.28);
  animation: drift 14s ease-in-out infinite alternate;
}
.hero__glow--2 {
  width: 380px;
  height: 380px;
  left: -140px;
  bottom: -60px;
  background: rgba(56, 214, 255, 0.12);
  animation: drift 18s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  to { transform: translate(-60px, 40px) scale(1.1); }
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 64px;
}
.hero__title {
  margin: 22px 0 20px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(42px, 6.2vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}
.hero__subtitle {
  max-width: 520px;
  margin: 0 0 32px;
  font-size: 18px;
  color: var(--muted);
}

.search {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 560px;
  padding: 7px 7px 7px 10px;
  border-radius: 999px;
  background: rgba(10, 20, 48, 0.75);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow), 0 0 0 6px rgba(47, 123, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.25s, box-shadow 0.25s;
}
.search:focus-within {
  border-color: rgba(90, 162, 255, 0.6);
  box-shadow: var(--shadow), 0 0 0 6px rgba(47, 123, 255, 0.14);
}
.search__field {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 10px;
  color: var(--muted);
}
.search__field svg {
  width: 18px;
  height: 18px;
  color: var(--primary-2);
}
.search__field select {
  width: 100%;
  min-width: 0;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  text-overflow: ellipsis;
}
.search__field select option {
  background: var(--bg-2);
}
.search__divider {
  width: 1px;
  height: 28px;
  background: var(--border-strong);
}
.search__btn {
  height: 48px;
}

.hero__stats {
  display: flex;
  gap: 36px;
  margin-top: 40px;
}
.stat {
  display: flex;
  flex-direction: column;
}
.stat strong {
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.stat__label {
  font-size: 14px;
  color: var(--muted);
}

/* Hero visual */
.hero__visual {
  position: relative;
  height: 560px;
}
.media {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(90, 162, 255, 0.35), transparent 60%),
    linear-gradient(135deg, #0d1d45, #071027);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), opacity 0.5s;
}
.media img.is-broken {
  opacity: 0;
}
.hero__photo {
  position: absolute;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}
.hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(4, 9, 21, 0.65));
}
.hero__photo--main {
  inset: 0 70px 40px 40px;
  animation: float 9s ease-in-out infinite;
}
.hero__photo--small {
  width: 200px;
  height: 240px;
  right: 0;
  bottom: 0;
  border-width: 4px;
  border-color: var(--bg);
  animation: float 9s ease-in-out -4s infinite;
}
@keyframes float {
  50% { transform: translateY(-12px); }
}

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(8, 17, 42, 0.78);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  font-size: 14px;
}
.float-card strong {
  display: block;
  font-weight: 600;
  font-size: 14px;
}
.float-card span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}
.float-card__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-2), var(--primary-deep));
}
.float-card__icon svg {
  width: 18px;
  height: 18px;
}
.float-card--place {
  left: 0;
  top: 48px;
  animation: float 7s ease-in-out -1s infinite;
}
.float-card--event {
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  left: 10px;
  bottom: 0;
  animation: float 8s ease-in-out -3s infinite;
}
.float-card__label {
  font-size: 11px !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary-2) !important;
}
.float-card--free {
  right: 30px;
  top: 0;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
  gap: 8px;
  animation: float 6s ease-in-out -2s infinite;
}
.float-card--free svg {
  width: 16px;
  height: 16px;
  color: var(--green);
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.dot--green {
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.avatars {
  display: flex;
  margin-top: 4px;
}
.avatars span {
  display: grid !important;
  place-items: center;
  min-width: 30px;
  height: 30px;
  padding: 0 6px;
  margin-left: -8px;
  border-radius: 999px;
  border: 2px solid #0a1531;
  background: hsl(var(--h) 80% 55%);
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 700;
}
.avatars span:first-child {
  margin-left: 0;
}
.avatars span:last-child {
  background: #1a2b5a;
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  width: 26px;
  height: 42px;
  margin-left: -13px;
  border-radius: 999px;
  border: 2px solid var(--border-strong);
}
.scroll-hint span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 4px;
  background: var(--primary-2);
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(14px); }
}

/* ============ Marquee ============ */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: linear-gradient(90deg, rgba(47, 123, 255, 0.06), rgba(56, 214, 255, 0.04));
  padding: 18px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 36px;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee__track span {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: rgba(243, 246, 255, 0.55);
  text-transform: uppercase;
}
.marquee__track i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--primary);
  transform: rotate(45deg);
}
@keyframes marquee {
  to { transform: translateX(calc(-50% - 18px)); }
}

/* ============ Sections ============ */
.section {
  position: relative;
  padding: 120px 0;
}
.section__head {
  max-width: 640px;
  margin-bottom: 48px;
}
.section__head--row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.section__head--row .section__text {
  max-width: 400px;
  margin: 0;
}
.section__head--center {
  margin-inline: auto;
  text-align: center;
}
.section__title {
  margin: 18px 0 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.section__head--row .section__title {
  margin-bottom: 0;
}
.section__text {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

/* ============ Explore ============ */
.explore {
  background: linear-gradient(180deg, var(--bg), var(--bg-2) 50%, var(--bg));
}
.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.toolbar__search {
  flex: 1 1 260px;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid transparent;
  color: var(--muted);
  transition: border-color 0.2s;
}
.toolbar__search:focus-within {
  border-color: rgba(90, 162, 255, 0.5);
}
.toolbar__search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 15px;
}
.toolbar__search input::placeholder {
  color: var(--muted-2);
}
.toolbar__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.segmented {
  position: relative;
  display: flex;
  padding: 4px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
  overflow-x: auto;
  scrollbar-width: none;
}
.segmented::-webkit-scrollbar {
  display: none;
}
.segmented__btn {
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.2s, background 0.25s;
}
.segmented__btn:hover {
  color: var(--text);
}
.segmented__btn.is-active {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 18px -6px rgba(47, 123, 255, 0.8);
}

.switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  user-select: none;
}
.switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.switch__track {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.25s;
}
.switch__thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.3s var(--ease);
}
.switch input:checked + .switch__track {
  background: var(--primary);
}
.switch input:checked + .switch__track .switch__thumb {
  transform: translateX(18px);
}
.switch input:focus-visible + .switch__track {
  outline: 2px solid var(--primary-2);
  outline-offset: 2px;
}
.switch:has(input:checked) {
  color: var(--text);
}

.select {
  height: 42px;
  padding: 0 36px 0 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f9cbc' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px;
  font-size: 14px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}
.select option {
  background: var(--bg-2);
}

.chips {
  display: flex;
  gap: 8px;
  margin: 16px 0 28px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar {
  display: none;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 16px 0 6px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--muted);
  transition: all 0.25s var(--ease);
}
.chip--all {
  padding-left: 16px;
}
.chip img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: #12224d;
}
.chip:hover {
  color: var(--text);
  border-color: var(--border-strong);
}
.chip.is-active {
  color: #fff;
  border-color: var(--primary);
  background: rgba(47, 123, 255, 0.18);
  box-shadow: inset 0 0 0 1px var(--primary);
}

.view-toggle {
  display: none;
}

.explore__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.explore__list {
  min-width: 0;
}
.results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--muted);
}
.results-bar strong {
  color: var(--text);
}

.cards {
  display: grid;
  gap: 14px;
  max-height: 680px;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(90, 162, 255, 0.3) transparent;
}
.cards::-webkit-scrollbar {
  width: 6px;
}
.cards::-webkit-scrollbar-thumb {
  background: rgba(90, 162, 255, 0.3);
  border-radius: 10px;
}

.place {
  position: relative;
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  transition: border-color 0.25s, background 0.25s, transform 0.35s var(--ease);
  animation: cardIn 0.5s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 45ms);
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(14px); }
}
.place:hover,
.place.is-highlight {
  border-color: rgba(90, 162, 255, 0.45);
  background: rgba(47, 123, 255, 0.07);
  transform: translateX(4px);
}
.place__media {
  height: 120px;
  border-radius: 14px;
}
.place:hover .place__media img {
  transform: scale(1.08);
}
.place__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 2px 34px 2px 0;
}
.place__top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  background: color-mix(in srgb, var(--c) 16%, transparent);
  color: color-mix(in srgb, var(--c) 80%, white);
  --c: var(--primary);
}
.badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--c);
}
.badge[data-type="quadra"] { --c: var(--c-quadra); }
.badge[data-type="parque"] { --c: var(--c-parque); }
.badge[data-type="gratuita"] { --c: var(--c-gratuita); }
.badge[data-type="evento"] { --c: var(--c-evento); }

.badge--free {
  --c: var(--green);
}
.badge--free::before {
  display: none;
}

.place__title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.place__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 13px;
  color: var(--muted);
}
.place__meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.place__meta svg {
  width: 14px;
  height: 14px;
}
.place__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 8px;
  font-size: 13px;
}
.rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}
.rating svg {
  width: 14px;
  height: 14px;
  fill: var(--amber);
  stroke: var(--amber);
}
.place__people {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  white-space: nowrap;
}
.place__people svg {
  width: 14px;
  height: 14px;
}

.fav-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--muted);
  transition: color 0.2s, background 0.2s, transform 0.3s var(--ease);
}
.fav-btn:hover {
  background: var(--surface-2);
  color: var(--text);
}
.fav-btn svg {
  width: 18px;
  height: 18px;
}
.fav-btn.is-on {
  color: var(--pink);
}
.fav-btn.is-on svg {
  fill: var(--pink);
}
.fav-btn.pop {
  animation: bump 0.4s var(--ease);
}

.empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 60px 20px;
  border-radius: var(--radius);
  border: 1px dashed var(--border-strong);
  text-align: center;
}
.empty p {
  margin: 0 0 10px;
  color: var(--muted);
}
.empty__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(47, 123, 255, 0.12);
  color: var(--primary-2);
}

/* Map */
.explore__map {
  position: sticky;
  top: calc(var(--header-h) + 16px);
}
.map {
  position: relative;
  height: 720px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  box-shadow: var(--shadow);
  background:
    linear-gradient(rgba(120, 160, 255, 0.05) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(120, 160, 255, 0.05) 1px, transparent 1px) 0 0 / 32px 32px,
    radial-gradient(circle at 50% 48%, rgba(47, 123, 255, 0.12), transparent 60%),
    #081129;
}
.map__svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.map__svg * {
  vector-effect: non-scaling-stroke;
}
.map__labels span {
  position: absolute;
  z-index: 1;
  translate: -50% -50%;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(200, 215, 255, 0.34);
  white-space: nowrap;
  pointer-events: none;
}
.map__me {
  position: absolute;
  z-index: 2;
  transform: translate(-50%, -50%);
}
.map__me span {
  display: block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--cyan);
  border: 3px solid #fff;
  box-shadow: 0 0 0 0 rgba(56, 214, 255, 0.5);
  animation: me 2.2s infinite;
}
@keyframes me {
  0% { box-shadow: 0 0 0 0 rgba(56, 214, 255, 0.45); }
  100% { box-shadow: 0 0 0 36px rgba(56, 214, 255, 0); }
}
.map__pins {
  position: absolute;
  inset: 0;
  z-index: 3;
}
.pin {
  position: absolute;
  width: 38px;
  height: 46px;
  margin: -46px 0 0 -19px;
  transform-origin: 50% 100%;
  transition: scale 0.3s var(--ease), opacity 0.3s, filter 0.3s;
  animation: pinIn 0.5s var(--ease) both;
  animation-delay: calc(var(--i, 0) * 40ms);
}
.pin__drop {
  position: absolute;
  left: 3px;
  top: 2px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50% 50% 50% 4px;
  transform: rotate(-45deg);
  background: var(--c, var(--primary));
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 20px -4px color-mix(in srgb, var(--c, var(--primary)) 70%, transparent);
}
.pin__drop svg {
  transform: rotate(45deg);
  width: 15px;
  height: 15px;
  color: #fff;
  stroke-width: 2.4;
}
.pin[data-type="quadra"] { --c: var(--c-quadra); }
.pin[data-type="parque"] { --c: var(--c-parque); }
.pin[data-type="gratuita"] { --c: var(--c-gratuita); }
.pin[data-type="evento"] { --c: var(--c-evento); }
.pin:hover,
.pin.is-highlight {
  scale: 1.25;
  z-index: 5;
}
.pin.is-dim {
  opacity: 0.15;
  filter: grayscale(1);
  pointer-events: none;
}
@keyframes pinIn {
  from { opacity: 0; translate: 0 -12px; }
}
.pin__tip {
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  translate: -50% 0;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(4, 9, 21, 0.92);
  border: 1px solid var(--border-strong);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.pin:hover .pin__tip,
.pin.is-highlight .pin__tip {
  opacity: 1;
}

.map__legend {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(4, 9, 21, 0.75);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 12px;
  color: var(--muted);
}
.map__legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--c);
}
.legend-dot[data-type="quadra"] { --c: var(--c-quadra); }
.legend-dot[data-type="parque"] { --c: var(--c-parque); }
.legend-dot[data-type="gratuita"] { --c: var(--c-gratuita); }
.legend-dot[data-type="evento"] { --c: var(--c-evento); }

.map__locate {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 4;
}
.map__locate svg {
  width: 16px;
  height: 16px;
  color: var(--cyan);
}

/* ============ Sports ============ */
.sports__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.sport {
  position: relative;
  height: 320px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  text-align: left;
  isolation: isolate;
  transition: transform 0.45s var(--ease), border-color 0.3s, box-shadow 0.45s var(--ease);
}
.sport:nth-child(1),
.sport:nth-child(6) {
  grid-column: span 2;
}
.sport .media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.sport::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(4, 9, 21, 0.05) 20%, rgba(4, 9, 21, 0.92));
  transition: background 0.4s;
}
.sport:hover {
  transform: translateY(-6px);
  border-color: rgba(90, 162, 255, 0.5);
  box-shadow: 0 30px 60px -25px rgba(47, 123, 255, 0.55);
}
.sport:hover .media img {
  transform: scale(1.08);
}
.sport:hover::after {
  background: linear-gradient(180deg, rgba(31, 91, 255, 0.1) 10%, rgba(4, 9, 21, 0.92));
}
.sport__content {
  position: absolute;
  inset: auto 0 0;
  padding: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.sport__count {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 12px;
  font-weight: 600;
}
.sport h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.sport p {
  margin: 4px 0 0;
  font-size: 14px;
  color: rgba(243, 246, 255, 0.7);
}
.sport__arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.3s, transform 0.4s var(--ease);
}
.sport:hover .sport__arrow {
  background: var(--primary);
  transform: rotate(-45deg);
}

/* ============ Events ============ */
.events {
  background: linear-gradient(180deg, var(--bg), var(--bg-2));
}
.events__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.event {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.3s;
}
.event:hover {
  transform: translateY(-6px);
  border-color: rgba(90, 162, 255, 0.4);
}
.event__media {
  height: 170px;
}
.event:hover .event__media img {
  transform: scale(1.06);
}
.event__date {
  position: absolute;
  top: 14px;
  left: 14px;
  display: grid;
  justify-items: center;
  min-width: 58px;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(4, 9, 21, 0.82);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  line-height: 1;
}
.event__date strong {
  font-family: var(--font-display);
  font-size: 24px;
}
.event__date span {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary-2);
}
.event__countdown {
  position: absolute;
  right: 14px;
  top: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--primary);
  font-size: 12px;
  font-weight: 600;
}
.event__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;
}
.event__title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
}
.event__place {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--muted);
}
.event__place svg {
  width: 14px;
  height: 14px;
}
.progress {
  margin-top: auto;
  margin-bottom: 16px;
}
.progress__info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 13px;
  color: var(--muted);
}
.progress__info strong {
  color: var(--text);
}
.progress__bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.progress__bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
  transition: width 1.2s var(--ease);
}
.event.is-full .progress__bar span {
  background: linear-gradient(90deg, var(--amber), var(--pink));
}
.event .btn {
  height: 42px;
  font-size: 14px;
}
.event .btn.is-done {
  background: rgba(52, 227, 164, 0.14);
  color: var(--green);
  box-shadow: inset 0 0 0 1px rgba(52, 227, 164, 0.4);
}

/* ============ Steps ============ */
.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 0% 0%, rgba(47, 123, 255, 0.12), transparent 50%),
    var(--surface);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.step:hover {
  border-color: rgba(90, 162, 255, 0.4);
  transform: translateY(-4px);
}
.step__num {
  position: absolute;
  top: 18px;
  right: 24px;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  color: rgba(160, 190, 255, 0.07);
}
.step__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary-2), var(--primary-deep));
  box-shadow: var(--glow);
}
.step__icon svg {
  width: 24px;
  height: 24px;
}
.step h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
}
.step p {
  margin: 0;
  color: var(--muted);
}

/* ============ Impact ============ */
.impact__card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  padding: 56px;
  border-radius: 32px;
  border: 1px solid var(--border-strong);
  background:
    radial-gradient(circle at 100% 0%, rgba(47, 123, 255, 0.2), transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(56, 214, 255, 0.08), transparent 50%),
    linear-gradient(135deg, #0a1636, #060d22);
  overflow: hidden;
}
.impact__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.impact__stat {
  padding: 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}
.impact__stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(34px, 3.5vw, 46px);
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(100deg, #fff, var(--primary-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.impact__stat p {
  margin: 10px 0 8px;
  font-size: 14px;
  color: rgba(243, 246, 255, 0.82);
  line-height: 1.45;
}
.impact__stat small {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ============ About ============ */
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.about__media {
  position: relative;
}
.about__photo {
  aspect-ratio: 4 / 5;
  border-radius: 32px;
  border: 1px solid var(--border-strong);
}
.about__badge {
  position: absolute;
  right: -24px;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 18px;
  background: rgba(8, 17, 42, 0.85);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}
.about__badge svg {
  width: 28px;
  height: 28px;
  color: var(--amber);
}
.about__badge strong {
  display: block;
}
.about__badge span {
  font-size: 13px;
  color: var(--muted);
}
.about__content .section__text + .section__text {
  margin-top: 14px;
}
.values {
  display: grid;
  gap: 14px;
  margin: 32px 0;
  padding: 0;
  list-style: none;
}
.values li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.values__icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(47, 123, 255, 0.15);
  color: var(--primary-2);
}
.values__icon svg {
  width: 16px;
  height: 16px;
}
.values strong {
  display: block;
  margin-bottom: 2px;
}
.values p {
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}
.about__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============ CTA ============ */
.cta {
  padding-top: 40px;
}
.cta__card {
  position: relative;
  padding: 88px 40px;
  border-radius: 36px;
  border: 1px solid rgba(90, 162, 255, 0.3);
  background: linear-gradient(135deg, #0d2366, #071232 60%);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.cta__card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(140, 170, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 170, 255, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse at center, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 70%);
}
.cta__glow {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: 600px;
  height: 300px;
  translate: -50% -50%;
  background: rgba(47, 123, 255, 0.45);
  filter: blur(100px);
  border-radius: 50%;
}
.cta h2 {
  max-width: 760px;
  margin: 0 auto 32px;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

/* ============ Footer ============ */
.footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--border);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
}
.footer__brand p {
  margin: 12px 0 0;
  color: var(--muted);
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  align-items: center;
}
.footer__links a {
  color: var(--muted);
  font-size: 15px;
  transition: color 0.2s;
}
.footer__links a:hover {
  color: var(--text);
}
.footer__note {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted-2);
}

/* ============ Modal ============ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 20px;
  visibility: hidden;
  pointer-events: none;
}
.modal.is-open {
  visibility: visible;
  pointer-events: auto;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 5, 14, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s;
}
.modal.is-open .modal__backdrop {
  opacity: 1;
}
.modal__dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-strong);
  background: #081129;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translateY(24px) scale(0.97);
  transition: opacity 0.3s, transform 0.4s var(--ease);
}
.modal.is-open .modal__dialog {
  opacity: 1;
  transform: none;
}
.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: rgba(4, 9, 21, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal__hero {
  height: 230px;
}
.modal__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, #081129);
}
.modal__content {
  padding: 4px 28px 28px;
  margin-top: -36px;
  position: relative;
}
.modal__content--plain {
  margin-top: 0;
  padding-top: 32px;
}
.modal__title {
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.modal__desc {
  margin: 0 0 20px;
  color: var(--muted);
}
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}
.info {
  display: flex;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.info svg {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--primary-2);
}
.info small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.info strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}
.tag {
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  font-size: 13px;
  color: var(--muted);
}
.modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
}
.modal__actions .btn {
  padding: 0 14px;
}
.modal .eyebrow svg {
  width: 14px;
  height: 14px;
}
.modal__actions .icon-btn {
  width: 46px;
  height: 46px;
}
.modal__actions .icon-btn.is-on {
  color: var(--pink);
  border-color: rgba(255, 107, 154, 0.4);
}
.modal__actions .icon-btn.is-on svg {
  fill: var(--pink);
}

/* Forms */
.form {
  display: grid;
  gap: 14px;
}
.field {
  display: grid;
  gap: 6px;
}
.field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--border-strong);
  background: rgba(0, 0, 0, 0.3);
  outline: none;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea {
  height: 96px;
  padding: 12px 14px;
  resize: vertical;
  font: inherit;
}
.field select option {
  background: var(--bg-2);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(47, 123, 255, 0.15);
}
.field.has-error input,
.field.has-error select {
  border-color: var(--pink);
}
.field__error {
  display: none;
  font-size: 12px;
  color: var(--pink);
}
.field.has-error .field__error {
  display: block;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.success {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 48px 28px 36px;
  text-align: center;
}
.success__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: rgba(52, 227, 164, 0.14);
  color: var(--green);
  animation: popIn 0.6s var(--ease);
}
.success__icon svg {
  width: 34px;
  height: 34px;
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: draw 0.6s 0.2s var(--ease) forwards;
}
@keyframes popIn {
  from { transform: scale(0.4); opacity: 0; }
}
@keyframes draw {
  to { stroke-dashoffset: 0; }
}
.success h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
}
.success p {
  margin: 0 0 18px;
  color: var(--muted);
}

/* Favorites list */
.fav-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.fav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-align: left;
  width: 100%;
  transition: border-color 0.2s;
}
.fav-item:hover {
  border-color: var(--border-strong);
}
.fav-item .media {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  flex-shrink: 0;
}
.fav-item strong {
  display: block;
  font-size: 14px;
}
.fav-item span {
  font-size: 13px;
  color: var(--muted);
}

/* ============ Toast ============ */
.toast-stack {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 400;
  display: grid;
  gap: 8px;
  translate: -50% 0;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 14px;
  background: rgba(10, 20, 48, 0.94);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  animation: toastIn 0.4s var(--ease);
}
.toast svg {
  width: 18px;
  height: 18px;
  color: var(--green);
}
.toast.is-leaving {
  animation: toastOut 0.3s ease forwards;
}
@keyframes toastIn {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
}
@keyframes toastOut {
  to { opacity: 0; transform: translateY(10px); }
}

/* ============ Reveal ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.hero .reveal:nth-child(2) { transition-delay: 0.08s; }
.hero .reveal:nth-child(3) { transition-delay: 0.16s; }
.hero .reveal:nth-child(4) { transition-delay: 0.24s; }
.hero .reveal:nth-child(5) { transition-delay: 0.32s; }
.hero__visual.reveal { transition-delay: 0.2s; }
.steps__grid .reveal:nth-child(2),
.sports__grid .reveal:nth-child(2n) { transition-delay: 0.1s; }
.steps__grid .reveal:nth-child(3),
.sports__grid .reveal:nth-child(3n) { transition-delay: 0.2s; }

/* ============ Responsive ============ */
@media (max-width: 1100px) {
  .events__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sports__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .sport:nth-child(1),
  .sport:nth-child(6) {
    grid-column: span 1;
  }
  .toolbar__search {
    flex-basis: 100%;
  }
}

@media (max-width: 960px) {
  :root {
    --header-h: 68px;
  }
  .menu-toggle {
    display: grid;
  }
  .header__cta {
    display: none;
  }
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 12px;
    right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px;
    border-radius: var(--radius);
    background: rgba(6, 13, 32, 0.97);
    border-color: var(--border-strong);
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.25s, transform 0.3s var(--ease);
  }
  .nav.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav__link {
    padding: 14px 16px;
    font-size: 16px;
    border-radius: 12px;
  }
  .nav__cta-mobile {
    display: inline-flex;
    margin-top: 8px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .hero__content {
    text-align: center;
  }
  .hero__subtitle,
  .search {
    margin-inline: auto;
  }
  .hero__stats {
    justify-content: center;
  }
  .hero__visual {
    height: 460px;
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
  }
  .scroll-hint {
    display: none;
  }

  .section {
    padding: 88px 0;
  }
  .section__head--row {
    flex-direction: column;
    align-items: flex-start;
  }

  .view-toggle {
    display: inline-flex;
    padding: 4px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--border);
  }
  .view-toggle button {
    padding: 8px 22px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
  }
  .view-toggle button.is-active {
    background: var(--primary);
    color: #fff;
  }
  .explore__layout {
    grid-template-columns: 1fr;
  }
  .explore__layout[data-view="list"] .explore__map,
  .explore__layout[data-view="map"] .explore__list {
    display: none;
  }
  .explore__map {
    position: static;
  }
  .map {
    height: 520px;
  }
  .cards {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .impact__card {
    grid-template-columns: 1fr;
    padding: 36px;
  }
  .about__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about__media {
    max-width: 480px;
  }
  .about__badge {
    right: 16px;
  }
  .steps__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1200px, 100% - 32px);
  }
  .header__actions .fav-counter {
    width: 40px;
    height: 40px;
  }
  .hero {
    padding-top: calc(var(--header-h) + 28px);
  }
  .hero__subtitle {
    font-size: 16px;
  }
  .search {
    flex-direction: column;
    align-items: stretch;
    border-radius: 22px;
    padding: 8px;
  }
  .search__divider {
    width: auto;
    height: 1px;
    margin: 0 10px;
  }
  .search__btn {
    width: 100%;
  }
  .hero__stats {
    gap: 24px;
  }
  .stat strong {
    font-size: 24px;
  }
  .stat__label {
    font-size: 12px;
  }
  .hero__visual {
    height: 380px;
  }
  .hero__photo--main {
    inset: 20px 30px 50px 10px;
  }
  .hero__photo--small {
    width: 130px;
    height: 160px;
  }
  .float-card--place {
    top: 0;
    left: -4px;
  }
  .float-card--free {
    display: none;
  }

  .toolbar__right {
    width: 100%;
    justify-content: space-between;
  }
  .segmented {
    width: 100%;
  }
  .place {
    grid-template-columns: 96px 1fr;
    gap: 12px;
  }
  .place__media {
    height: 104px;
  }
  .place__meta span:nth-child(2) {
    display: none;
  }
  .place__body {
    padding-right: 28px;
  }
  .place__top {
    flex-wrap: wrap;
    gap: 6px;
  }
  .place__title {
    font-size: 15px;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .place__media {
    height: auto;
    min-height: 104px;
  }
  .map {
    height: 460px;
  }

  .sports__grid,
  .events__grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .sport {
    height: 220px;
    border-radius: var(--radius);
  }
  .sport__content {
    padding: 16px;
  }
  .sport h3 {
    font-size: 20px;
  }
  .sport p,
  .sport__arrow {
    display: none;
  }
  .events__grid {
    grid-template-columns: 1fr;
  }

  .impact__card {
    padding: 24px;
    border-radius: 24px;
  }
  .impact__stats {
    grid-template-columns: 1fr;
  }
  .cta__card {
    padding: 56px 24px;
    border-radius: 28px;
  }
  .footer__inner {
    grid-template-columns: 1fr;
  }
  .info-grid,
  .form__row {
    grid-template-columns: 1fr;
  }
  .modal {
    padding: 0;
    align-items: end;
  }
  .modal__dialog {
    border-radius: 24px 24px 0 0;
    max-height: 92dvh;
  }
  .modal__content {
    padding: 4px 20px 24px;
  }
  .toast {
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
