:root {
  --ink: #12334a;
  --muted: #688396;
  --ocean: #21b9e5;
  --ocean-deep: #1194c7;
  --green: #1cb36b;
  --sand: #ffd568;
  --purple: #7b52f6;
  --pink: #ec4bc8;
  --white: #fff;
  --line: #dcecf1;
  --card-shadow: 0 20px 55px rgba(21, 90, 120, 0.12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #f8feff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a, button { font: inherit; }
a { color: inherit; text-decoration: none; }
button { border: 0; }
.hidden { display: none !important; }
.landing-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 76px;
  padding: 12px clamp(20px, 5vw, 88px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(201,228,236,.8);
  backdrop-filter: blur(18px);
}
.landing-brand { display: flex; align-items: center; gap: 11px; }
.brand-crown { font-size: 30px; }
.landing-brand span:last-child { display: grid; }
.landing-brand strong { font-size: 21px; letter-spacing: -.04em; }
.landing-brand small { color: var(--muted); font-size: 10px; }
.landing-nav nav { display: flex; align-items: center; gap: 16px; font-size: 14px; font-weight: 750; }
.nav-login { padding: 10px 14px; }
.nav-download {
  padding: 10px 14px;
  border-radius: 14px;
  color: #533fb6;
  background: #f0ebff;
}
.nav-play, .primary-cta, .final-cta a, .download-cta {
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  box-shadow: 0 15px 34px rgba(123,82,246,.25);
}
.nav-play { padding: 12px 17px; border-radius: 14px; }
.hero {
  min-height: calc(100vh - 76px);
  padding: clamp(54px, 8vw, 110px) clamp(20px, 6vw, 100px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  align-items: center;
  gap: clamp(30px, 6vw, 90px);
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,222,112,.35), transparent 26%),
    linear-gradient(180deg, #effcff 0%, #f9ffff 100%);
}
.hero-kicker, .section-head span, .royal-copy > span, .world-copy > span, .final-cta > span, .app-copy > span {
  color: #128fb8;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
}
.hero h1 {
  margin: 18px 0 24px;
  font-size: clamp(48px, 5.8vw, 88px);
  line-height: .98;
  letter-spacing: -.065em;
}
.hero h1 em { color: #159d67; font-style: normal; }
.hero-copy > p {
  max-width: 670px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.65;
}
.hero-actions, .app-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.primary-cta, .secondary-cta, .download-cta {
  min-height: 54px;
  padding: 0 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 17px;
  font-weight: 900;
  cursor: pointer;
}
.secondary-cta {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(31,92,114,.08);
}
.download-cta { padding-inline: 24px; }
.install-message {
  margin-top: 14px;
  max-width: 620px;
  padding: 13px 15px;
  border-radius: 14px;
  color: #295566;
  background: #eaf8fc;
  border: 1px solid #cceaf3;
  line-height: 1.5;
  font-size: 13px;
}
.hero-notes { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 23px; color: #5b7b8c; font-size: 12px; font-weight: 750; }
.hero-visual { min-height: 590px; position: relative; display: grid; place-items: center; }
.hero-visual > img {
  position: relative;
  z-index: 3;
  width: min(100%, 760px);
  filter: drop-shadow(0 35px 45px rgba(10,117,151,.25));
  transform: rotate(-2deg);
}
.hero-orbit { position: absolute; border-radius: 50%; border: 2px dashed rgba(31,174,210,.2); }
.orbit-one { width: 600px; height: 600px; }
.orbit-two { width: 760px; height: 760px; }
.floating-card {
  position: absolute;
  z-index: 5;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  border-radius: 17px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 45px rgba(24,103,126,.18);
  font-size: 12px;
}
.floating-card span { font-size: 22px; }
.card-gold { left: 2%; top: 18%; }
.card-king { right: 0; top: 30%; }
.card-boat { right: 7%; bottom: 13%; }
.feature-section, .royal-section, .world-section, .app-section {
  padding: clamp(70px, 8vw, 120px) clamp(20px, 7vw, 120px);
}
.section-head { max-width: 860px; margin-bottom: 44px; }
.section-head h2, .royal-copy h2, .world-copy h2, .final-cta h2, .app-copy h2 {
  margin: 12px 0 0;
  font-size: clamp(36px, 4.2vw, 65px);
  line-height: 1.05;
  letter-spacing: -.055em;
}
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feature-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(30,105,127,.07);
}
.feature-grid article > span { font-size: 38px; }
.feature-grid h3 { margin: 18px 0 9px; font-size: 21px; }
.feature-grid p, .royal-copy p, .world-copy p, .app-copy p { color: var(--muted); line-height: 1.65; }
.royal-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 70px;
  background: linear-gradient(135deg, #e9fbff, #fffdf4);
}
.royal-art {
  min-height: 520px;
  display: grid;
  place-items: center;
  border-radius: 38px;
  background: linear-gradient(180deg, #38c7ec, #159fcd);
  overflow: hidden;
  box-shadow: var(--card-shadow);
}
.royal-art img { width: min(95%, 780px); filter: drop-shadow(0 30px 28px rgba(0,70,105,.24)); }
.royal-copy p, .world-copy p, .app-copy p { font-size: 18px; }
.stat-chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.stat-chips span, .app-list li {
  padding: 10px 13px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 12px;
  font-weight: 850;
}
.world-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr) minmax(280px, 0.45fr);
  align-items: center;
  gap: 34px;
}
.world-copy { max-width: 740px; }
.world-preview-card {
  padding: 18px;
  border-radius: 32px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--card-shadow);
}
.world-preview-card img {
  width: 100%;
  display: block;
  border-radius: 24px;
}
.world-stats { display: grid; gap: 12px; }
.world-stats div { padding: 22px 25px; display: grid; border-radius: 22px; background: #ecfaff; }
.world-stats strong { font-size: 34px; }
.world-stats small { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 850; }
.app-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 56px;
  background: linear-gradient(180deg, #f2fdff 0%, #ffffff 100%);
}
.app-card {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
}
.app-device {
  position: absolute;
  border-radius: 34px;
  background: #13374d;
  box-shadow: 0 26px 70px rgba(15, 84, 110, 0.18);
}
.app-device.phone {
  left: 0;
  bottom: 20px;
  width: min(240px, 44%);
  padding: 16px;
}
.app-device.desktop {
  right: 0;
  top: 0;
  width: min(560px, 86%);
  padding: 16px 16px 22px;
  border-radius: 28px;
}
.app-device::before {
  content: "";
  display: block;
  margin: 0 auto 12px;
  width: 70px;
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,.2);
}
.app-device-screen {
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, #f2fdff, #e7fafc);
}
.desktop-screen { border-radius: 18px; }
.app-device-screen img { width: 100%; display: block; }
.app-list { margin: 22px 0 0; padding: 0; display: grid; gap: 10px; list-style: none; }
.app-list li { width: fit-content; color: #4b6979; }
.final-cta {
  margin: 0 clamp(20px, 7vw, 120px) clamp(50px, 7vw, 100px);
  padding: clamp(50px, 7vw, 90px);
  border-radius: 38px;
  text-align: center;
  background: linear-gradient(135deg, #123c55, #0a7b9f);
  color: #fff;
  box-shadow: 0 30px 70px rgba(10,86,112,.25);
}
.final-cta > span { color: #8cefff; }
.final-cta p { color: #d3f3fb; font-size: 18px; }
.final-cta a { min-height: 54px; margin-top: 18px; padding: 0 25px; display: inline-flex; align-items: center; border-radius: 17px; font-weight: 900; }
footer { padding: 0 clamp(20px, 7vw, 120px) 45px; display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; }
@media (max-width: 1180px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { min-height: 440px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .royal-section, .app-section { grid-template-columns: 1fr; }
  .world-section { grid-template-columns: 1fr; }
  .world-stats { grid-template-columns: repeat(3, 1fr); }
  .app-card { min-height: 430px; }
}
@media (max-width: 900px) {
  .landing-nav nav a:not(.nav-login):not(.nav-download):not(.nav-play) { display: none; }
}
@media (max-width: 650px) {
  .landing-nav { padding: 10px 14px; }
  .landing-nav nav { gap: 6px; }
  .nav-login, .nav-download { display: none; }
  .hero { padding-top: 55px; }
  .hero h1 { font-size: 48px; }
  .hero-visual { min-height: 300px; }
  .floating-card { display: none; }
  .feature-grid, .world-stats { grid-template-columns: 1fr; }
  .royal-art { min-height: 330px; }
  .app-card {
    min-height: auto;
    gap: 14px;
    display: grid;
  }
  .app-device { position: relative; width: 100% !important; inset: auto; }
  .app-device.phone { max-width: 260px; margin: 0 auto; }
  .app-device.desktop { max-width: 100%; }
  .install-message { font-size: 12px; }
  .final-cta { border-radius: 26px; }
  footer { flex-direction: column; gap: 6px; }
}


/* Trivora v2.8.0 — Royal showcase repair */
.royal-showcase {
  position: relative;
  min-height: 560px;
  padding: 46px 38px 68px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 233, 137, .5), transparent 24%),
    radial-gradient(circle at 84% 24%, rgba(255, 255, 255, .3), transparent 28%),
    linear-gradient(145deg, #32c4eb, #118fbe);
}

.royal-showcase::before,
.royal-showcase::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 2px dashed rgba(219, 248, 255, .18);
  border-radius: 50%;
}

.royal-showcase::before {
  width: 360px;
  height: 360px;
  left: -160px;
  top: -150px;
}

.royal-showcase::after {
  width: 280px;
  height: 280px;
  right: -110px;
  bottom: -120px;
}

.royal-preview-card {
  position: relative;
  z-index: 2;
  min-width: 0;
  padding: 24px 20px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 28px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 24px 60px rgba(5, 92, 122, .18);
  overflow: hidden;
}

.royal-preview-card::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 82px;
  height: 18px;
  border-radius: 50%;
  background: rgba(19, 124, 161, .14);
  filter: blur(3px);
}

.royal-preview-label {
  align-self: flex-start;
  padding: 7px 10px;
  border-radius: 999px;
  color: #12506a;
  background: #e6f9ff;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .12em;
}

.royal-preview-avatar {
  position: relative;
  width: 174px;
  height: 238px;
  margin: 12px auto 4px;
  transform: scale(1.32);
  transform-origin: center bottom;
}

.royal-art .royal-preview-avatar img,
.royal-showcase .royal-layer {
  position: absolute;
  inset: 0;
  width: 174px;
  height: 238px;
  object-fit: contain;
  margin: 0;
  display: block;
  filter: none;
}

.royal-preview-card strong {
  position: relative;
  z-index: 2;
  margin-top: 8px;
  font-size: 21px;
  letter-spacing: -.035em;
}

.royal-preview-card small {
  position: relative;
  z-index: 2;
  max-width: 230px;
  margin-top: 7px;
  color: #6b8596;
  line-height: 1.5;
}

.royal-preview-king { transform: rotate(-1.2deg); }
.royal-preview-queen { transform: rotate(1.2deg); }

.royal-showcase-badge {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  padding: 11px 16px;
  white-space: nowrap;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #7b52f6, #ec4bc8);
  box-shadow: 0 14px 30px rgba(91, 52, 195, .28);
  font-size: 12px;
  font-weight: 900;
}

@media (max-width: 650px) {
  .royal-showcase {
    min-height: auto;
    padding: 28px 18px 72px;
    grid-template-columns: 1fr;
  }

  .royal-preview-avatar {
    transform: scale(1.16);
  }
}

/* Trivora v2.9.0 — Wyspa Żyje landing strip */
.living-island-strip {
  padding: 0 clamp(20px, 7vw, 120px) clamp(60px, 7vw, 96px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  background: linear-gradient(180deg, #f8feff, #eafaff);
}

.living-island-strip article {
  min-height: 150px;
  padding: 24px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  border: 1px solid #d7edf2;
  border-radius: 27px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 18px 45px rgba(25, 103, 127, .08);
}

.living-island-strip article > span {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #eafaff, #fff7d9);
  font-size: 34px;
}

.living-island-strip strong,
.living-island-strip small {
  display: block;
}

.living-island-strip strong {
  color: #12334a;
  font-size: 17px;
}

.living-island-strip small {
  margin-top: 7px;
  color: #6b8596;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .living-island-strip {
    grid-template-columns: 1fr;
  }
}
