@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


* {
  padding: 0px;
  margin: 0px;
  border: none;
  
}
html{
  scroll-behavior: smooth;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

a:hover {
  text-decoration: none;
}


aside,
nav,
footer,
header,
section,
main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-size: inherit;
  font-weight: inherit;
}

ul,
ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

input,
textarea,
button,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}

body {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

a {
  transition: color 0.2s ease-in;
  text-transform: uppercase;
  text-decoration: none;
}

.container {
  margin: 0 auto;
  padding: 0 15px;
  max-width: 1260px;
}

h1, h2, h3{
  font-weight: 900;
  color: #fff;
  text-align: left;
}
h1{
  font-size: 55px;
  margin-bottom: 20px;
}
h2{
  font-size: 55px;
  margin-bottom: 70px;
}

.header1 {
  background: #be01de;
  padding-top: 21px;
  padding-bottom: 81px;
}
.header {
  background: url(images/scratch-header-bg.png), #be01de;
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size: inherit;
}

.scratch-header-down-all{
  background: url("images/scratch-policy-bg.png"), #be01de;
  background-position: bottom;
  background-repeat: no-repeat;
  padding-block: 1px 80px;
  text-align: left;
  background-size: 100% 104%;
}
.scratch-header-down{
  max-width: 812px;
}
.scratch-header-down h3{
  font-size: 45px;
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 120%;
  color: #fff;
}

.scratch-header-down h4{
  color: #fff;
  font-weight: 900;
  margin-block: 60px 20px;
  font-size: 30px;
  line-height: 120%;
}
.scratch-header-down p{
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 40px;
}

.scratch-header-down li{
  color: #fff;
  list-style: inside;
  margin-left: 10px;
}
.scratch-header-down ul{
  margin-top: -40px;
}
.scratch-header-ticket{
  max-width: 624px;
  padding: 68px 30px 149px 30px;
  background-color: #999;
  background: url('images/scratch-header-ticket.png'), #9200c7;
  background-position: left bottom;
  background-repeat: no-repeat;
}
.scratch-header-ticket h3{
  font-weight: 600;
  font-size: 25px;
  margin-bottom: 40px;
  line-height: 120%;
  color: rgba(255, 255, 255, 0.8);
}

.scratch-header1-up-all{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.scratch-header-up-all{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.scratch-header-link1{
  display: flex;
  column-gap: 20px;
}
.scratch-header-link a,
.scratch-header-link1 a{
  font-weight: 800;
  font-size: 16px;
  line-height: 120%;
  margin-block: auto;
  text-align: center;
  color: #9200c7;
  &:hover{
    color: #fff;
  }
}
/* .scratch-header-link1 a img,
.scratch-header-link a img{
  padding-top: 2px;
} */
.scratch-header-main-img{
  display: none;
}
.scratch-header-link,
.scratch-header-link1 a {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 5px;
  border: 4px solid #7e9f00;
  box-shadow: inset 3px 10px 4px 0 rgba(255, 255, 255, 0.5), 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  background: #e7dc40;
  border-radius: 100px;
  width: 188px;
  padding-block: 15px;
  cursor: pointer; 
}

.scratch-header-link1{
  margin-top: 21px;
}

#scratch-signup,
#scratch-lognin{
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0px;
  bottom: 100px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  z-index: 1;
  /* background: url('images/scratch-header-bg.png'),#BE01DE; */
  background: #BE01DE; 
  background-position: right top;
  background-size: inherit;
  background-repeat: no-repeat;
}
.himg{
  max-width: 858px;
  height: 665px;
}
.img-none{
  display: none;
}
.clos{
  margin-bottom: 95px;
}

.scratch-sign,
.scratch-logn{
  display: flex;
  flex-direction: column;
  width: 604px;
  padding: 30px 30px 140px 30px;
  background: #9200c7;
}

input{
  width: 544px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  padding: 20px 24px;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
}
.password-input:focus{
  color: rgba(255, 255, 255, 0.5);
  outline-color: #f00;
}
input:focus{
  color: #fff;
  outline-color: #f3d623;
}

.password-input.filled{
  outline-color: #f3d623;
}

input:valid{
  outline-color: #f00;
  color: rgba(255, 255, 255, 0.5);
}
input::placeholder{
  color: rgba(255, 255, 255, 0.5);
}

.scratch-sign-link,
.scratch-logn-link {
  width: 544px;
  font-weight: 900;
  font-size: 16px;
  border: 4px solid #7e9f00;
  border-radius: 100px;
  background: #f3d623;
  color: #9200c7;
  margin-bottom: 20px;
  margin-top: 10px;
  text-decoration: none;
  padding-block: 19px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  user-select: none; /* 🔒 чтобы нельзя было выделить текст */
}
.scratch-sign-link:hover,
.scratch-logn-link:hover {
  color: #fff;
  background: #9200c7;
}

.scratch-sign-h,
.scratch-logn-h {
  font-weight: 900;
  font-size: 30px;
  color: #fff;
  margin-bottom: 40px;
  text-align: left;
}

.scratch-sign-ac,
.scratch-logn-ac {
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: #e7dc40;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
  &:hover {
    color: #fff;
  }
}

.scratch-choose-all {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.scratch-choose__inner{
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}
.scratch-choose__inner1-up img{
  width: 110px;
  height: 64px;
}

.scratch-choose__inner1{
  border-radius: 30px;
  width: 272px;
  background: rgba(255, 255, 255, 0.2);
  padding: 20px ;
  justify-content: center;
}
.scratch-ticket{
  display: flex;
  justify-content: center;
}
.scratch-ticket a{
  font-weight: 800;
  font-size: 16px;
  padding: 12px 98px;
  color: #9200c7;
  box-shadow: inset 3px 10px 4px 0 rgba(255, 255, 255, 0.5), 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  background: #e7dc40;
  border: 4px solid #7e9f00;
  border-radius: 100px;
  width: 232px;
  &:hover{
    color: #fff;
    background-color: #9200c7;
  }
}

.scratch-choose__inner1-up{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.scratch-choose__inner-prise{
  display: flex;
  flex-direction: column;
}
.scratch-choose__inner-prise p{
  font-weight: 700;
  color: #fff;
}
.scratch-dollar{
  font-size: 25px;
}
.line{
  font-size: 20px;
}
.scratch-all-prise{
  display: flex;
  align-items: center;
  column-gap: 5px;
}

.scratch-prise{
  font-weight: 700;
  font-size: 45px;
  line-height: 120%;
  color: #fff;
}
.scratch-main-bg-resfaq{
  background: url("images/1l.png"),url(images/2l.png), url(images/3l.png) #be01de;
  background-position: left bottom, left top, right center;
  background-repeat: no-repeat;
}

.scratch-results {
  padding-top: 120px;
}
.scratch-results-all{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px 20px;
}
.scratch-results-all__inner{
  display: flex;
}
.scratch-results__inner0,
.scratch-results__inner01{
  border-radius: 30px;
  width: 84px;
  height: 300px;
  background: rgba(255, 255, 255, 0.2);
}
.scratch-results__inner0{
  border-right: 1px dashed #e7dc40;
}
.scratch-results__inner01{
  border-left: 1px dashed #e7dc40;
}
.scratch-results__inner2,
.scratch-results__inner02{
  border-radius: 30px;
  width: 84px;
  height: 300px;
  background: #9200c7;
}
.scratch-results__inner2{
  border-right: 1px dashed #e7dc40;
}
.scratch-results__inner02{
  border-left: 1px dashed #e7dc40;
}

.scratch-results-all-one {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 40px 56px 54px 30px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  max-width: 436px;
  row-gap: 25px;
}
.scratch-results-all-one2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 40px 56px 36px 30px;
  background: #9200c7;
  border-radius: 30px;
  max-width: 436px;
  row-gap: 25px;
}

.scratch-results__inner ul {
  display: flex;
  gap: 20px 10px;
  flex-wrap: wrap;
}

.bg-yel {
  font-weight: 600;
  font-size: 18px;
  border: 4px solid #7e9f00;
  box-shadow: inset 3px 10px 4px 0 rgba(255, 255, 255, 0.5), 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  background: #e7dc40;
  border-radius: 100px;
  width: 50px;
  height: 50px;
  color: #9200c7;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bg-white {
  font-weight: 600;
  font-size: 18px;
  border: 4px solid #7e9f00;
  border-radius: 100px;
  width: 50px;
  height: 50px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}
.scratch-results__inner{
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.scratch-results__inner h4 {
  font-weight: 800;
  font-size: 26px;
  line-height: 110%;
  color: #fff;
  margin-bottom: 14px;
  text-align: left;
}

.scratch-results__inner p {
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}

.scratch-results__inner p span {
  font-weight: 700;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  margin-left: 17px;
}

.scratch-reviews {
  padding-block: 120px 140px;
  background: url("images/scratch-reviews-bg.png"), #9200c7;
  background-position: right bottom;
  background-repeat: no-repeat;
  border-top: 3px dashed #e7dc40;
  border-bottom: 3px dashed #e7dc40;
}

.scratch-reviews-all {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.scratch-reviews__inner{
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  background: #e7dc40;
  border: 4px solid #7e9f00;
  border-radius: 40px;
  width: 396px;
  padding: 30px 20px 20px 20px;
}
.scratch-reviews__inner-up{
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.scratch-reviews__inner-up h4{
  font-weight: 800;
  font-size: 25px;
  color: #9200c7;
}
.scratch-reviews__inner p{
  font-weight: 700;
  font-size: 15px;
  color: #9200c7;
}
.scratch-reviews-date{
  margin-top: 30px;
}

.scratch-faq {
  padding-block: 120px;
}

.scratch-faq__inner {
  font-weight: 800;
  font-size: 25px;
  color: #9200c7;
  border: 4px solid #7e9f00;
  border-radius: 40px;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  background: #e7dc40;
  padding: 24px 30px;
  margin-top: 20px;
  list-style-type: none;
  justify-content: space-between;
  align-items: center;
  display: flex;
  column-gap: 20px;
}

.scratch-faq__inner::after {
  content: '';
  background-image: url(images/scratch-faq-up.png);
  background-position: center;
  background-repeat: no-repeat;
  float: right;
  width: 34px;
  height: 34px;
}

details[open] .scratch-faq__inner::after {
  content: '';
  background-image: url(images/scratch-faq-down.png);
}

details[open] .scratch-faq__inner {
  border-radius: 40px 40px 0 0;
  transition: transform .9s ease;
  padding: 26px 30px 11px 30px;
  border-bottom: none;
}

.scratch-faq__inner-text {
  color: #9200c7;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  background: #e7dc40;
  border: 4px solid #7e9f00;
  border-top: none;
  border-radius: 40px;
  border-radius: 0 0 40px 40px;
  padding: 11px 320px 34px 30px;
  margin-bottom: 40px;
  text-align: left;
}

.footer {
  padding-block: 87px 82px;
  background: #9200c7;
  border-top: 3px dashed #E7DC40;
  border-bottom: 3px dashed #E7DC40;
}

.scratch-footer {
  display: flex;
  flex-direction: column;
  color: #fff;
  max-width: 946px;
  justify-content: flex-start;
}
.scratch-footer h3{
  font-weight: 900;
  font-size: 55px;
  color: #fff;
  margin-bottom: 23px;
}

.scratch-footer-logos {
  margin-top: 50px;
}
.scratch-footer-logos ul {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.scratch-footer-link {
  margin-top: 50px;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 21px 50px;
  color: #e7dc40;
  text-decoration: underline;
}
.scratch-footer-link a {
  color: #e7dc40;
  &:hover{
    color: #fff
  }
}

#overlay{
  position: fixed;
  /* top: 550px; */
  right: 100px;
  bottom: 0;
  display: none;
  max-width: 1020px;
  z-index: 999;
  animation: fade .6s;
  overflow: auto;
}
#thank{
  display: none;
  position: fixed;
  right: 100px;
  top: 50%;
  left: 45%;
  max-width: 700px;
  z-index: 999;
  animation: fade .6s;
  overflow: auto;
  text-align: center;
  transition: opacity 1s ease;
}
.pop {
  align-items: center;
  background: #e7dc40;
  border: 4px solid #7e9f00;
  padding: 20px 30px;
  align-items: center;
}
.scratch-popup {
  display: flex;
  align-items: center;
  justify-content: space-between;
  row-gap: 16px;
  /* max-width: 1020px; */
  box-shadow: inset 3px 10px 4px 0 rgba(255, 255, 255, 0.5), 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  background: #e7dc40;
  border: 4px solid #7e9f00;
  border-radius: 100px;
  padding: 20px 30px;
  align-items: center;
  column-gap: 90px;
}

.scratch-popup-text {
  display: flex;
  gap: 5px 10px;
  flex-wrap: wrap;
}

.scratch-popup-text p {
  font-weight: 600;
  font-size: 16px;
  color: #9303c8;
}

.scratch-popup-text a {
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: #9303c8;
  font-size: 16px;
  &:hover{
    color: #fff;
  }
}

.close {
  font-weight: 800;
  font-size: 16px;
  color: #fff;
  width: 162px;
  padding: 14px 46px;
  border-radius: 100px;
  background: #9303c8;
  justify-content: center;
  text-align: center;
  cursor: pointer; /* 👈 добавляем */
}


  &:hover {
    color: #9200c7;
    background-color: #be01de;
  }
}
.than {
  font-weight: 800;
  font-size: 16px;
  color: #9303c8;
  border-radius: 100px;
  justify-content: center;
  text-align: center;

  &:hover {
    color: #fff;
  }
}
@media (max-width: 1920px){
  .scratch-main-bg-resfaq {
    background: url("images/scratch-res-faq-bg.png"), #be01de;
    background-position: center left;
    background-size: 94%;
    background-repeat: no-repeat;
    background-position-y: -81px;
  }
}
@media (max-width: 1700px){
  .scratch-main-bg-resfaq {
    background: url("images/1l.png"), url(images/2l.png), url(images/3l.png) #be01de;
    background-position: left bottom, left top, right center;
    background-repeat: no-repeat; 
  }
}
@media (max-width: 1730px){
  .scratch-main{
    background-size: 50%;}
}
@media (max-width: 1440px){
  .header {
    background-position-x: 150%; 
  }
}
@media (max-width: 1400px){
  #scratch-signup,
  #scratch-lognin {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-color: #9200C7;
  }
}
@media (max-width: 1160px){
  .scratch-popup {
    column-gap: 21px; 
  }
}
@media (max-width: 1130px){
  .scratch-main{
    background-size: 40%;}
}
@media (max-width: 1056px){
  .scratch-header-up-all {
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
  }

  .scratch-header-link1 {
    margin-top: 8px;
    margin-bottom: 50px;
  }

  .header {
    background: #9200c7;
    background-image: none;
  }

  .scratch-header-ticket {
    max-width: 624px;
    padding-block: 0;
    padding-inline: 10px;
    background-image: none;
  }

  .scratch-header-main-img {
    display: flex;
    margin-top: 35px;
    margin-inline: -15px;
  }
}
@media (max-width: 1040px){
  .close{
    max-width: 112px;
    padding: 13px 34px;
  }
  .scratch-popup-text{
    width: 260px;
  }
  .scratch-popup-text p {
    font-size: 14px;
  }

  .scratch-popup-text a {
    font-size: 14px;
  }
  .scratch-popup{
    border-radius: 30px;
  }

}
@media (max-width: 1000px){
  .scratch-faq__inner-text {
    padding-right: 100px;
  }
}
@media (max-width: 850px){
  
  .scratch-reviews {
    border-top: none;
  }
}

@media (max-width: 800px){
  h1 {
    font-size: 45px;
    margin-bottom: 17px;
  }
  
  h2 {
    font-size: 42px;
  }
  
  
  .scratch-header-down-all {
    background-image: none;
    padding-block: 0px 70px;
  }
  
  .scratch-footer-logos {
    display: flex;
    margin-top: 40px;
  }
  
  .scratch-results-all-one {
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    row-gap: 30px;
    align-items: flex-start;
  }
  
  .scratch-results__inner ul {
    margin-left: 0px;
  }
  
  .scratch-results__inner h4 {
    font-size: 16px;
  }
  
  .scratch-results__inner p {
    font-size: 12px;
  }
  
  .scratch-results__inner p span {
    font-size: 12px;
  }
  .scratch-footer h3 {
    font-size: 48px;
  }
}

@media (max-width: 720px){
  #scratch-signup,
  #scratch-lognin {
    left: 0;
    height: 840px;
    background: #9200c7;
    /* background: url('images/scratch-header-bg.png'), #BE01DE; */
    background-position: bottom;
    background-repeat: no-repeat;
    }
  .himg{
    display: none;
  }
  .img-none{
    display: block;
    margin-top: 59px;
  }
  .clos {
    margin-bottom: 80px;
    width: 104px;
    height: 61px;
  }
  
  .scratch-sign,
  .scratch-logn {
    max-width: 360px;
    padding: 30px 10px 20px 10px;
  }
  
  input {
    max-width: 340px;
    font-size: 12px;
  }

  .scratch-sign-link,
  .scratch-logn-link {
    max-width: 340px;
    padding-block: 17px;
    margin-bottom: 20px;
    font-size: 14px;
  }

  .scratch-sign-h,
  .scratch-logn-h {
    font-size: 25px;
  }

  .scratch-sign-ac,
  .scratch-logn-ac {
    font-size: 12px;
  }
}
@media (max-width: 656px) {
  .than {
    font-size: 14px;
  }

  #thank {
    width: 300px;
    left: 10%;
  }
}
@media (max-width: 630px){
  .scratch-footer-link {
    margin-top: 40px;
    max-width: 340px;
    justify-content: space-between;
  }

  .scratch-footer-link a {
    font-size: 12px;
  }
}

@media (max-width: 580px){
  .scratch-header-ticket h3 {
    font-size: 18px;
    margin-bottom: 30px;
  }
  .scratch-choose__inner {
    display: flex;
    flex-direction: column;
    align-content: center;
    gap: 20px;
    justify-content: center; 
  }
  .scratch-choose__inner1 {
    width: 340px;
  }
  .scratch-ticket a {
    font-size: 14px;
    padding: 12px 134px;
    width: 300px;
  }

  .scratch-choose__inner1-up {
    margin-bottom: 14px;
  }

  .scratch-choose__inner-prise p {
    font-weight: 700;
    color: #fff;
  }

  .line {
    font-size: 16px;
  }
  #overlay{
    width: 340px;
    right: 10px;
  }

  .close,
  .scratch-popup-text p,
  .scratch-popup-text a {
    font-size: 12px;
  }

  .scratch-popup {
    padding: 18px 8px 18px 18px;
  }
  .scratch-popup-text {
    width: 165px;
  }

  .scratch-main-bg-resfaq{
    background-image: none;
  }

  #results-mobile {
    padding-block: 70px 115px;
    background: url(images/up.png),url(images/down.png) #be01de ;
    background-position: top right, left bottom;
    background-repeat: no-repeat;
  }
  .scratch-results__inner0,
  .scratch-results__inner01,
  .scratch-results__inner2,
  .scratch-results__inner02 {
    border-radius: 15px;
    width: 40px;
    height: 209px;
  }
  .scratch-results-all-one {
    padding: 30px 15px 35px 20px;
    border-radius: 30px;
    max-width: 260px;
    row-gap: 20px; 
  }
  .scratch-results h2,
  .scratch-reviews h2,
  .scratch-faq h2 {
    margin-bottom: 40px; 
  }
  
  .scratch-results-all-one2 {
    padding: 30px 15px 27px 20px;
    border-radius: 30px;
    max-width: 260px;
    row-gap: 15px; 
  }
  .scratch-results__inner ul {
    gap: 5px;
  }
  .bg-yel,.bg-white {
    font-size: 12px;
    border: 2px solid #7e9f00;
    width: 36px;
    height: 36px;
  }
  .scratch-results__inner h4 {
    font-size: 16px;
  }
  
  .scratch-results__inner p {
    font-size: 12px;
  }

  .scratch-results__inner p span {
    font-size: 12px;
  }

  .scratch-faq {
    padding-block: 22px 70px;
    }
  .scratch-faq__inner::after {
    width: 30px;
    height: 30px;
  }
  
  .scratch-faq__inner {
    border: 2px solid #7e9f00;
    border-radius: 30px;
    font-size: 16px;
    padding: 20px;
    max-width: 340px;
    column-gap: 58px;
  }
  details[open] .scratch-faq__inner {
    font-size: 16px;
    border-radius: 30px 30px 0 0;
    padding: 20px 20px 9px 20px;
    max-width: 340px;
    border: 2px solid #7e9f00;
    border-bottom: none;
  }
  
  .scratch-faq__inner-text {
    padding: 9px 20px 20px 20px;
    font-size: 12px;
    max-width: 340px;
    border: 2px solid #7e9f00;
    border-radius: 0 0 30px 30px;
    border-top: none;
  }
}
@media (max-width: 500px){
  .header1 {
    padding-top: 10px;
  }
  .logo{
    width: 104px;
    height: 61px;
  }
  .scratch-header-link a, 
  .scratch-header-link1 a {
    font-size: 12px;
    width: 162px;
    padding-block: 9px;
  }
  .scratch-header-link a img, 
  .scratch-header-link1 a img {
    padding-top: 0px;
    width: 12px;
    height: 12px;
  }

  .scratch-header-down p{
    font-size: 12px;
    margin-bottom: 30px;
  }
  .scratch-header-down ul {
    margin-top: -30px; }
  
  .scratch-header-down li {
    font-size: 12px;
  }

  .scratch-header-down h3 {
    font-size: 30px;
  }
  .scratch-header-down h4 {
    font-size: 25px;
  }

  .footer {
    padding-block: 60px 60px;
  }

  .scratch-footer-text p {
    font-size: 12px;
  }

  .scratch-footer-logos ul {
    gap: 10px 10px;
  }
  .scratch-footer-logos {
    margin-top: 40px;
    width: 340px;
    justify-content: center;
  }

  .scratch-reviews {
    padding-block: 50px 70px;
  }
  .scratch-reviews__inner {
    max-width: 340px;
    padding: 20px;
    border-radius: 30px;
  }
  .star{
    width: 110px;
    height: 18px;
  }

  .scratch-reviews__inner p {
    font-size: 12px;
  }

  .scratch-reviews__inner h4 {
    font-size: 14px;
  }
  .scratch-reviews-date {
    margin-top: 14px; 
  }
}

