* {
    margin: 0;
    padding: 0;
}
a {
    text-decoration: none;
}
body {
    font-family: "Jost", sans-serif;
}
header {
    border-bottom: 1px solid #004139;
    background: #05221E;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.firstScreen {
    background: url('img/bg-desk.jpg') no-repeat right;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-color: #051413;
}
.text {
    position: relative;
    z-index: 2;
    text-align: center;
}
h1 {
    font-size: 32px;
    font-weight: 600;
    color: #FFF;
    max-width: 400px;
    text-align: center;
    position: relative;
    z-index: 2;
}
.text {
    font-size: 18px;
    font-weight: 600;
    color: #FFD480;
    padding-top: 6px;
}
.number {
    background: linear-gradient(180deg, #F4E38B -24.36%, #F4DD62 23.01%, #B27F2A 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.frame {
    border-radius: 16px;
    border: 1px solid  #F4E38B;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(5px);
    padding: 14px 18px 16px;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 32px;
    position: relative;
    z-index: 2;
}
.container {
    display: flex;
    justify-content: center;
    padding-top: 32px;
    gap: 24px;
}
h2 {
    font-size: 32px;
    font-weight: 600;
    color: #FFF;
    text-align: center;
}
.small-text {
    font-size: 18px;
    font-weight: 400;
    color: #FFF;
}
.button {
    border-radius: 40px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: linear-gradient(180deg, #F4E38B -24.36%, #F4DD62 23.01%, #B27F2A 100%);
    height: 44px;
    padding: 15px 24px;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    color: #000605;
    text-decoration: none;
    text-transform: uppercase;
    border: none;
    height: 20px;
    cursor: pointer;
}
.button:hover {
    background: linear-gradient(180deg, #e7e3ce -24.36%, #e3d585 23.01%, #d8a54d 100%);
}
.text-block {
    background: #051413;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 24px 0 32px;
}
.text-block .small-text {
    text-align: center;
    padding-top: 20px;
}
h3 {
    font-size: 24px;
    font-weight: 500;
    color: #FFF;
}
h4 {
    font-size: 20px;
    font-weight: 500;
    color: #FFF;
}
.gold {
    color: #FFD480;
}
.prizes {
    background: #051413;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 50px 0 25px 40px;
}
#prizesContainer {
    display: flex;
    justify-content: flex-start; 
    gap: 16px;
    padding: 24px 0;
    overflow-x: scroll;
    width: 100%;
    padding-left: 40px;
    align-items: flex-start;
    box-sizing: border-box;
    align-items: flex-start;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
#prizesContainer::-webkit-scrollbar {
  width: 2px;
  height: 5px;
}

/* Цвет фона полосы */
#prizesContainer::-webkit-scrollbar-track {
  background: #00302A;
  border-radius: 5px;
}

/* Цвет ползунка */
#prizesContainer::-webkit-scrollbar-thumb {
  background: #004E44;
  border-radius: 5px;
}

.prize {
    gap: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: url("img/card-notav.png");
    border-radius: 16px;
    min-width: 225px;
    scroll-snap-align: center;
    box-sizing: border-box;
    gap: 16px;
    padding: 16px;
}
.prize .button {
    display: flex;
    align-items: center;
    padding: 22px 16px;
}
.prize h4 {
    font-size: 18px;
    font-weight: 500;
    color: #FFF;
}
.prize img {
    width: 170px;
}
.prize.active {
    border-radius: 16px;
    border: 1px solid #36A13F;
    box-shadow: 0 0 12px 0 rgba(255, 207, 115, 0.50);
}
  .prize.past {
  opacity: 0.5;
  border-color: #aaa;
}

.prize.future {
  opacity: 0.8;
  border-color: #ddd;
}
.prize .small-text {
    font-size: 16px;
}
.wrapper {
    position: relative;
    width: 100%;
}

.show {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius:  12px;
    background:  #051413;
    height: 65px;
    width: 90%;
    color: #FFF;
}
.prize .hide {
  position: absolute;
  inset: 0;
  background: url("img/hide.png");
  border-radius: 16px;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s ease;
  z-index: 2;
}
.prize.future .hide, .prize.active .hide {
  opacity: 1;
  display: block;
}
.prize.future .show, .prize.active .show {
  filter: blur(3px);
}


.terms {
    color: #24A15E;
    text-decoration: underline;
}
.gift-day {
    position: absolute;
    top: 2px;
    right: 8px;
    color: #FFF;
}

