      body {
  margin: 0;
      font-family: 'Montserrat', Arial, sans-serif;
      background: #171e2b;
      color: #fff;
    }
    header {
      width: 100%;
      background: rgba(20,30,60,0.98);
      box-shadow: 0 2px 10px 0 rgba(10,10,20,0.15);
      position: fixed;
      top: 0;
      left: 0;
      z-index: 100;
    }
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 18px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 64px;
    }

    .roulette-logo img{
        width: 57px;
    }
    
    .container .logo{
      height: 100px;
    }
    nav {
      display: flex;
      gap: 28px;
      align-items: center;
    }
    nav a {
      text-decoration: none;
      color: #fff;
      font-size: 1rem;
      font-weight: 500;
      padding: 8px 0;
      transition: color 0.2s;
      position: relative;
    }
    nav a:after {
      content: '';
      display: block;
      width: 0%;
      height: 2px;
      background: #ffe663;
      transition: width 0.3s;
      position: absolute;
      left: 0;
      bottom: -3px;
    }
    nav a:hover, nav a:focus {
      color: #ffe663;
    }
    nav a:hover:after, nav a:focus:after {
      width: 100%;
    }
    .burger {
      display: none;
      flex-direction: column;
      justify-content: center;
      width: 34px;
      height: 34px;
      background: transparent;
      border: none;
      cursor: pointer;
      z-index: 200;
    }
    .burger span {
      display: block;
      width: 28px;
      height: 4px;
      background: #ffe663;
      border-radius: 2px;
      margin: 4px 0;
      transition: 0.3s;
    }

.content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 38px 16px 60px 16px;
  background: transparent;
  border-bottom: 1px solid #fff366;
}
.content h1, .content h2, .content h3 {
  color: #ffe663;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 18px;
  line-height: 1.16;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 12px #181d2a55;
}
.content h1, .content h2 {
  font-size: 2.1rem;
  margin-top: 0;
}
.content h3 {
  font-size: 1.35rem;
}

.content p {
  color: #e1e8f0;
  font-size: 1.12rem;
  line-height: 1.7;
  margin: 0 0 22px 0;
  text-align: left;
}

.content ul {
  padding-left: 22px;
  margin: 0 0 22px 0;
}
.content ul li {
  color: #fff;
  font-size: 1.08rem;
  margin-bottom: 10px;
  line-height: 1.6;
  position: relative;
}
.content ul li::marker {
  color: #ffe663;
  font-size: 1.1em;
}

.content img {
  display: block;
  margin: 32px auto 24px auto;
  border-radius: 18px;
  box-shadow: 0 4px 24px #ffe66318;
  max-width: 100%;
  height: auto;
}

/* Горизонтальные изображения (шире чем высота) */
.content img[alt*="гориз"], 
.content img[alt*="horiz"], 
.content img[alt*="wheel"] {
  max-width: 600px;
}

/* Вертикальные изображения (выше чем ширина) */
.content img[alt*="верт"], 
.content img[alt*="vert"], 
.content img[alt*="bonus"] {
  max-width: 320px;
}

footer {
  background: #181f2d;
  padding: 38px 0 24px 0;
  color: #e1e8f0;
  position: relative;
  z-index: 2;
}
.footer-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  gap: 34px;
  flex-wrap: wrap;
}
footer img {
  display: block;
  margin: 0 auto 10px auto;
  background: #232b44;
}
footer p {
  color: #ffe663;
  font-size: 1rem;
  text-align: center;
  margin: 0 0 8px 0;
  font-weight: 600;
  letter-spacing: 0.7px;
}
footer h4 {
  color: #ffe663;
  margin: 0 0 12px 0;
  font-size: 1.07rem;
  font-weight: 700;
  letter-spacing: 0.4px;
}
footer ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
footer ul li {
  margin-bottom: 8px;
}
footer a {
  color: #e1e8f0;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.15s;
  position: relative;
}
footer a:hover,
footer a:focus {
  color: #ffe663;
}
footer i {
  margin-right: 6px;
  color: #ffe663;
}

    @media (max-width: 900px) {
      .container {
        height: 56px;
        padding: 0 10px;
      }
      nav {
        gap: 20px;
      }
          .roulette-logo img{
        width: 48px;
    }
    }
    @media (max-width: 700px) {
      nav {
        position: fixed;
        left: 0; top: 0;
        width: 100vw;
        height: 100vh;
        flex-direction: column;
        background: rgba(23,30,43,0.98);
        justify-content: center;
        align-items: center;
        gap: 38px;
        z-index: 150;
        transform: translateX(-100%);
        transition: transform 0.3s;
        pointer-events: none;
      }
      nav.open {
        transform: translateX(0);
        pointer-events: auto;
      }
      .burger {
        display: flex;
      }
    }

    @media (max-width: 850px) {
  .footer-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 26px;
  }
}

#scrollTopBtn {
  position: fixed;
  right: 32px;
  bottom: 38px;
  width: 48px;
  height: 48px;
  background: #ffe663;
  color: #1b1e2b;
  border: none;
  border-radius: 50%;
  box-shadow: 0 6px 26px #ffe66355, 0 2px 14px #0e102177;
  cursor: pointer;
  font-size: 1.6rem;
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s, background 0.18s, color 0.18s;
  display: flex;
  align-items: center;
  justify-content: center;
}
#scrollTopBtn.show {
  opacity: 1;
  pointer-events: auto;
}
#scrollTopBtn:hover,
#scrollTopBtn:focus {
  background: #fff366;
  color: #131b36;
}

    @media (max-width: 600px) {
          #scrollTopBtn {
    right: 10px;
    bottom: 12px;
    width: 38px;
    height: 38px;
    font-size: 1.2rem;
  }
  .footer-wrapper {
    padding: 0 8px;
  }
  .content {
    padding: 20px 10px 36px 10px;
  }
  .content h1 { font-size: 1.26rem; }
  .content h2 { font-size: 1.26rem; }
  .content h3 { font-size: 1.08rem; }
  .content img { max-width: 98%; }
}