
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    background: #FFFFFF;
    color: #1F1F1F;
}

.header {
  background-color: #0A4D90;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 10px 20px;
}

.header__container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
}

.logo img {
  height: 40px;
}

.nav ul {
  display: flex;
  justify-content: center;
  gap: 30px;
  list-style: none;
}

.nav a {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #2BC46C;
}

.header__buttons {
  display: flex;
  gap: 10px;
}

.btn {
  padding: 10px 20px;
  text-decoration: none;
  color: #FFFFFF;
  border-radius: 4px;
  font-size: 14px;
  transition: background 0.3s ease;
  text-align: center;
}

.btn--register {
  background-color: #2BC46C;
}

.btn--register:hover {
  background-color: #26b15f;
}

.btn--login {
  background-color: #FFFFFF;
  color: #0A4D90;
}

.btn--login:hover {
  background-color: #F5F5F5;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 3px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: 0.3s ease;
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) {
  opacity: 0;
}
.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
  display: none;
  inset: 100% 0 0 0;
  background: #0A4D90;
  padding: 15px 20px;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-nav a {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 16px;
}

@media (max-width: 768px) {
    .header__container {
        display: grid;
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        align-items: center;
        justify-items: center;
        gap: 10px;
        padding: 10px 0;
    }

    .burger {
        display: flex;
        justify-self: start;
    }

    .logo {
        justify-self: center;
        margin-right: 33px;
    }

    .nav {
        display: none;
    }

    .header__buttons {
        grid-column: span 2;
        display: flex;
        justify-content: space-between;
        width: 100%;
        padding: 10px;
    }

    .header__buttons .btn {
        flex: 1;
        padding: 12px 0;
    }  
}

.crazy-stats {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 20px;
  background: #F5F5F5;
  margin-top: 40px;
}

.crazy-stats__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.crazy-stats__title {
  font-size: 28px;
  font-weight: 700;
  color: #1F1F1F;
}

.crazy-stats__subtitle {
  font-size: 14px;
  color: #666;
  margin-top: 4px;
}

.crazy-stats__actions {
  display: flex;
  gap: 10px;
}

.stats-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.3s;
}

.stats-btn--green {
  background: #2BC46C;
  color: #fff;
}

.stats-btn--outline {
  background: #0A4D90;
  color: #fff;
}

.crazy-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.crazy-stats__card {
  background: #FFFFFF;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.crazy-stats__card img {
  width: 80px;
  height: auto;
  margin: 0 auto 10px;
}

.crazy-stats__percent {
  font-size: 20px;
  font-weight: 700;
  color: #1F1F1F;
  margin-bottom: 8px;
}

.crazy-stats__spins {
  font-size: 14px;
  color: #1F1F1F;
  margin-bottom: 12px;
}

.crazy-stats__bar {
  position: relative;
  height: 6px;
  border-radius: 4px;
  background: #ddd;
  overflow: hidden;
}

.crazy-stats__bar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--fill);
  background: var(--color);
  transition: width 0.5s ease;
}

@media (max-width: 1200px) {
  .crazy-stats__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .crazy-stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
    .crazy-stats {
        margin-top: 130px;
    }
 
  .crazy-stats__grid {
    grid-template-columns: 1fr;
  }

  .crazy-stats__actions {
    width: 100%;
    flex-direction: column;
    gap: 8px;
  }
  .stats-btn {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 600px) {
  .crazy-stats__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
  }

  .crazy-stats__title {
    flex: 1;
    font-size: 20px; /* чуть меньше на мобилке */
    white-space: nowrap;
  }

  .crazy-stats__subtitle {
    display: block; /* если нужно — спрятать subtitle, можно visibility: hidden; */
    font-size: 12px;
  }

  .crazy-stats__actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
  }

  .stats-btn {
    padding: 8px 12px;
    font-size: 13px;
  }
}

.promo-banner {
  position: relative;
  max-width: 1300px;
  margin: 0px auto;
  height: 350px;
  background: url("/assets/img/baner.png") center/cover no-repeat;
  border-radius: 0px;
  overflow: hidden;
}