.timer-block {
    border-radius: 16px;
    background:  #00302A;
    backdrop-filter: blur(5px);
    margin-top: 24px;
    padding: 16px 24px;
    text-align: center;
    margin-bottom: 24px;
    width: 260px;
    margin: 30px auto;
    
}
.timer {
    border-radius: 8px;
    border: 1px solid  #2D5954;
    background: rgba(1, 21, 18, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: end;
    gap: 5px;
    padding: 2px 25px;
}
.calendar {
    background: #082521;
    padding: 32px 40px;
}
.calendar h2 {
    font-size: 20px;
}
.faq h2 {
    font-size: 20px;
}
.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 45px;
}
.timer-block .small-text {
    padding-bottom: 8px;
}

.label {
    font-size: 12px;
    color: #ccc;
    margin-bottom: 4px;
}

.value {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.separator {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}
.prizes > .button {
    width: 300px;
    text-align: center;
}


/* Кнопки-стрелки */
.arrow-button {
  position: absolute;
  top: -10px;
  right: 20px;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: none;
  background: #00302A;
  border-radius: var(--Borders-border-40, 40px);
  border: 1px solid var(--Colors-Buttons-secondary-border-default, #004E44);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 20;
}

/* расположение */
.arrow-left { right: 90px; }
.arrow-right { right: 40px; }

/* простой appearance стрелки (можно заменить svg) */
.arrow-button::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #a5a2a2;
  border-right: 2px solid #a5a2a2;
  transform: rotate(-135deg);
}
.arrow-left::before {
    margin-left: 5px;
}

.arrow-right::before { 
    transform: rotate(45deg);
    margin-right: 5px; 
}

/* неактивное состояние */
.arrow-button[aria-disabled="true"] {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
  box-shadow: none;
}

/* убираем фокусную обводку по вкусу (или настрой) */
.arrow-button:focus { outline: 2px solid rgba(0,0,0,0.12); }

.prizes-wrap {
  position: relative;
  display: flex;
  align-items: center;
}


 .grid {
    display: grid;
    grid-template-columns: repeat(6, 50px);
    grid-auto-rows: 50px;
    gap: 16px;
  }

  .block {
    background-color: #143b36;
    border-radius: 12px;
    position: relative;
  }

  /* Позиции блоков как на картинке */
  .b1  { grid-column: 1 / 2; grid-row: 1 / 2; }
  .b2  { grid-column: 2 / 3; grid-row: 1 / 2; }
  .b3  { grid-column: 3 / 5; grid-row: 1 / 2; }
  .b4  { grid-column: 5 / 5; grid-row: 1 / 2; }
  .b5  { grid-column: 6 / 6; grid-row: 1 / 3; }

  .b6  { grid-column: 1 / 2; grid-row: 2 / 3; }
  .b7  { grid-column: 2 / 3; grid-row: 2 / 3; }
  .b8  { grid-column: 3 / 4; grid-row: 2 / 3; }
  .b9 { grid-column: 4 / 6; grid-row: 2 / 3; }
  
  .b10 { grid-column: 1 / 2; grid-row: 3 / 4; }
  .b11 { grid-column: 2 / 4; grid-row: 3 / 4; }
  .b12 { grid-column: 4 / 4; grid-row: 3 / 4; }
  .b13 { grid-column: 5 / 7; grid-row: 3 / 4; }
  
  .b14 { grid-column: 1 / 1; grid-row: 4 / 6; }
  .b15 { grid-column: 2 / 4; grid-row: 4 / 5; }
  .b16 { grid-column: 4 / 5; grid-row: 4 / 5; }
  .b17 { grid-column: 5 / 6; grid-row: 4 / 5; }
  .b18 { grid-column: 6 / 7; grid-row: 4 / 6; }

  .b19 { grid-column: 2 / 3; grid-row: 5 / 6; }
  .b20 { grid-column: 3 / 5; grid-row: 5 / 6; }
  .b21 { grid-column: 5 / 6; grid-row: 5 / 6; }

  .b22 { grid-column: 1 / 3; grid-row: 6 / 7; }
  .b23 { grid-column: 3 / 5; grid-row: 6 / 7; }
  .b24 { grid-column: 5 / 7; grid-row: 6 / 7; }
 




.slider {
    display: flex;
    justify-content: center;
}

.slide1 {
    background: url(img/promotions1-desk.jpg);
}
.slide2 {
    background: url(img/promotions2-desk.jpg);
}
.dropdown {
    width: 100%;
    padding-top: 20px;
    padding-bottom: 24px;
}
.dropdown.open > .dropdown-header{
    background: #004139;
    z-index: 2;
    position: relative;
}

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

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

.dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}


