.slogan [data-i18n="slogan1"],
.slogan [data-i18n="slogan2"] {
  display: block;
  width: max-content;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  white-space: nowrap;
}

:root {
  --ink: #fff6dc;
  --ink-soft: rgba(255, 246, 220, 0.88);
  --gold: #ffbf2f;
  --orange: #ff7e5a;
  --navy: #1b3154;
  --navy-soft: rgba(27, 49, 84, 0.74);
  --line: rgba(255, 246, 220, 0.18);
  --shadow: 0 18px 44px rgba(11, 20, 37, 0.28);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  width: 100%;
}

body {
  font-family: "Nunito", sans-serif;
  color: var(--ink);
  background: url("./assets/background-loom.png") center top / cover no-repeat;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 217, 94, 0.1), transparent 22%),
    radial-gradient(circle at 82% 16%, rgba(255, 79, 132, 0.08), transparent 20%),
    rgba(255, 255, 255, 0.02);
  pointer-events: none;
  z-index: -2;
  animation: ambientFloat 14s ease-in-out infinite alternate;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 248, 226, 0.09), transparent 28%),
    radial-gradient(circle at 50% 100%, rgba(93, 223, 255, 0.05), transparent 24%);
  pointer-events: none;
  z-index: -1;
  animation: ambientPulse 11s ease-in-out infinite;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
select {
  font: inherit;
}

.landing-shell {
  position: relative;
  min-height: 100dvh;
  min-width: 320px;
  padding: 0 14px 14px 14px;
  padding: 0 14px 14px 14px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 6px;
}

.topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: flex-start;
  gap: 18px;
  padding: 4px 18px 0;
}

.topbar-lang,
.topbar-actions {
  margin-top: 8px;
}

.hero-header {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  text-align: center;
  animation: headerRise 0.9s cubic-bezier(0.2, 0.9, 0.2, 1) both;
  margin-top: -20px;
}

.logo-stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 0;
  isolation: isolate;
  overflow: visible;
}

.logo-stage::before,
.logo-stage::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.logo-stage::before {
  width: clamp(280px, 32vw, 520px);
  height: clamp(280px, 32vw, 520px);
  background:
    radial-gradient(circle, rgba(255, 241, 170, 0.78), rgba(255, 215, 91, 0.42) 28%, rgba(255, 103, 64, 0.14) 54%, transparent 74%);
  border-radius: 50%;
  filter: blur(20px);
  animation: auraPulse 4.8s ease-in-out infinite alternate;
}

.logo-stage::after {
  width: clamp(320px, 36vw, 620px);
  height: clamp(320px, 36vw, 620px);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 62%);
  border-radius: 50%;
  opacity: 0.4;
  filter: blur(30px);
}

.logo-aura {
  position: absolute;
  pointer-events: none;
}

.logo-aura {
  width: clamp(180px, 22vw, 340px);
  height: clamp(180px, 22vw, 340px);
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.86;
  animation: auraPulse 4.2s ease-in-out infinite alternate;
}

.logo-aura-a {
  background: radial-gradient(circle, rgba(255, 79, 132, 0.44), transparent 64%);
  transform: translate(-20%, 6%);
}

.logo-aura-b {
  background: radial-gradient(circle, rgba(255, 217, 94, 0.54), transparent 62%);
  transform: translate(18%, -10%);
  animation-delay: 0.8s;
}

.logo-mask {
  position: relative;
  z-index: 1;
  width: clamp(110px, min(30vw, 42dvh), 460px);
  overflow: hidden;
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  flex: 0 0 auto;
  filter:
    drop-shadow(0 18px 34px rgba(17, 23, 38, 0.34))
    drop-shadow(0 0 44px rgba(255, 217, 94, 0.42));
  animation: logoFloat 7.5s ease-in-out infinite;
}

.logo-glint {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    108deg,
    transparent 14%,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.72) 48%,
    rgba(255, 255, 255, 0.1) 58%,
    transparent 74%
  );
  transform: translateX(-130%) skewX(-14deg);
  mix-blend-mode: screen;
  opacity: 0.58;
  animation: logoGlint 8.5s ease-in-out infinite 1.6s;
}

.hero-copy {
  display: grid;
  width: 100%;
  gap: 0;
  align-content: start;
  justify-items: center;
  text-align: center;
}

.slogan {
  display: inline-block;
  box-sizing: border-box;
  margin: -46px auto 0;
  position: relative;
  z-index: 2;
  width: fit-content;
  max-width: calc(100vw - 44px);
  min-height: 0;
  height: auto;
  padding: 0.08em 0.7em 0.14em;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(44, 70, 114, 0.98), rgba(33, 56, 92, 0.86)),
    radial-gradient(circle at top left, rgba(255, 217, 94, 0.26), transparent 42%);
  border: 2px solid rgba(255, 246, 220, 0.3);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.02;
  font-weight: 900;
  white-space: normal;
  letter-spacing: -0.034em;
  text-shadow:
    0 2px 0 rgba(13, 22, 38, 0.45),
    0 4px 10px rgba(0, 0, 0, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 248, 226, 0.26),
    0 6px 14px rgba(13, 22, 38, 0.22);
  text-align: center;
  overflow: hidden;
  animation: sloganReveal 0.9s cubic-bezier(0.2, 0.9, 0.2, 1) 0.12s both;
}

.slogan::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 18%,
    rgba(255, 248, 226, 0.1) 32%,
    rgba(255, 248, 226, 0.46) 50%,
    rgba(255, 248, 226, 0.1) 68%,
    transparent 82%
  );
  transform: translateX(-120%);
  animation: shimmerSweep 12s ease-in-out infinite 3.2s;
}

.topbar-lang {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  align-self: start;
  position: relative;
  z-index: 2;
  animation: headerRise 0.9s cubic-bezier(0.2, 0.9, 0.2, 1) 0.18s both;
}

.topbar-lang {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  align-self: start;
  position: relative;
  z-index: 2;
  animation: headerRise 0.9s cubic-bezier(0.2, 0.9, 0.2, 1) 0.18s both;
}

