@import url('https://v1.fontapi.ir/css/SFProDisplay');

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    box-sizing: border-box;
    list-style: none;
    scroll-behavior: smooth;
    font-family: SF Pro Display, sans-serif;
}

:root {
    --text-color: rgba(255, 255, 255, 0.9);
    --text-other-color: rgba(255, 255, 255, 0.7);
    --text-desc: rgb(114, 114, 114);
}

body {
    background: #000;
    background-image: url(https://rockstar-2be89.web.app/img/%D0%A4%D0%BE%D0%BD%5C%202.svg);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}

main {
    padding: 197px 12%;
    padding-bottom: 0;
    overflow-x: hidden;
}

.main-sect {
    position: relative;
    color: var(--text-color);
    font-size: 60px;
    line-height: 150%;
}

.main-sect h1 {
    letter-spacing: -1px;
    font-weight: 500;
}

.highlight {
    line-height: 0%;
    display: inline-flex;
    position: relative;
    padding: 7px 22px;
    padding-left: 7px;
    border-radius: 40px;
    background: rgba(20, 20, 20, 0.35);
    border: none;
    backdrop-filter: blur(37.5px) !important;
    -webkit-backdrop-filter: blur(37.5px) !important;
    background-clip: padding-box;
    -webkit-background-clip: padding-box;
    isolation: isolate;
    will-change: backdrop-filter, transform, opacity;
    overflow: hidden;
    font-size: 22px;
    font-weight: 400;
    vertical-align: middle;
    align-items: center;
    color: var(--text-color);
    box-shadow: 4px 7px 13.5px rgb(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.highlight:hover {
    transform: scale(1.05);
    box-shadow: 4px 7px 20px rgb(0, 0, 0, 0.25);
}

.highlight::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 40px;
    padding: 1px;
    background: linear-gradient(149deg, #fff -10%, #fff -60%, rgba(255, 255, 255, 0.06) 20%, rgba(255, 255, 255, 0.06) 80%, #fff 130%, #fff 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.highlight .icon.event.altar {background-color: #722ABE;}
.highlight .icon.event.meteor {background-color: #74BE2A;}
.highlight .icon.event.beacon {background-color: #B22ABE;}
.highlight .icon.event.death {background-color: #E93A57;}
.highlight .icon.event.vulcan {background-color: #DF9239;}
.highlight .icon.event.xray1 {background-color: #1C85B9;}
.highlight .icon.event.mine {background-color: #431CB9;}
.highlight .icon.event.chest {background-color: #74BE2A;}

.main-sect .highlight {
    margin: 0 16px;
}

.main-sect .highlight:last-child {
    margin-left: 0;
}

.highlight .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    padding: 8px;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: 50px;
    font-size: 18px;
    flex-shrink: 0;
    flex-grow: 0;
}

.highlight .icon i {
    line-height: 1;
}

.right-events {
    margin: 57px 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 18px;
}

.main-sect .highlight.status {
    margin: 0;
}

.highlight .icon.event {
    line-height: 1;
    padding: 10px 12px;
    background-color: #B91C1C;
    margin-right: 10px;
}

.stats {
    display: flex;
    gap: 28px;
    line-height: 1;
}

.stats h2 {
    font-weight: 500;
    font-size: 56px;
    margin-bottom: 14px;
}

.stats p {
    color: var(--text-desc);
    font-size: 16px;
}

/**/

.pluses {
    padding: 200px 0;
    padding-bottom: 0px;
}

.island {
    color: var(--text-color);
}

.island .upper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.island .upper h1 {
    font-size: 80px;
    line-height: 150%;
    letter-spacing: -1px;
    font-weight: 500;
    background-image: linear-gradient(to bottom, #fff 50%, #979797);
    -webkit-background-clip: text;
    color: transparent;
} 

.island .highlight .icon img {
    width: 16px;
    height: 16px;
}

.server-events {
    display: flex;
    padding: 90px 0;
    padding-bottom: 150px;
    align-items: flex-start;
}

.server-events h1 {
    font-size: 50px;
    font-weight: 400;
    margin-bottom: 10px;
}

.server-events p {
    font-size: 18px;
    color: var(--text-desc);
}

.statuses {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-left: auto;
    justify-content: flex-end;
}

.music {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.music h1 {
    font-size: 90px;
    letter-spacing: -1px;
    font-weight: 500;
    margin-bottom: 16px;
    background-image: linear-gradient(to bottom, #fff 50%, #979797);
    -webkit-background-clip: text;
    color: transparent;
}

.music p {
    font-size: 18px;
    color: var(--text-desc);
}

.highlight.music {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 500px;
    margin-top: 42px;
}

.highlight.music .upper {
    display: flex;
    align-items: center;
    gap: 20px;
    line-height: 1;
}

.highlight.music .tracker img {
    width: 26px;
}

.highlight.music .upper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    width: 100%;
    min-width: 0;
}

.highlight.music .upper .cover {
    width: 80px;
    min-width: 80px;
    border-radius: 16px;
    display: block;
}

.highlight.music .info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    flex: 1 1 0%;
    margin-right: 30px;
    text-align: left;
}

.highlight.music .title {
    font-size: 22px;
    font-weight: 500;
    white-space: normal;
}

.highlight.music .executor {
    font-size: 18px;
    color: #aaa;
    white-space: normal;
}

.middle {
    display: flex;
    align-items: center;
    gap: 2px;
    width: 100%;
    margin-top: 8px;
}

.middle span {
    font-size: 15px;
    color: #aaa;
    min-width: 40px;
    text-align: center;
}

.progress-bar {
    position: relative;
    flex: 1 1 0%;
    height: 6px;
    min-width: 180px;
    margin: 0 4px;
}

.line-all {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgb(255, 255, 255, 0.25);
    border-radius: 3px;
    height: 100%;
    width: 100%;
}

.line-done {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    background: #FFF;
    border-radius: 3px;
    height: 100%;
    width: 15%;
    z-index: 1;
    transition: width 0.3s;
}

.down {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: 8px;
}

.down img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.down .repeat, .sc {
    width: 26px;
}

.down .control {
    display: flex;
    align-items: center;
    gap: 30px;
}
.music-stack {
    position: relative;
    width: 500px;
    height: 340px;
    margin-top: 42px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.highlight.music {
    width: 500px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: absolute;
    left: 0;
    top: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.highlight.music:hover {
    /* Убираем hover эффект для треков */
    transform: none;
    box-shadow: 4px 7px 13.5px rgb(0, 0, 0, 0.15);
}

.music-bg {
    z-index: 1;
    transform: translate(35px, -35px);
}

.music-front {
    z-index: 2;
    transform: translate(-35px, 35px);
    opacity: 1;
}

/* ww */


.other-statuses {
    display: flex;
    padding: 90px 0 150px 0;
    align-items: center;
    justify-content: center;
}

.other-statuses h1 {
    font-size: 50px;
    font-weight: 500;
    margin-bottom: 10px;
    letter-spacing: -1px;
    background-image: linear-gradient(to bottom, #fff 50%, #979797);
    -webkit-background-clip: text;
    color: transparent;
}

.other-statuses p {
    font-size: 18px;
    color: var(--text-desc);
}

.other.statuses {
    display: flex;
    gap: 18px;
    margin-left: auto;
}

.left-st {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
    justify-content: center;
}

.highlight.status {
    width: fit-content;
}

.highlight.status.xray {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    padding: 26px;
    height: fit-content;
}

.highlight.status.xray .ore {
    display: inline-block;
    margin-right: 12px;
    vertical-align: middle;
}
.highlight.status.xray .ore img {
    width: 32px;
}
.find {
    line-height: 1;
}
.finded {
    color: var(--text-other-color);
}
.highlight.status.xray span {
    vertical-align: middle;
}

/*mods*/

.highlight.mod .text {
    margin-left: 16px;
}

.highlight.mod img {
    border-radius: 14px;
    width: 86px;
}

.highlight.mod .mod-name {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 8px;
}

.highlight.mod .mod-desc {
    font-size: 18px;
    font-weight: 300;
}

.mod-stack {
    position: relative;
    margin: 0 auto;
    display: flex;
    width: 500px;
    height: 150px;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.highlight.mod {
    display: flex;
    align-items: center;
    line-height: 1.1;
    padding: 22px;
    text-align: left;
    color: var(--text-color);
    box-shadow: 0 4px 24px 0 rgba(0,0,0,0.08);
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.highlight.mod:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 8px 32px 0 rgba(0,0,0,0.15);
}

.mod-bg {
    z-index: 1;
}

.mod-front {
    transform: none;
    opacity: 1;
    filter: none;
    z-index: 2;
}

.other-statuses .images {
  position: relative;
  width: 320px;
  height: 200px;
  perspective: 1000px;
  perspective-origin: center center;
}

.other-statuses .images img {
    width: 108px;
    border-radius: 12px;
  position: absolute;
  transform-style: preserve-3d;
  transition: all 0.3s ease;
  filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.35));
  backface-visibility: visible;
  will-change: transform;
}

.other-statuses .images img:hover {
  transform: scale(1.1) rotateY(20deg) rotateX(10deg) translateZ(15px);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

.other-statuses .images img:nth-child(1) {
  top: 0px;
  left: 15px;
  animation: floatY1 4s ease-in-out infinite;
  animation-delay: 0s;
  z-index: 5;
}

.other-statuses .images img:nth-child(2) {
  top: 60px;
  left: 120px;
  animation: floatY2 4s ease-in-out infinite;
  animation-delay: 0.3s;
  z-index: 6;
}

.other-statuses .images img:nth-child(3) {
  top: 120px;
  left: 30px;
  animation: floatY3 4s ease-in-out infinite;
  animation-delay: 0.6s;
  z-index: 3;
}

.other-statuses .images img:nth-child(4) {
  top: 10px;
  left: 180px;
  animation: floatY4 4s ease-in-out infinite;
  animation-delay: 0.9s;
  z-index: 2;
}

.other-statuses .images img:nth-child(5) {
  top: 135px;
  left: 210px;
  animation: floatY5 4s ease-in-out infinite;
  animation-delay: 1.2s;
  z-index: 1;
}

@keyframes floatY1 {
    0%, 100% {
        transform: rotate(7deg) translateY(0) rotateY(30deg) rotateX(8deg) translateZ(0);
    }
    50% {
        transform: rotate(8deg) translateY(-6px) rotateY(30deg) rotateX(19deg) translateZ(20px);
    }
}

@keyframes floatY2 {
    0%, 100% {
        transform: rotate(6deg) translateY(0) rotateY(0deg) rotateX(0deg) translateZ(0);
    }
    50% {
        transform: rotate(6deg) translateY(-4px) rotateY(0deg) rotateX(0deg) translateZ(20px);
    }
}

@keyframes floatY3 {
    0%, 100% {
        transform: rotate(-12deg) translateY(0) rotateY(30deg) rotateX(-9deg) translateZ(0);
    }
    50% {
        transform: rotate(-12deg) translateY(-8px) rotateY(28deg) rotateX(-9deg) translateZ(22px);
    }
}

@keyframes floatY4 {
    0%, 100% {
        transform: rotate(8deg) translateY(0) rotateY(-25deg) rotateX(8deg) translateZ(0);
    }
    50% {
        transform: rotate(8deg) translateY(-6px) rotateY(-20deg) rotateX(5deg) translateZ(20px);
    }
}

@keyframes floatY5 {
    0%, 100% {
        transform: rotate(-6deg) translateY(0) rotateY(-30deg) rotateX(-10deg) translateZ(0);
    }
    50% {
        transform: rotate(-6deg) translateY(-4px) rotateY(-25deg) rotateX(-15deg) translateZ(18px);
    }
}


.video-text {
    margin-bottom: 35px;
}

.h1-text {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.45, 1.45, 0.49, 1.15), 
                transform 0.6s cubic-bezier(0.45, 1.45, 0.49, 1.15);
}

h1 .highlight .icon,
h1 .highlight .text-content {
    display: inline-block;
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s cubic-bezier(0.45, 1.45, 0.49, 1.15), 
                transform 0.6s cubic-bezier(0.45, 1.45, 0.49, 1.15);
}

.right-events .highlight.status {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.5s cubic-bezier(0.45, 1.45, 0.49, 1.15), 
                transform 0.5s cubic-bezier(0.45, 1.45, 0.49, 1.15);
}

.stats .users,
.stats .launches {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s cubic-bezier(0.45, 1.45, 0.49, 1.15), 
                transform 0.6s cubic-bezier(0.45, 1.45, 0.49, 1.15);
}

.visible .h1-text,
.visible h1 .highlight .icon,
.visible h1 .highlight .text-content,
.visible .right-events .highlight.status,
.visible .stats .users,
.visible .stats .launches {
    opacity: 1;
    transform: translate(0, 0);
}

.visible .h1-text:nth-of-type(1) { transition-delay: 0.1s; }
.visible .h1-text:nth-of-type(2) { transition-delay: 0.2s; }
.visible h1 .highlight:nth-of-type(1) .icon { transition-delay: 0.3s; }
.visible h1 .highlight:nth-of-type(1) .text-content { transition-delay: 0.3s; }
.visible .h1-text:nth-of-type(3) { transition-delay: 0.3s; }
.visible h1 .highlight:nth-of-type(2) .icon { transition-delay: 0.4s; }
.visible h1 .highlight:nth-of-type(2) .text-content { transition-delay: 0.5s; }
.visible .h1-text:nth-of-type(4) { transition-delay: 0.3s; }

.visible .right-events .highlight.status:nth-child(1) { transition-delay: 0.4s; }
.visible .stats .users { transition-delay: 0.7s; }

.visible .right-events .highlight.status:nth-child(2) { transition-delay: 0.5s; }
.visible .stats .launches { transition-delay: 0.8s; }

.visible .right-events .highlight.status:nth-child(3) { transition-delay: 0.6s; }

.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.4s cubic-bezier(0.45, 1.45, 0.49, 1.15), 
                transform 0.4s cubic-bezier(0.45, 1.45, 0.49, 1.15);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.statuses .animate-on-scroll.is-visible:nth-child(1) { transition-delay: 0.1s; }
.statuses .animate-on-scroll.is-visible:nth-child(2) { transition-delay: 0.2s; }
.statuses .animate-on-scroll.is-visible:nth-child(3) { transition-delay: 0.3s; }
.statuses .animate-on-scroll.is-visible:nth-child(4) { transition-delay: 0.4s; }
.statuses .animate-on-scroll.is-visible:nth-child(5) { transition-delay: 0.5s; }

.music-stack .music-bg.animate-on-scroll,
.music-stack .music-front.animate-on-scroll {
    transform: translateY(40px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.45, 1.45, 0.49, 1.15);
}

.music-stack .music-bg.animate-on-scroll.is-visible {
    transform: translate(35px, -35px);
}

.music-stack .music-front.animate-on-scroll.is-visible {
    transform: translate(-35px, 35px);
}

.music-stack .music-bg.animate-on-scroll.is-visible {
    transition-delay: 0.1s;
}

.music-stack .music-front.animate-on-scroll.is-visible {
    transition-delay: 0.2s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatY {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.animate-on-scroll .other-text,
.animate-on-scroll .left-st .highlight,
.animate-on-scroll .xray,
.animate-on-scroll .finded {
    opacity: 0;
}

.is-visible .other-text,
.is-visible .left-st .highlight,
.is-visible .xray,
.is-visible .finded {
    animation: fadeInUp 0.5s cubic-bezier(0.45, 1.45, 0.49, 1.15) forwards;
}

.is-visible .left-st .highlight {
    animation: fadeInUp 0.5s cubic-bezier(0.45, 1.45, 0.49, 1.15) forwards;
    animation-delay: 0.5s, 1.2s; 
}

.is-visible .other-text { 
    animation-delay: 0.2s; 
}

.is-visible .left-st .highlight:nth-child(1) { animation-delay: 0.4s; }
.is-visible .left-st .highlight:nth-child(2) { animation-delay: 0.5s; }
.is-visible .left-st .highlight:nth-child(3) { animation-delay: 0.6s; }

.is-visible .xray { 
    animation-delay: 0.8s; 
}

.is-visible .xray .finded:nth-of-type(2) { animation-delay: 0.9s; }
.is-visible .xray .finded:nth-of-type(3) { animation-delay: 1s; }
.is-visible .xray .finded:nth-of-type(4) { animation-delay: 1.1s; }

.highlight.mod {
    position: absolute;
    opacity: 0;
    transform: translateY(30px) rotateY(-45deg) scale(0.8);
    transition: all 0.8s cubic-bezier(0.45, 1.45, 0.49, 1.15);
}

.is-visible .mod-front {
    opacity: 1;
    transform: translateZ(20px) scale(1); 
}
.is-visible .mod-bg.l {
    opacity: 1;
    transform: translateX(-172px) scale(0.85);
}
.is-visible .mod-bg.r {
    opacity: 1;
    transform: translateX(172px) scale(0.85);
}
.is-visible .mod-bg.hide.l {
    opacity: 0.7;
    transform: translateX(-314px) scale(0.70);
}
.is-visible .mod-bg.hide.r {
    opacity: 0.7;
    transform: translateX(314px) scale(0.70);
}

.is-visible .mod-front        { transition-delay: 0.2s; }
.is-visible .mod-bg.l         { transition-delay: 0.3s; }
.is-visible .mod-bg.r         { transition-delay: 0.35s; }
.is-visible .mod-bg.hide.l    { transition-delay: 0.4s; }
.is-visible .mod-bg.hide.r    { transition-delay: 0.45s; }

.animate-on-scroll .music-text {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.45, 1.45, 0.49, 1.15);
}
.is-visible .music-text {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.1s;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll .other-text {
    opacity: 0;
}

.is-visible .other-text {
    animation: fadeInUp 0.7s ease-out forwards;
    animation-delay: 0.1s;
}

.animate-on-scroll .music-text.video-text {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.45, 1.45, 0.49, 1.15), 
                transform 0.7s cubic-bezier(0.45, 1.45, 0.49, 1.15);
}

.animate-on-scroll iframe {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
    transition: opacity 0.7s cubic-bezier(0.45, 1.45, 0.49, 1.15), 
                transform 0.7s cubic-bezier(0.45, 1.45, 0.49, 1.15);
}

.is-visible .music-text.video-text {
    opacity: 1;
    transform: translateY(0);
}

.is-visible iframe {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.is-visible .music-text.video-text {
    transition-delay: 0.1s;
}

.is-visible iframe {
    transition-delay: 0.2s;
}

/* Анимации для переключения треков и модов */
.music-transition {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mod-transition {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.music .control img {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.music .control img:hover {
    transform: scale(1.1);
}

.music .control img:active {
    transform: scale(0.95);
}

.mod {
    cursor: pointer;
    transition: all 0.3s ease;
}

.mod:hover {
    transform: scale(1.05) !important;
}

.mod:active {
    transform: scale(0.98) !important;
}

/* Улучшенные анимации для модов */
.mod-bg.l, .mod-bg.r {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.mod-front {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

/* Анимация появления элементов */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    animation: fadeInUp 0.6s ease-out;
}

/* Секция социальных сетей */
.social-section {
    padding: 80px 0;
    text-align: center;
}

.social-container {
    max-width: 800px;
    margin: 0 auto;
}

.social-text h1 {
    font-size: 48px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.social-text p {
    font-size: 18px;
    color: var(--text-other-color);
    margin-bottom: 40px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.social-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.social-link.telegram:hover .social-icon {
    filter: brightness(0) saturate(100%) invert(64%) sepia(98%) saturate(1204%) hue-rotate(166deg) brightness(103%) contrast(101%);
}

.social-link.discord:hover .social-icon {
    filter: brightness(0) saturate(100%) invert(40%) sepia(98%) saturate(2458%) hue-rotate(223deg) brightness(104%) contrast(101%);
}

.social-link.telegram:hover {
    border-color: #0088cc;
    background: rgba(0, 136, 204, 0.1);
}

.social-link.discord:hover {
    border-color: #5865f2;
    background: rgba(88, 101, 242, 0.1);
}

/* Адаптивность для социальных сетей */
@media (max-width: 768px) {
    .social-section {
        padding: 60px 20px;
    }
    
    .social-text h1 {
        font-size: 36px;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .social-link {
        width: 200px;
        justify-content: center;
    }
}
/* Социальные сети */
.social-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    margin-bottom: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.social-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

.social-link.telegram:hover .social-icon {
    filter: brightness(0) saturate(100%) invert(64%) sepia(98%) saturate(1204%) hue-rotate(166deg) brightness(103%) contrast(101%);
}

.social-link.discord:hover .social-icon {
    filter: brightness(0) saturate(100%) invert(40%) sepia(98%) saturate(2270%) hue-rotate(231deg) brightness(104%) contrast(97%);
}

.social-link span {
    font-weight: 500;
    font-size: 14px;
}

/* Адаптивность для социальных сетей */
@media (max-width: 768px) {
    .social-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .social-link {
        width: 200px;
        justify-content: center;
    }
}
/* Стили для видео контейнера */
.video-container {
    position: relative;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
}

.video-container iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    border-radius: 12px;
}

#video-error {
    max-width: 860px;
    margin: 0 auto;
}

#video-error a:hover {
    text-decoration: underline;
}

/* Адаптивность для видео */
@media (max-width: 768px) {
    .video-container iframe {
        height: 250px;
    }
}
/* Стили для видео контейнера */
.video-container {
    position: relative;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
}

.video-container iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    border-radius: 12px;
}

#video-error a:hover {
    background: rgba(255,255,255,0.15) !important;
    border-color: rgba(255,255,255,0.3) !important;
}

@media (max-width: 768px) {
    .video-container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .video-container iframe {
        height: 250px;
    }
}

/* Hover эффекты для всех элементов с жидким стеклом (кроме треков) */
.social-link:hover,
.social-card:hover,
.stats > div:hover {
    transform: scale(1.05) !important;
    box-shadow: 4px 7px 20px rgb(0, 0, 0, 0.25) !important;
}

/* Специальные hover эффекты для статистики */
.stats .users,
.stats .launches {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.stats .users:hover,
.stats .launches:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Hover эффекты для социальных ссылок */
.social-links .social-link {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-links .social-link:hover {
    transform: scale(1.05);
    box-shadow: 4px 7px 20px rgb(0, 0, 0, 0.25);
}
/* Стили для кнопок управления музыкой */
.control img {
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.8;
}

.control img:hover {
    opacity: 1;
    transform: scale(1.1);
}

.control img[src*="music-pause"],
.control img[src*="music-play"] {
    opacity: 1;
}

.control img[src*="music-pause"]:hover,
.control img[src*="music-play"]:hover {
    transform: scale(1.15);
    filter: brightness(1.2);
}

/* Кнопка скачать */
.download-section {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    font-size: 20px;
    font-weight: 500;
    color: #fff;
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.download-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(149deg, rgba(255, 255, 255, 0.4) -10%, rgba(255, 255, 255, 0.1) 20%, rgba(255, 255, 255, 0.05) 80%, rgba(255, 255, 255, 0.2) 130%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.download-btn i {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, #9F6FFF 0%, #8B5CF6 100%);
}

.download-btn:hover i {
    transform: translateY(2px);
}

.download-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
}

/* Анимация появления кнопки */
.download-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.45, 1.45, 0.49, 1.15), 
                transform 0.6s cubic-bezier(0.45, 1.45, 0.49, 1.15);
}

.visible .download-section {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.9s;
}

/* Модальное окно скачивания */
.download-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.download-modal.active {
    opacity: 1;
}

.download-modal-content {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.download-modal.active .download-modal-content {
    transform: scale(1) translateY(0);
}

.download-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 28px;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
}

.download-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.download-modal-content h2 {
    color: var(--text-color);
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: -0.5px;
}

.download-instructions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.instruction-step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.instruction-step:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 92, 246, 0.3);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    border-radius: 50%;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
}

.instruction-step p {
    color: var(--text-other-color);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    padding-top: 4px;
}

.download-confirm-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.download-confirm-btn i {
    font-size: 22px;
}

.download-confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, #9F6FFF 0%, #8B5CF6 100%);
}

.download-confirm-btn:active {
    transform: translateY(0);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
}

/* Адаптивность для модального окна */
@media (max-width: 768px) {
    .download-modal-content {
        padding: 30px 20px;
        max-width: 95%;
    }
    
    .download-modal-content h2 {
        font-size: 24px;
        margin-bottom: 24px;
    }
    
    .instruction-step {
        gap: 12px;
        padding: 12px;
    }
    
    .instruction-step p {
        font-size: 14px;
    }
    
    .download-confirm-btn {
        padding: 14px 24px;
        font-size: 16px;
    }
}
