html {
  color-scheme: dark light;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.brand,
.nav-brand {
  min-width: 0;
}

.brand-text-main,
.brand-text-sub {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav-links a {
  white-space: nowrap;
}

.nav-cta {
  white-space: nowrap;
}

@media (max-width: 1120px) {
  .nav-links {
    gap: 14px !important;
    font-size: 14px !important;
  }
}

.theme-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #f8fafc;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.38);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(245, 194, 73, 0.62);
  box-shadow: 0 16px 36px rgba(2, 6, 23, 0.48);
}

.theme-toggle svg {
  position: absolute;
  width: 18px;
  height: 18px;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.theme-icon-sun {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

.theme-icon-moon {
  opacity: 0;
  transform: rotate(-28deg) scale(0.74);
}

html[data-theme="light"] .theme-icon-sun {
  opacity: 0;
  transform: rotate(28deg) scale(0.74);
}

html[data-theme="light"] .theme-icon-moon {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}

html[data-theme="light"] {
  --bg-page: #f4f7fb;
  --bg-gradient: radial-gradient(circle at top, #ffffff 0, #edf5ff 42%, #f8fafc 100%);
  --bg-card: rgba(255, 255, 255, 0.92);
  --bg-card-soft: #ffffff;
  --card-bg: rgba(255, 255, 255, 0.88);
  --card-bg-strong: rgba(255, 255, 255, 0.96);
  --card-border: rgba(15, 23, 42, 0.12);
  --bg: #f4f7fb;
  --bg-alt: #eaf1fb;
  --card: #ffffff;
  --card-soft: #f8fafc;
  --text-main: #0f172a;
  --text-soft: #475569;
  --text-muted: #64748b;
  --border-soft: rgba(15, 23, 42, 0.14);
  --border-strong: rgba(15, 23, 42, 0.22);
  --accent: #d99a13;
  --accent-soft: rgba(217, 154, 19, 0.14);
  --accent-strong: #b97700;
  --accent-blue: #0284c7;
  --primary: #d99a13;
  --primary-soft: rgba(217, 154, 19, 0.12);
  --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.14);
}

html[data-theme="light"] body {
  background:
    radial-gradient(circle at 12% 0, rgba(56, 189, 248, 0.18), transparent 38%),
    radial-gradient(circle at 88% 0, rgba(245, 194, 73, 0.2), transparent 42%),
    linear-gradient(180deg, #ffffff 0, #eef5ff 42%, #f8fafc 100%) !important;
  color: #0f172a;
}

html[data-theme="light"] header {
  background: rgba(255, 255, 255, 0.86) !important;
  border-bottom-color: rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.12) !important;
}

html[data-theme="light"] .nav-links a,
html[data-theme="light"] .brand-text-main,
html[data-theme="light"] .brand-text-sub,
html[data-theme="light"] .nav-brand [style],
html[data-theme="light"] .brand [style] {
  color: #1e293b !important;
}

html[data-theme="light"] .brand-text-sub,
html[data-theme="light"] .nav-brand [style*="0.7rem"],
html[data-theme="light"] .brand [style*="0.7rem"] {
  color: #64748b !important;
}

html[data-theme="light"] .nav-links.open {
  background: rgba(255, 255, 255, 0.98) !important;
  border-bottom-color: rgba(15, 23, 42, 0.12) !important;
}

html[data-theme="light"] .nav-toggle,
html[data-theme="light"] .theme-toggle {
  color: #0f172a;
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(15, 23, 42, 0.18);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .nav-cta {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 247, 214, 0.98)) !important;
  color: #92400e !important;
  border-color: rgba(217, 154, 19, 0.5) !important;
  box-shadow: 0 12px 30px rgba(217, 154, 19, 0.2) !important;
}

html[data-theme="light"] .page::before {
  background:
    radial-gradient(circle at 10% 0, rgba(56, 189, 248, 0.12), transparent 55%),
    radial-gradient(circle at 90% 0, rgba(245, 194, 73, 0.16), transparent 60%) !important;
}

html[data-theme="light"] .pill,
html[data-theme="light"] .hero-kicker,
html[data-theme="light"] .hero-badge,
html[data-theme="light"] .hero-tag,
html[data-theme="light"] .status-chip,
html[data-theme="light"] .year-link,
html[data-theme="light"] .card-kicker,
html[data-theme="light"] .focus-badge,
html[data-theme="light"] .launch-kicker {
  background: rgba(255, 255, 255, 0.78) !important;
  border-color: rgba(15, 23, 42, 0.14) !important;
  color: #334155 !important;
}

html[data-theme="light"] .hero-kicker {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 247, 214, 0.9)) !important;
  border-color: rgba(217, 154, 19, 0.38) !important;
  color: #1e293b !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12) !important;
}

