* {
    margin: 0;
    padding: 0;
}
html {
    background: #000;
}
a {
    text-decoration: none;
    color: #FFF;
}
body {
    font-family: 'Satoshi', 'Roboto', sans-serif;
    color: #FFF;
    background: url('img/back_desk.jpg') no-repeat center;
    background-size: cover;
}
.firstScreen {
    background: url('img/first-desk.jpg') no-repeat top;
    background-size: cover;
    height: 480px;
}
.first-wrap {
    width: 40%;
    margin: auto;
    text-align: center;
}
.time {
    font-size: 20px;
    font-weight: 700;
}
.first-logo {
    background: url('img/logo-desk.svg') no-repeat center;
    height: 50px;
    padding: 20px 0 25px;
}
h1 {
    font-size: 48px;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 52px;
    padding: 10px 0 30px;
}
h2 {
    font-size: 32px;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
}
h3 {
    font-size: 32px;
    font-weight: 900;
    text-align: center;
}
.green {
    color: #01FF84;
}
.first-text {
    font-size: 30px;
    font-weight:900;
    text-transform: uppercase;
    color: #01FF84;
    padding-top: 20px;
}
.first-subtitle {
    font-size: 68px;
    font-weight: 900;
    line-height: 62px;
}
.buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}
.button {
    border-radius: 10px;
    color: #15161A;
    height: 20px;
    padding: 12px 60px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}
.button:hover {
      box-shadow: 0 0 12px rgba(246, 247, 221, 0.8); 
      cursor: pointer;
    }