.topbar-actions {
  grid-column: 3;
  grid-row: 1;
  grid-row: 1;
  justify-self: end;
  align-self: start;
  align-self: start;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0;
  gap: 0;
  animation: headerRise 0.9s cubic-bezier(0.2, 0.9, 0.2, 1) 0.18s both;
}

.lang-select {
  min-height: 56px;
  border-radius: 999px;
  border: 1px solid rgba(255, 246, 220, 0.18);
  backdrop-filter: blur(10px);
}

.lang-select {
  min-width: 72px;
  padding: 0 10px;
  color: var(--ink);
  background: rgba(117, 94, 87, 0.34);
  font-weight: 800;
}

.top-cta {
  min-width: 164px;
  position: relative;
  overflow: hidden;
}

.top-cta img {
  width: 52px;
  height: 52px;
  display: block;
  filter: none;
}

.top-cta::after {
  display: none;
}

.stage {
  min-height: 0;
}

.legal-footer {
  position: relative;
  z-index: 3;
}

.legal-footer-inner {
  min-height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 6px 0;
  color: rgba(72, 82, 98, 0.86);
  font-size: 0.65rem;
  line-height: 1;
  text-shadow: 0 1px 8px rgba(17, 23, 38, 0.18);
}

.legal-meta {
  color: rgba(18, 24, 34, 0.9);
  color: rgba(18, 24, 34, 0.9);
  opacity: 1;
}

.legal-links {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.legal-link {
  padding: 0;
  border: 0;
  background: none;
  color: rgba(18, 24, 34, 0.9);
  color: rgba(18, 24, 34, 0.9);
  font-size: 0.65rem;
  font-weight: 700;
  cursor: pointer;
  opacity: 1;
  opacity: 1;
  transition: opacity 0.16s ease, color 0.16s ease;
}

.legal-link:hover {
  opacity: 1;
  color: rgba(18, 24, 34, 0.98);
}

.legal-drawer {
  position: fixed;
  inset: auto 14px 14px;
  z-index: 20;
  display: grid;
  pointer-events: none;
}

.legal-drawer[hidden] {
  display: none;
}

.legal-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 18, 31, 0.16);
  pointer-events: auto;
}

.legal-drawer-panel {
  position: relative;
  width: min(680px, calc(100vw - 28px));
  max-height: min(78dvh, calc(100dvh - 28px));
  justify-self: center;
  padding: 16px 18px 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 246, 220, 0.18);
  background:
    linear-gradient(180deg, rgba(32, 53, 88, 0.94), rgba(24, 42, 70, 0.92)),
    radial-gradient(circle at top left, rgba(255, 217, 94, 0.14), transparent 38%);
  box-shadow: 0 24px 50px rgba(12, 20, 35, 0.26);
  backdrop-filter: blur(14px);
  pointer-events: auto;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  overflow: hidden;
}

.legal-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 0;
  flex: 0 0 auto;
}

.legal-drawer-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 900;
}

.legal-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 246, 220, 0.08);
  color: var(--ink);
  font-size: 1.3rem;
  cursor: pointer;
}

.legal-drawer-body {
  color: rgba(255, 246, 220, 0.9);
  font-size: 0.88rem;
  line-height: 1.45;
  min-height: 0;
  overflow-y: auto;
  padding-right: 6px;
}

.legal-drawer-body p {
  margin: 0 0 10px;
}

.legal-drawer-body p:last-child {
  margin-bottom: 0;
}

.legal-drawer-body strong {
  color: #fff8ed;
}

.buy-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
}

.buy-modal[hidden] {
  display: none;
}

.buy-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 19, 33, 0.36);
  backdrop-filter: blur(8px);
}

.buy-modal-panel {
  position: relative;
  z-index: 1;
  width: min(520px, calc(100vw - 28px));
  padding: 22px 22px 20px;
  border-radius: 28px;
  border: 1px solid rgba(255, 246, 220, 0.2);
  background:
    linear-gradient(180deg, rgba(39, 63, 102, 0.98), rgba(28, 47, 79, 0.96)),
    radial-gradient(circle at top left, rgba(255, 217, 94, 0.18), transparent 38%);
  box-shadow: 0 30px 60px rgba(12, 20, 35, 0.34);
  text-align: center;
}

.buy-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 246, 220, 0.1);
  color: var(--ink);
  font-size: 1.4rem;
  cursor: pointer;
}

.buy-modal-icon {
  width: 110px;
  height: 110px;
  margin: 4px auto 14px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 14px 28px rgba(12, 20, 35, 0.22));
}

.buy-modal-icon img {
  width: 100%;
  height: 100%;
  display: block;
}

.buy-modal-title {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 0.95;
  font-weight: 900;
}

.buy-modal-copy {
  margin: 0 0 6px;
  color: rgba(255, 246, 220, 0.9);
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 700;
}

.buy-modal-copy-last {
  margin-bottom: 18px;
}

.buy-modal-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.buy-modal-cta,
.buy-modal-secondary {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  font-size: 0.98rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease, background 0.16s ease;
}

.buy-modal-cta {
  background: linear-gradient(180deg, #ffc76b 0%, #ff9452 52%, #ff6840 100%);
  color: #fff8ed;
  box-shadow:
    0 10px 0 rgba(192, 87, 52, 0.3),
    inset 0 1px 0 rgba(255, 239, 221, 0.34);
}

.buy-modal-cta:hover {
  transform: translateY(-3px);
  filter: brightness(1.06);
  box-shadow:
    0 7px 0 rgba(192, 87, 52, 0.3),
    0 14px 24px rgba(255, 104, 64, 0.32),
    inset 0 1px 0 rgba(255, 239, 221, 0.42);
}

.buy-modal-cta:active {
  transform: translateY(0);
  box-shadow:
    0 4px 0 rgba(192, 87, 52, 0.3),
    inset 0 1px 0 rgba(255, 239, 221, 0.34);
}

.buy-modal-secondary {
  background: rgba(255, 246, 220, 0.1);
  color: var(--ink);
  border: 1px solid rgba(255, 246, 220, 0.18);
}

.buy-modal-secondary:hover {
  transform: translateY(-2px);
  background: rgba(255, 246, 220, 0.18);
  border-color: rgba(255, 246, 220, 0.32);
}

.buy-modal-secondary:active {
  transform: translateY(0);
}

.guide-modal {
  position: fixed;
  inset: 0;
  z-index: 28;
  display: grid;
  place-items: center;
}

.guide-modal[hidden] {
  display: none;
}

.guide-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 19, 33, 0.48);
  backdrop-filter: blur(10px);
}