.promo-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(10, 77, 144, 0.6),
    rgba(43, 196, 108, 0.6)
  );
  z-index: 1;
}

.promo-banner__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
  padding: 0 20px;
  max-width: 500px;
}

.promo-banner__title {
  color: #ffffff;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
}

.promo-banner__text {
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 20px;
}

.promo-banner__cta {
  background: #2BC46C;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s;
}

.promo-banner__cta:hover {
  background: #24a75c;
}

/* --- Мобильная адаптация --- */
@media (max-width: 600px) {
  .promo-banner {
    height: 250px;
  }
  .promo-banner__inner {
    padding: 0 15px;
    max-width: 100%;
  }
  .promo-banner__title {
    font-size: 20px;
  }
  .promo-banner__text {
    font-size: 14px;
    margin-bottom: 15px;
  }
  .promo-banner__cta {
    padding: 8px 16px;
    font-size: 13px;
  }
}

.stats-and-spinners {
  max-width: 1300px;
  margin: 0 auto;
  background: #F5F5F5;
  border-radius: 0;
  padding: 20px;
}

.stats-spinners__inner {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}

/* Два равных блока */
.sub-block,
.spinners-wrapper {
  width: 48%;
  background: #fff;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);  
}

/* Заголовки */
.block-title,
.spinners-title {
  display: block;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1F1F1F;
}

/* Множители */
.multiplier-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.multiplier-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.multiplier-list li:last-child {
  border-bottom: none;
}

.multiplier-list img {
  width: 40px;
  height: 40px;
  object-fit: cover;
}

.multiplier {
  background: #F2DA63;
  color: #1F1F1F;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.multiplier-list time {
  font-size: 14px;
  color: #666;
}

.info-btn {
  margin-left: auto;
  display: inline-block;
  background: #F2DA63;
  color: #1F1F1F;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  text-align: center;
  line-height: 28px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.2s;
}

.info-btn:hover {
  background: #d4b644;
}


.spinners-carousel-container {
  display: flex;
  align-items: center;
  gap: 10px;
  
}

.spinners-carousel {
  overflow: hidden;
  flex: 1;
}

.spinners-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.spinners-slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  box-sizing: border-box;
}

.spinners-slide img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 6px;
}

.spinner-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; 
  text-align: center;
margin-top: 40px;
}

.spinner-name {
  font-weight: 600;
  font-size: 1.1rem;
}

.spinner-time {
  display: inline-block;
  margin: 5px 0;
  color: #195bb6;
  background: #e5efff;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.85rem;
}

.spinner-link {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 16px;
  background-color: #2bc46c;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s ease;
}

.spinner-link:hover {
  background-color: #25a75c;
}

.carousel-btn {
  background-color: #eee;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.carousel-btn:hover {
  background-color: #ddd;
}


/* Адаптив */
@media (max-width: 900px) {
  .stats-spinners__inner {
    flex-direction: column;
  }

  .sub-block {
    width: 100%;
  }

  .spinners-carousel-container {
    flex-direction: column;
    align-items: center;
    overflow: hidden;
  }

  .spinners-track {
    width: 100%;
  }

  .spinners-slide {
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .spinners-slide img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 10px;
  }

  .carousel-btn {
    margin: 10px auto;
  }

  .spinner-content {
    align-items: center;
    margin-top: 0px;
  }

    .spinners-carousel-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .carousel-btn {
    margin: 0;
    order: initial;
  }

  .spinners-carousel {
    flex: 1;
  }
}

.spin-history {
  background-color: #f5f5f5;
  padding: 20px;
  border-radius: 0px;
  max-width: 1300px;
  margin: 0 auto;
}

.spin-title {
  font-size: 24px;
  font-weight: 700;
  display: block;
  margin-bottom: 15px;
  color: #1f1f1f;
}