@media (max-width: 500px){
  h1 {
    font-size: 35px;
    margin-bottom: 14px;
  }

  h2 {
    font-size: 35px;
  }

  .scratch-footer h3 {
    font-size: 30px;
    margin-bottom: 30px; 
  }

}
@media (max-width: 365px){
  .scratch-header-link a,
  .scratch-header-link1 a {
    width: 125px;
  }
}
@media (max-width: 360px){
  .scratch-reviews {
    background-image: none;
  }
  .scratch-sign,
  .scratch-logn {
    padding: 30px 2px 60px 2px;
  }
}
@media (max-width: 350px){
  h1 {
    font-size: 30px;
  }

  h2, h3 {
    font-size: 27px;
  }
  .scratch-header-down h4 {
    font-size: 27px;
  }
  .scratch-footer-logos ul li img{
    max-width: 90%;
  }
  .scratch-choose__inner1 {
    width: 290px;
  }
  .scratch-ticket a {
    font-size: 14px;
    padding-top: 12px;
    padding-inline: 0;
    width: 250px;
    text-align: center;
  }
  #overlay {
    width: 300px;
    left: 0;
  }
  .close,
  .scratch-popup-text p,
  .scratch-popup-text a {
    font-size: 10px;
  }
  .scratch-popup-text {
    width: 150px;
  }
  .scratch-popup {
    column-gap: 10px;
  }
}
.responsible-gambling-box {
  position: relative;
  background-color: #be01de;
  padding: 60px 20px;
}

