* {
    padding: 0;
    margin: 0;
    font-family: "Roboto", sans-serif;
}

/*preloader*/
.preloader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-position: center;
    background-color: #000;
    transition: 0.5s;
}
.preloader-remove {
    opacity: 0;
    z-index: -10;
}

.obj-load {
    width: 100px;
    height: 100px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    top: 140px;
    left: 0;
    right: 0;
    text-align: center;
}

.preloder-image {
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    top: 20px;
    left: 0;
    right: 0;
    text-align: center;
}


.preloder-image > img {
    transition: all 0.5s ease;
    animation: rotate 2s linear infinite;
}

@keyframes rotate {
  0% {
    width: 55px;
    height: 55px;
  }

  50% {
    width: 70px;
    height: 70px;
  }

  100% {
    width: 55px;
    height: 55px;
  }
}

/*preloader*/
@property --progress-value {
      syntax: "<integer>";
      initial-value: 0;
      inherits: false;
    }

    @keyframes progress {
      0% { --progress-value: 0; }
      100% { --progress-value: 100; }
    }

    .progress-bar {
      position: absolute;
      width: 100px;
      height: 100px;
      border-radius: 50%;
      background: 
        radial-gradient(closest-side, rgb(0, 0, 0) 79%, transparent 80% 100%),
        conic-gradient(rgba(34, 42, 104, 1) calc(var(--progress-value) * 1%), rgb(0, 0, 0) 0);
      animation: progress 7s infinite linear;
    }

    .progress-bar::before {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      color: white;
      font-family: Arial, sans-serif;
      font-size: 20px;
      counter-reset: percentage var(--progress-value);
    }

header {
    background: rgba(4, 3, 5, 1);
    width: 100%;
    border-bottom: 2px solid rgba(34, 42, 104, 1);
}

.inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.container {
    max-width: 1250px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    border-right: 2px solid rgba(34, 42, 104, 1);
}

.footer-logo {
    display: flex;
    align-items: center;
}

.sound {
    display: flex;
    justify-content: center;
    margin-right: 5px;
    padding: 25px;
}

.logo > img:last-child {
    margin-top: 14px;
}

nav {
    margin: 0px 10px;
}

nav > a {
    text-decoration: none;
    color: #fff;
    margin: 0px 7px;
    font-size: 10px;
    /* border-bottom: 3px solid rgba(87, 74, 226, 1);
    padding-bottom: 25px; */
}

body {
    background: rgb(0, 0, 0);
}

.main {
    background-image: url(/image/bg.png);
    background-repeat: no-repeat;
    background-size: contain;
    max-width: 500px;
    padding: 0px 4px;
    margin: 0 auto;
    min-height: calc(100vh - 70px);
}

.big-logo {
    max-width: 200px;
    margin: 25px auto;
}

.big-logo > img:first-child {
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    top: 60px;
}

.big-logo > img:last-child {
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    top: 150px;
}

.case {
    padding-top: 100px;
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: center;
}

.card {
    width: 255px;
    height: 285px;
    position: relative;
    margin-bottom: 15px;
}

.card-name > h3 {
    font-size: 14px;
    color: #fff;
    position: absolute;
    right: 10px;
    top: 7px;
}

.card-name > p {
    font-size: 9px;
    color: #fff;
    position: absolute;
    right: 10px;
    top: 23px;
}

.card-text {
    text-align: center;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    bottom: 45px;
}

.card-text > p {
    color: #fff;
    font-size: 10px;
}

.card-btn {
    cursor: pointer;
    text-align: center;
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    bottom: 10px;
}

.card-btn  > button {
    cursor: pointer;
    background-color: rgba(87, 74, 226, 1);
    border: 0px;
    padding: 8px 10px;
    font-size: 12px;
    border-radius: 3px;
    color: #fff;
    font-weight: 700;
}

footer {
    position: relative;
    border-top: 2px solid rgba(34, 42, 104, 1);
    margin: 10px 10px;
}

.footer-str > p {
    color: #fff;
    font-size: 10px;
}

.footer-text {
    font-size: 8px;
    color: #aeaeae;
    margin: 8px;
}

@media (max-width: 380px) {
    .footer-text {

        font-size: 6px;
    }
}

.footer-social {
    display: flex;
    position: absolute;
    right: 0;
    bottom: -30px;
}

.footer-social > div > img {
    margin: 0px 3px;
    position: relative;
}

