@font-face {
  font-family: "TIMSans";
  src: url("../assets/fonts/TIMSans-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TIMSans";
  src: url("../assets/fonts/TIMSans-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TIMSans";
  src: url("../assets/fonts/TIMSans-Heavy.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TIMSans";
  src: url("../assets/fonts/TIMSans-Heavy.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

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

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

body {
  margin: 0;
  min-height: 100dvh;
  font-family: "TIMSans", system-ui, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.35;
  color: #081677;
  background: #fff;
}

img,
svg {
  display: block;
}

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

.site-header .page {
  padding-bottom: 0;
}

.scratch-wrap {
  margin: 0;
}

figure.scratch-wrap img {
  width: 100%;
  height: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page {
  max-width: 388px;
  margin: 0 auto;
  padding: 12px 12px 28px;
}

/* Header */
.site-header {
  margin-bottom: 8px;
}

.site-header__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.site-header__logo img {
  width: 88px;
  height: 24px;
}

.site-header__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  padding-top: 2px;
}

.site-header__menu {
  border: 0;
  background: transparent;
  padding: 4px 2px 0;
  cursor: pointer;
}

.site-header__menu-icon {
  width: 1.4rem;
  height: 1.4rem;
  color: #002b78;
}

.site-header__tagline {
  margin: 0;
  max-width: 86px;
  text-align: right;
  font-size: 7.5px;
  font-weight: 700;
  line-height: 1.12;
  color: #002b78;
}

/* Hero */
.hero-copy {
  text-align: center;
  padding: 10px 4px 16px;
}

.hero-copy h1 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.18;
  color: #081677;
}

.hero-copy p {
  margin: 0;
  font-size: 15px;
  font-weight: 300;
  color: #5c6583;
}

/* Scratch card promo (raster) */
.scratch-wrap {
  margin-bottom: 18px;
}

.scratch-wrap img {
  width: 100%;
  height: auto;
  border-radius: 14px;
}

/* Prizes */
.section-title {
  margin: 0 0 11px;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #081677;
}

.prizes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.prize-card {
  background: #fff;
  border: 1px solid #e6e9f1;
  border-radius: 12px;
  padding: 14px 6px 11px;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  box-shadow: 0 1px 0 rgba(8, 22, 119, 0.04);
}

.prize-card__icon {
  width: 36px;
  height: 36px;
  color: #081677;
}

.prize-card__icon--tv {
  width: 40px;
  height: 40px;
}

.prize-card__label {
  margin: 0;
  text-align: center;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.25;
  color: #081677;
}

/* Referral */
.referral {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 10px 11px 10px;
  margin: 0 0 18px;
  border-radius: 12px;
  background: #e9edf4;
  border: 1px solid #dce2ed;
  font: inherit;
  text-align: left;
  color: inherit;
  cursor: pointer;
}

.referral__users {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.referral__user {
  width: 22px;
  height: 18px;
}

.referral__user--blue {
  color: #081677;
}

.referral__user--red {
  color: #ea0026;
}

.referral__arrow-mini {
  width: 16px;
  height: 8px;
  color: #081677;
}

.referral__text {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.28;
  color: #081677;
}

.referral__text strong {
  font-weight: 700;
  color: #ea0026;
}

.referral__chevron {
  width: 10px;
  height: 16px;
  flex-shrink: 0;
  color: #081677;
}

/* Claim */
.claim {
  background: #eceef4;
  border-radius: 14px;
  padding: 20px 14px 18px;
  margin-bottom: 22px;
  box-shadow: inset 0 0 0 1px #e0e4ee;
}

.claim h2 {
  margin: 0 0 16px;
  text-align: center;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.25;
  color: #081677;
}

.phone-group {
  margin-bottom: 12px;
}

.phone-group--error ~ .btn-cta {
  box-shadow: 0 0 0 2px rgba(234, 0, 38, 0.25);
}

.phone-field {
  display: flex;
  align-items: stretch;
  min-height: 48px;
  background: #fff;
  border: 1px solid #d9dde8;
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.phone-field--invalid {
  border-color: #ea0026;
  box-shadow: 0 0 0 1px rgba(234, 0, 38, 0.35);
}

.phone-field--valid {
  border-color: #1a9b55;
  box-shadow: 0 0 0 1px rgba(26, 155, 85, 0.35);
}

.phone-feedback {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 8px 2px 0;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
}

.phone-feedback[hidden] {
  display: none !important;
}

.phone-feedback__icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

.phone-feedback--error {
  color: #b8001f;
  background: #fdecef;
  border: 1px solid #f5c2cb;
}

.phone-feedback--error .phone-feedback__icon {
  color: #ea0026;
}

.phone-feedback--ok {
  color: #0d6e3f;
  background: #e8f7ef;
  border: 1px solid #b8e6cc;
}

.phone-feedback--ok .phone-feedback__icon {
  color: #1a9b55;
}

.phone-feedback--hint {
  color: #5c6583;
  background: #f4f6fa;
  border: 1px solid #e3e8f2;
}

.phone-field__prefix {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px 0 12px;
  border-right: 1px solid #e6e9f1;
  font-size: 15px;
  font-weight: 500;
  color: #081677;
  white-space: nowrap;
}

.phone-field__prefix img {
  width: 22px;
  height: 16px;
}

.phone-field__chevron {
  width: 9px;
  height: 9px;
  opacity: 0.45;
  color: #081677;
}

.phone-field input {
  flex: 1;
  border: 0;
  padding: 12px 10px;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  color: #081677;
  background: transparent;
  min-width: 0;
}

.phone-field input::placeholder {
  color: #9aa3bf;
  font-weight: 300;
}

.btn-cta:disabled {
  opacity: 0.72;
  cursor: wait;
}

.btn-cta {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  padding: 13px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  background: #ea0026;
  cursor: pointer;
}

.btn-cta__arrow {
  width: 18px;
  height: 18px;
}

.claim__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 12px 0 0;
  font-size: 12px;
  font-weight: 500;
  color: #7a849e;
}

.claim__clock {
  width: 14px;
  height: 14px;
}

.claim__form[hidden] {
  display: none !important;
}

.claim--submitted .claim__form {
  display: none !important;
}

.claim-success {
  text-align: center;
}

body.success-page {
  margin: 0;
  min-height: 100dvh;
  background: #eceff5;
}

.success-plate-wrap {
  max-width: 430px;
  margin: 0 auto;
  padding: 20px 16px calc(28px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
}

.success-plate {
  padding: 22px 18px 20px;
  border-radius: 14px;
  background: #eceff5;
}

.gth-main__logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.claim-success__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: #1a9b55;
  color: #fff;
}

.claim-success__title {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.25;
  color: #081677;
}

.claim-success__lead {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: #5c6583;
}

.claim-success__meta {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e0e4ee;
  text-align: left;
}

.claim-success__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #eef1f6;
}

.claim-success__row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.claim-success__row:first-child {
  padding-top: 0;
}

.claim-success__row dt {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  color: #7a849e;
  flex: 0 0 42%;
}

.claim-success__row dd {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #081677;
  text-align: right;
  flex: 1 1 auto;
  word-break: break-word;
}

.claim-success__security {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 8px;
  text-align: left;
  background: #e8f7ef;
  border: 1px solid #b8e6cc;
  border-left: 3px solid #1a9b55;
}

.claim-success__security-label {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0d6e3f;
}

.claim-success__security-text {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  color: #081677;
}

.claim-success__footnote {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 500;
  color: #7a849e;
}

.claim-success__back,
.btn-cta--home {
  display: flex;
  text-decoration: none;
  background: #1a9b55;
}

.claim-success__back:hover,
.btn-cta--home:hover {
  background: #0d6e3f;
}

/* Trust */
.trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.trust__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.trust__icon {
  width: 26px;
  height: 26px;
  color: #7a849e;
}

.trust__item span {
  font-size: 10px;
  font-weight: 500;
  line-height: 1.2;
  color: #7a849e;
}

.site-header__logo:focus-visible,
.site-header__menu:focus-visible,
.referral:focus-visible,
.phone-field input:focus-visible,
.btn-cta:focus-visible {
  outline: 2px solid #081677;
  outline-offset: 2px;
}