.responsible-gambling-box .age-icon {
  position: absolute;
  top: 30px;
  right: 40px;
  width: 80px;
  height: auto;
  z-index: 2;
}
.signup-message {
  color: #e7dc40;
  font-size: 15px;
  font-weight: 700;
  margin-top: 15px;
  text-align: left;
}
dialog#scratch-thanks::backdrop {
  background-color: rgba(0, 0, 0, 0.5);
}

dialog#scratch-thanks {
  padding: 0;
  border: none;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
#scratch-thanks::backdrop {
  background-color: rgba(0, 0, 0, 0.5);
}

#scratch-thanks {
  padding: 0;
  border: none;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scratch-thanks {
  margin: auto;
  text-align: center;
  align-items: center;
  width: 604px;
  padding: 30px 30px 140px 30px;
  background: #9200c7;
  
  #scratch-thanks:not([open]) {
  display: none;
}
}
#age-verification-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(146, 0, 199, 0.95); 
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-verification-popup {
  background: #e7dc40;
  border: 4px solid #7e9f00;
  border-radius: 40px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  max-width: 400px;
}

.age-verification-text {
  font-size: 22px;
  font-weight: 800;
  color: #9200c7;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.age-verification-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.age-verification-buttons button {
  background: #9200c7;
  color: #fff;
  border: none;
  padding: 15px 30px;
  border-radius: 100px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.3s;
  text-transform: uppercase;
}