html[data-theme="light"] .hero-kicker-badge {
  background: linear-gradient(135deg, #f5c249, #f97316) !important;
  color: #111827 !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 18px rgba(217, 154, 19, 0.24) !important;
}

html[data-theme="light"] .hero-title,
html[data-theme="light"] .section-title,
html[data-theme="light"] .launch-title,
html[data-theme="light"] .timeline-card h3,
html[data-theme="light"] .focus-body h3,
html[data-theme="light"] .contract-title,
html[data-theme="light"] .section-card h1,
html[data-theme="light"] .section-card h2,
html[data-theme="light"] .section-card h3 {
  color: #0f172a !important;
}

html[data-theme="light"] .hero-title span,
html[data-theme="light"] .section-title span,
html[data-theme="light"] .launch-title span {
  color: #b97700 !important;
}

html[data-theme="light"] .hero-subtitle,
html[data-theme="light"] .section-subtitle,
html[data-theme="light"] .hero-card-sub,
html[data-theme="light"] .hero-panel-copy,
html[data-theme="light"] .focus-body p,
html[data-theme="light"] .timeline-card p,
html[data-theme="light"] .contract-text,
html[data-theme="light"] .contract-meta,
html[data-theme="light"] .item-list li,
html[data-theme="light"] .milestone-list li,
html[data-theme="light"] .section-card p,
html[data-theme="light"] .section-card li,
html[data-theme="light"] .timeline-step {
  color: #475569 !important;
}

html[data-theme="light"] .hero-subtitle strong,
html[data-theme="light"] .hero-signal strong,
html[data-theme="light"] .hero-note strong {
  color: #92400e !important;
}

html[data-theme="light"] .section-kicker,
html[data-theme="light"] .card-kicker,
html[data-theme="light"] .contract-kicker,
html[data-theme="light"] .overview-label,
html[data-theme="light"] .quarter-tag {
  color: #7c2d12 !important;
}

html[data-theme="light"] .section-card strong,
html[data-theme="light"] .token-card strong,
html[data-theme="light"] .contract-desc strong,
html[data-theme="light"] .contact-list strong,
html[data-theme="light"] .token-list strong,
html[data-theme="light"] .flow-step strong {
  color: #92400e !important;
}

html[data-theme="light"] .partner-name,
html[data-theme="light"] .partner-card .partner-name,
html[data-theme="light"] .partner-card strong,
html[data-theme="light"] .contract-card h3,
html[data-theme="light"] .contract-card h4,
html[data-theme="light"] .hero-card-title {
  color: #0f172a !important;
}

html[data-theme="light"] .partner-card p,
html[data-theme="light"] .partner-tag,
html[data-theme="light"] .contract-desc,
html[data-theme="light"] .contract-list li,
html[data-theme="light"] .contract-card li,
html[data-theme="light"] .token-list li,
html[data-theme="light"] .contact-list li,
html[data-theme="light"] .hero-list li,
html[data-theme="light"] .overview-copy,
html[data-theme="light"] .flow-step {
  color: #475569 !important;
}

html[data-theme="light"] .partner-card a,
html[data-theme="light"] .token-card a,
html[data-theme="light"] .contract-card a {
  color: #7c2d12 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

html[data-theme="light"] .partner-card a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 8px;
  padding: 7px 11px;
  border: 1px solid rgba(217, 154, 19, 0.28);
  border-radius: 999px;
  background: rgba(217, 154, 19, 0.1);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

html[data-theme="light"] .partner-card a:hover {
  transform: translateY(-1px);
  background: rgba(217, 154, 19, 0.16);
  border-color: rgba(217, 154, 19, 0.48);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .hero-panel,
html[data-theme="light"] .hero-card,
html[data-theme="light"] .section-card,
html[data-theme="light"] .token-card,
html[data-theme="light"] .partner-card,
html[data-theme="light"] .contract-card,
html[data-theme="light"] .launch-countdown-card,
html[data-theme="light"] .focus-card,
html[data-theme="light"] .timeline-card,
html[data-theme="light"] .quarter-card,
html[data-theme="light"] .impact-card,
html[data-theme="light"] .history-card,
html[data-theme="light"] .year-label,
html[data-theme="light"] .cta-band,
html[data-theme="light"] .contract-toolbar,
html[data-theme="light"] .overview-item,
html[data-theme="light"] .hero-flow-step,
html[data-theme="light"] .hero-signal,
html[data-theme="light"] .hero-note,
html[data-theme="light"] .roadmap-nav,
html[data-theme="light"] .countdown-panel {
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.08), transparent 40%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(248, 250, 252, 0.88)) !important;
  border-color: rgba(15, 23, 42, 0.13) !important;
  box-shadow: 0 22px 58px rgba(15, 23, 42, 0.12) !important;
}

html[data-theme="light"] .timeline-step {
  background: rgba(255, 255, 255, 0.7) !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  border-radius: 999px;
  padding: 4px 0;
}

html[data-theme="light"] .hero-orbit {
  background:
    radial-gradient(circle at center, rgba(245, 194, 73, 0.16), transparent 34%),
    linear-gradient(rgba(15, 23, 42, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.08) 1px, transparent 1px) !important;
  background-size: auto, 28px 28px, 28px 28px !important;
}

html[data-theme="light"] .hero-stat,
html[data-theme="light"] .countdown-item {
  background: rgba(255, 255, 255, 0.76) !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
}

html[data-theme="light"] .flow-label,
html[data-theme="light"] .flow-index,
html[data-theme="light"] .hero-panel-title,
html[data-theme="light"] .hero-stat strong,
html[data-theme="light"] .quarter-card h4,
html[data-theme="light"] .impact-card h4,
html[data-theme="light"] .history-card h4,
html[data-theme="light"] .countdown-value,
html[data-theme="light"] .year-label strong {
  color: #0f172a !important;
  text-shadow: none !important;
}

html[data-theme="light"] .flow-text,
html[data-theme="light"] .hero-signal,
html[data-theme="light"] .hero-note,
html[data-theme="light"] .launch-subtitle,
html[data-theme="light"] .launch-date,
html[data-theme="light"] .launch-link,
html[data-theme="light"] .countdown-unit {
  color: #475569 !important;
}

html[data-theme="light"] .launch-countdown-card .countdown-value {
  color: #92400e !important;
}

html[data-theme="light"] .launch-date,
html[data-theme="light"] .launch-link,
html[data-theme="light"] .countdown-label {
  color: #b97700 !important;
}

html[data-theme="light"] .flow-index {
  background: rgba(217, 154, 19, 0.12) !important;
  border-color: rgba(217, 154, 19, 0.35) !important;
}

html[data-theme="light"] .contract-card.featured-contract,
html[data-theme="light"] .launch-countdown-card {
  border-color: rgba(217, 154, 19, 0.38) !important;
}

html[data-theme="light"] .contract-image::after,
html[data-theme="light"] .focus-media::after {
  background: linear-gradient(180deg, transparent 44%, rgba(15, 23, 42, 0.62)) !important;
}

html[data-theme="light"] .btn-secondary,
html[data-theme="light"] .filter-btn {
  background: rgba(255, 255, 255, 0.72) !important;
  border-color: rgba(15, 23, 42, 0.18) !important;
  color: #1e293b !important;
}

html[data-theme="light"] .filter-button:hover,
html[data-theme="light"] .filter-button.is-active {
  background: rgba(217, 154, 19, 0.18) !important;
  border-color: rgba(217, 154, 19, 0.5) !important;
  color: #7c2d12 !important;
}

html[data-theme="light"] .contract-pill {
  background: rgba(217, 154, 19, 0.12) !important;
  border: 1px solid rgba(217, 154, 19, 0.28) !important;
  color: #92400e !important;
}

html[data-theme="light"] .btn-primary,
html[data-theme="light"] .cookie-btn-primary {
  color: #111827 !important;
}

html[data-theme="light"] .footer,
html[data-theme="light"] footer {
  background: rgba(248, 250, 252, 0.92) !important;
  border-top-color: rgba(15, 23, 42, 0.12) !important;
  color: #64748b !important;
}

html[data-theme="light"] footer p,
html[data-theme="light"] footer span,
html[data-theme="light"] .footer p,
html[data-theme="light"] .footer span {
  color: #64748b !important;
  opacity: 1 !important;
}

html[data-theme="light"] footer a,
html[data-theme="light"] .footer a {
  color: #7c2d12 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}

html[data-theme="light"] .cookie-banner {
  background: rgba(255, 255, 255, 0.96) !important;
  border-color: rgba(15, 23, 42, 0.12) !important;
  color: #0f172a !important;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.18) !important;
}

html[data-theme="light"] .cookie-btn-secondary {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

html[data-theme="light"] .cookie-link {
  color: #0369a1 !important;
}

/* =========================
   CAPA DE VIDA E INTERACCION
   ========================== */
@keyframes ptasSheen {
  0% {
    opacity: 0;
    transform: translateX(-135%) rotate(12deg);
  }
  28% {
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    transform: translateX(135%) rotate(12deg);
  }
}

@keyframes ptasAmbientDrift {
  0% {
    background-position: 0% 0%;
  }
  45% {
    background-position: 72% 24%;
  }
  100% {
    background-position: 100% 60%;
  }
}

@keyframes ptasAutoSheen {
  0%,
  54% {
    opacity: 0;
    transform: translateX(-135%) rotate(12deg);
  }
  64% {
    opacity: 0.45;
  }
  78%,
  100% {
    opacity: 0;
    transform: translateX(135%) rotate(12deg);
  }
}

@keyframes ptasGradientFlow {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes ptasPrimaryGlow {
  0%,
  100% {
    box-shadow:
      0 16px 38px rgba(217, 154, 19, 0.26),
      0 0 0 rgba(34, 211, 238, 0);
  }
  50% {
    box-shadow:
      0 20px 46px rgba(217, 154, 19, 0.38),
      0 0 28px rgba(34, 211, 238, 0.22);
  }
}

@keyframes ptasOutlineGlow {
  0%,
  100% {
    box-shadow:
      0 10px 24px rgba(15, 23, 42, 0.08),
      inset 0 0 0 rgba(245, 194, 73, 0);
  }
  50% {
    box-shadow:
      0 14px 30px rgba(15, 23, 42, 0.12),
      inset 0 0 18px rgba(245, 194, 73, 0.1);
  }
}

@keyframes ptasLivingBorder {
  0%,
  100% {
    border-color: rgba(245, 194, 73, 0.34);
  }
  45% {
    border-color: rgba(34, 211, 238, 0.34);
  }
  72% {
    border-color: rgba(217, 154, 19, 0.54);
  }
}

@keyframes ptasTileGlow {
  0%,
  100% {
    box-shadow:
      inset 0 0 0 rgba(245, 194, 73, 0),
      0 8px 20px rgba(15, 23, 42, 0.04);
  }
  50% {
    box-shadow:
      inset 0 0 22px rgba(245, 194, 73, 0.14),
      0 12px 28px rgba(15, 23, 42, 0.1);
  }
}

@keyframes ptasImageMood {
  0%,
  100% {
    filter: saturate(1) brightness(1);
  }
  50% {
    filter: saturate(1.12) brightness(1.05);
  }
}

@keyframes ptasSoftPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(245, 194, 73, 0));
  }
  50% {
    filter: drop-shadow(0 0 16px rgba(245, 194, 73, 0.26));
  }
}

@keyframes ptasTagSweep {
  0%,
  64% {
    transform: translateX(-120%);
    opacity: 0;
  }
  76% {
    opacity: 0.34;
  }
  100% {
    transform: translateX(120%);
    opacity: 0;
  }
}

@keyframes ptasNumberPulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
    text-shadow: 0 0 0 rgba(245, 194, 73, 0);
  }
  50% {
    transform: translateY(-1px) scale(1.025);
    text-shadow: 0 0 18px rgba(245, 194, 73, 0.35);
  }
}

