/* ============================================
   Casino Single-Funnel Landing Page
   Mobile-first · CLS-safe · No horizontal scroll
   ============================================ */

:root {
  --c-deep: #04152d;
  --c-navy: #072b56;
  --c-blue: #0a4a92;
  --c-gold: #ffc83d;
  --c-orange: #ff9d3d;

  --container-max: 900px;
  --gap-desktop: 16px;
  --gap-tablet: 14px;
  --gap-mobile: 12px;

  --btn-h-desktop: 49px;
  --btn-h-mobile: 42px;
  --btn-radius: 14px;

  --shadow-promo:
    0 8px 28px rgba(0, 0, 0, 0.55),
    0 0 42px rgba(10, 74, 146, 0.35),
    0 0 17px rgba(255, 200, 61, 0.15);

  --font: "Be Vietnam Pro", system-ui, sans-serif;
}

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

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

body {
  font-family: var(--font);
  min-height: 100vh;
  overflow-x: hidden;
  background: linear-gradient(165deg, var(--c-deep) 0%, var(--c-navy) 45%, var(--c-blue) 100%);
  background-attachment: fixed;
  color: #fff;
}

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

img,
video {
  display: block;
  max-width: 100%;
}

/* ---------- Background effects ---------- */
.bg-effects {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-effects__rays {
  position: absolute;
  top: -20%;
  left: 50%;
  width: 140%;
  height: 80%;
  transform: translateX(-50%);
  background: conic-gradient(
    from 180deg at 50% 0%,
    transparent 0deg,
    rgba(255, 200, 61, 0.06) 30deg,
    transparent 60deg,
    rgba(10, 74, 146, 0.12) 120deg,
    transparent 180deg
  );
  opacity: 0.7;
  animation: rays-spin 40s linear infinite;
}

@keyframes rays-spin {
  to { transform: translateX(-50%) rotate(360deg); }
}

.bg-effects__glow {
  position: absolute;
  top: 10%;
  left: 50%;
  width: min(600px, 90vw);
  height: 300px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(255, 200, 61, 0.12) 0%, transparent 70%);
  filter: blur(40px);
}

.bg-effects__particles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 15% 25%, rgba(255, 200, 61, 0.5), transparent),
    radial-gradient(2px 2px at 75% 15%, rgba(255, 157, 61, 0.4), transparent),
    radial-gradient(1px 1px at 50% 60%, rgba(255, 255, 255, 0.35), transparent),
    radial-gradient(2px 2px at 85% 70%, rgba(255, 200, 61, 0.35), transparent),
    radial-gradient(1px 1px at 30% 80%, rgba(255, 200, 61, 0.3), transparent);
  background-size: 100% 100%;
  animation: particles-float 18s ease-in-out infinite alternate;
  opacity: 0.55;
}

@keyframes particles-float {
  from { transform: translateY(0); }
  to { transform: translateY(-12px); }
}

/* ---------- Funnel layout ---------- */
.funnel {
  position: relative;
  z-index: 1;
  padding: 8px 0 24px;
}

.funnel__container {
  width: calc(100% - 16px);
  max-width: var(--container-max);
  margin: 8px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-mobile);
}

@media (min-width: 768px) {
  .funnel__container {
    gap: var(--gap-tablet);
    margin: 16px auto;
    width: calc(100% - 32px);
  }
}

@media (min-width: 1024px) {
  .funnel__container {
    gap: var(--gap-desktop);
  }
}

.cta-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------- Promotion media (full image, no crop) ---------- */
.promo-section {
    width: 70%;
}

.promo-media {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-promo);
  background: var(--c-navy);
  aspect-ratio: 723 / 976;
  
}
@media (max-width: 768px) {
  .promo-media {
    height: 44vh;
  }
}

