* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    font-family: "Inter", sans-serif;
    background-color: #0B0F26;
    color: white;
    overflow-x: hidden;
  }

  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 16px 24px;
    background-color: #070a19;
    position: relative;
    z-index: 10;
  }

  .logo img{
    width: 90px;
  }

  .nav ul {
    display: flex;
    gap: 20px;
    list-style: none;
  }

  .nav a {
    color: #B0B7C3;
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
  }

  .nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: #AD47FF;
    transition: width 0.3s ease;
  }

  .nav a:hover {
    color: #fff;
  }

  .nav a:hover::after {
    width: 100%;
  }

  .header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .support-btn {
    background: none;
    border: none;
    cursor: pointer;
    transition: transform 0.3s;
  }

  .support-btn img {
    width: 27px;
  }

  .support-btn:hover {
    transform: scale(1.1);
  }

  .login-btn,
  .register-btn {
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 500;
    transition: background 0.3s, transform 0.3s;
  }

  
  .login-btn, .register-btn a{
    text-decoration: none;
  }

  .register-btn, .login-btn a{
    text-decoration: none;
  }

  .login-btn {
    background: #1b1b2f;
    color: #B0B7C3;
  }

  .login-btn:hover {
    background: #2a2a4a;
    transform: scale(1.05);
  }

  .register-btn {
    background: linear-gradient(90deg, #AD47FF, #8C00FF);
    color: white;
  }

  .register-btn:hover {
    background: linear-gradient(90deg, #C65AFF, #A000FF);
    transform: scale(1.05);
  }

  .mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(11, 15, 38, 0.98);
    padding: 80px 20px 20px;
    z-index: 998;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .mobile-menu.active {
    display: flex;
  }

  .mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .mobile-menu a {
    color: #ffffff;
    font-size: 22px;
    text-decoration: none;
    transition: transform 0.3s, color 0.3s;
  }

  .mobile-menu a:hover {
    transform: scale(1.05);
    color: #AD47FF;
  }

  .burger {
    display: none;
  }

  .slider {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.slides {
    display: flex;
    transition: 0.5s ease;
}
.slide {
    min-width: 100%;
    box-sizing: border-box;
    position: relative;
    color: white;
    text-align: center;
    padding: 60px 20px;
}
.slide:nth-child(1)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://boompari7.com/adaptive-image/img/777e8a29-715f-4b49-b3e7-0de465356138?webp=true') no-repeat center center/cover;
    filter: blur(8px) brightness(0.4);
    z-index: -1;
}
.slide:nth-child(2)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.artint.ru/wp-content/uploads/2017/12/bonus_casino.jpg') no-repeat center center/cover;
    filter: blur(8px) brightness(0.4);
    z-index: -1;
}
.slide:nth-child(3)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://boompari7.com/adaptive-image/img/bc4bc79e-9a94-4b9c-8d2b-9b46f98e7272?webp=true') no-repeat center center/cover;
    filter: blur(8px) brightness(0.4);
    z-index: -1;
}
.slide h2 {
    margin: 0 0 10px;
}
.slide a {
    text-decoration: none;
    margin-top: 15px;
    padding: 7px 14px;
    background-color: #a700f1;
    border: none;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}
.slide a:hover {
    background-color: #6f019e;
}
.nav-btn {
    width: 35px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 8px;
    cursor: pointer;
    border-radius: 50%;
}
.prev {
    left: 10px;
}
.next {
    right: 10px;
}

.slide p{
    margin: 16px;
}