@keyframes ptasCoinBreath {
  0%,
  100% {
    filter: saturate(1) brightness(1);
  }
  50% {
    filter: saturate(1.12) brightness(1.04);
  }
}

@keyframes ptasLogoBreath {
  0%,
  100% {
    filter: saturate(1) brightness(1);
    transform: translateZ(0) scale(1);
  }
  50% {
    filter: saturate(1.12) brightness(1.05);
    transform: translateZ(0) scale(1.025);
  }
}

body {
  background-size: 180% 180% !important;
  animation: ptasAmbientDrift 28s ease-in-out infinite alternate;
}

html[data-theme="light"] body {
  background-size: 180% 180% !important;
  animation: ptasAmbientDrift 28s ease-in-out infinite alternate !important;
}

.nav-links a {
  position: relative;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.nav-links a::after {
  transform-origin: left center;
  transition:
    transform 0.24s ease,
    opacity 0.24s ease;
}

.btn-primary,
.btn-secondary,
.nav-cta,
.cookie-btn,
.filter-button,
.partner-card a,
.launch-link,
.hero-video-links a,
.hero-actions > a,
.language-switcher .language-toggle,
.theme-toggle {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transform: translateZ(0);
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    color 0.22s ease,
    box-shadow 0.22s ease;
}

.btn-primary::after,
.btn-secondary::after,
.nav-cta::after,
.cookie-btn::after,
.filter-button::after,
.partner-card a::after,
.launch-link::after,
.hero-video-links a::after,
.hero-actions > a::after,
.language-switcher .language-toggle::after,
.theme-toggle::after {
  content: "";
  position: absolute;
  inset: -70% -42%;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 0 38%,
    rgba(255, 255, 255, 0.58) 48%,
    rgba(245, 194, 73, 0.34) 53%,
    transparent 64% 100%
  );
  opacity: 0;
  transform: translateX(-135%) rotate(12deg);
}

