html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

body {
  background: #0f0f0f;
  overflow-y: auto;
  overflow-x: hidden;
}

:root {
    --default-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
      Ubuntu, "Helvetica Neue", Helvetica, Arial, "PingFang SC",
      "Hiragino Sans GB", "Microsoft Yahei UI", "Microsoft Yahei",
      "Source Han Sans CN", sans-serif;
  }
  
  .main-container {
    position: relative;
    width: 100%;
    margin: 0;
    background: #0f0f0f;
    overflow: visible;
  }
  
  .main-container,
  .main-container * {
    box-sizing: border-box;
  }
  
  input,
  select,
  textarea,
  button {
    outline: 0;
  }
  
  .content-wrapper {
    position: relative;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
  }
  
  .bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: transparent;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 100;
  }

  .flex-row-fb {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1264px;
    height: 32px;
    margin: 21px auto;
    padding: 0 20px;
  }

  .logo-container {
    display: flex;
    align-items: center;
  }

  .logo {
    width: 34px;
    height: 32px;
    background: url(zSNtBVwvHL.svg) no-repeat center;
    background-size: cover;
    margin-right: 10px;
  }

  .starcase {
    color: #ffffff;
    font-family: Inter, var(--default-font-family);
    font-size: 24px;
    font-weight: 600;
    line-height: 29px;
    letter-spacing: -0.4px;
  }

  .nav-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 30px;
  }

  .nav-item {
    position: relative;
    color: rgba(255, 255, 255, 0.6);
    font-family: Inter, var(--default-font-family);
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
  }

  .nav-item.active {
    color: #ffffff;
  }

  .nav-indicator {
    position: absolute;
    width: 100%;
    height: 3px;
    background: #ffffff;
    bottom: -24px;
    left: 0;
  }

  .right-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
  }

  .tg-logo {
    width: 24px;
    height: 24px;
    background: url(tg.gif) no-repeat center;
    background-size: cover;
  }

  .right-logo span {
    color: #ffffff;
    font-family: Inter, var(--default-font-family);
    font-size: 18px;
    font-weight: 600;
    line-height: 22px;
  }

  .line {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin-top: 24px;
  }

  @media (max-width: 768px) {
    .nav-container, .right-logo {
      display: none;
    }
  }
  
  .rectangle {
    position: relative;
    width: 28px;
    height: 3px;
    margin: 0 0 0 345px;
    background: #ffffff;
    z-index: 65;
    border-radius: 0 0 3.5px 3.5px;
  }
  .rectangle-1 {
    position: absolute;
    width: 28px;
    height: 3px;
    top: 0;
    left: 0;
    background: #ffffff;
    z-index: 77;
    border-radius: 0 0 3.5px 3.5px;
  }
  .flex-row-eb {
    position: relative;
    width: 100%;
    padding: 24px 0;
    margin-top: 80px; /* Отступ равный высоте навбара */
  }
  .glow {
    position: absolute;
    width: 860px;
    height: 860px;
    top: 0;
    left: 0;
    background: rgba(221, 168, 42, 0.5);
    opacity: 0.3;
    filter: blur(407px);
    z-index: -1;
    border-radius: 2000px;
  }
  .hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 60px 5% 100px;
    margin-bottom: 100px;
    z-index: 1;
  }
  .hero-content {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 60px;
    margin-bottom: 30px;
    position: relative;
  }
  .hero-image {
    width: 50%;
    max-width: 600px;
    position: relative;
  }
  .group {
    width: 100%;
    height: auto;
    aspect-ratio: 570/541;
    background: url(LqRxhUczkJ.png)
      no-repeat center;
    background-size: contain;
  }
  .hero-text-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-left: 40px;
  }
  .otkryvay-nabory-s-nft {
    color: #ffffff;
    font-family: Inter, var(--default-font-family);
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 600;
    line-height: 1.2;
    text-align: left;
  }
  .podarki-v-telegram-nabirayut-populyarnost-i-byut-rekordy-kazhdyj-den-starcase-idealnyj-sposob-udivit-blizkih-unikalnymi-podarkami {
    color: rgba(255, 255, 255, 0.6);
    font-family: Inter, var(--default-font-family);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
    text-align: left;
  }
  .rectangle-5 {
    width: 232px;
    height: 64px;
    background: #ffffff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    padding: 0 20px;
  }
  .application-emoji {
    width: 24px;
    height: 24px;
    background: url(tg.gif) no-repeat center;
    background-size: cover;
    margin-right: 8px;
  }
  .text-6 {
    color: #000000;
    font-family: Onest, var(--default-font-family);
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
    text-align: left;
    white-space: nowrap;
    letter-spacing: -0.13px;
  }
  .rectangle-7 {
    position: absolute;
    bottom: -40px;
    left: -10%;
    right: -10%;
    width: 120%;
    max-width: 700px;
    height: auto;
    min-height: 80px;
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 40px;
    backdrop-filter: blur(37px);
    -webkit-backdrop-filter: blur(37px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
  }
  .innovative-mini-app {
    font-family: Inter, var(--default-font-family);
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    text-align: center;
    letter-spacing: -0.4px;
    padding: 20px;
  }
  .innovative, .innovative-8 {
    color: #ffffff;
  }
  .mini-application-in, .exclamation {
    color: rgba(255, 255, 255, 0.7);
  }
  .glow-9 {
    position: absolute;
    width: 100%;
    height: 1440px;
    top: 0;
    left: 0;
    background: rgba(68, 97, 242, 0.5);
    opacity: 0.3;
    filter: blur(407px);
    z-index: -1;
    border-radius: 2000px;
  }
  .glow-b {
    position: absolute;
    width: 794px;
    height: 794px;
    top: 30%;
    left: 0;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0.3;
    filter: blur(407px);
    z-index: -1;
    border-radius: 2000px;
  }
  .high-rtp {
    color: #ffffff;
    font-family: Inter, var(--default-font-family);
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 20px;
  }
  .animated {
    width: 73px;
    height: 73px;
    background: url(rtp.gif)
      no-repeat center;
    background-size: cover;
    margin: 0 auto 20px;
  }
  .open-cases {
    color: rgba(255, 255, 255, 0.6);
    font-family: Inter, var(--default-font-family);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    max-width: 707px;
    margin-bottom: 40px;
  }
  .cases-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    width: 100%;
  }
  .case-image {
    width: 240px;
    height: 240px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  .group-c {
    width: 20px;
    height: 290px;
    background: url(Ey9a9439BT.svg)
      no-repeat center;
    background-size: cover;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
  }
  .group-d {background-image: url(PNPrJfdYJE.png);}
  .group-e {background-image: url(jPqjAs3pKu.png);}
  .group-f {background-image: url(hCbZV5vsPP.png);}
  .group-10 {background-image: url(cdkR6nwAno.png);}
  .group-11 {background-image: url(mGMjGXnvON.png);}
  .group-12 {background-image: url(6UXsZznfyw.png);}
  .group-13 {background-image: url(YGGEwwB950.png);}
  .rectangle-14 {
    width: 196px;
    height: 64px;
    background: #ffffff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    margin: 0 auto;
  }
  .application-emoji-15 {
    width: 24px;
    height: 24px;
    background: url(tg.gif) no-repeat center;
    background-size: cover;
    margin-right: 8px;
  }
  .text-16 {
    color: #000000;
    font-family: Onest, var(--default-font-family);
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
    text-align: left;
    white-space: nowrap;
    letter-spacing: -0.13px;
  }
  .glow-17 {
    position: absolute;
    width: 860px;
    height: 860px;
    top: 0;
    left: 0;
    background: rgba(221, 168, 42, 0.5);
    opacity: 0.3;
    filter: blur(407px);
    border-radius: 2000px;
    z-index: -1;
  }
  .section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
  }
  .text-19 {
    color: #ffffff;
    font-family: Inter, var(--default-font-family);
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
  }
  .rectangle-1a {
    width: 88px;
    height: 64px;
    background: url(OqQs2PbpWZ.png)
      no-repeat center;
    background-size: cover;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .new {
    color: #ffffff;
    font-family: Inter, var(--default-font-family);
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
  }
  .group-18 {
    width: 100%;
    height: auto;
    aspect-ratio: 374/372;
    background: url(upgrade.png)
      no-repeat center;
    background-size: contain;
  }
  .text-1b {
    max-width: 100%;
    font-family: Inter, var(--default-font-family);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 30px 0;
    text-align: left;
  }
  .improvements, .improvements-1c, .improvements-1e, .improvements-20, .improvements-22, .improvements-24 {
    color: #ffffff;
  }
  .try-luck, .try-luck-1d, .try-luck-1f, .try-luck-21, .try-luck-23 {
    color: rgba(255, 255, 255, 0.6);
  }
  .rectangle-25 {
    width: 239px;
    height: 64px;
    background: #ffffff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    margin: 0;
  }
  .application-emoji-26 {
    width: 24px;
    height: 24px;
    background: url(tg.gif) no-repeat center;
    background-size: cover;
    margin-right: 8px;
  }
  .text-27 {
    color: #000000;
    font-family: Onest, var(--default-font-family);
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
    text-align: left;
    white-space: nowrap;
    letter-spacing: -0.13px;
  }
  .glow-28 {
    position: absolute;
    height: 794px;
    top: 30%;
    bottom: auto;
    left: 0;
    z-index: -1;
    border-radius: 2000px;
    pointer-events: none;
  }
  .animated-29 {
    width: 100%;
    max-width: 410px;
    height: auto;
    aspect-ratio: 1/1;
    background: url(monetization.gif)
      no-repeat center;
    background-size: contain;
    margin: 0 auto 40px;
  }
  .glow-2a {
    position: absolute;
    height: 794px;
    top: 30%;
    bottom: auto;
    left: 0;
    z-index: -1;
    border-radius: 2000px;
    pointer-events: none;
  }
  .monetization {
    color: #ffffff;
    font-family: Inter, var(--default-font-family);
    font-size: clamp(32px, 5vw, 64px);
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
  }
  .rectangle-2b {
    width: 88px;
    height: 64px;
    background: url(dspjsorqQg.png)
      no-repeat center;
    background-size: cover;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .new-2c {
    color: #ffffff;
    font-family: Inter, var(--default-font-family);
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
  }
  .earn-with-us {
    max-width: 639px;
    font-family: Inter, var(--default-font-family);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
    margin: 30px auto 40px;
    text-align: center;
  }
  .ad-banner, .ad-banner-2d, .ad-banner-2f, .start-earning-today {
    color: #ffffff;
  }
  .short-video-embed, .short-video-embed-2e, .short-video-embed-30 {
    color: rgba(255, 255, 255, 0.6);
  }
  .rectangle-31 {
    width: 269px;
    height: 64px;
    background: #ffffff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    margin: 0;
  }
  .application-emoji-32 {
    width: 24px;
    height: 24px;
    background: url(tg.gif)
      no-repeat center;
    background-size: cover;
    margin-right: 8px;
  }
  .telegram-details {
    color: #000000;
    font-family: Onest, var(--default-font-family);
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
    text-align: left;
    white-space: nowrap;
    letter-spacing: -0.13px;
  }
  .logo-33 {
    width: 34px;
    height: 32px;
    background: url(ZJ2Jg0eT88.svg)
      no-repeat center;
    background-size: cover;
  }
  .starcase-2025 {
    font-family: Inter, var(--default-font-family);
    font-size: 24px;
    font-weight: 600;
    line-height: 29px;
    letter-spacing: -0.4px;
    background: linear-gradient(77.53deg, #efefef, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 40px 5%;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
  }
  .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  .contacts, .offer, .terms-of-use, .privacy-policy {
    color: rgba(255, 255, 255, 0.6);
    font-family: Inter, var(--default-font-family);
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
    white-space: nowrap;
    letter-spacing: -0.13px;
  }
  @media (max-width: 992px) {
    .hero-content {
      flex-direction: column;
      gap: 60px;
    }
    
    .hero-image {
      width: 100%;
      max-width: 500px;
      margin-bottom: 50px;
    }
    
    .hero-text-content {
      width: 100%;
      margin-left: 0;
      align-items: center;
    }
    
    .otkryvay-nabory-s-nft {
      text-align: center;
    }
    
    .rectangle-7 {
      bottom: -30px;
      width: 100%;
      left: 0;
      right: 0;
    }
    .cases-gallery .case-image {
      width: calc(50% - 20px);
      max-width: 240px;
    }
    .group-c {
      display: none;
    }
  }
  @media (max-width: 768px) {
    .nav-menu {
      display: none;
    }
    .starcase-4 {
      display: none;
    }
    .footer {
      flex-direction: column;
      gap: 20px;
    }
    .footer-links {
      justify-content: center;
      margin-top: 20px;
    }
    .text-1b, .earn-with-us {
      text-align: left;
    }
  }
  @media (max-width: 576px) {
    .cases-gallery .case-image {
      width: 100%;
      max-width: 240px;
    }
    .rectangle-5, .rectangle-14, .rectangle-25, .rectangle-31 {
      width: 100%;
      max-width: 280px;
      justify-content: center;
    }
    .otkryvay-nabory-s-nft {
      font-size: 32px;
      line-height: 1.2;
    }
    .high-rtp, .text-19, .monetization {
      font-size: 32px;
    }
  }
  
  .rtp-section, .improvements-section, .monetization-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 5%; 
    z-index: 1;
  }
  
  .rtp-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    gap: 15px;
  }
  
  .carousel-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 40px 0;
  }
  
  .cases-carousel {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: carousel 60s linear infinite;
  }
  
  @keyframes carousel {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-240px * 7 - 20px * 7)); /* Ширина элементов + отступы */
    }
  }
  
  .case-image {
    width: 240px;
    height: 240px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 16px;
  }
  
  .carousel-arrow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 100%;
    z-index: 30;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
  }
  
  .arrow-line {
    width: 2px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0;
  }
  
  .arrow-top {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 15px solid white;
  }
  
  .arrow-bottom {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 15px solid white;
  }
  
  @media (max-width: 768px) {
    .rtp-header {
      flex-direction: column;
      gap: 10px;
    }
    
    .animated {
      width: 60px;
      height: 60px;
    }
    
    .arrow-top, .arrow-bottom {
      border-left-width: 8px;
      border-right-width: 8px;
    }
    
    .arrow-top {
      border-top-width: 12px;
    }
    
    .arrow-bottom {
      border-bottom-width: 12px;
    }
  }
  
  .improvements-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 60px 5%;
    z-index: 1;
  }
  
  .improvements-section .section-header {
    width: 100%;
    display: none;
  }
  
  .improvements-content {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 40px;
  }
  
  .improvements-image {
    width: 40%;
    max-width: 374px;
  }
  
  .improvements-text-content {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .improvements-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
  }
  
  @media (max-width: 992px) {
    .improvements-content {
      flex-direction: column;
    }
    
    .improvements-image, .improvements-text-content {
      width: 100%;
    }
    
    .improvements-header {
      justify-content: center;
      width: 100%;
    }
    
    .text-1b {
      text-align: center;
    }
    
    .rectangle-25 {
      margin: 0 auto;
    }
  }
  
  .monetization-section {
    position: relative;
    overflow: hidden;
  }
  
  .monetization-section .section-header {
    width: 100%;
    display: none;
  }
  
  .monetization-content {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 40px;
  }
  
  .monetization-image {
    width: 40%;
    max-width: 410px;
  }
  
  .monetization-text-content {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .monetization-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
  }
  
  .earn-with-us {
    max-width: 100%;
    font-family: Inter, var(--default-font-family);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 30px 0;
    text-align: left;
  }
  
  .rectangle-31 {
    width: 269px;
    height: 64px;
    background: #ffffff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    margin: 0;
  }
  
  @media (max-width: 992px) {
    .monetization-content {
      flex-direction: column;
    }
    
    .monetization-image, .monetization-text-content {
      width: 100%;
    }
    
    .monetization-header {
      justify-content: center;
      width: 100%;
    }
    
    .earn-with-us {
      text-align: center;
    }
    
    .rectangle-31 {
      margin: 0 auto;
    }
  }
  
  .button-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    width: fit-content;
    height: fit-content;
  }
  
  .hero-text-content .button-link {
    align-self: flex-start;
  }
  
  @media (max-width: 992px) {
    .hero-text-content .button-link {
      align-self: center;
    }
  }
  
  .improvements-text-content .button-link,
  .monetization-text-content .button-link {
    align-self: flex-start;
    margin: 0;
  }

  .rectangle-25,
  .rectangle-31 {
    margin: 0;
  }

  @media (max-width: 992px) {
    .improvements-text-content .button-link,
    .monetization-text-content .button-link {
      align-self: center;
    }
    
    .rectangle-25,
    .rectangle-31 {
      margin: 0 auto;
    }
  }
  
  .flex-row-fb .button-link {
    text-decoration: none;
    color: inherit;
  }
  
  .offer-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
  }
  
  .offer-link:hover {
    text-decoration: underline;
  }
  
  .support-link {
    text-decoration: none !important;
    color: inherit;
    cursor: pointer;
  }
  
  .support-link:hover {
    text-decoration: none !important;
  }
  