:root {
  --bg: #fff8f2;
  --bg-2: #ffefe2;
  --surface-strong: #ffffff;
  --text: #1f1713;
  --muted: #5e4b41;
  --border: rgba(235, 118, 52, 0.22);
  --accent: #ff6b2b;
  --accent-2: #ff3e55;
  --tg: #24a1de;
  --tg-dark: #1982b8;
  --max: #7b3ff2;
  --max-2: #4f46e5;
  --shadow: 0 28px 70px rgba(84, 38, 12, 0.16);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  background:
    radial-gradient(1100px 580px at 12% 0%, rgba(255, 122, 69, 0.24), transparent 62%),
    radial-gradient(960px 540px at 92% 15%, rgba(255, 180, 120, 0.3), transparent 62%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  color: var(--text);
  line-height: 1.42;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-x: hidden;
}

.container {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 22px 44px 20px;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

/* Header */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--text);
  font-weight: 900;
  font-size: 26px;
  letter-spacing: -0.02em;
}

.brand-badge {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(255, 90, 44, 0.28);
  border: 2px solid rgba(255, 107, 43, 0.38);
  flex-shrink: 0;
}

.brand-badge img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Single Screen Hero */
.hero {
  flex: 1;
  display: flex;
  align-items: center;
}

.hero-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 48px;
  align-items: center;
}

h1 {
  font-size: clamp(36px, 3.6vw, 64px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 900;
  margin-bottom: 20px;
}

h1 .grad {
  background: linear-gradient(95deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lead {
  font-size: clamp(18px, 1.35vw, 24px);
  color: var(--muted);
  margin-bottom: 24px;
  max-width: 760px;
  font-weight: 500;
  line-height: 1.45;
}

/* 3 Free Gifts Box */
.gifts-box {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--border);
  border-radius: 24px;
  padding: 20px 24px;
  margin-bottom: 26px;
  max-width: 760px;
  box-shadow: 0 12px 32px rgba(84, 38, 12, 0.06);
}

.gifts-box-title {
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--accent);
  margin-bottom: 12px;
}

.gifts-list {
  display: grid;
  gap: 10px;
  list-style: none;
}

.gifts-list li {
  font-size: clamp(17px, 1.15vw, 21px);
  font-weight: 800;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
}

/* CTA Buttons */
.cta-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 760px;
}

.btn-bot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 22px 26px;
  border-radius: 22px;
  font-size: clamp(19px, 1.25vw, 23px);
  font-weight: 900;
  text-decoration: none;
  color: #fff;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  text-align: left;
  line-height: 1.18;
}

.btn-bot:hover {
  transform: translateY(-3px);
}

.btn-bot:active {
  transform: translateY(0);
}

.btn-tg {
  background: linear-gradient(135deg, var(--tg) 0%, var(--tg-dark) 100%);
  box-shadow: 0 16px 36px rgba(36, 161, 222, 0.38);
}

.btn-max {
  background: linear-gradient(135deg, var(--max) 0%, var(--max-2) 100%);
  box-shadow: 0 16px 36px rgba(123, 63, 242, 0.36);
}

.btn-bot svg {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  display: block;
}

.btn-bot .bot-icon {
  width: 44px;
  height: 44px;
  padding: 5px;
  background: #ffffff;
  border-radius: 13px;
  box-shadow:
    0 4px 12px rgba(18, 8, 46, 0.28),
    0 0 0 2px rgba(255, 255, 255, 0.95);
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}

.btn-sub {
  display: block;
  font-size: 14px;
  font-weight: 600;
  opacity: 0.92;
  margin-top: 4px;
}

/* RIGHT SIDE: Vertical 9:16 Smartphone Video Player */
.phone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-frame {
  position: relative;
  width: 100%;
  max-width: 375px;
  aspect-ratio: 9 / 15.5;
  max-height: 670px;
  border-radius: 40px;
  background: #14100e;
  padding: 11px;
  box-shadow:
    0 30px 75px rgba(45, 18, 6, 0.28),
    0 0 0 2px rgba(255, 120, 60, 0.32);
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 30px;
  overflow: hidden;
  background: #1a120f;
}

.phone-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
}

.phone-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(16, 10, 8, 0.58) 0%,
    rgba(16, 10, 8, 0.12) 36%,
    rgba(16, 10, 8, 0.24) 60%,
    rgba(16, 10, 8, 0.88) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 18px 20px;
  color: #fff;
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(20, 14, 12, 0.56);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 9px 12px;
  border-radius: 999px;
}

.phone-top-left {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.phone-top-left img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(255, 130, 70, 0.8);
  flex-shrink: 0;
}

.phone-track-meta {
  min-width: 0;
}

.phone-track-title {
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-track-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
}

.phone-badge {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 11.5px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.phone-bottom {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Karaoke lyrics */
.lyrics-stage {
  text-align: center;
  min-height: 78px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 6px;
}

.lyric-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffb088;
  margin-bottom: 6px;
}

.lyric-line {
  font-size: 19px;
  font-weight: 900;
  line-height: 1.25;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.65);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

/* Bottom waveform player card */
.player-bar {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.wave-bars {
  display: flex;
  align-items: center;
  gap: 3.5px;
  height: 26px;
  flex: 1;
}

.wave-bars span {
  flex: 1;
  max-width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, #ff9a62 0%, #ff4d5e 100%);
  animation: eq 1.15s ease-in-out infinite;
}

.wave-bars span:nth-child(odd) { height: 12px; animation-delay: 0.1s; }
.wave-bars span:nth-child(even) { height: 22px; animation-delay: 0.3s; }
.wave-bars span:nth-child(3n) { height: 26px; animation-delay: 0.45s; }
.wave-bars span:nth-child(4n) { height: 15px; animation-delay: 0.2s; }

@keyframes eq {
  0%, 100% { transform: scaleY(0.45); opacity: 0.78; }
  50% { transform: scaleY(1); opacity: 1; }
}

.player-time {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}

footer {
  text-align: center;
  font-size: 14px;
  color: var(--muted);
  opacity: 0.85;
}

@media (max-width: 1024px) {
  .container {
    padding: 18px 22px 18px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .lead,
  .gifts-box,
  .cta-group {
    max-width: 100%;
  }
  .phone-frame {
    max-width: 340px;
  }
}

@media (max-width: 560px) {
  .container {
    padding: 14px 16px 16px;
    gap: 14px;
  }
  .brand {
    font-size: 21px;
  }
  .brand-badge {
    width: 42px;
    height: 42px;
  }
  h1 {
    font-size: 31px;
    margin-bottom: 12px;
  }
  .lead {
    font-size: 16.5px;
    margin-bottom: 16px;
  }
  .gifts-box {
    padding: 15px 16px;
    margin-bottom: 18px;
  }
  .cta-group {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .btn-bot {
    justify-content: center;
    text-align: center;
    padding: 17px 20px;
    font-size: 18px;
  }
}