.guide-modal-panel {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100vw - 26px));
  height: min(92vh, 920px);
  padding: 18px 18px 20px;
  border-radius: 30px;
  border: 1px solid rgba(255, 246, 220, 0.2);
  background:
    linear-gradient(180deg, rgba(31, 53, 88, 0.98), rgba(24, 42, 70, 0.96)),
    radial-gradient(circle at top left, rgba(255, 217, 94, 0.16), transparent 36%);
  box-shadow: 0 30px 60px rgba(12, 20, 35, 0.36);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 14px;
}

.guide-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.guide-modal-title {
  margin: 0 0 4px;
  font-size: clamp(1.6rem, 2.8vw, 2.5rem);
  line-height: 0.95;
  font-weight: 900;
}

.guide-modal-subtitle {
  margin: 0;
  color: rgba(255, 246, 220, 0.8);
  font-size: clamp(0.96rem, 1.4vw, 1.14rem);
  font-weight: 700;
}

.guide-modal-close {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 246, 220, 0.1);
  color: var(--ink);
  font-size: 1.5rem;
  cursor: pointer;
}

.guide-modal-body {
  min-height: 0;
  overflow: auto;
  padding-right: 6px;
  display: grid;
  gap: 18px;
}

.guide-block-intro {
  padding: 18px 20px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(44, 70, 114, 0.92), rgba(33, 56, 92, 0.8)),
    radial-gradient(circle at top left, rgba(255, 217, 94, 0.18), transparent 42%);
  border: 1px solid rgba(255, 246, 220, 0.14);
}

.guide-intro {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.45;
  font-weight: 800;
}

.guide-steps {
  display: grid;
  gap: 14px;
}

.guide-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(180px, 280px);
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 24px;
  background: rgba(255, 246, 220, 0.06);
  border: 1px solid rgba(255, 246, 220, 0.12);
}

.guide-step-num {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #ffc76b 0%, #ff9452 52%, #ff6840 100%);
  color: #fff8ed;
  font-size: 1.3rem;
  font-weight: 900;
}

.guide-step-copy h3,
.guide-manual-copy h3 {
  margin: 0 0 6px;
  font-size: clamp(1.12rem, 1.6vw, 1.4rem);
  line-height: 1;
}

.guide-step-copy p,
.guide-manual-copy p {
  margin: 0;
  color: rgba(255, 246, 220, 0.88);
  font-size: 0.96rem;
  line-height: 1.4;
  font-weight: 700;
}

.guide-step-image {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  display: block;
  border-radius: 18px;
  background: rgba(255, 246, 220, 0.06);
}

.guide-step-note {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 246, 220, 0.08);
  color: var(--ink);
  font-weight: 800;
  text-align: center;
}

.guide-manual {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(44, 70, 114, 0.92), rgba(33, 56, 92, 0.8)),
    radial-gradient(circle at top left, rgba(125, 229, 255, 0.14), transparent 42%);
  border: 1px solid rgba(255, 246, 220, 0.14);
}

.guide-manual-cta {
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ffc76b 0%, #ff9452 52%, #ff6840 100%);
  color: #fff8ed;
  font-size: 0.98rem;
  font-weight: 900;
  white-space: nowrap;
  box-shadow:
    0 10px 0 rgba(192, 87, 52, 0.3),
    inset 0 1px 0 rgba(255, 239, 221, 0.34);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.guide-manual-cta:hover {
  transform: translateY(-3px);
  filter: brightness(1.06);
  box-shadow:
    0 7px 0 rgba(192, 87, 52, 0.3),
    0 14px 24px rgba(255, 104, 64, 0.32),
    inset 0 1px 0 rgba(255, 239, 221, 0.42);
}

.guide-manual-cta:active {
  transform: translateY(0);
  box-shadow:
    0 4px 0 rgba(192, 87, 52, 0.3),
    inset 0 1px 0 rgba(255, 239, 221, 0.34);
}

.hero-panel {
  height: 100%;
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
}

.hero-news {
  position: absolute;
  top: 14px;
  right: 14px;
  bottom: 90px;
  width: calc(25% - 22px);
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 246, 220, 0.14);
  background: linear-gradient(180deg, rgba(31, 53, 88, 0.5), rgba(24, 42, 70, 0.38));
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  padding: 14px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 2;
}

.hero-news-title {
  margin: 0;
  font-size: clamp(1rem, 1.3vw, 1.14rem);
  font-weight: 900;
  color: var(--gold);
  letter-spacing: -0.01em;
  text-align: center;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 246, 220, 0.22);
  padding-bottom: 10px;
  flex: 0 0 auto;
  text-shadow: 0 1px 8px rgba(255, 191, 47, 0.4);
}

.hero-news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  flex: 1;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 246, 220, 0.18) transparent;
}

.hero-news-list::-webkit-scrollbar {
  width: 3px;
}

.hero-news-list::-webkit-scrollbar-track {
  background: transparent;
}

.hero-news-list::-webkit-scrollbar-thumb {
  background: rgba(255, 246, 220, 0.18);
  border-radius: 99px;
}

.hero-news-list::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 246, 220, 0.38);
}

.hero-news-item {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(27, 49, 84, 0.42);
  border: 1px solid rgba(255, 246, 220, 0.18);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-news-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.hero-news-date {
  font-size: 0.66rem;
  font-weight: 900;
  color: var(--gold);
  opacity: 0.82;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  display: block;
}

.hero-news-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-news-title-inferred {
  font-size: 0.82rem;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.28;
  text-decoration: none;
  display: block;
}

.hero-news-title-inferred:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hero-news-text {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--ink-soft);
  line-height: 1.38;
}