@media (min-width: 1024px) {
  .promo-media {
        max-width: 528px;
        max-height: 529px;
  }
}
.promo-media img,
.promo-media video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ---------- CTA row: Register + Login ---------- */
.cta-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.btn-register,
.btn-login {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30vw;
  max-width: 260px;
  min-width: 130px;
  height: var(--btn-h-desktop);
  border-radius: var(--btn-radius);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  flex-shrink: 0;
  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .btn-register,
  .btn-login {
    width: 44vw;
    height: var(--btn-h-mobile);
    font-size: 14px;
  }
}

/* ---------- Social buttons (stacked) ---------- */
.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70%;
  max-width: 520px;
  height: var(--btn-h-desktop);
  margin: 0 auto;
  border-radius: var(--btn-radius);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: #fff;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.2s ease,
    box-shadow 0.25s ease;
}

@media (max-width: 768px) {
  .social-btn {
    height: var(--btn-h-mobile);
    width: 80%;
    font-size: 13px;
  }
}

/* ---------- Shared button effects ---------- */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.12) 50%,
    transparent 60%
  );
  transform: translateX(-100%);
  animation: btn-shine 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes btn-shine {
  0%, 70%, 100% { transform: translateX(-100%); }
  85% { transform: translateX(100%); }
}

.btn:active {
  transform: scale(0.98);
}

.btn__icon {
  position: absolute;
  left: 14px;
  font-size: 1.05rem;
  line-height: 1;
}

.btn__label {
  text-align: center;
}

/* Register — orange */
.btn-register {
  background: linear-gradient(180deg, #ffb347 0%, var(--c-orange) 45%, #e86a00 100%);
  box-shadow:
    0 4px 17px rgba(255, 157, 61, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-register:hover,
.btn-register:focus-visible {
  transform: scale(1.02);
  box-shadow:
    0 6px 22px rgba(255, 157, 61, 0.65),
    0 0 28px rgba(255, 200, 61, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  outline: none;
}

/* Login — cyan */
.btn-login {
  background: linear-gradient(180deg, #5ee7df 0%, #2ec4b6 40%, #0d9b8c 100%);
  box-shadow:
    0 4px 17px rgba(46, 196, 182, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-login:hover,
.btn-login:focus-visible {
  transform: scale(1.02);
  box-shadow:
    0 6px 22px rgba(46, 196, 182, 0.6),
    0 0 25px rgba(94, 231, 223, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  outline: none;
}

/* Telegram */
.btn-telegram {
  background: linear-gradient(180deg, #3eb5f0 0%, #229ed9 50%, #1a7fb8 100%);
  box-shadow: 0 4px 14px rgba(34, 158, 217, 0.45);
}

.btn-telegram:hover,
.btn-telegram:focus-visible {
  box-shadow:
    0 6px 20px rgba(34, 158, 217, 0.55),
    0 0 17px rgba(62, 181, 240, 0.35);
  outline: none;
}

/* Facebook */
.btn-facebook {
  background: linear-gradient(180deg, #4a7fe8 0%, #1877f2 50%, #0d5bb5 100%);
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.45);
}

.btn-facebook:hover,
.btn-facebook:focus-visible {
  box-shadow:
    0 6px 20px rgba(24, 119, 242, 0.55),
    0 0 17px rgba(74, 127, 232, 0.35);
  outline: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .bg-effects__rays,
  .bg-effects__particles,
  .btn::after {
    animation: none;
  }
  .btn:hover,
  .btn-register:hover,
  .btn-login:hover {
    transform: none;
  }
}

.video-title-section{
  text-align:center;
  margin:32px auto 18px;
}

.promo-title{
  margin:0;
  font-size:clamp(24px,4vw,42px);
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:1px;

  background:linear-gradient(
      180deg,
      #fff6b0 0%,
      #ffd95c 30%,
      #ffbf00 60%,
      #e89200 100%
  );

  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;

  text-shadow:
      0 0 15px rgba(255,210,80,.45);
}

.promo-subtitle{
  margin-top:10px;
  font-size:clamp(16px,2vw,26px);
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.5px;
  color:#ffffff;

  text-shadow:
      0 0 10px rgba(255,255,255,.25);
}