.btn-primary,
.nav-cta,
.cookie-btn-primary {
  background-size: 240% 240% !important;
  animation:
    ptasGradientFlow 7.5s ease-in-out infinite,
    ptasPrimaryGlow 5.8s ease-in-out infinite;
}

.btn-primary::after,
.nav-cta::after,
.cookie-btn-primary::after,
.launch-link::after,
.partner-card a::after {
  animation: ptasAutoSheen 7.8s ease-in-out infinite;
}

.btn-secondary,
.filter-button,
.year-link,
.partner-card a,
.hero-video-links a,
.language-switcher .language-toggle,
.theme-toggle {
  animation: ptasOutlineGlow 7.2s ease-in-out infinite;
}

.nav-cta > *,
.btn-primary > *,
.btn-secondary > *,
.cookie-btn > *,
.filter-button > *,
.partner-card a > *,
.hero-video-links a > *,
.hero-actions > a > *,
.language-switcher .language-toggle > *,
.theme-toggle > * {
  position: relative;
  z-index: 1;
}

.pill,
.hero-kicker,
.hero-badge,
.hero-tag,
.status-chip,
.year-link,
.card-kicker,
.focus-badge,
.launch-kicker,
.contract-pill,
.filter-btn,
.language-option-code {
  position: relative;
  overflow: hidden;
  transform: translateZ(0);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    color 0.2s ease;
}

