/* Про Тай landing — elegant Cyrillic type + mobile-first */
:root {
  --jungle: #071510;
  --sand: #f7efe0;
  --sand-dim: rgba(247, 239, 224, 0.95);
  --amber: #e8a317;
  --amber-hot: #ffc14a;
  --font-display: "Cormorant Infant", "Times New Roman", serif;
  --font-body: Manrope, system-ui, -apple-system, sans-serif;
  --font-ui: Manrope, system-ui, -apple-system, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-enter: 800ms;
  --pad-x: max(1.1rem, env(safe-area-inset-left));
  --pad-r: max(1.1rem, env(safe-area-inset-right));
  --pad-b: max(1.25rem, env(safe-area-inset-bottom));
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

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

body {
  min-height: 100dvh;
  color: var(--sand);
  background: var(--jungle);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-y: auto;
}

.world {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.world__photo,
.world__heat,
.world__mist {
  position: absolute;
  inset: -6%;
  will-change: transform;
  transform: translate3d(var(--px, 0), var(--py, 0), 0);
  transition: transform 80ms linear;
}

.world__photo-inner {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, rgba(7, 21, 16, 0.35), transparent 45%),
    url("assets/hero-phuket.jpg?v=6") center 35% / cover no-repeat;
  transform: scale(1.08);
  animation: ken 32s var(--ease-soft) infinite alternate;
}

.world__heat {
  background: radial-gradient(
    ellipse 70% 55% at 72% 28%,
    rgba(232, 163, 23, 0.22),
    transparent 62%
  );
  mix-blend-mode: screen;
  animation: heat 9s ease-in-out infinite alternate;
}

.world__mist {
  background:
    linear-gradient(
      180deg,
      rgba(7, 21, 16, 0.5) 0%,
      rgba(7, 21, 16, 0.22) 26%,
      rgba(7, 21, 16, 0.7) 52%,
      rgba(7, 21, 16, 0.94) 100%
    ),
    linear-gradient(
      90deg,
      rgba(7, 21, 16, 0.72) 0%,
      rgba(7, 21, 16, 0.35) 42%,
      transparent 70%
    ),
    radial-gradient(
      ellipse 100% 80% at 15% 90%,
      rgba(7, 21, 16, 0.94),
      transparent 58%
    );
}

.world__grain {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: max(0.85rem, env(safe-area-inset-top)) var(--pad-r) 0.35rem
    var(--pad-x);
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.1rem;
}

.brand {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 9.5vw, 4.2rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--sand);
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.6);
}

.top__bot {
  font-family: var(--font-ui);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--amber-hot);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.top__bot:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.panel {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.65rem;
  min-height: calc(100dvh - 3.25rem);
  max-width: 38rem;
  width: 100%;
  margin: 0;
  padding: 0.65rem var(--pad-r) var(--pad-b) var(--pad-x);
  transform: translateZ(40px);
}

.eyebrow {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber-hot);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(232, 163, 23, 0.15);
  border: 1px solid rgba(255, 193, 74, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 1;
}

.headline {
  margin: 0;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 5.2vw, 2.4rem);
  font-weight: 600;
  font-style: normal;
  line-height: 1.12;
  letter-spacing: -0.018em;
  text-wrap: balance;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.lead {
  margin: 0;
  max-width: 34rem;
  font-family: var(--font-body);
  font-size: clamp(0.92rem, 2.8vw, 1.05rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--sand-dim);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
}

.points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.38rem;
}

.points li {
  position: relative;
  padding-left: 1rem;
  font-family: var(--font-body);
  font-size: clamp(0.86rem, 2.6vw, 0.96rem);
  line-height: 1.35;
  font-weight: 500;
  color: var(--sand);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 2px;
  background: var(--amber);
  box-shadow: 0 0 8px rgba(232, 163, 23, 0.6);
}

.actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.4rem;
  margin-top: 0.2rem;
  width: 100%;
  max-width: 22rem;
}

.cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.15rem;
  width: 100%;
  min-height: 52px;
  padding: 0.8rem 1.25rem;
  border: 1px solid rgba(255, 193, 74, 0.5);
  border-radius: 12px;
  background: linear-gradient(145deg, var(--amber-hot), var(--amber));
  color: var(--jungle);
  text-decoration: none;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 14px 36px rgba(0, 0, 0, 0.4),
    0 0 32px rgba(232, 163, 23, 0.3);
  transform: translateZ(60px);
  transition:
    transform 160ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 160ms ease,
    filter 160ms ease;
  -webkit-tap-highlight-color: transparent;
}

