/* Премиальный лендинг RP Poker: тёмный фон, glassmorphism, золотые акценты */

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

:root {
  --lp-brand-bg: #080808;
  --lp-brand-bg-mid: #101010;
  --lp-brand-bg-deep: #030303;
  --lp-brand-gold: #d4af37;
  --lp-brand-gold-bright: #fec300;
  --lp-brand-gold-soft: rgba(212, 175, 55, 0.16);
  --lp-brand-text: #ffffff;
  --lp-brand-muted: #b0b0b0;
  --lp-brand-muted-2: #8a8a8a;
  --lp-glass-bg: rgba(18, 18, 18, 0.52);
  --lp-glass-border-gold: rgba(212, 175, 55, 0.42);
  --lp-glass-border-light: rgba(255, 255, 255, 0.22);
}

.lp-body {
  margin: 0;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--lp-brand-text);
  background: var(--lp-brand-bg-deep);
  position: relative;
}

/* Декоративный фон: размытые фишки и карты */
.lp-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.lp-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% 8%, rgba(212, 175, 55, 0.14), transparent 58%),
    radial-gradient(ellipse 70% 45% at 15% 75%, rgba(212, 175, 55, 0.06), transparent 50%),
    radial-gradient(ellipse 60% 40% at 88% 68%, rgba(80, 120, 200, 0.05), transparent 48%),
    linear-gradient(180deg, var(--lp-brand-bg-mid) 0%, var(--lp-brand-bg) 38%, var(--lp-brand-bg-deep) 100%);
}

.lp-bg__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.55;
}

.lp-bg__glow--center {
  width: min(70vw, 420px);
  height: min(50vw, 300px);
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(212, 175, 55, 0.22), transparent 68%);
}

.lp-bg__chip {
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
  opacity: 0.55;
  box-shadow:
    inset 0 0 0 3px rgba(212, 175, 55, 0.35),
    inset 0 0 0 8px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(212, 175, 55, 0.18);
}