.age-verification-buttons button:hover {
  background: #be01de;
}




.social {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: center;
	gap: 16px;
	padding-top: 20px;
	padding-bottom: 20px;
}
.social-item {
	display: block;
	width: 32px;
	height: 32px;
	background: #fff;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: contain;
	mask-size: contain;
	transition: all .3s ease;
}
.social-item:hover {
	transform: scale(1.1);
}
.social-item--youtube {
	-webkit-mask-image: url("images/icon-youtube.svg");
	mask-image: url("images/icon-youtube.svg");
}
.social-item--x {
	-webkit-mask-image: url("images/icon-x.svg");
	mask-image: url("images/icon-x.svg");
}
.social-item--whatsapp {
	-webkit-mask-image: url("images/icon-whatsapp.svg");
	mask-image: url("images/icon-whatsapp.svg");
}
.scratch-contact {
  padding: 40px 0;
  background-color: #0a0a0a;
  text-align: center;
}

.scratch-contact__title {
  font-size: 32px;
  color: #fff;
  margin-bottom: 30px;
}

.scratch-sign__input,
.scratch-sign__textarea {
  width: 100%;
  max-width: 500px;
  margin: 10px auto;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  background: #1a1a1a;
  color: #fff;
  display: block;
}

.scratch-sign__textarea {
  resize: vertical;
  min-height: 120px;
}