.hero-news-text a {
  color: var(--gold);
  text-decoration: none;
  opacity: 0.85;
}

.hero-news-text a:hover {
  opacity: 1;
}

.hero-news-text img {
  height: 1em;
  width: auto;
  vertical-align: -0.15em;
  display: inline;
}

.hero-news-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.hero-news-link:hover .hero-news-text {
  color: var(--ink);
}

.hero-news-more {
  display: inline;
  color: var(--gold);
  font-weight: 800;
  font-size: 0.78em;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}

.hero-news-more:hover {
  opacity: 1;
}

.hero-depth {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border-radius: 36px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(28, 46, 77, 0.14), rgba(28, 46, 77, 0.06));
  box-shadow: var(--shadow);
  backdrop-filter: blur(2px);
  perspective: 1000px;
}

.hero-glow,
.hero-ring,
.hero-card {
  position: absolute;
  pointer-events: none;
}

.hero-glow {
  inset: 12% 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 191, 47, 0.18), transparent 72%);
}

.hero-ring {
  inset: 18% 18%;
  border-radius: 50%;
  border: 1px solid rgba(255, 246, 220, 0.15);
}

.hero-card {
  width: clamp(56px, 7vw, 96px);
  aspect-ratio: 0.72;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 248, 226, 0.94), rgba(246, 233, 194, 0.92));
  border: 1px solid rgba(255, 247, 226, 0.44);
  box-shadow: 0 16px 28px rgba(17, 24, 39, 0.2);
  transition: transform 0.22s ease;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffd75b, #ff7e5a);
}

.hero-card-a {
  left: 6%;
  top: 10%;
  transform: translate3d(var(--tx, 0), var(--ty, 0), 0) rotate(-14deg);
}

.hero-card-b {
  right: 7%;
  top: 14%;
  transform: translate3d(var(--tx, 0), var(--ty, 0), 0) rotate(12deg);
}

.hero-card-c {
  right: 10%;
  bottom: 18%;
  transform: translate3d(var(--tx, 0), var(--ty, 0), 0) rotate(-11deg);
}

.hero-carousel {
  position: absolute;
  inset: 14px calc(25% + 8px) 90px 14px;
  inset: 14px calc(25% + 8px) 90px 14px;
  border-radius: 32px;
  overflow: hidden;
  transform: translate3d(var(--tx, 0), var(--ty, 0), 0);
  background: rgba(27, 49, 84, 0.55);
}