.pill::after,
.hero-kicker::after,
.hero-badge::after,
.hero-tag::after,
.status-chip::after,
.year-link::after,
.card-kicker::after,
.focus-badge::after,
.launch-kicker::after,
.contract-pill::after,
.filter-btn::after,
.language-option-code::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 0 42%, rgba(255, 255, 255, 0.52) 50%, transparent 58% 100%);
  opacity: 0;
  transform: translateX(-120%);
  animation: ptasTagSweep 7.2s ease-in-out infinite;
}

.hero-kicker-badge,
.launch-kicker,
.contract-pill,
.status-chip,
.year-link.current {
  animation: ptasSoftPulse 5.5s ease-in-out infinite;
}

.hero-tag:nth-child(2)::after,
.status-chip:nth-child(2)::after,
.contract-pill:nth-child(2)::after,
.year-link:nth-child(2)::after {
  animation-delay: 0.7s;
}

.hero-tag:nth-child(3)::after,
.status-chip:nth-child(3)::after,
.contract-pill:nth-child(3)::after,
.year-link:nth-child(3)::after {
  animation-delay: 1.4s;
}

.launch-countdown-card .countdown-value,
.countdown-panel .countdown-value {
  display: inline-block;
  animation: ptasNumberPulse 3.4s ease-in-out infinite;
}

