* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.lucky10-page {
  margin: 0;
  min-width: 0;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  overflow-x: hidden;
  background: #fff4e8;
  color: #252525;
  font-family: Arial, Helvetica, sans-serif;
}

.lucky10-page [hidden] {
  display: none !important;
}

.lucky10-page a {
  color: inherit;
}

.lucky10-shell {
  flex: 0 0 min(100vw, 390px);
  width: min(100vw, 390px);
  max-width: 390px;
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(255, 221, 146, 0.42), transparent 28%),
    linear-gradient(180deg, #fff2e4 0%, #fff9f1 62%, #fff3e3 100%);
}

.lucky10-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 82% 48%, rgba(255, 198, 60, 0.45), transparent 18%),
    radial-gradient(circle at 100% 30%, rgba(255, 121, 26, 0.8), transparent 34%),
    linear-gradient(152deg, #bd000f 0%, #e30717 58%, #ff451f 100%);
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
}

.lucky10-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 239, 176, 0.92) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(255, 255, 255, 0.74) 0 1px, transparent 2px);
  background-position: 64px 105px, 145px 302px;
  background-size: 190px 170px, 170px 138px;
  opacity: 0.85;
}

.lucky10-topbar {
  position: relative;
  z-index: 2;
  min-height: 50px;
  display: grid;
  grid-template-columns: 72px 1fr 38px;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(186, 0, 16, 0.92);
}

.lucky10-brand,
.lucky10-topbar__title,
.lucky10-account-link {
  text-decoration: none;
  font-weight: 900;
}

.lucky10-brand {
  color: #ffe071;
  font-size: 20px;
  line-height: 1;
}

.lucky10-topbar__title {
  color: #fff;
  text-align: center;
  font-size: 13px;
}

.lucky10-account-link {
  width: 30px;
  height: 30px;
  justify-self: end;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  color: #fff;
}

.lucky10-account-link span,
.lucky10-account-link span::before,
.lucky10-account-link span::after {
  display: block;
}

.lucky10-account-link span {
  position: relative;
  width: 12px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 3px 3px 5px 5px;
}