.hero-carousel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 219, 125, 0.1), transparent 30%),
    radial-gradient(circle at 82% 80%, rgba(255, 122, 82, 0.1), transparent 26%);
  pointer-events: none;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  overflow: hidden;
  transform: scale(1.03);
  transition: opacity 0.65s ease, transform 0.8s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-words {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-word {
  position: absolute;
  padding: 10px 16px 11px;
  border-radius: 999px;
  background: rgba(24, 42, 70, 0.62);
  border: 1px solid rgba(255, 246, 220, 0.16);
  backdrop-filter: blur(10px);
  font-size: clamp(1.6rem, 2.2vw, 2.5rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.035em;
  text-shadow:
    0 3px 0 rgba(17, 27, 43, 0.3),
    0 10px 22px rgba(12, 20, 35, 0.34),
    0 0 18px rgba(255, 246, 220, 0.08);
  opacity: 0;
}

.hero-word-a {
  color: #ffd44f;
}

.hero-word-b {
  color: #5bd7ff;
}

.hero-word-c {
  color: #ff5f93;
}

.hero-word-d {
  color: #9fe14f;
}

.hero-slide-photo-a .hero-word-a { top: 9%; left: 6%; }
.hero-slide-photo-a .hero-word-b { top: 18%; right: 9%; }
.hero-slide-photo-a .hero-word-c { bottom: 20%; left: 10%; }
.hero-slide-photo-a .hero-word-d { bottom: 10%; right: 8%; }

.hero-slide-photo-b .hero-word-a { top: 11%; left: 5%; }
.hero-slide-photo-b .hero-word-b { top: 19%; right: 7%; }
.hero-slide-photo-b .hero-word-c { bottom: 18%; left: 8%; }
.hero-slide-photo-b .hero-word-d { bottom: 9%; right: 10%; }

.hero-slide-photo-c .hero-word-a { top: 10%; left: 6%; }
.hero-slide-photo-c .hero-word-b { top: 21%; right: 8%; }
.hero-slide-photo-c .hero-word-c { bottom: 20%; left: 8%; }
.hero-slide-photo-c .hero-word-d { bottom: 10%; right: 8%; }

.hero-slide-photo-d .hero-word-a { top: 10%; left: 7%; }
.hero-slide-photo-d .hero-word-b { top: 18%; right: 8%; }
.hero-slide-photo-d .hero-word-c { bottom: 18%; left: 7%; }
.hero-slide-photo-d .hero-word-d { bottom: 10%; right: 8%; }
.hero-slide.is-active .hero-word-a {
  animation: heroWordLeft 9s ease both;
}

.hero-slide.is-active .hero-word-b {
  animation: heroWordRight 9s ease both 0.8s;
}

.hero-slide.is-active .hero-word-c {
  animation: heroWordUp 9s ease both 1.6s;
}

.hero-slide.is-active .hero-word-d {
  animation: heroWordDiagonal 9s ease both 2.4s;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: saturate(1.14) contrast(1.06);
  transform: scale(1.04);
  will-change: transform;
}

.hero-slide-photo-a img {
  object-position: 50% 46%;
}

.hero-slide-photo-b img {
  object-position: 52% 54%;
}

.hero-slide-photo-c img {
  object-position: 50% 50%;
}

.hero-slide-photo-d img {
  object-position: 50% 48%;
}
.hero-slide.is-active.hero-slide-photo-a img {
  animation: heroPanA 9.5s ease-in-out both;
}

.hero-slide.is-active.hero-slide-photo-b img {
  animation: heroPanB 9.5s ease-in-out both;
}

.hero-slide.is-active.hero-slide-photo-c img {
  animation: heroPanC 9.5s ease-in-out both;
}

.hero-slide.is-active.hero-slide-photo-d img {
  animation: heroPanD 9.5s ease-in-out both;
}

.hero-bottom {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(31, 53, 88, 0.34), rgba(31, 53, 88, 0.18));
  border: 1px solid rgba(255, 246, 220, 0.1);
  backdrop-filter: blur(10px);
}

.hero-dots-inline {
  position: absolute;
  left: calc(37.5% + 3px);
  left: calc(37.5% + 3px);
  bottom: 84px;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-actions {
  flex: 1;
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  justify-content: center;
  gap: 8px;
}

.hero-actions .hero-btn:only-child {
  min-width: clamp(180px, 24vw, 280px);
}

.hero-btn {
  min-height: 44px;
  padding: 0 22px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px solid rgba(255, 246, 220, 0.2);
  backdrop-filter: blur(12px);
  font-weight: 900;
  white-space: nowrap;
  white-space: nowrap;
  box-shadow:
    0 4px 0 rgba(22, 33, 53, 0.18),
    0 8px 16px rgba(12, 20, 35, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
}

.hero-btn,
.top-cta,
.buy-modal-cta,
.buy-modal-secondary,
.app-device-cta,
.guide-manual-cta,
.newsletter-submit,
.legal-close,
.buy-modal-close,
.app-modal-close,
.guide-modal-close,
.newsletter-modal-close {
  text-shadow:
    0 2px 0 rgba(13, 22, 38, 0.45),
    0 4px 10px rgba(0, 0, 0, 0.35);
}

.hero-btn-primary {
  background:
    linear-gradient(180deg, #7de5ff 0%, #2cb7ff 54%, #158cff 100%);
  color: #fff8ed;
  border-color: rgba(203, 241, 255, 0.34);
  box-shadow:
    0 4px 0 rgba(17, 104, 173, 0.26),
    inset 0 1px 0 rgba(230, 249, 255, 0.36),
    0 8px 16px rgba(20, 152, 255, 0.22);
}

.hero-btn-secondary {
  background:
    linear-gradient(180deg, #ffc76b 0%, #ff9452 52%, #ff6840 100%);
  color: #fff8ed;
  border-color: rgba(255, 233, 222, 0.3);
  box-shadow:
    0 4px 0 rgba(192, 87, 52, 0.24),
    inset 0 1px 0 rgba(255, 239, 221, 0.34),
    0 8px 16px rgba(255, 104, 64, 0.2);
}

.hero-btn-app {
  gap: 0px;
  background:
    linear-gradient(180deg, #6fe39a 0%, #2bc46b 52%, #14a253 100%);
  color: #fff8ed;
  border-color: rgba(220, 255, 233, 0.32);
  box-shadow:
    0 4px 0 rgba(20, 110, 60, 0.24),
    inset 0 1px 0 rgba(232, 255, 240, 0.36),
    0 8px 16px rgba(43, 196, 107, 0.2);
}

.store-badges-inside-btn-horizontal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
  padding: 4px 6px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12);
}

.store-badge-inside {
  display: block;
  height: 24px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
  opacity: 0.95;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25));
  transition: opacity 0.16s ease;
}

.hero-btn-app:hover .store-badge-inside {
  opacity: 1;
}

.store-badges-modal-inline {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 1em;
  flex-wrap: wrap;
}

.store-badge-modal-link {
  display: inline-flex;
  text-decoration: none;
  transition: transform 0.16s ease;
}

.store-badge-modal-link:hover {
  transform: translateY(-2px);
}

.store-badge-modal {
  display: block;
  height: 44px;
  width: auto;
  object-fit: contain;
}

.hero-btn img {
  width: 84px;
  height: 38px;
  display: block;
  filter: none;
}

.hero-btn:hover,
.top-cta:hover,
.hero-socials a:hover {
  transform: translateY(-3px);
}

.hero-btn:hover {
  box-shadow:
    0 3px 0 rgba(22, 33, 53, 0.16),
    0 10px 18px rgba(12, 20, 35, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-btn-primary:hover {
  box-shadow:
    0 3px 0 rgba(17, 104, 173, 0.22),
    0 10px 18px rgba(20, 152, 255, 0.22),
    inset 0 1px 0 rgba(230, 249, 255, 0.4);
}

.hero-btn-secondary:hover {
  box-shadow:
    0 3px 0 rgba(192, 87, 52, 0.22),
    0 10px 18px rgba(255, 104, 64, 0.2),
    inset 0 1px 0 rgba(255, 239, 221, 0.38);
}

.hero-btn-app:hover {
  box-shadow:
    0 3px 0 rgba(20, 110, 60, 0.22),
    0 10px 18px rgba(43, 196, 107, 0.2),
    inset 0 1px 0 rgba(232, 255, 240, 0.4);
}

.social-cluster {
  display: grid;
  gap: 0;
  justify-items: end;
}

.social-cluster-label {
  display: none;
}

.hero-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  align-self: flex-end;
}

.hero-socials a {
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(33, 56, 92, 0.88);
  border: 1px solid rgba(255, 246, 220, 0.18);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 20px rgba(12, 20, 35, 0.14);
  animation:
    socialRise 0.7s cubic-bezier(0.2, 0.9, 0.2, 1) both,
    socialPulse 6s ease-in-out infinite;
}

.hero-socials img {
  width: 34px;
  height: 34px;
  display: block;
  flex: 0 0 auto;
}

.social-link-tiktok {
  background: linear-gradient(180deg, #294673 0%, #172846 100%);
}

.social-link-instagram {
  background: linear-gradient(180deg, #8e5cff 0%, #ff4f84 42%, #f7b733 100%);
}

.social-link-x {
  background: linear-gradient(180deg, #1d2940 0%, #0f1727 100%);
}

.social-link-email {
  background: linear-gradient(180deg, #ffab58 0%, #ff6a45 100%);
}

.social-link-tiktok {
  animation-delay: 0.34s;
}

.social-link-instagram {
  animation-delay: 0.4s;
}

.social-link-x {
  animation-delay: 0.46s;
}

.social-link-email {
  animation-delay: 0.52s;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 246, 220, 0.34);
  cursor: pointer;
}

.hero-dot.is-active {
  background: var(--gold);
}

@keyframes headerRise {
  from {
    opacity: 0;
    transform: translateY(-16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes panelRise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes sloganReveal {
  from {
    opacity: 0;
    transform: translateY(10px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes shimmerSweep {
  0%,
  55% {
    transform: translateX(-130%);
  }
  100% {
    transform: translateX(130%);
  }
}

@keyframes auraPulse {
  0% {
    opacity: 0.72;
    transform: scale(0.98);
  }
  100% {
    opacity: 1;
    transform: scale(1.08);
  }
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px) scale(1.01);
  }
}

@keyframes logoGlint {
  0%,
  36% {
    transform: translateX(-135%) skewX(-14deg);
    opacity: 0;
  }
  46% {
    opacity: 0.62;
  }
  62% {
    transform: translateX(135%) skewX(-14deg);
    opacity: 0.58;
  }
  100% {
    transform: translateX(135%) skewX(-14deg);
    opacity: 0;
  }
}

@keyframes ambientFloat {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(0, -10px, 0) scale(1.03);
  }
}

@keyframes ambientPulse {
  0%,
  100% {
    opacity: 0.7;
  }
  50% {
    opacity: 1;
  }
}

@keyframes socialRise {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes socialPulse {
  0%,
  100% {
    box-shadow: 0 10px 20px rgba(12, 20, 35, 0.14);
  }
  50% {
    box-shadow: 0 14px 28px rgba(12, 20, 35, 0.2);
  }
}

@keyframes heroPanA {
  0% {
    transform: scale(1.06) translate3d(-1.8%, -1.2%, 0);
  }
  100% {
    transform: scale(1.12) translate3d(1.6%, 1%, 0);
  }
}

@keyframes heroPanB {
  0% {
    transform: scale(1.07) translate3d(1.4%, -1.4%, 0);
  }
  100% {
    transform: scale(1.13) translate3d(-1.4%, 1.2%, 0);
  }
}

@keyframes heroPanC {
  0% {
    transform: scale(1.05) translate3d(0%, 1.4%, 0);
  }
  100% {
    transform: scale(1.11) translate3d(0%, -1.4%, 0);
  }
}

@keyframes heroPanD {
  0% {
    transform: scale(1.05) translate3d(-1.2%, 1.4%, 0);
  }
  100% {
    transform: scale(1.12) translate3d(1.4%, -1.6%, 0);
  }
}
@keyframes heroWordLeft {
  0%, 10% {
    opacity: 0;
    transform: translate3d(-28px, 0, 0);
  }
  18%, 60% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  74%, 100% {
    opacity: 0;
    transform: translate3d(22px, 0, 0);
  }
}

@keyframes heroWordRight {
  0%, 10% {
    opacity: 0;
    transform: translate3d(28px, 0, 0);
  }
  18%, 60% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  74%, 100% {
    opacity: 0;
    transform: translate3d(-22px, 0, 0);
  }
}

@keyframes heroWordUp {
  0%, 10% {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }
  18%, 60% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  74%, 100% {
    opacity: 0;
    transform: translate3d(0, -20px, 0);
  }
}

@keyframes heroWordDiagonal {
  0%, 10% {
    opacity: 0;
    transform: translate3d(20px, -18px, 0);
  }
  18%, 60% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  74%, 100% {
    opacity: 0;
    transform: translate3d(-18px, 16px, 0);
  }
}

@keyframes raySpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.reduced-motion *,
.reduced-motion *::before,
.reduced-motion *::after {
  animation: none !important;
  transition-duration: 0.01ms !important;
}

@media (max-width: 980px) {
  .landing-shell {
    padding: 0 8px 8px;
  }

  .topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .topbar-actions {
    justify-content: flex-end;
  }




  .legal-footer-inner {
    flex-wrap: wrap;
    gap: 8px 12px;
    padding-bottom: 6px;
  }
}

@media (min-aspect-ratio: 4/3) {
  body {
    background: url("./assets/background-loom.png") center center / 100% auto no-repeat;
    background-color: #2b3f61;
  }
}

@media (min-width: 721px) {
  .slogan {
    margin-top: -58px;
    font-size: clamp(1.16rem, 2.35vw, 1.8rem);
  }
}

@media (max-width: 720px) {
  .landing-shell {
    min-height: 100dvh;
    padding: 6px;
    gap: 2px;
  }

  .topbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "lang actions"
      "brand brand";
      "lang actions"
      "brand brand";
    gap: 0;
  }

  .topbar-lang {
    grid-area: lang;
    justify-self: start;
    align-self: center;
    margin-bottom: -18px;
  }

  .topbar-lang {
    grid-area: lang;
    justify-self: start;
    align-self: center;
    margin-bottom: -18px;
  }

  .hero-header {
    grid-area: brand;
    order: 2;
  }

  .topbar-actions {
    grid-area: actions;
    justify-self: end;
    align-self: center;
    justify-self: end;
    align-self: center;
    gap: 8px;
    margin-bottom: -18px;
  }

  .topbar {
    padding: 0;
  }

  .lang-select {
    min-height: 42px;
  }

  .lang-select {
    min-width: 68px;
    padding: 0 8px;
  }

  .top-cta {
    min-width: 144px;
  }

  .top-cta img {
    width: 42px;
    height: 42px;
  }

  .hero-depth {
    border-radius: 24px;
  }

  .hero-carousel {
    right: calc(33% + 6px);
  }

  .hero-dots-inline {
    left: calc(33.5% + 4px);
  }

  .hero-news {
    width: calc(33% - 20px);
    border-radius: 16px;
    padding: 10px 8px 10px;
    gap: 6px;
  }

  .hero-news-list {
    gap: 4px;
  }

  .hero-news-item {
    padding: 6px 8px;
    border-radius: 10px;
  }

  .hero-news-title {
    font-size: 0.7rem;
    padding-bottom: 6px;
  }

  .hero-news-date {
    font-size: 0.58rem;
  }

  .hero-news-text {
    font-size: 0.68rem;
    line-height: 1.3;
    right: calc(33% + 6px);
  }

  .hero-dots-inline {
    left: calc(33.5% + 4px);
  }

  .hero-news {
    width: calc(33% - 20px);
    border-radius: 16px;
    padding: 10px 8px 10px;
    gap: 6px;
  }

  .hero-news-list {
    gap: 4px;
  }

  .hero-news-item {
    padding: 6px 8px;
    border-radius: 10px;
  }

  .hero-news-title {
    font-size: 0.7rem;
    padding-bottom: 6px;
  }

  .hero-news-date {
    font-size: 0.58rem;
  }

  .hero-news-text {
    font-size: 0.68rem;
    line-height: 1.3;
  }

  .hero-bottom {
    gap: 7px;
    padding: 6px 8px;
    padding: 6px 8px;
    min-height: 54px;
    border-radius: 18px;
  }

  .hero-actions {
    flex: 1;
    justify-content: flex-start;
  }

  .hero-btn,
  .hero-socials a {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
  }

  .hero-actions .hero-btn:only-child {
    flex: 1 1 auto;
    min-width: 0;
  }

  .hero-btn {
    min-height: 32px;
    padding: 0 10px;
    font-size: 1.18rem;
    border-radius: 12px;
    gap: 9px;
  }

  .hero-btn img {
    width: 64px;
    height: 36px;
  }

  .hero-socials {
    gap: 6px;
    justify-content: center;
    margin-top: 2px;
  }

  .hero-socials a {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 14px;
  }

  .hero-socials img {
      width: 42px;
      height: 42px;
    }

  .hero-word {
      padding: 7px 12px 8px;
      font-size: 1rem;
      line-height: 0.9;
    }

  .social-cluster {
    justify-items: center;
  }

  .hero-card {
    width: 54px;
  }

  .legal-footer-inner {
    min-height: 10px;
    font-size: 0.6rem;
    gap: 4px 8px;
    padding-top: 6px;
    padding-bottom: 0;
  }

  .legal-links {
    gap: 8px;
  }

  .legal-drawer {
    inset: auto 10px 10px;
  }

  .legal-drawer-panel {
    width: calc(100vw - 20px);
    padding: 14px;
    border-radius: 18px;
  }

  .buy-modal-panel {
    width: calc(100vw - 20px);
    padding: 18px 14px 14px;
    border-radius: 22px;
  }

  .buy-modal-icon {
    width: 88px;
    height: 88px;
    margin-bottom: 10px;
  }

  .buy-modal-title {
    font-size: 1.32rem;
  }

  .buy-modal-copy {
    font-size: 0.92rem;
  }

  .buy-modal-cta,
  .buy-modal-secondary {
    width: 100%;
    min-height: 44px;
    font-size: 0.92rem;
  }

  .guide-modal-panel {
    width: calc(100vw - 16px);
    height: calc(100dvh - 16px);
    padding: 14px 12px 14px;
    border-radius: 22px;
    gap: 10px;
  }

  .guide-modal-head {
    gap: 10px;
  }

  .guide-modal-title {
    font-size: 1.34rem;
  }

  .guide-modal-subtitle {
    font-size: 0.88rem;
  }

  .guide-modal-body {
    gap: 12px;
    padding-right: 2px;
  }

  .guide-block-intro,
  .guide-manual {
    padding: 14px;
    border-radius: 18px;
  }

  .guide-intro {
    font-size: 0.94rem;
    line-height: 1.35;
  }

  .guide-step {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
  }

  .guide-step-num {
    width: 38px;
    height: 38px;
    font-size: 1.05rem;
  }

  .guide-step-copy h3,
  .guide-manual-copy h3 {
    font-size: 1rem;
  }

  .guide-step-copy p,
  .guide-manual-copy p {
    font-size: 0.88rem;
  }

  .guide-step-image {
    max-height: 140px;
  }

  .guide-step-note {
    padding: 12px 14px;
    font-size: 0.88rem;
  }

  .guide-manual {
    align-items: stretch;
    flex-direction: column;
  }

  .guide-manual-cta {
    width: 100%;
    min-height: 44px;
    font-size: 0.92rem;
  }
}

/* Portrait screens: stack news below carousel, full-width card */
@media (max-aspect-ratio: 13/10) {
  .landing-shell {
    padding: 0;
    width: 100%;
  }

  .hero-panel {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .topbar {
    padding: 4px 8px 0;
  }

  .hero-depth {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto auto;
    padding: 8px;
    gap: 6px;
    border-radius: 0;
  }

  .hero-carousel {
    position: relative;
    inset: auto;
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    min-height: 140px;
    overflow: hidden;
    border-radius: 16px;
  }

  .hero-dots-inline {
    position: relative;
    inset: auto;
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    justify-self: center;
    margin-bottom: 10px;
    z-index: 3;
  }

  .hero-news {
    position: relative;
    inset: auto;
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    max-height: clamp(110px, 28dvh, 230px);
    border-radius: 16px;
  }

  /* Multi-column news grid when wide */
  .hero-news-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    overflow-y: auto;
    flex: 1;
    gap: 6px;
  }

  /* Image + text side-by-side within each item */
  .hero-news-item {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto 1fr;
    column-gap: 8px;
    row-gap: 2px;
    align-items: start;
  }

  .hero-news-img {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 72px;
    aspect-ratio: 1;
    border-radius: 6px;
    align-self: start;
  }

  .hero-news-head {
    grid-column: 2;
    grid-row: 1;
  }

  .hero-news-text {
    grid-column: 2;
    grid-row: 2;
  }

  .hero-bottom {
    position: relative;
    inset: auto;
    grid-column: 1;
    grid-row: 3;
    width: 100%;
  }

  .legal-footer-inner {
    padding: 4px 8px;
    font-size: clamp(0.68rem, 2.2vw, 0.9rem);
    gap: 6px;
    flex-wrap: nowrap;
    white-space: nowrap;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }

  .legal-link {
    font-size: inherit;
    white-space: nowrap;
  }

  /* Logo: más grande en portrait, dvh para que escale con la altura */
  .logo-mask {
    width: clamp(110px, 30dvh, 260px);
  }


  /* News: gana algo de altura quitándola al carrusel */
  .hero-news {
    max-height: clamp(120px, 24dvh, 220px);
  }

  /* News text slightly larger in portrait */
  .hero-news-title {
    font-size: 1rem;
  }
  .hero-news-date {
    font-size: 0.72rem;
  }
  .hero-news-title-inferred {
    font-size: 0.9rem;
  }

  /* Dots: reset transform heredado del base que los descentraba */
  .hero-dots-inline {
    transform: none;
  }

  /* Bottom bar: smaller icons + uncap button so it fits at 375px */
  .hero-socials a {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }
  .hero-socials img {
    width: 32px;
    height: 32px;
  }
  .hero-socials {
    gap: 4px;
  }
  .hero-actions .hero-btn:only-child {
    min-width: 0;
  }

  /* Two rows: buttons 50/50 in row 1, social cluster centered in row 2 */
  .hero-bottom {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    border-radius: 22px;
    padding: 10px 12px;
  }

  .hero-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .hero-bottom .hero-actions .hero-btn,
  .hero-bottom .hero-actions .hero-btn:only-child {
    display: flex;
    width: 100%;
    min-width: 0;
    max-width: none;
    padding: 0 16px;
    min-height: 44px;
    font-size: 1rem;
  }

  .topbar-actions .top-cta {
    min-height: 42px;
    padding: 0 8px;
    font-size: 0.98rem;
    gap: 8px;
  }

  .hero-bottom .hero-actions .hero-btn-app {
    flex-direction: row;
    justify-content: center;
    gap: 10px;
    padding: 0 16px;
  }

  .hero-btn-app .store-badges-inside-btn-horizontal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 3px 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.14);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.22),
      inset 0 -1px 0 rgba(0, 0, 0, 0.12);
  }

  .hero-btn-app .store-badge-inside {
    height: 28px;
    width: auto;
  }

  .social-cluster {
    width: 100%;
    justify-content: center;
  }
}

.hero-actions .hero-btn {
  min-width: clamp(138px, 16vw, 220px);
}

.app-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
}

.app-modal[hidden] {
  display: none;
}

.app-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 19, 33, 0.42);
  backdrop-filter: blur(8px);
}

.app-modal-panel {
  position: relative;
  z-index: 1;
  width: min(700px, calc(100vw - 28px));
  padding: 22px;
  border-radius: 28px;
  border: 1px solid rgba(255, 246, 220, 0.2);
  background:
    linear-gradient(180deg, rgba(39, 63, 102, 0.98), rgba(28, 47, 79, 0.96)),
    radial-gradient(circle at top left, rgba(255, 217, 94, 0.16), transparent 38%);
  box-shadow: 0 30px 60px rgba(12, 20, 35, 0.34);
  color: var(--ink);
}

.app-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 246, 220, 0.1);
  color: var(--ink);
  font-size: 1.4rem;
  cursor: pointer;
}

.app-modal-head {
  max-width: 520px;
  margin: 0 auto 18px;
  text-align: center;
}

.app-modal-title {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1;
  font-weight: 900;
}

.app-modal-copy {
  margin: 0;
  color: rgba(255, 246, 220, 0.88);
  font-size: 1rem;
  line-height: 1.3;
  font-weight: 700;
}

.app-qr-card {
  display: none;
}

body.install-context-desktop .app-qr-card {
  display: grid;
}

.app-modal-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: stretch;
}