.dropdown.open .dropdown-content {
    max-height: 500px; 
    border-radius:0 0 14px 14px;
    border: 1px solid #004139;
    background: #05221E;
    color: #bebaba;
    margin-top: -10px;
    padding: 22px 16px 16px;
    font-size: 16px;
}

.dropdown.open .icon-arrow {
    transform: rotate(180deg);
}
.dropdown li {
    padding-bottom: 15px;
    padding-left: 10px;
    list-style-position: inside;
}
.prize-number {
    background: var(--Button-primary-default-background, linear-gradient(180deg, #F4E38B -24.36%, #F4DD62 23.01%, #B27F2A 100%));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 16px;
    font-weight: 700;
}
.light {
    border-radius: 549px;
    background: #4C4C4C;
    filter: blur(80px);
    opacity: 0.6;
    width: 500px;
    height: 250px;
    position: absolute;
    top: -100px;
    left: -100px;
}

.block {
    display: flex;
    justify-content: center;
    gap: 16px;
    overflow: hidden;
}
.small-gift {
    width: 40px;
    height: 40px;
    padding-top: 5px;
}
.big-gift {
    height: 65px;
    width: 65px;
    margin-left: -25px;
    margin-top: -2px;
}
.big-gift-left {
    height: 75px;
    width: 75px;
    margin-left: -20px;
    margin-top: 25px;
}
.b10 .small-gift {
    padding-top: 10px;
}
.b11 .big-gift {
    margin-top: -4px;
}
.banner {
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: 20px;
    border-radius: 20px;
    width: 340px;
    height: 340px;
    color: #FFF;
    background: url("img/banner.png") top center;
    background-size: cover;
    align-items: center;
    gap: 24px;
}
.banner h2 {
    font-size: 32px;
    font-weight: 700;
}
.banner .button {
    height: 50px;
}

.dropdown-header {
    border-radius: 14px;
    border: 1px solid #004139;
    background: #05221E;
    font-size: 16px;
    font-weight: 500;
    color: #FFF;
}
.banners {
    padding-top: 80px;
}

.faq {
    background: #051413;
    padding: 32px 40px 0;
}
.faq h2{
    text-align: left;
}
footer {
    text-align: center;
    background: #000E0D;
    color: #FFF;
    border-top: 1px solid#004139;
    padding: 24px 0;
    font-size: 14px;
}
.active-day {
    background: #24A15E;
    border: 1px solid var(--Button-primary-default-background, #F4E38B);
    box-shadow: 0 0 12px 0 rgba(255, 207, 115, 0.50);
}
.opened-day {
    filter: grayscale(80%) sepia(20%) hue-rotate(90deg) saturate(150%);
    opacity: 0.5;   
}


@media (max-width: 1100px) {
  .games-icons { 
        grid-template-columns: repeat(5, 1fr); 
    }
    .img-hidden {
        display: block;
    }
}

@media (max-width: 1024px) {
    .firstScreen {
        justify-content: end;
        padding-bottom: 20px;
    }
}


@media (max-width: 768px) {
  .games-icons { 
        grid-template-columns: repeat(3, 1fr); 
    }
    .firstScreen {
        background: url('img/bg-mob.jpg') no-repeat center;
        background-size: cover;
    }
    .prize1, .prize2, .prize3 {
        width: auto;
    }
    
    .row {
            grid-template-columns: 0.3fr 1fr 1fr 1.7fr;
    }
    .slider {
        overflow: scroll;
    }
    .block {
        flex-direction: column;
    }
    .firstScreen {
        justify-content: start;
        padding-bottom: 0;
    }
    h1 {
        padding-top: 20px;
    }
    .frame {
        margin-top: 200px;
    }
    .place {
        min-width: 30px;
    }
    .block {
        align-items: center;
    }

    .light {
        display: none;
    }
    .container {
        flex-direction: column;
    }
}

@media (max-width: 580px) {
    h1 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .frame {
        margin-top: 300px;
    }
    h2 {
        font-size: 32px;
    }
    .button {
        width: 80%;
        text-align: center;
    }
    h3 {
        font-size: 20px;
        padding: 0 14px;
        text-align: center;
    }
    .small-text {
        font-size: 14px;
    }

   
}