.countdown-item {
  animation: ptasTileGlow 4.8s ease-in-out infinite;
}

.countdown-item:nth-child(2) {
  animation-delay: 0.4s;
}

.countdown-item:nth-child(3) {
  animation-delay: 0.8s;
}

.countdown-item:nth-child(4) {
  animation-delay: 1.2s;
}

.brand-logo-img,
.hero-coin {
  animation: ptasLogoBreath 6.5s ease-in-out infinite;
  transform-origin: center;
}

.section-card,
.hero-card,
.hero-panel,
.hero-video-card,
.token-card,
.partner-card,
.contract-card,
.launch-countdown-card,
.focus-card,
.timeline-card,
.quarter-card,
.impact-card,
.history-card,
.overview-item,
.cta-band,
.countdown-panel {
  transform: translateZ(0);
  will-change: transform, box-shadow, border-color;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    filter 0.28s ease;
}

.contract-card.featured-contract,
.launch-countdown-card,
.hero-video-card,
.hero-panel,
.cta-band {
  animation:
    ptasCoinBreath 7.5s ease-in-out infinite,
    ptasLivingBorder 9s ease-in-out infinite;
}

.contract-image img,
.focus-media img,
.hero-video-card video {
  animation: ptasImageMood 12s ease-in-out infinite;
}

