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

html,
body {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  background: #0d0d0f;
  color: #e0e0e0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  overflow-x: hidden;
}

.hero-video-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-video-iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 100vh;
  aspect-ratio: 16 / 9;
  width: auto;
  min-width: 100vw;
  transform: translate(-50%, -50%);
  border: none;
  pointer-events: none;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(5, 8, 22, 0.75),
    rgba(5, 8, 22, 0.5),
    rgba(5, 8, 22, 0.85)
  );
  pointer-events: none;
}
.wheel-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  pointer-events: none;
  padding: 20px;
  box-sizing: border-box;
  opacity: 1;
}

.wheel-section.wheel-section--hidden {
  transform: scale(0);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: transform 0.5s ease-in, opacity 0.5s ease-in, visibility 0s 0.5s;
}

.wheel-section .wheel-container {
  pointer-events: auto;
}

.wheel-container {
  position: relative;
  width: 85vh;
  height: 85vh;
  min-width: 220px;
  min-height: 220px;
}

.wheel-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: transform 9s ease-out;
}

.wheel-disk {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wheel-spin-btn {
  position: absolute;
  left: 50%;
  top: 51%;
  transform: translate(-50%, -50%);
  width: 42%;
  /* height: 32%; */
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  z-index: 2;
}

.wheel-spin-btn img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.wheel-spin-btn:hover {
  opacity: 0.9;
}

.wheel-spin-btn:disabled {
  cursor: not-allowed;
  opacity: 0.8;
}

.wheel-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 110%;
  height: 110%;
  transform: translate(-50%, -50%);
  object-fit: contain;
  z-index: 3;
  pointer-events: none;
}

/* Утилита для скрытия элементов */
.hidden {
  display: none !important;
}

/* Модалка регистрации (скопировано из lp13) */
.registration-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.registration-modal.hidden {
  display: none;
}

.registration-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

.registration-modal-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 16px;
  padding: 32px;
  background: #1f2937;
  border-radius: 16px;
  border: 1px solid #374151;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.registration-modal-tabs {
  display: flex;
  margin-bottom: 24px;
}

.registration-tab {
  flex: 1;
  padding: 8px 0;
  text-align: center;
  font-weight: 500;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: #9ca3af;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  font-size: inherit;
}

.registration-tab:hover {
  color: #fff;
}

.registration-tab.registration-tab--active {
  color: #f97316;
  border-bottom-color: #f97316;
}

.registration-modal-bonus {
  position: relative;
  background: linear-gradient(135deg, #f59e0b 0%, #ef4444 50%, #8b5cf6 100%);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  gap: 12px;
}

.registration-modal-bonus-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.registration-modal-bonus-text {
  flex: 1;
}

.registration-modal-bonus-title {
  margin: 0;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.registration-modal-bonus-desc {
  margin: 2px 0 0 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 13px;
}

.registration-modal-bonus-badge {
  display: inline-block;
  background: rgba(17, 24, 39, 0.35);
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.registration-modal-error {
  background: #dc2626;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
  text-align: center;
  color: #fff;
  font-size: 14px;
}

.registration-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.registration-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.registration-field-label {
  color: #d1d5db;
  font-size: 14px;
}

.registration-input {
  width: 100%;
  padding: 12px 12px 12px 40px;
  background: #374151;
  border: 1px solid #4b5563;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.registration-input:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.2);
}

.registration-password-wrap {
  position: relative;
}

.registration-password-wrap .registration-input {
  padding-right: 44px;
}

.registration-password-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
}

.registration-password-toggle:hover {
  color: #fff;
}

.registration-field-error {
  color: #ef4444;
  font-size: 12px;
  min-height: 16px;
}

.registration-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  color: #d1d5db;
  font-size: 12px;
  line-height: 1.4;
}

.registration-checkbox input {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: #f97316;
  cursor: pointer;
}

.registration-link {
  color: #f97316;
  text-decoration: none;
}

.registration-link:hover {
  text-decoration: underline;
}

.registration-submit {
  width: 100%;
  padding: 12px;
  background: #6b46c1;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s, opacity 0.2s;
}

.registration-submit:hover:not(:disabled) {
  background: #553c9a;
}

.registration-submit:disabled {
  background: #6b7280;
  cursor: not-allowed;
  opacity: 0.7;
}