body.install-context-current-device .app-modal-body {
  grid-template-columns: minmax(0, 1fr);
}

.app-device-card,
.app-qr-card {
  border-radius: 22px;
  border: 1px solid rgba(255, 246, 220, 0.14);
  background: rgba(255, 246, 220, 0.07);
}

.app-device-card {
  padding: 18px;
  display: grid;
  gap: 12px;
  align-content: center;
}

.app-device-card h3 {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1;
  font-weight: 900;
}

.app-device-card p {
  margin: 0;
  color: rgba(255, 246, 220, 0.86);
  font-size: 0.95rem;
  line-height: 1.35;
  font-weight: 700;
}

.app-device-cta {
  min-height: 48px;
  width: fit-content;
  padding: 0 20px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #7de5ff 0%, #2cb7ff 54%, #158cff 100%);
  color: #fff8ed;
  font-size: 1rem;
  font-weight: 900;
  box-shadow:
    0 10px 0 rgba(17, 104, 173, 0.32),
    inset 0 1px 0 rgba(230, 249, 255, 0.36);
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.store-badge {
  width: 135px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 8px;
  background: #050505;
  transition: transform 0.16s ease;
}

.store-badge:hover,
.app-device-cta:hover {
  transform: translateY(-2px);
}

.store-badge-img {
  width: 135px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.app-qr-card {
  width: 190px;
  padding: 16px 16px 14px;
  justify-items: center;
  align-content: center;
  gap: 10px;
  text-align: center;
  font-size: 0.84rem;
  line-height: 1.15;
  font-weight: 900;
}

.app-qr-img {
  width: 150px;
  height: 150px;
  display: block;
  border-radius: 16px;
  background: #fff8ed;
  padding: 8px;
  object-fit: contain;
  box-shadow: 0 10px 20px rgba(12, 20, 35, 0.18);
}

@media (max-width: 720px) {
  .app-modal-panel {
    width: calc(100vw - 20px);
    padding: 18px 14px 14px;
    border-radius: 22px;
  }

  .app-modal-body {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .app-qr-card {
    width: 100%;
  }

  .app-device-card {
    padding: 14px;
    border-radius: 18px;
  }

  .app-device-cta {
    width: 100%;
    min-height: 44px;
    font-size: 0.92rem;
  }

  .store-badges {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
  }

  .store-badge {
    width: 135px;
    height: 40px;
  }
}