.scratch-sign-link {
  margin-top: 20px;
  background: linear-gradient(to right, #ff8a00, #e52e71);
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
}

.scratch-sign-link:hover {
  background: linear-gradient(to right, #e52e71, #ff8a00);
}
.scratch-contact .container {
  max-width: 100%;
  padding: 0 15px;
}

.scratch-contact {
  background-color: #9200c7;
  background-image: url('images/scratch-header-bg.png'); /* можешь заменить или убрать */
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
#thankYouModal::backdrop {
  background-color: rgba(0, 0, 0, 0.6);
}

#thankYouModal {
  border: none;
  padding: 0;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scratch-thanks {
  width: 100%;
  max-width: 480px;
  padding: 40px 30px;
  background: #e7dc40;
  border: 4px solid #7e9f00;
  border-radius: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
}

.scratch-thanks h3.than {
  color: #9200c7;
  font-size: 20px;
  font-weight: 900;
  margin: 0;
}
#thankYouModal::backdrop {
  background-color: rgba(0, 0, 0, 0.6);
}

#thankYouModal {
  border: none;
  padding: 0;
  background: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scratch-thanks {
  background: #e7dc40;
  border: 4px solid #7e9f00;
  border-radius: 30px;
  padding: 30px 20px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.scratch-thanks h3.than {
  color: #000;
  font-size: 20px;
  margin: 0;
}
.scratch-contact-info {
  margin-top: 30px;
  font-size: 16px;
  color: #fff;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  line-height: 1.6;
}
.scratch-contact-info a {
  color: #ffe600;
  text-decoration: underline;
}
.scratch-how {
  padding: 120px 0;
  background: #9200c7 url("images/scratch-header-bg.png") no-repeat bottom right;
  background-size: cover;
}

.scratch-how h2 {
  font-size: 55px;
  font-weight: 900;
  color: #fff;
  text-align: center;
  margin-bottom: 70px;
}

.scratch-how-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.scratch-how-step {
  background: #e7dc40;
  border: 4px solid #7e9f00;
  border-radius: 40px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  width: 280px;
  padding: 30px 20px;
  text-align: center;
}

.scratch-how-step img {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.scratch-how-step h4 {
  font-size: 22px;
  font-weight: 800;
  color: #9200c7;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.scratch-how-step p {
  font-size: 14px;
  font-weight: 700;
  color: #9200c7;
  text-transform: none;
  line-height: 1.6;
}

.scratch-how-btn {
  text-align: center;
  margin-top: 60px;
}

.scratch-how-btn a {
  display: inline-block;
  font-weight: 800;
  font-size: 16px;
  padding: 16px 40px;
  color: #9200c7;
  background: #e7dc40;
  border: 4px solid #7e9f00;
  border-radius: 100px;
  text-transform: uppercase;
  box-shadow: inset 3px 10px 4px 0 rgba(255,255,255,0.5), 0 4px 4px rgba(0,0,0,0.25);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.scratch-how-btn a:hover {
  color: #fff;
  background: #9200c7;
}

@media (max-width: 768px) {
  .scratch-how h2 {
    font-size: 42px;
    margin-bottom: 40px;
  }

  .scratch-how-steps {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .scratch-how-step {
    width: 90%;
  }

  .scratch-how-btn {
    margin-top: 40px;
  }
}
.scratch-winners {
  background: #be01de url("images/scratch-reviews-bg.png") no-repeat bottom right;
  background-size: cover;
  padding: 120px 0;
  border-top: 3px dashed #e7dc40;
  border-bottom: 3px dashed #e7dc40;
}

.scratch-winners h2 {
  text-align: center;
  font-size: 55px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 70px;
}

.scratch-winners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.scratch-winner-card {
  width: 420px;
  background: #e7dc40;
  border: 4px solid #7e9f00;
  border-radius: 40px;
  padding: 30px 25px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.scratch-winner-card h4 {
  font-size: 25px;
  font-weight: 800;
  color: #9200c7;
  margin-bottom: 10px;
}

.scratch-winner-date {
  font-size: 14px;
  font-weight: 700;
  color: rgba(146, 0, 199, 0.8);
  margin-bottom: 10px;
}

.scratch-winner-amount {
  font-size: 24px;
  font-weight: 900;
  color: #9200c7;
  margin-bottom: 20px;
}

.scratch-winner-story {
  font-size: 15px;
  font-weight: 700;
  color: #9200c7;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .scratch-winners h2 {
    font-size: 42px;
    margin-bottom: 40px;
  }

  .scratch-winner-card {
    width: 90%;
    padding: 25px 20px;
  }
}
