html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Manrope', Arial, sans-serif;
  color: #fff;
  background: linear-gradient(120deg, #101526 0%, #1a2238 100%), url('https://images.unsplash.com/photo-1519125323398-675f0ddb6308?auto=format&fit=crop&w=1400&q=80') no-repeat center center fixed;
  background-size: cover;
  min-height: 100vh;
}

/* Header */
header {
  position: sticky;
  top: 0;
  left: 0;
  background: rgba(22, 24, 42, 0.86);
  box-shadow: 0 8px 28px 0 #00000044;
  z-index: 30;
  backdrop-filter: blur(10px);
  width: 100%;
}
#header-inner {
    flex-wrap: wrap;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 4vw;
  max-width: 100%;
  margin: auto;
  position: relative;
  z-index: 23;
  box-sizing: border-box;
}
#logo img {
  height: 50px;
  padding: 8px;
}
#mainnav ul {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}
#mainnav li a {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: #fff;
  transition: color 0.3s;
  position: relative;
}
#mainnav li a::after {
  content: "";
  display: block;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #ffc93c, #ff4e00 60%);
  border-radius: 3px;
  position: absolute;
  bottom: -6px;
  left: 0;
  transition: width .4s cubic-bezier(.57,0,.29,1.47);
}
#mainnav li a:hover::after { width: 100%; }
#mainnav li a:hover { color: #ffc93c; }
#actions {
  display: flex;
  gap: 15px;
}
.log-btn, .reg-btn {
  padding: 10px 28px;
  border-radius: 22px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  transition: box-shadow 0.2s, background 0.2s, color 0.2s;
  cursor: pointer;
  background: #181c2f;
  color: #ffc93c;
  box-shadow: 0 2px 10px #ffdc6e27;
  outline: none;
}
.reg-btn {
  background: linear-gradient(90deg, #ffc93c, #ff4e00);
  color: #1a2238;
  box-shadow: 0 2px 18px #ff4e0055;
}
.log-btn:hover { background: #222840; color: #ff4e00; }
.reg-btn:hover { background: #ffe98a; color: #ff4e00; }
#burger {
  display: none;
  width: 46px;
  height: 46px;
  background: none;
  border: none;
  outline: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 30;
  cursor: pointer;
  gap: 5px;
}
#burger span {
  display: block;
  width: 36px;
  height: 4px;
  background: #ffc93c;
  border-radius: 2px;
  transition: all .3s cubic-bezier(.57,0,.29,1.47);
}
#mobnav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 22;
  background: rgba(13,16,32,0.7);
  backdrop-filter: blur(5px);
  transition: 0.3s;
}


.main-cta {
  display: inline-block;
  padding: 13px 36px;
  background: linear-gradient(90deg, #ff4e00 0%, #ffc93c 100%);
  color: #222;
  border-radius: 18px;
  font-size: 1.17rem;
  font-weight: bold;
  letter-spacing: .03em;
  margin-top: 15px;
  box-shadow: 0 2px 20px #ff4e0080;
  text-shadow: none;
  transition: background 0.25s, color 0.25s;
}
.main-cta:hover {
  background: #ffc93c;
  color: #ff4e00;
}



/* Остальные секции */
main section:not(#slots-showcase):not(#slots-showcase) {
  width: 96vw;
  margin: 28px auto 0;
  padding: 22px 2vw 20px;
  border-radius: 24px;
  background: rgba(25,27,44,0.82);
  box-sizing: border-box;
}

/* Footer */
footer {
  background: linear-gradient(90deg, #181c2f 20%, #181c2fa6 100%);
  color: #ffdc6e;
  padding: 36px 0 18px;
  margin-top: 64px;
  position: relative;
  border-top: 1.5px solid #23294644;
  box-shadow: 0 -6px 22px #1a223822;
  width: 100%;
  box-sizing: border-box;
}
#footer-flex {
  max-width: 1250px;
  margin: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 38px;
  flex-wrap: wrap;
  padding: 0 2vw;
}
#footer-flex > div:first-child img {
    height: 60px;
    margin-bottom: 10px;
    padding: 7px;
}
#footer-flex > div:first-child p {
  color: #ffe98a;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 0;
}
#footer-flex nav {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
#footer-flex nav a {
  color: #ff4e00;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
  transition: color .22s;
}
#footer-flex nav a:hover {
  color: #ffc93c;
}
#footer-flex > div:last-child p {
  margin: 0;
  color: #ffdc6e;
  font-size: 13px;
  opacity: 0.62;
}

.main-heading {
  margin: 30px auto 20px;
  text-align: center;
  font-size: 38px;
  max-width: 90%;
  line-height: 1.3;
  font-weight: 800;
  background: linear-gradient(90deg, #ffc93c, #ff4e00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 1px 1px 10px rgba(0, 176, 255, 0.3);
}

.slider-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 900px; /* можно поменять на 600px, 1200px и т.д. */
  margin: 30px auto;
  border-radius: 12px;
  padding: 22px 0vw 20px;
}

.slider {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  min-width: 100%;
  transition: transform 0.5s ease;
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 12px;
}

/* Кнопки */
.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  font-size: 18px;
  padding: 8px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  z-index: 2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
  background: rgba(255, 187, 0, 0.8);
}

.slider-prev {
  left: 10px;
}

.slider-next {
  right: 10px;
}

