@font-face {
  font-family: "Burbank";
  font-weight: 400;
  font-style: normal;
  src: url("../fonts/BurbankBigRegular-Black.woff2") format("woff2"), url("../fonts/BurbankBigRegular-Black.woff") format("woff");
}

body { min-height: 100%; color: #fff; background: url("../img/background.jpg") center top / cover fixed; font-family: "Burbank", sans-serif; font-size: 16px; }
.container { display: flex; align-items: center; flex-direction: column; min-height: 100vh; max-width: 1000px; margin: 0 auto; padding: 20px 10px 24px; }
.first-page,.second-page { width: 100%; align-items: center; flex-direction: column; }
.first-page { display: flex; }
.second-page { display: flex; }
.first-page__img { display: block; width: 200px; max-width: 70vw; height: auto; margin-bottom: 20px; }
.first-page__text { font-size: 24px; text-align: center; text-shadow: -1px -1px #000,1px -1px #000,-1px 1px #000,1px 1px #000; }
.first-page__title,.bottom-block__title { margin: 25px 0 20px; font-size: 24px; text-align: center; text-transform: uppercase; text-shadow: -1px -1px #000,1px -1px #000,-1px 1px #000,1px 1px #000; }
.first-page__content { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; width: 100%; max-width: 652px; margin: 0 auto; }
.first-page__content-item { overflow: hidden; width: 148px; border: 1px solid #fff; border-radius: 5px; text-align: center; cursor: pointer; transition: transform .15s,box-shadow .15s; }
.first-page__content-item:hover { transform: translateY(-3px); box-shadow: 0 0 12px rgba(255,255,255,.45); }
.first-page__content-item[aria-pressed="true"] { outline: 3px solid #fffd3a; outline-offset: 2px; }
.first-page__content-item img { display: block; width: 120px; height: 120px; margin: 0 auto; object-fit: contain; }
.item__text { padding: 5px 0; background: rgba(0,0,0,.45); }
.second-page { padding-top: 0; }
.second-page__bottom-block { display: flex; align-items: center; flex-direction: column; width: 100%; margin-bottom: 24px; }
.second-page__bottom-block .bottom-block__title { margin-top: 5px; }
.bottom-block__input { width: min(300px,90vw); height: 46px; margin-bottom: 14px; padding: 0 12px; border: 2px solid #383838; border-radius: 5px; background: #fff; color: #171717; font-family: Arial,sans-serif; font-size: 16px; }
.device-label { margin: 0 0 7px; font-size: 17px; text-shadow: -1px -1px #000,1px -1px #000,-1px 1px #000,1px 1px #000; }
.device-select { cursor: pointer; }
.bottom-block__btn { width: min(280px,90vw); height: 42px; border-radius: 5px; background: #fffd3a; color: #000; font-size: 18px; box-shadow: 0 3px 0 #b6b51e; }
.bottom-block__btn:hover { background: #fff85a; }
.back-btn { margin-top: 14px; padding: 5px 12px; background: transparent; color: #fff; font-size: 15px; text-decoration: underline; text-shadow: 1px 1px #000; }
.form-error { margin: -5px 0 10px; color: #ffb0b0; text-shadow: 1px 1px #000; }
.goods-img { position: relative; width: 148px; height: 148px; margin: 0 10px; overflow: hidden; border: 1px solid #fff; border-radius: 5px; box-shadow: 0 0 5px #7fcad1; text-align: center; }
.goods-img img { width: 120px; height: 120px; object-fit: contain; }
.goods-img__text { position: absolute; bottom: 0; left: 0; width: 100%; padding: 5px 0; border-radius: 0 0 5px 5px; background: rgba(0,0,0,.55); }
.disclosure { max-width: 530px; margin: 20px 8px 0; font-family: Arial,sans-serif; font-size: 11px; line-height: 1.45; text-align: center; text-shadow: 1px 1px #000; }
.page-footer { margin-top: auto; padding-top: 24px; color: rgba(255,255,255,.78); font-size: 13px; text-shadow: 1px 1px #000; }
.hide { display: none !important; }
@media (max-width: 640px) { .first-page__content { max-width: 490px; gap: 10px; }.first-page__content-item { width: 142px; }.first-page__content-item img { width: 114px; height: 114px; } }
@media (max-width: 490px) { .container { padding-top: 15px; }.first-page__img { width: 180px; }.first-page__text { font-size: 21px; }.first-page__title { margin-top: 20px; }.first-page__content { max-width: 356px; gap: 10px; }.first-page__content-item { width: 108px; }.first-page__content-item img { width: 96px; height: 96px; } }
@media (max-width: 335px) { .first-page__content { max-width: 230px; }.first-page__content-item { width: 108px; } }