.spin-controls {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

.spin-controls a {
  text-decoration: none;
  background-color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  color: #333;
  border: 1px solid #ddd;
  font-weight: 500;
  font-size: 14px;
}

.spin-table-wrapper {
  overflow-x: auto;
}

.spin-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.spin-table th,
.spin-table td {
  padding: 12px;
  text-align: center;
  border: 1px solid #e0e0e0;
  vertical-align: middle;
}

.spin-table th a {
  color: #000;
  text-decoration: none;
  font-weight: 700;
}

.spin-table tbody td img {
  height: 32px;
}

.slot-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.slot-cell span {
  font-weight: 600;
  font-size: 14px;
}

.info-btn {
  background-color: #F2DA63;
  color: #1F1F1F;
  display: inline-block;
  width: 28px;
  height: 28px;
  text-align: center;
  line-height: 28px;
  border-radius: 50%;
  text-decoration: none;
  font-weight: bold;
}

.spin-pagination {
  margin-top: 20px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}

.spin-pagination a,
.spin-pagination span {
  padding: 6px 10px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  font-size: 14px;
  color: #333;
}

.spin-pagination a.active {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
}

main {
  max-width: 1300px;
  padding: 40px 20px;
  margin: 0 auto;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border-radius: 0px;
}

main h1 {
  font-size: 32px;
  font-weight: 700;
  color: #1F1F1F;
  margin-bottom: 20px;
}

main h2 {
  font-size: 24px;
  margin-top: 40px;
  color: #0A4D90;
  margin-bottom: 10px;
}

main h3 {
  font-size: 20px;
  margin-top: 30px;
  color: #2BC46C;
  margin-bottom: 10px;
}

main p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 16px;
  color: #1F1F1F;
}

main img {
  max-width: 100%;
  display: block;
  margin: 0 auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

main ul,
main ol {
  margin-left: 20px;
  margin-bottom: 16px;
}

main ul li,
main ol li {
  margin-bottom: 8px;
  color: #1F1F1F;
}

@media (max-width: 768px) {
  main {
    padding: 20px 16px;
  }

  main h1 {
    font-size: 24px;
  }

  main h2 {
    font-size: 20px;
  }

  main h3 {
    font-size: 18px;
  }

  main p {
    font-size: 15px;
  }

  main img {
    max-height: 250px;
  }
}

main table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  background: #ffffff;
  box-shadow: 0 1px 6px rgba(0,0,0,0.05);
  font-size: 16px;
  color: #1F1F1F;
  margin-bottom: 10px;
}

main thead {
  background-color: #0A4D90;
  color: #ffffff;
}

main th,
main td {
  padding: 12px 16px;
  border: 1px solid #ddd;
  text-align: left;
}

main tbody tr:nth-child(even) {
  background-color: #f5f5f5;
}

/* 📱 Адаптация */
@media (max-width: 768px) {
  main table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

main section {
  background: #f5f5f5;
  padding: 30px;
  border-radius: 12px;
  margin-top: 40px;
}

main section > span {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: #0a4d90;
  margin-bottom: 20px;
}

main section div > p:nth-of-type(odd) {
  font-weight: 600;
  margin-top: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

main section div > p:nth-of-type(odd) span {
  font-size: 20px;
  color: #0a4d90;
  margin-left: 10px;
}

main section div > p:nth-of-type(even) {
  display: none;
  margin-top: 5px;
  line-height: 1.6;
  color: #1f1f1f;
}

main section div > p.open + p {
  display: block;
}

@media (max-width: 768px) {
  main section {
    padding: 20px;
  }

  main section > span {
    font-size: 20px;
  }
}

footer {
  background-color: #0A4D90;
  color: #fff;
  padding: 40px 20px;
  font-size: 14px;
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-col {
  flex: 1;
  min-width: 200px;
  text-align: center;
}

.footer-col--info p {
  margin: 0 0 10px;
}

.footer-col--nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-col--nav a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-col--nav a:hover {
  opacity: 0.7;
}

.footer-col--socials {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  justify-content: center;
}

.footer-col--socials a {
  background: rgba(255,255,255,0.2);
  padding: 6px 10px;
  border-radius: 4px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 12px;
  transition: background 0.3s;
}

.footer-col--socials a:hover {
  background: rgba(255,255,255,0.4);
}

@media (max-width: 600px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-col--socials {
    justify-content: center;
  }
}