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

html, body {
  width: 100%;
  height: 100%;
}

body {
  font-family: Arial, sans-serif;
  background-color: #1a0000;
  color: #fff;
  min-height: 100vh;
}

.landing {
  position: relative;
  width: 100%;
  height: 100vh;
  background: radial-gradient(ellipse at 50% 40%, #c80000 0%, #7a0000 45%, #2d0000 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.landing::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('img/bg.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* в”Ђв”Ђ Logo вЂ” С†РµРЅС‚СЂ СЃРІРµСЂС…Сѓ в”Ђв”Ђ */
.logo-center {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.logo-center img {
  height: 56px;
  width: auto;
  display: block;
}

/* в”Ђв”Ђ Lang switcher вЂ” СЃРєСЂС‹С‚ в”Ђв”Ђ */
.header-right {
  position: absolute;
  top: 22px;
  right: 28px;
  z-index: 10;
}

/* в”Ђв”Ђ Main content вЂ” С†РµРЅС‚СЂ СЌРєСЂР°РЅР° в”Ђв”Ђ */
.main-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.lang-wrap { position: relative; }

.lang-switcher {
  display: none;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 8px 14px;
  cursor: pointer;
  user-select: none;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s;
}

.lang-switcher:hover { background: rgba(0,0,0,0.5); }

.fi {
  width: 24px !important;
  height: 18px !important;
  border-radius: 3px;
  background-size: cover;
  flex-shrink: 0;
}

.lang-code { letter-spacing: 0.03em; }
.lang-arrow { font-size: 11px; opacity: 0.8; margin-left: 2px; transition: transform 0.2s; }
.lang-wrap.open .lang-arrow { transform: rotate(180deg); }

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 100%;
  background: rgba(20,0,0,0.92);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  overflow: hidden;
  z-index: 100;
}

.lang-wrap.open .lang-dropdown { display: block; }

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  transition: background 0.15s;
  white-space: nowrap;
}

.lang-option:hover  { background: rgba(255,255,255,0.1); }
.lang-option.active { background: rgba(255,255,255,0.07); }

/* ── Floating elements ── */
.float-el {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  width: 22vw;
  max-width: 320px;
}

.float-left {
  left: 0;
  top: 8%;
  animation: float-l 4.2s ease-in-out infinite;
}

.float-right {
  right: 0;
  top: 8%;
  animation: float-r 6.8s ease-in-out 1.5s infinite;
}

@keyframes float-l {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-16px); }
  100% { transform: translateY(0px); }
}

