html.qwdw-page {
  height: auto !important;
  min-height: 100% !important;
  overflow-y: auto !important;
  background: linear-gradient(
    135deg,
    #1a1040 0%,
    #2d1b69 45%,
    #4a1942 100%
  ) !important;
}

body.qwdw-page {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  padding-bottom: 0 !important;
  background: linear-gradient(135deg, #1a1040 0%, #2d1b69 45%, #4a1942 100%);
}

.powered-by-badge {
  display: none !important;
}

#qwdw-landing .qwdw-hero-header {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 1.25rem 1rem 1rem;
  box-sizing: border-box;
  background: transparent;
}

#qwdw-landing .qwdw-hero-header__inner {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

#qwdw-landing .qwdw-hero-header__title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 0 0 0.85rem;
  padding: 0;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.95rem, 2.8vw, 1.55rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

#qwdw-landing .qwdw-hero-header__title-text {
  flex: 0 1 auto;
  max-width: min(72vw, 720px);
}

#qwdw-landing .qwdw-hero-header__flag {
  flex: 0 0 auto;
  display: inline-flex;
}

#qwdw-landing .qwdw-hero-header__flag-icon {
  width: clamp(28px, 6vw, 40px);
  height: clamp(28px, 6vw, 40px);
  display: block;
}

#qwdw-landing .qwdw-hero-header__desc {
  margin: 0 auto 0.55rem;
  max-width: 760px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.78rem, 2.1vw, 0.95rem);
  line-height: 1.45;
  font-weight: 600;
}

#qwdw-landing .qwdw-hero-header__desc--light {
  color: #fff;
}

#qwdw-landing .qwdw-hero-header__desc--gold {
  color: #fbd84d;
  margin-bottom: 1rem;
}

#qwdw-landing .qwdw-hero-header__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1.25rem;
}

#qwdw-landing .qwdw-hero-header__feature {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.72rem, 1.9vw, 0.88rem);
  font-weight: 700;
  white-space: nowrap;
}

#qwdw-landing .qwdw-hero-header__feature--updated {
  flex-wrap: wrap;
  justify-content: center;
}

#qwdw-landing .qwdw-hero-header__icon {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
}

#qwdw-landing .qwdw-hero-header__date-pill {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fbd84d;
  font-weight: 700;
  line-height: 1.3;
}

@media (max-width: 640px) {
  #qwdw-landing .qwdw-hero-header__title {
    flex-direction: column;
    gap: 0.45rem;
  }

  #qwdw-landing .qwdw-hero-header__title-text {
    max-width: 100%;
  }

  #qwdw-landing .qwdw-hero-header__features {
    gap: 0.65rem 0.85rem;
  }
}

#qwdw-landing .main {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0.5rem 1rem 2rem;
  gap: 1.25rem;
}

#qwdw-landing section.body {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 100vh;
  min-height: 100dvh;
}

#qwdw-landing .wheel {
  width: min(100%, 520px);
  aspect-ratio: 1 / 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

#qwdw-landing .wheel::before {
  content: "";
  position: absolute;
  inset: -1.5%;
  border-radius: 50%;
  box-shadow: inset 0 0 0 6px rgba(26, 16, 64, 0.92);
  pointer-events: none;
  z-index: 4;
}

#qwdw-landing .wheel-body {
  position: relative;
  background: #034403;
  width: 75%;
  height: 75%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: inset 0 0 0 2px #022e02;
}

#qwdw-landing .start {
  position: absolute;
  margin: auto;
  inset: 0;
  width: 25%;
  height: 25%;
  z-index: 10;
  color: #612901;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  background: transparent center / contain no-repeat;
}

#qwdw-landing .start p {
  width: fit-content;
  font-size: clamp(18px, 4vw, 29px);
  margin: 0;
  pointer-events: none;
}

#qwdw-landing .start.is-disabled,
#qwdw-landing .start:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  filter: grayscale(0.35);
}

#qwdw-landing .offer {
  width: min(100%, 520px);
  padding: 15px 18px;
  border-radius: 18px;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-align: center;
  box-sizing: border-box;
}

#qwdw-landing .offer h1 {
  color: #fbd84d;
  text-align: center;
  margin: 0 0 10px;
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 800;
  line-height: 1.15;
  font-family: Arial, Helvetica, sans-serif;
}

#qwdw-landing .offer-attempts {
  color: #ffffff;
  text-align: center;
  font-size: clamp(18px, 4vw, 22px);
  margin: 0;
  font-weight: 500;
  font-family: Arial, Helvetica, sans-serif;
}

#qwdw-landing .offer-attempts #counter {
  font-weight: 700;
}

#qwdw-landing .popup-title {
  color: #fbd84d;
  text-align: center;
  font-size: 30px;
  margin: 0 0 20px;
}

/* RTL Support for Arabic */
html[dir="rtl"] #qwdw-landing .paragraph {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] #qwdw-landing .qwdw-hero-header {
  direction: rtl;
}

html[dir="rtl"] #qwdw-landing .qwdw-hero-header__features {
  direction: rtl;
}