.section-kicker,
.card-kicker,
.contract-kicker,
.overview-label,
.quarter-tag {
  text-shadow: 0 0 18px rgba(245, 194, 73, 0.22);
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.nav-cta:focus-visible,
.cookie-btn:focus-visible,
.filter-button:focus-visible,
.partner-card a:focus-visible,
.launch-link:focus-visible,
.hero-video-links a:focus-visible,
.hero-actions > a:focus-visible,
.language-switcher .language-toggle:focus-visible,
.theme-toggle:focus-visible,
.year-link:focus-visible {
  outline: 2px solid rgba(245, 194, 73, 0.9);
  outline-offset: 3px;
}

@media (hover: hover) {
  .nav-links a:hover {
    transform: translateY(-1px);
  }

  .btn-primary:hover,
  .btn-secondary:hover,
  .nav-cta:hover,
  .cookie-btn:hover,
  .filter-button:hover,
  .partner-card a:hover,
  .launch-link:hover,
  .hero-video-links a:hover,
  .hero-actions > a:hover,
  .language-switcher .language-toggle:hover,
  .theme-toggle:hover {
    transform: translateY(-2px);
  }

  .btn-primary:hover::after,
  .btn-secondary:hover::after,
  .nav-cta:hover::after,
  .cookie-btn:hover::after,
  .filter-button:hover::after,
  .partner-card a:hover::after,
  .launch-link:hover::after,
  .hero-video-links a:hover::after,
  .hero-actions > a:hover::after,
  .language-switcher .language-toggle:hover::after,
  .theme-toggle:hover::after {
    animation: ptasSheen 0.9s ease;
  }

  .pill:hover,
  .hero-kicker:hover,
  .hero-badge:hover,
  .hero-tag:hover,
  .status-chip:hover,
  .year-link:hover,
  .card-kicker:hover,
  .focus-badge:hover,
  .launch-kicker:hover,
  .contract-pill:hover,
  .filter-btn:hover,
  .language-option-code:hover {
    transform: translateY(-1px);
    border-color: rgba(245, 194, 73, 0.52);
  }

  .section-card:hover,
  .hero-card:hover,
  .hero-panel:hover,
  .hero-video-card:hover,
  .token-card:hover,
  .partner-card:hover,
  .contract-card:hover,
  .launch-countdown-card:hover,
  .focus-card:hover,
  .timeline-card:hover,
  .quarter-card:hover,
  .impact-card:hover,
  .history-card:hover,
  .overview-item:hover,
  .cta-band:hover,
  .countdown-panel:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 194, 73, 0.48);
    filter: saturate(1.04);
  }

  html[data-theme="light"] .section-card:hover,
  html[data-theme="light"] .hero-card:hover,
  html[data-theme="light"] .hero-panel:hover,
  html[data-theme="light"] .hero-video-card:hover,
  html[data-theme="light"] .token-card:hover,
  html[data-theme="light"] .partner-card:hover,
  html[data-theme="light"] .contract-card:hover,
  html[data-theme="light"] .launch-countdown-card:hover,
  html[data-theme="light"] .focus-card:hover,
  html[data-theme="light"] .timeline-card:hover,
  html[data-theme="light"] .quarter-card:hover,
  html[data-theme="light"] .impact-card:hover,
  html[data-theme="light"] .history-card:hover,
  html[data-theme="light"] .overview-item:hover,
  html[data-theme="light"] .cta-band:hover,
  html[data-theme="light"] .countdown-panel:hover {
    box-shadow: 0 30px 74px rgba(15, 23, 42, 0.18) !important;
  }
}

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

@media (max-width: 780px) {
  header {
    overflow: visible;
  }

  .nav-inner {
    width: 100%;
    max-width: 100%;
    gap: 10px;
  }

  .brand,
  .nav-brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .nav-actions {
    flex: 0 0 auto;
    gap: 8px;
  }

  .nav-cta {
    display: none !important;
  }

  .theme-toggle {
    width: 36px;
    height: 36px;
  }

  .nav-links.open {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .page,
  .container,
  section {
    max-width: 100%;
  }

  .hero,
  .hero-grid,
  .section-grid,
  .token-grid,
  .contact-grid,
  .contract-overview,
  .contract-flow,
  .roadmap-hero,
  .timeline-grid {
    min-width: 0;
  }

  .hero-kicker,
  .pill,
  .hero-highlight,
  .hero-signal,
  .hero-note,
  .hero-tags,
  .hero-badges,
  .launch-countdown-card,
  .countdown-panel {
    max-width: 100%;
  }

  .hero-title,
  .section-title,
  .launch-title,
  .contract-title {
    overflow-wrap: anywhere;
  }

  #inicio.section {
    padding-top: 48px !important;
  }
}

@media (max-width: 520px) {
  .brand-text-sub {
    display: none;
  }

  .brand-logo-img {
    width: 32px !important;
    height: 32px !important;
  }

  #inicio.section {
    padding-top: 36px !important;
  }

  .hero-kicker,
  .pill,
  .hero-highlight {
    white-space: normal;
    flex-wrap: wrap;
  }

  .hero-video-links a,
  .hero-actions > a {
    flex: 1 1 100%;
    justify-content: center;
    max-width: 100%;
    text-align: center;
  }

  .launch-countdown-card .countdown-value {
    font-size: 24px !important;
  }

  .cookie-banner {
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    width: auto !important;
    max-width: none !important;
    transform: none !important;
  }

  .cookie-buttons {
    flex-wrap: wrap;
  }

  .cookie-btn {
    flex: 1 1 130px;
    min-width: 0;
  }
}
