@import url("../root.css");

body {
    overflow-y: hidden;
    margin-bottom: 40px;
}

.main {
    z-index: 11;
    position: relative;
    height: 85vh;
    max-height: 870px;
}

.main .main__container {
    margin-top: 200px;
    display: flex;
    flex-direction: row;
}

.main .social__group {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.main .content .title {
    font-size: var(--over-big-font-size);
    font-weight: var(--body-font-weight);
    line-height: 77px;
    letter-spacing: 2px;
    text-align: left;
    width: 600px;
}

.main .content .description {
    font-size: var(--default-font-size);
    line-height: 29px;
    letter-spacing: 2px;
    text-align: left;
    width: 500px;
}

.main .content .content__text {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.main .social {
    padding: 99px 50px 25px 0px;
}

.main .btn__secondary {
    width: 250px;
    height: 60px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 25px;
    gap: 10px;
    font-size: var(--default-font-size);
    font-weight: var(--default-font-weight);
    line-height: 29px;
    letter-spacing: 2px;
    text-align: left;
    color: var(--default-font-color-hover);
}
.main .btn__secondary1 {
    width: 250px;
    height: 60px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 25px;
    gap: 10px;
    font-size: var(--default-font-size);
    font-weight: var(--default-font-weight);
    line-height: 29px;
    letter-spacing: 2px;
    text-align: left;
    color: var(--default-font-color-hover);
}

.main .content .content__button {
    margin-top: 35px;
    display: flex;
    flex-direction: row;
    gap: 50px;
}

.main .content .content__button .windows {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: center;
    width: 220px;
}

.main .content .content__button .windows img,
.main .content .content__button .windows p {
    opacity: 0.7;
}

.main .content .content__button .windows p {
    font-size: 15px;
    width: 160px;
}

.main .content .content__button .windows img {
    width: 35px;
}


.image__container {
    position: absolute; 
    display: flex;
    align-items: center;
    top: 0;
    right: 0;
    height: 80vh;
    z-index: 1;
    max-height: 870px;
}

.image__container img {
    animation: rocking 2s ease-in-out infinite;
}

@keyframes rocking {
    0% {
        transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

.main .monitoring__container {
    margin-top: 220px;
    display: flex;
    flex-direction: row;
    gap: 95px;
    position: absolute; 
    display: flex;
    align-items: center;
    bottom: 0;
}

.main .monitoring__container .server {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.main .monitoring__container .server__name {
    width: 90px;
}

.main .monitoring__container .server .server__online {
    font-size: var(--over-small-font-size);
}

.progress {
    height: 10px; 
    width: 300px; 
    background-color: var(--block-background); 
}

#Survival .progress {
    box-shadow: 0px 4px 25px 0px rgb(69 69 180 / 40%);
}

#Survival .progress-bar {
    background-color: var(--progress-bar-color-1);
}

#Combat .progress {
    box-shadow: 0px 4px 25px 0px rgb(186 185 185 / 40%);
}

#Combat .progress-bar {
    background-color: var(--progress-bar-color-2);
}

@media (max-width: 1180px){
    .image__container {
        display: none;
    }

    body {
        overflow-y: auto;
    }

}

@media (max-width: 740px){
    .main .social {
        display: none;
    }

    .main .monitoring__container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        position: relative;
    }

    .main .monitoring__container .server {
        width: 100%;
    }

    .progress {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .main .content .title {
        width: 100%;
        font-size: var(--mobail-title-font-size);
        line-height: 40px;
    }

    .main .content .description {
        width: 100%;
        font-size: var(--mobail-description-font-size);
        line-height: 20px;
    }

    .main .content .content__button {
        flex-direction: column;
        gap: 20px;
    }

    .main .btn__secondary {
        width: 100%;
        height: 50px;
        font-size: var(--mobail-description-font-size);
    }
    .main .btn__secondary1 {
        width: 100%;
        height: 45px;
        font-size: var(--mobail-description-font-size);
    }

    .main .main__container {
        margin-top: 100px;
    }

    .main .monitoring__container {
        margin-top: 100px;
    }

    .main .content .content__button .windows img {
        width: 25px;
    }

    .main .content .content__button .windows p {
        font-size: var(--mobail-description-font-size);
        width: 205px;
    }

    .main .content .content__button .windows {
        width: 260px;
    }
}

.highlight-text {
    position: relative;
    display: inline-block;
    color: #fff;
    transition: all 0.3s ease;
}

.highlight-text::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        90deg,
        #4568DC,
        #B06AB3,
        #4568DC
    );
    background-size: 200% 100%;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
    animation: gradientMove 3s linear infinite;
}