.lucky10-account-link span::before {
  content: "";
  position: absolute;
  left: 2px;
  top: -7px;
  width: 6px;
  height: 7px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.lucky10-hero__content {
  position: relative;
  z-index: 1;
  min-height: 250px;
  padding: 16px 14px 70px;
}

.lucky10-kicker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lucky10-kicker {
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(255, 234, 164, 0.55);
  border-radius: 999px;
  background: rgba(91, 0, 8, 0.32);
  color: #fff;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.lucky10-jnt-mark {
  width: 62px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.lucky10-hero__tagline {
  margin: 18px 0 3px;
  color: #ffd98f;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.lucky10-hero h1 {
  position: relative;
  z-index: 2;
  width: 282px;
  max-width: calc(100% - 74px);
  margin: 0;
  color: #fff1a6;
  font-size: 34px;
  line-height: 0.95;
  font-weight: 900;
  font-style: italic;
  text-shadow: 0 3px 0 rgba(117, 0, 11, 0.55), 0 8px 18px rgba(87, 0, 8, 0.26);
}

.lucky10-hero h1 span,
.lucky10-hero h1 em {
  display: block;
}

.lucky10-hero h1 em {
  color: #fff;
  font-size: 26px;
  font-style: italic;
  padding-left: 27px;
}

.lucky10-prize-pill {
  position: relative;
  z-index: 3;
  width: fit-content;
  max-width: 230px;
  margin: 14px 0 0;
  padding: 8px 16px;
  border-radius: 999px;
  background: #ffe67f;
  color: #8b1b00;
  font-size: 14px;
  line-height: 1.1;
  font-weight: 900;
  box-shadow: 0 10px 18px rgba(95, 0, 9, 0.18);
}

.lucky10-prize-pill strong {
  color: #e60019;
}

.lucky10-hero__art {
  position: absolute;
  right: -6px;
  bottom: 58px;
  width: 176px;
  height: 172px;
  pointer-events: none;
}

.lucky10-phone-stack {
  position: absolute;
  right: 7px;
  bottom: 20px;
  width: 108px;
  height: 142px;
}

.lucky10-phone {
  position: absolute;
  bottom: 0;
  width: 54px;
  height: 120px;
  border: 3px solid rgba(255, 255, 255, 0.95);
  border-radius: 14px;
  box-shadow: 0 18px 28px rgba(82, 0, 8, 0.28);
}

.lucky10-phone--silver {
  left: 10px;
  background: linear-gradient(160deg, #f7efe4, #b9afa5);
  transform: rotate(-3deg);
}

.lucky10-phone--dark {
  right: 4px;
  background:
    radial-gradient(circle at 70% 30%, rgba(255, 117, 23, 0.45), transparent 28%),
    linear-gradient(145deg, #2a1914, #070707);
  transform: rotate(5deg);
}

.lucky10-phone--silver span {
  position: absolute;
  left: 8px;
  width: 14px;
  height: 14px;
  border: 2px solid #eee;
  border-radius: 50%;
  background: #222;
}

.lucky10-phone--silver span:nth-child(1) { top: 12px; }
.lucky10-phone--silver span:nth-child(2) { top: 31px; }
.lucky10-phone--silver span:nth-child(3) { left: 27px; top: 22px; }

.lucky10-phone--dark span {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 28px;
  height: 8px;
  border-radius: 999px;
  background: #050505;
  transform: translateX(-50%);
}

.lucky10-podium {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 142px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ffd460, #bd4a00);
  box-shadow: 0 16px 30px rgba(91, 0, 8, 0.28);
}

.lucky10-gift-tower {
  position: absolute;
  right: 76px;
  bottom: 18px;
  width: 44px;
  height: 76px;
  border-radius: 7px;
  background:
    linear-gradient(90deg, transparent 0 38%, #ffe579 38% 60%, transparent 60%),
    linear-gradient(180deg, #ff341f, #a90010);
  transform: rotate(-18deg);
  box-shadow: 0 14px 24px rgba(83, 0, 8, 0.22);
}

.lucky10-coin {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid #fff2b2;
  border-radius: 50%;
  background: linear-gradient(135deg, #fff1a7, #f5a70b);
}

.lucky10-coin--one {
  left: 38px;
  top: 40px;
}

.lucky10-coin--two {
  left: 20px;
  top: 82px;
}

.lucky10-mission-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  padding: 0 12px 12px;
}

.lucky10-mission-strip article {
  min-height: 86px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  padding: 10px 7px;
  border-radius: 8px;
  background: #fff9f4;
  color: #363636;
  text-align: center;
  box-shadow: 0 8px 18px rgba(111, 0, 10, 0.12);
}

.lucky10-mission-icon {
  position: relative;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #ef1325;
}

.lucky10-mission-icon::before,
.lucky10-mission-icon::after {
  content: "";
  position: absolute;
  background: #fff;
}

.lucky10-mission-icon::before {
  width: 11px;
  height: 11px;
  border-radius: 3px;
}

.lucky10-mission-icon::after {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.lucky10-mission-strip strong {
  color: #ca0014;
  font-size: 13px;
  line-height: 1;
}

.lucky10-mission-strip small {
  color: #8d807a;
  font-size: 9px;
  line-height: 1.15;
  font-weight: 700;
}

.lucky10-main {
  display: grid;
  gap: 14px;
  padding: 14px 12px 46px;
}

.lucky10-panel {
  overflow: hidden;
  padding: 14px;
  border: 1px solid #f2cdb4;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 26px rgba(123, 72, 28, 0.08);
}

.lucky10-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.lucky10-panel__head--solo {
  justify-content: flex-start;
}

.lucky10-panel__head h2,
.lucky10-rules__title h2,
.lucky10-bottom-cta h2 {
  margin: 0;
  color: #272727;
  font-size: 22px;
  line-height: 1.12;
  font-weight: 900;
}

.lucky10-panel__head h2 {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lucky10-panel__head h2 span {
  width: 11px;
  height: 11px;
  display: inline-block;
  background:
    linear-gradient(90deg, transparent 40%, #ef1325 40% 60%, transparent 60%),
    linear-gradient(0deg, transparent 40%, #ef1325 40% 60%, transparent 60%);
}

.lucky10-panel__head a {
  color: #ef1325;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.lucky10-state {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 64px;
  padding: 12px;
  border: 1px solid #f3d8c4;
  border-radius: 8px;
  background: #fff8f2;
  color: #5b3427;
  font-size: 13px;
  font-weight: 800;
}

.lucky10-state--error {
  flex-direction: column;
  align-items: flex-start;
}

.lucky10-spinner {
  width: 22px;
  height: 22px;
  border: 3px solid #ffd8a6;
  border-top-color: #e70019;
  border-radius: 50%;
  animation: lucky10-spin 0.9s linear infinite;
}

.lucky10-inline-button {
  min-height: 38px;
  padding: 9px 12px;
  border: 0;
  border-radius: 8px;
  background: #ef1325;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.lucky10-login {
  width: 100%;
  display: grid;
  gap: 8px;
  margin-top: 4px;
}

.lucky10-login input {
  width: 100%;
  min-height: 40px;
  border: 1px solid #efd3be;
  border-radius: 8px;
  background: #fff;
  color: #4a2620;
  padding: 9px 11px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  outline: none;
}

.lucky10-login input:focus {
  border-color: #ef1325;
  box-shadow: 0 0 0 3px rgba(255, 214, 98, 0.28);
}

.lucky10-login__error {
  color: #bf0013;
  font-size: 12px;
  font-weight: 900;
}

.lucky10-number-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.lucky10-number-card {
  min-height: 76px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 4px;
  padding: 7px 4px;
  border: 1px solid #eadbcf;
  border-radius: 8px;
  background: #f3eee8;
  color: #81746c;
  text-align: center;
}

.lucky10-number-card strong {
  font-size: 25px;
  line-height: 0.95;
  font-weight: 900;
}

.lucky10-number-card__icon {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ded7ce;
  color: #9a8f87;
  font-size: 11px;
  font-weight: 900;
}

.lucky10-number-card small {
  color: currentColor;
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
}

.lucky10-number-card.is-activated {
  border-color: #ffbd1c;
  background: linear-gradient(180deg, #ffe980 0%, #ffc33a 100%);
  color: #8f1300;
  box-shadow: 0 6px 12px rgba(208, 80, 0, 0.14);
}

.lucky10-number-card.is-activated .lucky10-number-card__icon {
  background: #bd1b13;
  color: #fff;
}

.lucky10-progress-meter {
  margin-top: 14px;
}

.lucky10-progress-meter__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  color: #3d3d3d;
  font-size: 14px;
  font-weight: 900;
}

.lucky10-progress-meter__label strong {
  color: #ef1325;
}

.lucky10-progress-meter__track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #eee4d8;
}

.lucky10-progress-meter__bar {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff7980, #ef1325);
  transition: width 0.45s ease;
}

.lucky10-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border: 0;
  border-radius: 8px;
  background: #ef1325;
  color: #fff;
  font-size: 15px;
  line-height: 1.1;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 20px rgba(239, 19, 37, 0.22);
}

.lucky10-button--wide {
  width: 100%;
  margin-top: 14px;
}

.lucky10-button--claim {
  background: linear-gradient(180deg, #ffe77e, #ffbd38);
  color: #8f1300;
  box-shadow: 0 12px 22px rgba(224, 137, 0, 0.24);
}

.lucky10-button--disabled {
  background: #e8ded5;
  color: #84776f;
  box-shadow: none;
}

.lucky10-progress-note {
  margin: 9px 0 0;
  color: #a89a91;
  text-align: center;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 700;
}

.lucky10-records__empty {
  padding: 14px;
  border: 1px dashed #ecd4c4;
  border-radius: 8px;
  background: #fff9f4;
  color: #806e64;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 800;
}

.lucky10-record-list > div {
  display: grid;
  gap: 10px;
}

.lucky10-record-row {
  min-height: 68px;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid #f1dac9;
  border-radius: 8px;
  background: #fffaf5;
}

.lucky10-record-row__badge {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #f0e9e1;
  color: #9b8c83;
  font-size: 20px;
  font-weight: 900;
}

.lucky10-record-row--activated .lucky10-record-row__badge {
  background: linear-gradient(180deg, #ffe980, #ffc33a);
  color: #8f1300;
}

.lucky10-record-row__body {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.lucky10-record-row__body strong {
  overflow: hidden;
  color: #2f2f2f;
  font-size: 13px;
  line-height: 1.15;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lucky10-record-row__body span {
  display: -webkit-box;
  overflow: hidden;
  color: #8f7c72;
  font-size: 11px;
  line-height: 1.25;
  font-weight: 700;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.lucky10-record-row__status {
  min-width: 58px;
  justify-self: end;
  padding: 6px 8px;
  border-radius: 999px;
  background: #f0ede8;
  color: #77716b;
  text-align: center;
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.lucky10-record-row--activated .lucky10-record-row__status {
  background: #dbf9df;
  color: #238a37;
}

.lucky10-record-row--not_lucky .lucky10-record-row__status,
.lucky10-record-row--not_eligible .lucky10-record-row__status {
  background: #eeeae3;
  color: #817972;
}

.lucky10-record-row--waiting .lucky10-record-row__status {
  background: #fff0d6;
  color: #d28600;
}

.lucky10-steps__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.lucky10-step {
  min-height: 150px;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 8px;
  padding: 13px 10px;
  border: 1px solid #ecd3c2;
  border-radius: 8px;
  background: #fffdf9;
  text-align: center;
}

.lucky10-step span {
  min-width: 52px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #ef1325;
  color: #fff;
  font-size: 9px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.lucky10-step__icon {
  height: 42px;
  display: grid;
  place-items: center;
  font-size: 30px;
  line-height: 1;
}

.lucky10-step strong {
  color: #373737;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 900;
}

.lucky10-step small {
  color: #9a8b82;
  font-size: 10px;
  line-height: 1.25;
  font-weight: 700;
}

.lucky10-rules {
  padding: 0;
}

.lucky10-rules__title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 17px 14px 10px;
}

.lucky10-rules__title span {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #fff0dc;
}

.lucky10-rules__title span::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid #ff8c7a;
  transform: rotate(45deg);
}

.lucky10-rules__list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0 14px 16px;
  list-style: none;
}

.lucky10-rules__list li {
  position: relative;
  padding-left: 28px;
  color: #5b514c;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 800;
}

.lucky10-rules__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ef1325;
}

.lucky10-rules__list li::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  width: 5px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.lucky10-rules__foot {
  margin: 0;
  padding: 12px 14px;
  border-top: 1px dashed #e9cdb8;
  background: #fff8ef;
  color: #9b8c82;
  font-size: 10px;
  line-height: 1.35;
  font-weight: 700;
}

.lucky10-bottom-cta {
  position: relative;
  overflow: hidden;
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 154px;
  padding: 21px 18px 18px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 105%, rgba(255, 235, 124, 0.48), transparent 24%),
    radial-gradient(circle at 89% 100%, rgba(255, 235, 124, 0.5), transparent 26%),
    linear-gradient(145deg, #b6000d 0%, #ef1325 62%, #ff391e 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 14px 26px rgba(168, 0, 14, 0.18);
}

.lucky10-bottom-cta h2 {
  max-width: 260px;
  color: #ffe47a;
  font-size: 22px;
}

.lucky10-bottom-cta p {
  margin: 0;
  color: #fff4ee;
  font-size: 11px;
  font-weight: 800;
}

.lucky10-button--gold {
  min-width: 130px;
  margin-top: 7px;
  background: linear-gradient(180deg, #ffe98b, #ffbd38);
  color: #6f1a00;
  box-shadow: 0 10px 18px rgba(109, 0, 7, 0.18);
}

.lucky10-bottom-gift {
  position: absolute;
  bottom: -5px;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 0 38%, #ffe57a 38% 60%, transparent 60%),
    linear-gradient(180deg, #ff3c25, #b40012);
}

.lucky10-bottom-gift::before {
  content: "";
  position: absolute;
  left: 10px;
  top: -15px;
  width: 32px;
  height: 20px;
  border: 6px solid #ffdf55;
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
}

.lucky10-bottom-gift--left {
  left: -4px;
  transform: rotate(-10deg);
}

.lucky10-bottom-gift--right {
  right: -4px;
  transform: rotate(10deg);
}

@keyframes lucky10-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (min-width: 600px) {
  body.lucky10-page {
    justify-content: center;
  }
}