.lp-bg__chip--1 {
  width: 88px;
  height: 88px;
  top: 6%;
  left: -18px;
  background: radial-gradient(circle at 35% 30%, #3a3020, #0a0a0a 72%);
  transform: rotate(-18deg);
}

.lp-bg__chip--2 {
  width: 110px;
  height: 110px;
  top: 32%;
  right: -28px;
  background: radial-gradient(circle at 40% 35%, #2a2218, #050505 70%);
  transform: rotate(24deg);
  opacity: 0.42;
}

.lp-bg__chip--3 {
  width: 72px;
  height: 72px;
  bottom: 14%;
  left: 8%;
  background: radial-gradient(circle at 38% 32%, #4a3a18, #0c0c0c 68%);
  transform: rotate(12deg);
  opacity: 0.38;
}

.lp-bg__card {
  position: absolute;
  width: 56px;
  height: 78px;
  border-radius: 6px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.12);
  filter: blur(3px);
  opacity: 0.35;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.lp-bg__card--1 {
  top: 12%;
  right: 10%;
  transform: rotate(22deg);
}

.lp-bg__card--2 {
  bottom: 22%;
  right: 4%;
  transform: rotate(-16deg);
  width: 48px;
  height: 68px;
}

.lp-bg__card--3 {
  bottom: 8%;
  left: 22%;
  transform: rotate(-28deg);
  opacity: 0.28;
}

.lp-brand-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.lp-brand-logo__img {
  display: block;
  width: min(var(--lp-logo-width, 72%), 100%);
  height: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 18px rgba(212, 175, 55, 0.28));
}

.lp-shell {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  max-width: 28rem;
  margin: 0 auto;
  padding: var(--lp-shell-pad-y, clamp(1rem, 4vw, 1.75rem)) var(--lp-shell-pad-x, clamp(1rem, 4vw, 1.5rem));
  padding-bottom: max(
    var(--lp-shell-pad-y, clamp(1rem, 4vw, 1.75rem)),
    env(safe-area-inset-bottom, 0px)
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: var(--lp-block-gap, clamp(0.75rem, 2.5vw, 1.15rem));
}

.lp-hero {
  text-align: center;
  margin-top: var(--lp-hero-mt, 0);
  margin-bottom: var(--lp-hero-mb, 0);
}

.lp-title {
  margin: 0 0 0.55rem;
  font-size: var(--lp-fs-title, clamp(1.2rem, 4.5vw, 1.72rem));
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.025em;
  text-wrap: balance;
  color: var(--lp-brand-text);
  text-shadow: 0 2px 32px rgba(212, 175, 55, 0.14);
}

.lp-subtitle {
  margin: 0 auto;
  max-width: 26rem;
  font-size: var(--lp-fs-subtitle, clamp(0.8rem, 2.5vw, 0.96rem));
  line-height: 1.5;
  color: var(--lp-brand-muted);
  font-weight: 400;
  text-wrap: balance;
}

.lp-apps {
  flex-shrink: 0;
  margin-top: var(--lp-apps-mt, 0);
  margin-bottom: var(--lp-apps-mb, 0);
}

.lp-apps__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.4rem, 2vw, 0.7rem);
  align-items: stretch;
}

.lp-app-card {
  position: relative;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.45rem 0.5rem;
  border-radius: 14px;
  isolation: isolate;
  background: linear-gradient(180deg, var(--lp-app-g1, #1a1a1a), var(--lp-app-g2, #0a0a0a));
  border: 1px solid color-mix(in srgb, var(--lp-app-g1, #888) 55%, rgba(255, 255, 255, 0.35));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -4px 10px rgba(0, 0, 0, 0.5),
    0 8px 22px rgba(0, 0, 0, 0.55);
}

.lp-app-card::before {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 16px;
  z-index: -1;
  background: linear-gradient(180deg, var(--lp-app-g1, #1a1a1a), var(--lp-app-g2, #0a0a0a));
  filter: blur(13px);
  opacity: 0.55;
  pointer-events: none;
}

.lp-app-card__name {
  position: relative;
  z-index: 1;
  font-size: var(--lp-fs-apps, clamp(0.6rem, 1.7vw, 0.76rem));
  font-weight: 700;
  text-align: center;
  line-height: 1.15;
  color: #f5f5f5;
  text-shadow:
    0 0 12px rgba(255, 255, 255, 0.32),
    0 1px 3px rgba(0, 0, 0, 0.65);
}

.lp-app-card__logo {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 2.1rem;
  object-fit: contain;
  filter:
    drop-shadow(0 0 4px rgba(255, 255, 255, 0.42))
    drop-shadow(0 0 14px rgba(255, 255, 255, 0.2))
    drop-shadow(0 2px 5px rgba(0, 0, 0, 0.55));
}

.lp-benefits {
  margin-top: var(--lp-benefits-mt, 0);
  margin-bottom: var(--lp-benefits-mb, 0);
  text-align: center;
}

.lp-section-title {
  margin: 0;
  font-size: var(--lp-fs-benefits-h, clamp(0.74rem, 2.1vw, 0.88rem));
  font-weight: 700;
  color: var(--lp-brand-text);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
}

.lp-section-divider {
  width: 100%;
  height: 1px;
  margin: 0.55rem auto 0.75rem;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.28) 20%,
    rgba(255, 255, 255, 0.28) 80%,
    transparent 100%
  );
}

.lp-benefits__list {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  max-width: 22rem;
  font-size: var(--lp-fs-benefits, clamp(0.76rem, 2.2vw, 0.9rem));
  line-height: 1.45;
  color: #e8e8e8;
  text-align: left;
}

.lp-benefits__list li {
  position: relative;
  margin-bottom: 0.38rem;
  padding-left: 1.15rem;
}

.lp-benefits__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lp-brand-gold-bright);
  box-shadow: 0 0 8px rgba(254, 195, 0, 0.55);
}

.lp-trust {
  text-align: center;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: var(--lp-glass-bg);
  border: 1px solid var(--lp-glass-border-gold);
  box-shadow:
    0 0 28px rgba(212, 175, 55, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  margin-top: var(--lp-trust-mt, 0);
  margin-bottom: var(--lp-trust-mb, 0);
}

.lp-trust__title {
  margin: 0 0 0.45rem;
  font-size: var(--lp-fs-trust-title, clamp(0.88rem, 2.7vw, 1.05rem));
  font-weight: 800;
  color: var(--lp-brand-text);
  line-height: 1.3;
}

.lp-trust__body {
  margin: 0;
  font-size: var(--lp-fs-trust-body, clamp(0.74rem, 2.15vw, 0.88rem));
  line-height: 1.5;
  color: var(--lp-brand-muted);
}

.lp-cta {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding-top: 0.15rem;
  margin-top: var(--lp-cta-mt, 0);
  margin-bottom: var(--lp-cta-mb, 0);
}

.lp-btn {
  display: block;
  width: 100%;
  padding: 0.88rem 1rem;
  border: none;
  border-radius: 14px;
  font-size: var(--lp-fs-cta, clamp(0.95rem, 3vw, 1.08rem));
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.38);
}

.lp-btn--tg {
  color: #fff;
  background: linear-gradient(180deg, #2aabee 0%, #229ed9 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.lp-btn--tg:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 10px 32px rgba(42, 171, 238, 0.42);
}

.lp-btn--wa {
  color: #fff;
  background: linear-gradient(180deg, #25d366 0%, #1ebe5c 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.lp-btn--wa:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.4);
}

.lp-btn--disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.lp-btn--gold {
  position: relative;
  overflow: hidden;
  margin-top: 0;
  flex: 0 0 auto;
  align-self: stretch;
  padding: 0.92rem 1rem;
  border-radius: 12px;
  cursor: pointer;
  color: #1a1408;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: linear-gradient(180deg, #ffe566 0%, #fec300 42%, #d4a017 100%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    0 8px 26px rgba(254, 195, 0, 0.38);
}

.lp-btn--gold::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 48%;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.65), transparent);
  pointer-events: none;
}

.lp-btn--gold:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 10px 32px rgba(254, 195, 0, 0.48);
}

.lp-webchat {
  margin-top: 0.5rem;
}

.lp-webchat__title {
  margin: 0 0 0.25rem;
  font-size: clamp(0.92rem, 2.8vw, 1.05rem);
  font-weight: 700;
  color: var(--lp-brand-text);
  text-align: center;
}

.lp-webchat__lead {
  margin: 0 0 0.65rem;
  font-size: clamp(0.72rem, 2.1vw, 0.84rem);
  line-height: 1.45;
  color: var(--lp-brand-muted);
  text-align: center;
}

.lp-webchat__panel {
  border-radius: 16px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--lp-glass-border-light);
  background: var(--lp-glass-bg);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 36px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.lp-webchat__log {
  min-height: 7.5rem;
  max-height: 14rem;
  overflow-y: auto;
  padding: 0.55rem 0.65rem;
  font-size: clamp(0.72rem, 2.1vw, 0.82rem);
  line-height: 1.4;
  scroll-behavior: smooth;
}

.lp-webchat__sys {
  color: var(--lp-brand-muted);
  text-align: center;
  padding: 0.5rem 0.25rem;
}

.lp-webchat__row {
  display: flex;
  margin-bottom: 0.42rem;
}

.lp-webchat__row--staff {
  justify-content: flex-start;
}

.lp-webchat__row--visitor {
  justify-content: flex-end;
}

.lp-webchat__bubble {
  max-width: 88%;
  padding: 0.45rem 0.55rem;
  border-radius: 10px;
  white-space: pre-wrap;
  word-break: break-word;
}

.lp-webchat__row--staff .lp-webchat__bubble {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--lp-brand-text);
}