.highlight-text:hover {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.highlight-text:hover::after {
    transform: scaleX(1);
    transform-origin: left;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.features-container {
    margin-top: 100px;
    width: 100%;
    padding: 0 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(69, 104, 220, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(69, 104, 220, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, #4568DC, #B06AB3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(69, 104, 220, 0.3);
}

.feature-icon img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.feature-card h3 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .features-container {
        margin-top: 50px;
    }
}

.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.light-beam {
    position: absolute;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        rgba(69, 104, 220, 0.03) 0%,
        rgba(176, 106, 179, 0.03) 100%
    );
    animation: rotateBg 20s linear infinite;
    transform-origin: center;
}

@keyframes rotateBg {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px),
        radial-gradient(circle, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 40px 40px, 20px 20px;
    animation: particlesMove 60s linear infinite;
}

@keyframes particlesMove {
    from { transform: translateY(0); }
    to { transform: translateY(-100%); }
}

.btn__secondary, .btn__secondary1 {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn__secondary::before, .btn__secondary1::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn__secondary:hover::before, .btn__secondary1:hover::before {
    width: 300px;
    height: 300px;
}

.social-btn {
    position: relative;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-btn::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    opacity: 0;
    transform: scale(1.2);
    transition: all 0.3s ease;
}

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

.social-btn:hover::after {
    opacity: 1;
    transform: scale(1);
}

.title {
    position: relative;
    animation: titleFloat 6s ease-in-out infinite;
}

@keyframes titleFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.image__wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at center,
        rgba(69, 104, 220, 0.1) 0%,
        transparent 70%
    );
    transform: translate(-50%, -50%);
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.shooting-stars {
    position: fixed;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.shooting-stars::before,
.shooting-stars::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 2px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 4px 2px rgba(255, 255, 255, 0.4);
    animation: shoot 3s infinite;
    opacity: 0;
}

.shooting-stars::before {
    top: 0;
    left: 50%;
    animation-delay: 1s;
}

.shooting-stars::after {
    top: 0;
    left: 20%;
    animation-delay: 2s;
}

@keyframes shoot {
    0% {
        opacity: 0;
        transform: translate(0, 0) rotate(45deg);
    }
    10%, 20% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(300px, 300px) rotate(45deg);
    }
}

.btn__secondary, .btn__secondary1 {
    box-shadow: 0 0 15px rgba(69, 104, 220, 0.2);
}

.btn__secondary:hover, .btn__secondary1:hover {
    box-shadow: 0 0 25px rgba(69, 104, 220, 0.4);
}

.highlight-text {
    animation: textPulse 3s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% {
        text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    }
    50% {
        text-shadow: 0 0 15px rgba(69, 104, 220, 0.5),
                    0 0 25px rgba(176, 106, 179, 0.3);
    }
}

.social-btn img {
    transition: filter 0.3s ease;
}

.social-btn:hover img {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
}

.highlight {
    background: linear-gradient(90deg, #4568DC, #B06AB3);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

.header__nav .btn__link {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.header__nav .btn__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #4568DC, #B06AB3);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.header__nav .btn__link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.social__group {
    position: relative;
}

.social-btn {
    position: relative;
    z-index: 1;
}

.social-btn::before {
    content: '';
    position: absolute;
    inset: -5px;
    background: linear-gradient(45deg, #4568DC, #B06AB3);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-btn:hover::before {
    opacity: 0.3;
    animation: rotateSocial 2s linear infinite;
}

@keyframes rotateSocial {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.description {
    position: relative;
    padding: 10px 0;
}

.description::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #4568DC, transparent);
    opacity: 0.5;
}

.btn__secondary, .btn__secondary1 {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.btn__inner {
    transition: transform 0.3s ease;
}

.btn__secondary:hover .btn__inner,
.btn__secondary1:hover .btn__inner {
    transform: translateZ(20px);
}

.floating-image {
    transition: filter 0.3s ease;
}

.image__wrapper:hover .floating-image {
    filter: drop-shadow(0 0 15px rgba(69, 104, 220, 0.5));
}

.cube-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -2;
    overflow: hidden;
}

.cube {
    position: absolute;
    width: 80px;
    height: 80px;
    background: linear-gradient(
        45deg,
        rgba(69, 104, 220, 0.1),
        rgba(176, 106, 179, 0.1)
    );
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    animation: floatCube 20s infinite linear;
    transform-style: preserve-3d;
    will-change: transform;
}

.cube:nth-child(1) {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.cube:nth-child(2) {
    top: 70%;
    left: 20%;
    width: 60px;
    height: 60px;
    animation-delay: -5s;
    animation-duration: 30s;
}

.cube:nth-child(3) {
    top: 40%;
    left: 80%;
    width: 100px;
    height: 100px;
    animation-delay: -2s;
    animation-duration: 28s;
}

.cube:nth-child(4) {
    top: 80%;
    left: 70%;
    width: 70px;
    height: 70px;
    animation-delay: -7s;
    animation-duration: 22s;
}

.cube:nth-child(5) {
    top: 20%;
    left: 60%;
    width: 90px;
    height: 90px;
    animation-delay: -3s;
    animation-duration: 27s;
}

.cube:nth-child(6) {
    top: 60%;
    left: 40%;
    width: 50px;
    height: 50px;
    animation-delay: -9s;
    animation-duration: 32s;
}

@keyframes floatCube {
    0% {
        transform: rotate(0deg) translate(0, 0) rotate(0deg) scale(1);
    }
    25% {
        transform: rotate(90deg) translate(100px, 50px) rotate(-90deg) scale(1.1);
    }
    50% {
        transform: rotate(180deg) translate(0, 100px) rotate(-180deg) scale(1);
    }
    75% {
        transform: rotate(270deg) translate(-100px, 50px) rotate(-270deg) scale(0.9);
    }
    100% {
        transform: rotate(360deg) translate(0, 0) rotate(-360deg) scale(1);
    }
}

.cube-bg {
    perspective: 1000px;
    transform-style: preserve-3d;
}