.cta__label {
  font-family: var(--font-ui);
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.cta__price {
  font-family: var(--font-ui);
  font-size: 0.84rem;
  font-weight: 600;
  opacity: 0.9;
}

.cta:hover {
  transform: translateY(-2px) translateZ(60px);
  filter: brightness(1.04);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.45) inset,
    0 18px 44px rgba(0, 0, 0, 0.45),
    0 0 42px rgba(232, 163, 23, 0.42);
}

.cta:active {
  transform: scale(0.98) translateZ(60px);
  filter: brightness(0.96);
}

.cta:focus-visible {
  outline: 2px solid var(--sand);
  outline-offset: 3px;
}

.hint {
  margin: 0;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(247, 239, 224, 0.85);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.55);
}

.channels {
  margin-top: 0.25rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(247, 239, 224, 0.2);
}

.channels__title {
  margin: 0 0 0.45rem;
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 239, 224, 0.78);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.channels__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.6rem;
}

.channels__list a {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--sand);
  text-decoration: none;
  background: rgba(7, 21, 16, 0.65);
  border: 1px solid rgba(247, 239, 224, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms cubic-bezier(0.16, 1, 0.3, 1);
}

.channels__list a:hover {
  background: rgba(232, 163, 23, 0.22);
  border-color: rgba(255, 193, 74, 0.6);
  color: var(--amber-hot);
  transform: translateY(-1px);
}

.channels__list a:active {
  transform: scale(0.96);
}

@keyframes ken {
  from {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.16) translate3d(-1.2%, -0.8%, 0);
  }
}

@keyframes heat {
  from {
    opacity: 0.55;
  }
  to {
    opacity: 0.95;
  }
}

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

html.motion .brand-badge {
  opacity: 0;
  animation: rise var(--dur-enter) var(--ease-out) 60ms forwards;
}

html.motion .top__bot {
  opacity: 0;
  animation: rise var(--dur-enter) var(--ease-out) 100ms forwards;
}

html.motion .headline {
  opacity: 0;
  animation: rise var(--dur-enter) var(--ease-out) 160ms forwards;
}

html.motion .lead {
  opacity: 0;
  animation: rise var(--dur-enter) var(--ease-out) 220ms forwards;
}

html.motion .points {
  opacity: 0;
  animation: rise var(--dur-enter) var(--ease-out) 280ms forwards;
}

html.motion .actions {
  opacity: 0;
  animation: rise var(--dur-enter) var(--ease-out) 340ms forwards;
}

html.motion .channels {
  opacity: 0;
  animation: rise var(--dur-enter) var(--ease-out) 400ms forwards;
}

/* Phones: scroll freely, tighter stack, full-width CTA */
@media (max-width: 640px) {
  .brand {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
    line-height: 1;
  }

  .panel {
    gap: 0.5rem;
    justify-content: flex-end;
    min-height: calc(100dvh - 2.8rem);
    padding-top: 0.25rem;
  }

  .headline {
    font-size: clamp(1.35rem, 5.8vw, 1.75rem);
    max-width: 20ch;
  }

  .lead {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .points li {
    font-size: 0.86rem;
  }

  .actions {
    max-width: none;
  }

  .world__photo-inner {
    background-position: 62% 28%;
  }
}

@media (max-width: 640px) and (max-height: 760px) {
  .panel {
    justify-content: flex-start;
    min-height: auto;
    padding-bottom: calc(var(--pad-b) + 0.5rem);
  }

  .brand {
    font-size: clamp(2rem, 9vw, 2.6rem);
  }

  .eyebrow {
    font-size: 0.7rem;
    padding: 0.15rem 0.45rem;
  }
}

@media (min-width: 641px) {
  .actions {
    align-items: flex-start;
  }

  .cta {
    width: auto;
    min-width: 15.5rem;
  }
}

@media (min-width: 900px) {
  :root {
    --pad-x: clamp(3rem, 8vw, 7rem);
    --pad-r: clamp(2rem, 5vw, 4rem);
  }

  .panel {
    justify-content: center;
    gap: 0.85rem;
    min-height: calc(100dvh - 4rem);
    padding-bottom: max(2.5rem, env(safe-area-inset-bottom));
  }

  .world__photo-inner {
    background-position: center 35%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .world__photo-inner,
  .world__heat,
  .brand-badge,
  .top__bot,
  .headline,
  .lead,
  .points,
  .actions,
  .channels {
    animation: none !important;
  }

  .brand-badge,
  .top__bot,
  .headline,
  .lead,
  .points,
  .actions,
  .channels {
    opacity: 1;
    transform: none;
  }

  .world__photo,
  .world__heat,
  .world__mist {
    transition: none;
  }

  .cta:hover,
  .cta:active {
    transform: none;
  }
}