@keyframes float-r {
  0%   { transform: translateY(0px); }
  50%  { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

.bonus-block {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.bonus-label {
  font-family: Arial, sans-serif;
  font-size: clamp(56px, 7.5vw, 104px);
  font-weight: 700;
  font-style: normal;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-shadow: 2px 4px 12px rgba(0,0,0,0.5);
}

.bonus-amount {
  font-family: 'Arial Black', 'Arial Bold', Arial, sans-serif;
  font-style: normal;
  transform: skewX(-10deg);
  display: inline-block;
  font-size: clamp(50px, 7vw, 100px);
  font-weight: 900;
  font-style: normal;
  color: #111;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.1;
  margin-top: -0.35em;
  -webkit-text-stroke: 1px #fff;
  text-shadow: none;
  white-space: nowrap;
}

.bonus-desc {
  font-family: Arial, sans-serif;
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 400;
  font-style: normal;
  color: rgba(255,255,255,0.75);
  max-width: 520px;
  line-height: 1.5;
  margin-top: 6px;
  letter-spacing: 0.02em;
}

.cta-btn {
  margin-top: 14px;
  background: #111;
  color: #fff;
  font-size: clamp(14px, 1.3vw, 18px);
  font-weight: 800;
  letter-spacing: 0.12em;
  border: none;
  border-radius: 50px;
  padding: 18px 64px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 28px rgba(0,0,0,0.55);
  text-transform: uppercase;
}

.cta-btn:hover  { background: #2a2a2a; transform: scale(1.04); }
.cta-btn:active { transform: scale(0.97); }

/* в”Ђв”Ђ Footer в”Ђв”Ђ */
.footer {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  z-index: 10;
  pointer-events: none;
}

/* в”Ђв”Ђ Modals в”Ђв”Ђ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.visible { display: flex; }

.modal {
  position: relative;
  background: #121212;
  border-radius: 20px;
  width: min(480px, 92vw);
  padding: 0 28px 32px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.8);
  animation: modal-in 0.35s ease;
  overflow: hidden;
}

@keyframes modal-in {
  from { transform: scale(0.85); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 1;
}

.modal-close:hover { background: rgba(255,255,255,0.22); }

.modal-img {
  width: calc(100% + 56px);
  margin-left: -28px;
  pointer-events: none;
  line-height: 0;
  background: #121212;
}

.modal-img img { width: 100%; height: auto; display: block; }

.modal-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-top: 20px;
  margin-bottom: 20px;
  text-transform: uppercase;
  line-height: 1.4;
}

.modal-prizes-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: -8px;
  margin-bottom: 20px;
}

.modal-prize-item { font-size: 20px; font-weight: 800; color: #fff; line-height: 1.4; }

.modal-password-wrap { position: relative; }
.modal-password-wrap .modal-input { padding-right: 48px; }

.modal-eye {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.4);
  padding: 0;
  display: flex;
  align-items: center;
  font-size: 18px;
}

.modal-eye:hover { color: rgba(255,255,255,0.7); }

.modal-form { display: flex; flex-direction: column; gap: 10px; }
.modal-input-row { display: flex; gap: 10px; align-items: stretch; }
.modal-input-row .modal-input { flex: 1; width: auto; min-width: 0; }

.modal-input {
  width: 100%;
  background: #1e1e1e;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 14px 16px;
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.modal-input::placeholder { color: rgba(255,255,255,0.4); }
.modal-input:focus { border-color: rgba(255,100,100,0.5); }

.modal-phone-flag {
  background: #1e1e1e;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  height: 52px;
  box-sizing: border-box;
}

.modal-submit {
  width: 100%;
  background: #e02020;
  color: #fff;
  font-size: 17px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  padding: 16px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 4px;
}

.modal-submit:hover { background: #c01818; }

.info-modal { width: min(420px, 92vw); padding: 32px 28px 28px; text-align: left; }
.info-modal-title { font-size: 20px; font-weight: 800; color: #fff; text-transform: uppercase; margin-bottom: 16px; }
.info-modal-body { display: flex; flex-direction: column; gap: 10px; }
.info-modal-body p { font-size: 14px; color: rgba(255,255,255,0.8); line-height: 1.6; }
.info-modal-body strong { color: #e02020; font-size: 16px; }

/* в”Ђв”Ђ Mobile в”Ђв”Ђ */
@media (max-width: 768px) {
  .landing::before {
    background-image: url('img/bg-mobile.png');
    background-position: center bottom;
  }

  .logo-center { top: 0; }
  .logo-center img { height: 42px; }
  .header-right { top: 16px; right: 16px; }
  .float-el { width: 62vw; }
  .float-left { top: 10%; left: -8vw; }
  .float-right { top: 6%; }
  .bonus-block { padding: 0 12px; }
  .bonus-label { font-size: clamp(28px, 10vw, 48px); }
  .bonus-amount { font-size: clamp(26px, 9vw, 44px); white-space: nowrap; text-align: center; margin-top: -0.2em; -webkit-text-stroke: 1px #fff; text-shadow: none; }
  .bonus-desc { font-size: 13px; padding: 0 8px; }
  .cta-btn { padding: 14px 32px; font-size: 15px; }
}






.modal-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
  color: rgba(255,255,255,0.35);
  font-size: 13px;
}
.modal-divider::before,
.modal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.15);
}
.modal-google-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: #333;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  padding: 13px 16px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.modal-google-btn:hover { background: #f5f5f5; box-shadow: 0 4px 12px rgba(0,0,0,0.4); }
.modal-google-btn:disabled { opacity: 0.6; cursor: not-allowed; }