.footer-social-image > img:first-child {
    position: absolute;
    left: -40px;
}

.open-case-inner {
    display: flex;
    align-items: center;
    align-items: left;
}

.open-case-back {
    margin-top: 17px;
    margin-bottom: 29px;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: space-evenly;
    width: 80px;
    height: 23px;
    border-radius: 8px;
    padding: 0px 0px;
    border: 2px solid rgba(34, 42, 104, 1);
}

.open-case-back > a {
    margin-left: 5px;
    margin-bottom: 1px;
    margin-right: 4px;
    color: #fff;
    font-size: 10px;
    text-decoration: none;
}

.open-case {
    margin-top: 30px;
}

.open-case-btn > a {
    text-decoration: none;
    background-color: rgba(87, 74, 226, 1);
    border: 0px;
    color: #fff;
    padding: 9px 22px;
    margin-bottom: 20px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 700;
}

@media (max-width: 390px) {
    .open-case-btn > a {
        padding: 9px;
    }
}


.open-case-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 19px;
}

.open-case-checkbox > p {
    font-size: 7px;
    color: #fff;
    margin-left: 4px;
}

.open-case-checkbox > input {
    width: 8px;
    height: 8px;
}

.open-case-content {
    margin-top: 9px;
}

.open-case-content-logo {
    display: flex;
    align-items: center;
}

.open-case-content-logo > h4 {
    color: #fff;
    font-size: 12px;
}

.open-case-content-logo > span {
    color: #fff;
    font-size: 6px;
    margin-left: 5px;
    margin-top: 3px;
}

.open-case-items {
    margin-top: 10px;

    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: center;
}

.case-item {
    width: 92px;
    height: 114px;
    border-radius: 7px;
    text-align: center;
    position: relative;
    margin: 1px;
}

.case-item > h5 {
    padding-top: 12px;
    padding-bottom: 15px;
    color: #fff;
    font-size: 7px;
}

.case-item > h5 > span {
    color: orange;
}

.case-item-curcle {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgb(141, 255, 11);
    border-radius: 100px;
    width: 4px;
    height: 4px;
}

.win-item {
    text-align: center;
    margin-top: 14px;
}

.win-card-btn {
    text-align: center;
    margin-top: 15px;
}

.win-card-btn  > a {
    text-decoration: none;
    background-color: rgba(87, 74, 226, 1);
    border: 0px;
    padding: 6px 24px;
    font-size: 8px;
    border-radius: 3px;
    color: #fff;
}

.win-item-name {
    text-align: left;
    color: #fff;
    max-width: 200px;
    margin: 15px auto;
}
/* win.php */

.main-win {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.main-win::before {
    content: "";
    position: absolute;
    top: 131px;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("/image/bg (1).png") no-repeat center center;
    background-size: cover;
    z-index: 1;
    /* Центрируем фон относительно круга */
    transform: translateY(-10%);
}

.win-load {
    width: 400px;
    height: 216px;
    position: relative;
    margin: 0 auto;
    text-align: center;
}

.preloder-image-win {
    position: absolute;
    top: 5%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.preloder-image-win > img {
    transition: all 0.5s ease;
    animation: rotatewin 5s linear infinite;
}

@keyframes rotatewin {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.progress-bar-win {
    position: absolute;
    top: 3%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 230px;
    height: 232px;
    border-radius: 50%;
    background: 
        radial-gradient(closest-side, rgb(0, 0, 0) 94%, transparent 80% 100%),
        conic-gradient(rgba(34, 42, 104, 1) calc(var(--progress-value) * 1%), rgb(0, 0, 0) 0);
    animation: progresswin 7s infinite linear;
    z-index: 1;
}

@property --progress-value {
    syntax: "<integer>";
    initial-value: 0;
    inherits: false;
}

@keyframes progresswin {
    0% { --progress-value: 0; }
    100% { --progress-value: 100; }
}

.win-item {
    text-align: center;
    position: relative;
    z-index: 2;
}

.win-item-name {
    /* margin-top: 60px; */
    color: white;
    font-size: 18px;
}

.win-card-btn a {
     cursor: pointer;
    background-color: rgba(87, 74, 226, 1);
    border: 0px;
    padding: 8px 10px;
    font-size: 12px;
    border-radius: 3px;
    color: #fff;
}

.win-card-btn a:hover {
    background: linear-gradient(90deg, #4a4a4a, #2a2a2a);
    transform: scale(1.05);
}