.slots {
    margin-top: 40px;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    padding: 10px;
    max-width: 1100px;
    margin: auto;
    border-radius: 10px;
    margin-top: 30px;
  }
  .slots h2 {
    font-size: 24px;
    margin-bottom: 16px;
  }
  .slot-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(5, 1fr);
  }
  
  .slot-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 150px;
    background-color: #1a1a1a;
    cursor: pointer;
  }
  
  .slot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.4s ease, filter 0.3s ease;
  }
  
  .slot-item:hover img {
    transform: scale(1.05);
    filter: brightness(0.4) blur(2px);
  }
  
  .slot-item span {
    position: absolute;
    bottom: 6px;
    left: 6px;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 4px 8px;
    font-size: 13px;
    border-radius: 6px;
    z-index: 2;
    color: #fff;
  }
  .slot-item:hover {
    transform: scale(1.05);
  }
  .slot-buttons {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
    align-items: center;
  }
  
  .slot-item:hover .slot-buttons {
    opacity: 1;
  }
  
  .slot-buttons a {
    background-color: rgba(230, 126, 34, 0.9);
    color: white;
    padding: 6px 18px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 8px;
    transition: background-color 0.2s;
    text-align: center;
    min-width: 80px;
  }
  .slot-buttons a:hover {
    background-color: #d35400;
  }

  .more-games {
    margin-top: 24px;
    text-align: center;
  }
  .btn-more {
    background: linear-gradient(90deg, #ffc93c, #ff4e00);
    display: inline-block;
    color: white;
    padding: 10px 24px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 12px;
    transition: background-color 0.3s;
  }

  .content {
  max-width: 1200px;
  margin: 42px auto;
  padding: 32px 18px;
  background: rgba(18,22,34,0.83);
  border-radius: 20px;
  box-shadow: 0 6px 32px #191a2375;
  font-family: 'Manrope', Arial, sans-serif;
  color: #ffe98a;
}

.content h2, h3 {
  color: #ffc93c;
  font-size: 2.1rem;
  margin-top: 32px;
  margin-bottom: 16px;
  font-weight: bold;
  text-shadow: 0 2px 10px #1a223888;
}
.content h3 {
  font-size: 1.35rem;
  margin-top: 24px;
  margin-bottom: 10px;
  color: #ffad23;
}

.content p {
  color: #f4f4ef;
  font-size: 1.15rem;
  line-height: 1.68;
  margin-bottom: 20px;
}

.content ul, ol {
  margin: 18px 0 24px 28px;
  color: #ffdc6e;
  font-size: 1.1rem;
  line-height: 1.62;
}
.content li {
  margin-bottom: 10px;
}

.content blockquote {
  border-left: 5px solid #ffc93c;
  background: rgba(34,36,60,0.3);
  padding: 16px 18px;
  margin: 30px 0;
  color: #fffbe7;
  font-style: italic;
  font-size: 1.1rem;
  border-radius: 7px;
}

.content table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(34,36,60,0.27);
  color: #fff8c7;
  margin: 38px 0;
  border-radius: 14px;
  overflow: hidden;
  font-size: 1rem;
}
.content th, td {
  padding: 13px 14px;
  text-align: left;
  border-bottom: 1px solid #ffc93c44;
}
.content th {
  background: rgba(255, 201, 60, 0.10);
  color: #ffc93c;
  font-weight: bold;
}

.content img {
  display: block;
  max-width: 98%;
  margin: 24px auto 30px;
  border-radius: 14px;
  box-shadow: 0 2px 22px #ffc93c26;
}


/* Мобильная адаптация */
@media (max-width: 1050px) {
  #header-inner { padding: 20px 2vw; }
}

@media (max-width: 920px) {
.slider-wrapper {
    position: relative;
    overflow: hidden;
    max-width: 900px;
    margin: 30px 10px 30px 10px;
    border-radius: 12px;
}
}

@media (max-width: 900px) {
  #mainnav ul { gap: 18px; }
  #slot-grid { gap: 10px; }
}

@media (max-width: 768px) {
          .slot-grid {
        grid-template-columns: repeat(2, 1fr);
      }
        .slider-prev,
  .slider-next {
    font-size: 24px;
    padding: 6px 10px;
  }
      .main-heading {
    font-size: 28px;
    margin-top: 20px;
  }
  #mainnav {
        right: 9px;
        border-radius: 20px;
        display: none;
        position: fixed;
        top: 95px;
        width: 42vw;
        height: 42vh;
        background: rgba(22, 24, 42, 0.99);
        box-shadow: 8px 0 32px #1a223877;
        z-index: 31;
        padding: 72px 28px 28px 18px;
        flex-direction: column;
        transition: transform 0.3s;
        transform: translateX(-100vw);
  }
  #mainnav.open { display: flex; transform: translateX(0vw);}
  #mainnav ul { flex-direction: column; align-items: center; gap: 24px; }
  #actions { flex-direction: row; gap: 12px; }
  #burger { display: flex; }
  #mobnav-backdrop.active { display: block; }
  #footer-flex { padding: 0 2vw; }
    #header-inner { padding: 18px 7px; }
  main section:not(#slots-showcase) { padding: 14px 3vw; }
  #footer-flex { flex-direction: column; align-items: flex-start; gap: 20px;}
}

@media (max-width: 700px) {
  .content {
    padding: 13px 4vw;
    margin: 18px auto;
    border-radius: 13px;
  }
  .content h2 { font-size: 1.23rem; }
  .content h3 { font-size: 1.07rem; }
  .content table, th, td { font-size: 0.92rem; }
}

@media (max-width: 550px) {
.log-btn{
    display: none;
}
}

@media (max-width: 480px) {
  .main-heading {
    font-size: 22px;
    line-height: 1.2;
  }
}

@media (max-width: 400px) {
  #logo img {
    height: 32px;
  }
  .reg-btn{
    padding: 8px 12px;
  }
}