.buttonHoly {
    background: #FFD700;
}
.buttonTrue {
    background: linear-gradient(180deg, #00FF80 0%, #00FFD3 100%);
}
.text-block {
    padding-top: 30px;
    padding-bottom: 20px;
}
.text-block p {
    font-size: 24px;
    font-weight: 400;
    text-align: center;
    margin: auto;
    padding-top: 22px;
    max-width: 50%;
}
.banners-block {
    padding-top: 50px;
}
.cards {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    padding-top: 25px;
}
.card {
    width: 20%;
    position: relative;
    border-radius: 20px;
    overflow: hidden; 
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.card1 {
    background-image: url('img/1.jpg');
    order: 3;
    height: 420px;
    
}
.card2 {
    background-image: url('img/2.jpg');
    order: 2;
    height: 370px;

}

.card3 {
    background-image: url('img/3.jpg');
    order: 4;
    height: 370px;
}

.card4 {
    background-image: url('img/4.jpg');
    order: 1;
    height: 300px;
}
.card5 {
    background-image: url('img/5.jpg');
    order: 5;
    height: 300px;
}
.place {
    text-align: center;
    position: absolute;
    width: 90%;
    margin: auto;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
}
.place-title {
    border-radius: 10px 10px 0 0;
    border-bottom: 1px solid  rgba(255, 255, 255, 0.05);
    font-size: 18px;
    font-weight: 700;
    color: #15161A;
    text-transform: uppercase;
    padding: 5px 0;
}
    
.place-prize {
   border-radius: 0 0 10px 10px;
   border: 1px solid rgba(255, 255, 255, 0.10);
   background:  #24262E;
   font-size: 20px;
   font-weight: 400;
   padding: 5px 0;
}
.prize-img {
        max-height: 44px;
}
.wrap {
    width: 93%;
    margin: auto
}
.place1 {
    background: linear-gradient(135deg, #BD7202 0%, #DDAD4C 9.13%, #FDE694 45%, #F2D27A 55%, #D59E39 80.77%, #BD7202 98.08%);
}
.place2 {
    background: linear-gradient(135deg, #E6E6E6 0%, #B1B1B1 25%, #FCFCFC 50%, #BCBCBC 75%, #FCFCFC 100%);
}
.place3 {
    background: linear-gradient(135deg, #A8672A 0%, #FFD7C3 50%, #A8672A 100%);
}
.place4 {
    background: linear-gradient(180deg, #00E1FF 0%, #6FFFB7 100%);
}
.place5 {
    background: linear-gradient(315deg, #29FFBB 0%, #10C847 100%);
}
.terms {
    color: #8C8F99;
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    padding: 30px 0 60px;
}
.terms a {
    text-decoration: underline;
}
.quest-cards {
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
}
.quest-card {
    width: 32%;
    height: 405px;
    border-radius: 20px;
    overflow: hidden; 
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px;
    border: 1px solid rgba(1, 255, 132, 0.30);
    box-shadow: 0 0 8px 0 rgba(1, 255, 132, 0.50);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 0;
}
.quest-card1 {
    background-image: url('img/win1.jpg');
}
.quest-card2 {
    background-image: url('img/win2.jpg');
}

.quest-card3 {
    background-image: url('img/win3.jpg');
}
.quest-card--title {
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}
.quest-card--blocks {
    display: flex;
    width: 95%;
    gap: 10px;
    margin-top: auto;
}
.quest-card--block {
    border-radius: 14px;
    border: 1px solid  rgba(255, 255, 255, 0.15);
    background: #0D0E12;
    display: flex;
    flex: 1;
    padding: 8px 0 8px 10px;
}
.quest-card--block1 {
    flex-direction: column;
    justify-content: center;
}
.quest-card--block2 {
    align-items: center;
}
.quest-card--block .title {
    font-size: 16px;
    font-weight: 600;
}
.quest-card--block .text {
    font-size: 12px;
    font-weight: 500;
    color: #01FF84;
}
.iphone {
    max-height: 60px;
    padding-right: 15px;
}
.win-name {
    font-size: 14px;
    font-weight: 600;
    color: #8C8F99;
}
.win-game {
    font-size: 12px;
    font-weight: 500;
    color: #CAFFC2;
}
.banners {
    display: flex;
    gap: 16px;
    padding: 30px 0;
}
.banner {
    height: 380px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: 10px;
    border: 1px solid rgba(1, 255, 132, 0.30);
}
.banner-logo {
    padding-top: 10px;
    max-width: 150px;
}
.banner1 {
    background: url('img/welcome1.jpg') no-repeat left bottom;
    background-size: cover;
}
.banner2 {
    background: url('img/welcome2.jpg') no-repeat right bottom; 
    background-size: cover;
}
.banner-title {
   font-size: 48px;
    font-weight: 900; 
    line-height: 52px;
}
.banner-text {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
}
.yellow {
    color: #FFD700;
}
.promo-text {
    font-size: 12px;
    color: #FFF;
    text-transform: uppercase;
}
.copyBlock {
    text-align: center;
    font-size: 20px;
    font-weight: 900;
    width: 200px;
    height: 48px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.copyBlock1 {
    color: #C8FF32;    
    border: 1px solid #C8FF32;
    background: rgba(200, 255, 50, 0.20);
}
.copyBlock2 {
   color: #CAFFC2;
    border: 1px solid  #CAFFC2;
    background: rgba(202, 255, 194, 0.20);
}

.dropdown {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  margin-top: 50px;
}

.dropdown-header {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  user-select: none;
}

.icon-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.dropdown-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.3s ease;
  color: #8C8F99;
  font-size: 16px;
  width: 80%;
  margin: auto;
  line-height: 24px;
}

.dropdown.active .dropdown-content {
  opacity: 1;
  padding-top: 20px; 
  padding-bottom: 20px;
}

.dropdown.active .icon-arrow {
  transform: rotate(180deg);
}
ol {
    padding-top: 20px;
}
ol li {
    list-style-position: inside;
    padding-bottom: 5px;
}

.games-block {
  display: grid;
  grid-template-columns: repeat(7, 1fr); 
  gap: 20px; 
  padding-top: 16px;
}
.games-block img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}
.copyright {
    text-align: center;
    font-size: 10px;
    font-weight: 400;
    color: #8C8F99;
    width: 60%;
    margin: auto;
    padding: 50px 0;
}
.copyright-title {
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    color: #FFF;
    padding-bottom: 10px;
}

.table-container {
  width: 100%;
  max-width: 100%;
  margin: 10px auto;
  box-sizing: border-box;
  text-align: center;
}

.custom-table {
  display: grid;
  flex-direction: column;
  width: 100%;
  gap: 8px;
}
.fade-out {
  opacity: 0;
  height: 0;
  overflow: hidden;
}
.row {
  display: grid;
  grid-template-columns: 1fr 2fr 2fr 2fr 2fr;
  padding: 14px;
  transition: all .3s linear;
  align-items: center;
  border-radius: 8px;
  background: var(--Color-Background-basic-default, #24262E);
  font-size: 14px;
  font-weight: 400;
}
.custom-table .row:nth-child(-n+11) {
    padding: 5px 14px 4px;
}
.row-item {
    border-right: 1px solid rgba(255, 255, 255, 0.15);  
}
.row-item:first-child {
    text-align: left;
}
.row-item:last-child {
    border-right: none;
}

.row.header {
  color: #8C8F99;
  background: transparent;
}
.row.header div:first-child {
    text-align: left;
}
.row.hidden-row.expanded {
  display: grid !important;      
  max-height: 500px;  
  opacity: 1;
  padding-top: 14px;
  padding-bottom: 14px;
}
.row.hidden-row {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
  display: none !important; 
}


.show-more-btn {
  margin: 30px auto 0;
  padding: 14px 25px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 10px;
  border: 1px solid rgba(195, 208, 255, 0.30);
  background: transparent;
  color: #FFF;
  font-size: 16px;
}

.search {
    font-size: 16px;
    color: #8C8F99;
    font-family: 'Satoshi', 'Roboto', sans-serif;
    background: none;
    border: none;
    width: 100%;
    outline: none;
}
.search-block {
    position: relative;
    width: 500px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #24262E;
    padding: 12px 0 12px 16px;
    margin: 24px auto 0
}
.search-button {
    border-radius: 10px;
    background:  linear-gradient(180deg, #F9FF4D 0%, #DFBD00 100%);
    font-size: 14px;
    color: #15161A;
    padding: 8px 20px;
    border: none;
    position: absolute;
    right: 10px;
    top: 7px;
    cursor: pointer;
}
.side-quests {
    padding: 50px 0 80px;
}
.redirect {
    cursor: pointer;
}
.terms-table {
      display: flex;
      flex-direction: column;
      margin: 0 auto;
      border-radius: 6px;
    }

 .terms-table .row {
      display: flex;
      padding: 0;
      text-align: center;
      background: transparent;
    }

   .terms-table .row.header {
      font-weight: bold;
      text-align: center;
    }
    .terms-table .row.header div:first-child {
        text-align: center;
    }

   .terms-table .cell {
      flex: 1;
      padding: 4px;
    }
    .second-table {
        margin-top: 20px;
        margin-bottom: 10px;
    }
.copied-label {
    font-size: 12px;
    color: white;
    position: absolute;
    right: 8px;
    @media screen and (min-width: 1700px) {

    }
}


@media screen and (min-width: 1700px) {
    .games-block {
       width: 90%;
       margin: auto;
    }
}
@media screen and (min-width: 1920px) {
    .wrap {
        width: 70%;
    }
}

@media screen and (min-width: 1440px) {
    .banner-logo {
        width: 170px;
    }
}
@media screen and (max-width: 1480px) {
    .card1 {
        height: 340px;
    }
    .card2, .card3 {
        height: 300px;
    }
    .card4, .card5 {
        height: 260px;
    }
  
    .text-block p {
        max-width: 80%;
    }
}
@media screen and (max-width: 1430px) {
  .quest-card--blocks {
        flex-direction: column-reverse;
    }
    .first-wrap {
         width: 60%;
    }
}
@media screen and (max-width: 1024px) {
    .firstScreen {
        background: url('img/first-mob.jpg') no-repeat bottom;
        background-size: cover;
        height: 768px;
    }
    .first-wrap {
        padding-top: 50px;
    }
    .first-logo {
        background: url('img/logo-mob.svg') no-repeat center;
        height: 100px;
    }
    .card {
        background-position: top;
    }
    .cards {
        flex-wrap: wrap;
        width: 90%;
        margin: auto;
    }
    .card1, .card2, .card3 {
        width: 31%;
    }
    .card4, .card5 {
        width: 48%;
    }
    .card1 {
        order: 2;
    }
    .card2 {
        order: 1;
    }
    .card3 {
        order: 3;
    }
    .card4 {
        order: 4;
    }
    .card5 {
        order: 5;
    }
    .banner1 {
        background: url('img/welcome-mob1.jpg') no-repeat bottom;
        background-size: cover;
        
    }
    .banner2 {
        background: url('img/welcome-mob2.jpg') no-repeat bottom;
        background-size: cover;
    }
    .text-block p {
        max-width: 100%;
    }
    .text-block {
        padding-bottom: 85px;
    }
}


@media screen and (max-width: 768px) {
    .place-text {
        display: none;
    }
    .email-text {
        display: inline-block;
        max-width: 6ch; 
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        vertical-align: middle;
  }
    .firstScreen {
        height: 1024px;
        background: url(img/first-mob.jpg) no-repeat top;
        background-size: 768px;
    }
    .first-wrap {
        width: 75%;
    }
    .time {
        padding: 40px 0 20px;
    }
    .buttons {
        padding-top: 40px;
    }
    .cards {
        flex-wrap: wrap;
        width: 100%;
    }
    .quest-card1 {
        background: url('img/win1-mob.jpg') no-repeat center;
    }
    .quest-card2 {
        background: url('img/win2-mob.jpg') no-repeat center;
    }
    .quest-card3 {
        background: url('img/win3-mob.jpg') no-repeat center;
    }
    .quest-card {
        padding: 8px 0;
        height: 280px;
    }
    .quest-card--title {
        font-size: 14px;
    }
    .quest-card--blocks {
        gap: 5px;
    }
    
}
@media screen and (max-width: 700px) {
    .banners {
        flex-direction: column;
    }
}
@media screen and (max-width: 580px) {
    .quest-card {
        min-width: 165px;
        height: 200px;
        background-size: 325px;
        border-radius: 5px;
    }
    .quest-cards {
        overflow: scroll;
    }
    .search-block {
        width: 95%;
    }

    .cards {
        gap: 0;
    }
    .card {
        border-radius: 5px;
        background-size: cover;
    }
    .card1 {
        height: 160px;
    }
    .card2, .card3 {
        height: 140px;
    }
    .card1, .card2, .card3 {
        width: 33%;
    }
    h1 {
         font-size: 27px;
         font-weight: 700;
         line-height: 32px;
    }
    .first-wrap {
        width: 85%;
    }
    .place-title {
        font-size: 12px;
    }
    .place-prize {
        font-size: 10px;
    }
    .place {
        bottom: 5px;
    }
    .card4, .card5 {
        height: 145px;
        width: 49%;
    }
    .terms {
        max-width: 70%;
        margin: auto;
    }
    .place-word {
        display: none;
    }
    .games-block {
        grid-template-columns: repeat(3, 1fr);
    }
    .games-block a:nth-of-type(n+10) {
        display: none;
    }
    .firstScreen {
        background-size: cover;
        height: 600px;
    }
    .first-wrap {
        padding-top: 10px;
    }
    .time {
        font-size: 16px;
        padding: 0 0 8px;
    }
    .first-text {
        font-size: 20px;
        padding-top: 0;
    }
    .first-subtitle {
        font-size: 48px;
    }
    .buttons {
        padding-top: 0;
        gap: 5px;
    }
    h3 {
        font-size: 20px;
        font-weight: 700;
        line-height: 28px;
    }
    .text-block {
        padding-bottom: 60px;
    }
    .text-block p {
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
    }
    h2 {
        font-size: 24px;
    }
    .place {
        width: 95%;
    }
    .place-title {
        border-radius: 5px 5px 0 0;
    }
    .place-prize {
        border-radius: 0 0 5px 5px;
    }
    .row {
        grid-template-columns: 0.5fr 2fr 2.2fr 2.3fr 1fr;
        padding: 10px 0 10px 14px;
    }
    .custom-table .row:nth-child(-n+11) {
        padding: 5px 0 0 14px;
    }
    .row-item img {
        max-height: 40px;
    }
    .row.header {
        padding: 0;
    }
    .iphone {
        max-height: 35px;
        padding-right: 5px;
    }
    
    .quest-card--block .title, .win-sum {
        font-size: 12px;
    }
    .quest-card--block .text, .win-name, .win-game {
        font-size: 10px;
    }
    .quest-card--block {
        padding: 5px 0 5px 5px;
        border-radius: 5px;
    }

    .banner {
        flex: auto;
        gap: 15px;
    }
    .banner-text {
        font-size: 16px;
        font-weight: 700;
    }
    .banner-title {
        font-size: 32px;
        line-height: 38px; 
    }
    .button {
            padding: 12px 30px;
    }
    .banner >.button {
            padding: 12px 56px;
    }
    .side-quests {
        padding: 50px 0 35px;
    }
    .games-block {
        gap: 7px;
    }
    .games-block img {
        border-radius: 8px;
    }
    .copyright {
        width: 90%;
        padding: 40px 0;
    }
    .dropdown-content {
        width: 90%;
    }
   .terms-table .cell:first-child, .terms-table .cell:last-child  {
      flex: 0.4; 
    }
    .terms-table .second-table .cell:last-child  {
      flex: 0.4; 
    }
    .terms-table .second-table .cell  {
      flex: 1.2; 
    }
    .terms-table .second-table .row.header {
        align-items: end;
    }
    .card1 {
    background-image: url('img/1-mob.jpg');
}
    .card2 {
    background-image: url('img/2-mob.jpg');
}
    .card3 {
    background-image: url('img/3-mob.jpg');
}
    .card4 {
    background-image: url('img/4-mob.jpg');
}
    .card5 {
    background-image: url('img/5-mob.jpg');
}
.copyBlock {
    width: 200px;
    height: 40px;
}
}

@media screen and (max-width: 420px) {
    .firstScreen {
        height: 480px;
    }
}


@media screen and (max-width: 370px) {

    .card4, .card5 {
        height: 130px;
    }
    .first-subtitle {
        font-size: 40px;
    }
    h1 {
        font-size: 24px;
    }
    .button {
        padding: 12px 30px;
    }
}