.lp-webchat__row--visitor .lp-webchat__bubble {
  background: rgba(254, 195, 0, 0.16);
  border: 1px solid rgba(254, 195, 0, 0.28);
  color: var(--lp-brand-text);
}

.lp-webchat__form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  align-items: flex-end;
}

.lp-webchat__input {
  flex: 1 1 200px;
  min-height: 2.5rem;
  max-height: 6rem;
  resize: vertical;
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.35);
  color: var(--lp-brand-text);
  font: inherit;
}

.lp-webchat__input::placeholder {
  color: var(--lp-brand-muted-2);
}

.lp-webchat__input:focus {
  outline: 2px solid rgba(254, 195, 0, 0.45);
  outline-offset: 1px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lp-email-offer {
  margin-top: 0.35rem;
}

.lp-email-offer__card {
  border-radius: 16px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--lp-glass-border-light);
  background: var(--lp-glass-bg);
  box-shadow:
    0 0 32px rgba(120, 160, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  padding: 1rem 1.05rem 1.1rem;
}

.lp-email-offer__intro-line {
  margin: 0 0 0.4rem;
  font-size: var(--lp-fs-benefits, clamp(0.76rem, 2.2vw, 0.9rem));
  line-height: 1.5;
  text-align: center;
  color: var(--lp-brand-muted);
}

.lp-email-offer__intro-line:first-child {
  margin-bottom: 0.5rem;
  font-size: clamp(0.88rem, 2.6vw, 1rem);
  font-weight: 700;
  color: var(--lp-brand-text);
}

.lp-email-offer__form {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.lp-email-offer__input {
  width: 100%;
  padding: 0.72rem 0.85rem;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.42);
  color: var(--lp-brand-text);
  font-size: clamp(0.86rem, 2.8vw, 1rem);
  font: inherit;
}

.lp-email-offer__input::placeholder {
  color: var(--lp-brand-muted-2);
}

.lp-email-offer__input:focus {
  outline: 2px solid rgba(254, 195, 0, 0.45);
  outline-offset: 1px;
  border-color: rgba(254, 195, 0, 0.35);
}

.lp-email-offer__submit {
  width: 100%;
  align-self: stretch;
}

.lp-email-offer__submit.lp-btn--gold {
  justify-content: center;
  text-align: center;
}

.lp-email-offer__status {
  margin: 0.55rem 0 0;
  font-size: clamp(0.78rem, 2.4vw, 0.88rem);
  text-align: center;
  min-height: 1.2em;
}

.lp-email-offer__status.lp-email-offer__status--err {
  color: #ff8a80;
}

.lp-email-offer__success-line {
  margin: 0.35rem 0 0;
  font-size: var(--lp-fs-benefits, clamp(0.76rem, 2.2vw, 0.9rem));
  line-height: 1.55;
  text-align: center;
  color: var(--lp-brand-text);
}

.lp-email-offer__success-line:first-child {
  margin-top: 0.7rem;
  font-weight: 600;
}

.lp-email-confirm-shell {
  max-width: 30rem;
  justify-content: center;
}

.lp-email-confirm__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.05rem, 3.8vw, 1.35rem);
  font-weight: 700;
  text-align: center;
}

.lp-email-confirm__text {
  margin: 0 0 0.85rem;
  font-size: clamp(0.85rem, 2.6vw, 0.95rem);
  line-height: 1.55;
  text-align: center;
  color: var(--lp-brand-muted);
}

.lp-email-confirm__muted {
  text-align: center;
}

.lp-email-confirm .lp-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.lp-email-confirm--bad .lp-email-confirm__title {
  color: #ffb4a9;
}

@media (max-width: 380px) {
  .lp-apps__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-height: 800px) {
  .lp-shell {
    gap: var(--lp-block-gap, 1.2rem);
  }
}