.sports-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .sports-section h2 {
    font-size: 28px;
    color: #ffffff;
    margin-bottom: 30px;
  }
  
  .sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
  }
  
  .sport-card {
    display: flex;
    flex-direction: row;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(22, 20, 45, 0.85), rgba(58, 51, 91, 0.6));
    backdrop-filter: blur(6px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    min-height: 200px;
  }
  
  .card-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  .card-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: #fff;
  }
  
  .card-content p {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 16px;
  }
  
  .card-content a {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 12px;
    background: linear-gradient(90deg, #6A11CB, #AD47FF);
    color: white;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s ease;
    width: fit-content;
  }
  
  .card-content a:hover {
    background: linear-gradient(90deg, #8C00FF, #C65AFF);
  }
  

  .card-image {
    flex: 1;
    position: relative;
  }

  .card-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    display: block;
  }

  .casino-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    overflow: hidden;
    padding: 30px;
    max-width: 1200px;
    margin: 40px auto;
    transition: background 0.3s;
  }
  
  .casino-banner:hover {
    background: rgba(255, 255, 255, 0.04);
  }
  
  .casino-banner-content h3 {
    color: white;
    font-size: 26px;
    line-height: 1.3;
    margin-bottom: 8px;
  }
  
  .casino-banner-content p {
    color: #ccc;
    font-size: 14px;
  }
  
  .casino-banner-image img {
    height: auto;
    max-height: 160px;
    width: auto;
    display: block;
    border-radius: 12px;
  }

  .site-footer {
    background: #0b0f26;
    color: white;
    padding: 40px 20px;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  .footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 30px;
  }
  
  .footer-left {
    max-width: 300px;
  }
  
  .footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
  }
  
  .footer-logo img {
    height: 26px;
  }
  
  .flag {
    width: 18px;
    height: 18px;
    object-fit: contain;
  }
  
  .android-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #1a1e31;
    border-radius: 8px;
    color: white;
    font-size: 13px;
    margin-bottom: 20px;
    text-decoration: none;
  }
  
  .android-btn img {
    width: 18px;
    height: 18px;
  }
  
  .rating {
    margin-top: 10px;
    max-width: 140px;
  }
  
  .footer-links {
    display: flex;
    gap: 60px;
    flex: 1;
    flex-wrap: wrap;
  }
  
  .footer-col h4 {
    color: #AD47FF;
    margin-bottom: 10px;
  }
  
  .footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-col li {
    margin-bottom: 8px;
  }
  
  .footer-col a {
    color: #ccc;
    text-decoration: none;
  }
  
  .footer-col a:hover {
    color: white;
  }
  
  .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 16px;
  }
  
  .footer-lang {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  
  .lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #1a1e31;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    cursor: pointer;
  }
  
  .lang-btn img {
    width: 16px;
    height: 16px;
  }
  
  .tg-btn {
    background: #1a1e31;
    padding: 6px;
    border-radius: 8px;
    display: flex;
    align-items: center;
  }
  
  .tg-btn img {
    width: 18px;
    height: 18px;
  }
  
  .scroll-top {
    background: #1a1e31;
    padding: 8px;
    border-radius: 30%;
    color: white;
    transition: background 0.3s;
  }
  
  .scroll-top:hover {
    background: #AD47FF;
    color: white;
  }

  main {
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: "Inter", sans-serif;
    color: #ffffff;
  }
  
  section {
    background-color: #0B0F26;
  }
  
    h1{
        margin: 20px;
        color: #AD47FF;
        text-align: center;
    }

  h2, h3 {
    color: #AD47FF;
    margin: 24px 0 12px;
    line-height: 1.3;
  }
  
  p {
    margin-bottom: 16px;
    line-height: 1.6;
    color: #ccc;
  }
  
  main section img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin: 20px 0;
    display: block;
  }
  

  @media (max-width: 1024px) {
    .header-actions{
        margin-right: 30px;
    }
    .logo img{
        width: 72px;
        margin-right: 10px;
    }

    .nav {
      display: none;
    }

    header{
        justify-content: space-around;
    }

    .burger {
        border-radius: 4px;
        padding: 5px;
        background-color: #0B0F26;
        position: fixed;
        top: 20px;
        right: 20px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        width: 30px;
        height: 30px;
        cursor: pointer;
        z-index: 9999;
    }

    .burger span {
      height: 3px;
      width: 100%;
      background: white;
      border-radius: 2px;
      transition: all 0.3s ease;
    }

    .burger.open span:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }

    .burger.open span:nth-child(2) {
      opacity: 0;
    }

    .burger.open span:nth-child(3) {
      transform: rotate(-45deg) translate(6px, -6px);
    }

    body.noscroll {
      overflow: hidden;
    }
  }

  @media (max-width: 768px) {
    .sport-card {
      flex-direction: column;
      min-height: auto;
    }
  
    .card-image {
      height: 180px;
    }
  
    .card-image img {
      height: 100%;
    }
    .casino-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
      }
    
      .casino-banner-image img {
        max-width: 100%;
        height: auto;
      }
    
      .casino-banner-content h3 {
        font-size: 22px;
      }
      .footer-top {
        flex-direction: column;
        gap: 30px;
      }
    
      .footer-links {
        flex-direction: column;
        gap: 20px;
      }
    
      .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
      }
    
      .footer-lang {
        flex-direction: row;
        gap: 10px;
      }
  }
  

  @media (max-width: 379px) {
    .logo img{
        margin-bottom: 5px;
    }
    .sports-section{
        padding: 0;
    }
}