﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html{
    overflow-x: hidden;
}

body {
    background: #000000;
    margin: 0;
}


/* herosection */
.hero-section {
    position: relative;
    margin-top: 80px;
    color: #fff;
    padding: 60px 0;

}

.hero-background {
    position: absolute;
    width: 1500px;
    height: 1500px;
    left: -372px;
    top: -350px;
    z-index: 0;
    pointer-events: none;
    background: url('../images/common/backgroundImage.png') no-repeat center center;
    background-size: cover;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 5%;
}

.hero-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-content {
    flex: 0 0 45%;
    position: relative;
    z-index: 2;
}

.main-heading {
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: clamp(60px, 8vw, 100px);
    line-height: 1.1;
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.floating-badge {
    position: absolute;
    top: 12%;
    left: 66%;
    transform: translateX(-10%) rotate(-5.31deg);
    width: 339px;
    height: 75px;
    background: radial-gradient(51.93% 249.12% at 49.65% 0.7%, #AEEF35 0%, #6B9822 100%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 14px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
    box-shadow:
        0px 4px 50px rgba(185, 255, 99, 0.4),
        0px 4px 4.7px rgba(0, 0, 0, 0.41),
        inset 0px -7px 16.4px #B1FF6D;
}

.badge-background-element {
    width: 280px;
    height: 60px;
    background: rgba(210, 210, 210, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(7.7px);
    border-radius: 14px;
    z-index: -1;
    pointer-events: none;
}

.bg-1 {
    transform: rotate(9.9deg);
}

.bg-2 {
    transform: rotate(0.99deg);
}

.badge-text {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.25;
    color: #27360B;
    display: flex;
    flex-direction: column;
    flex-grow: 1;

}

.badge-text span:first-child {
    white-space: nowrap;
}

.badge-icon {
    width: auto;
    height: 115%;
    margin-top: 0;
    margin-left: 0;
    aspect-ratio: 1;
    rotate: 5.31deg;
    object-fit: contain;

    background: url('../images/common/mainminiicon.png') center/contain no-repeat;
}

.hero-description {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 100;
    font-size: 18px;
    line-height: 27px;
    margin: 0 0 25px;
    max-width: 710px;
    color: #FFFFFF;
}

.cta-button {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s ease;
    transform-origin: center center;
}

.cta-button-desktop-only {
    width: 400px;
    height: 80px;
    font-size: 20px;
    line-height: 22px;
}

.cta-button-mobile-only {
    display: none;
    width: 100%;
    max-width: 400px;
    height: 60px;
    font-size: 20px;
    line-height: 22px;
    margin: -20px auto 0;
}

.cta-button::before {
    content: '';
    position: absolute;
    inset: -3px;
    z-index: -1;
    background: radial-gradient(50.9% 250.55% at 49.65% 0.7%,
            rgba(160, 131, 247, 0.6) 0%,
            rgba(39, 0, 157, 0.4) 100%);
    filter: blur(10px);
    opacity: 0.5;
    transition: all 0.3s ease;
    border-radius: 28px;
}


.cta-button::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(50.9% 250.55% at 49.65% 0.7%, #A083F7 0%, #27009D 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 24px;
    box-shadow:
        0px 2px 30px rgba(175, 99, 255, 0.3),
        0px 2px 2.7px rgba(0, 0, 0, 0.3),
        inset 0px -5px 14px #996DFF;
    transition: all 0.3s ease;
}

.cta-button span {
    position: relative;
    z-index: 1;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: scale(0.97) translateY(2px);
}

.cta-button:hover::before {
    opacity: 0;
    filter: blur(0);
}

.cta-button:hover::after {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
        radial-gradient(50.9% 250.55% at 49.65% 0.7%, #A083F7 0%, #27009D 100%);
    box-shadow:
        inset 0px -7px 16.4px #996DFF,
        0px 1px 10px rgba(175, 99, 255, 0.2);
}

.cta-button:hover span {
    opacity: 0.9;
    transform: translateY(1px);
}

.cta-button:active {
    transform: scale(0.95) translateY(4px);
}

.cta-button:active::after {
    box-shadow:
        inset 0px -4px 10px #996DFF,
        0px 1px 5px rgba(175, 99, 255, 0.1);
}

.hero-media {
    flex: 0 0 55%;
    position: relative;
    margin-top: -60px;
    border-radius: 20px;
    margin-left: 5%;
}

.hero-media::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(51.28% 64.02% at 50% 35.98%, rgba(0, 0, 0, 0) 45.65%, #000000 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0) 81.06%, #000000 100%);
    box-shadow: 0px -30px 50px 30px rgba(0, 0, 0, 1) inset;

    z-index: 1;
    pointer-events: none;
}


.hero-video {
    width: 100%;
    max-width: none;
    height: auto;
    display: block;
    position: relative;
    z-index: 0;
}

/* Адаптивность */

@media (max-width: 992px) {

    .hero-background {
        width: 700px;
        height: 700px;
        top: -106px;
        left: -253px;

    }

    .main-heading {
        font-family: 'Unbounded';
        font-style: normal;
        font-weight: 500;
        font-size: 36px;
        display: flex;
        align-items: center;
        text-transform: uppercase;

        color: #FFFFFF;


    }

    .badge-background-element {
        display: none;
    }

    .hero-section {
        overflow: hidden;
        padding: unset;
        margin-top: 90px;
        padding: 12px 0;
    }

    .hero-wrapper {
        flex-direction: column;
    }

    .hero-content {
        flex: 0 0 100%;
        width: 100%;
        padding: 0;
    }

    .hero-header {
        display: flex;

    }

    .floating-badge {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: 170px;
        height: 37px;
        right: -23px;
        top: 4px;
        left: unset;
        border-radius: 7px;
        padding: 5px 7px;
        margin-top: 5px;
        margin-left: -30px;
        position: unset;
    }

    .badge-text {
        font-size: 8px;
    }

    .hero-description {
        font-size: 13px;

    }

    .hero-text-content {
        margin-top: 0;
    }

    .hero-media {
        flex: 0 0 100%;
        width: 100%;
        margin-left: unset;
        z-index: -1;
        margin-top: -80px;
    }

    .hero-video {
        width: 100%;
    }

    .cta-button-desktop-only {
        display: none;
    }

    .cta-button-mobile-only {
        display: inline-flex;
    }

    .cta-button-mobile-only:active::before {
        transform: translateY(2px);
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
            radial-gradient(50.9% 250.55% at 49.65% 0.7%, #A083F7 0%, #27009D 100%);
        box-shadow:
            inset 0px -4px 10px #996DFF,
            0px 2px 15px rgba(175, 99, 255, 0.3);
    }

    .cta-button-mobile-only:active span {
        opacity: 0.8;
        transform: translateY(1px);
        font-size: 18px;
    }
}


@keyframes badge-float {

    0%,
    100% {
        transform: translateY(0) rotate(-5deg);
    }

    50% {
        transform: translateY(-15px) rotate(-7deg);
    }
}



/* Анимация появления элементов */
@keyframes float {
    0% {
        transform: translateY(0px) rotate(-5deg);
    }

    50% {
        transform: translateY(-10px) rotate(-7deg);
    }

    100% {
        transform: translateY(0px) rotate(-5deg);
    }
}

/* about */

.about {
    position: relative;
    width: 100%;
    height: 1000px;
    overflow: hidden;
}

.video-container {
    position: absolute;
    width: 1350px;
    height: 850px;
    left: 0;
    top: 73px;
    overflow: hidden;
}

.background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
}

.video-container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
    box-shadow: inset -150px 0px 50px 46px #000000;
}

.image-panel {
    position: absolute;
    width: 1000px;
    height: 1000px;
    right: -100px;
    top: -100px;
    z-index: 5;
}

.light-brush {
    position: absolute;
    width: 1500px;
    height: 1500px;
    right: -580px;
    top: -100px;
    background: url('../images/common/backgroundImage.png') center/contain no-repeat;
}

.floating-image {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
}

.floating-image-1 {
    width: 462px;
    height: 462px;
    right: -10px;
    top: 340px;
    background-image: url('../images/common/star.png');
    transform: rotate(5.36deg);
}

.floating-image-2 {
    width: 236px;
    height: 236px;
    right: 30px;
    top: 660px;
    background-image: url('../images/common/star.png');
    filter: blur(2px);
    transform: rotate(-18.74deg);
}

.about-text-content {
    position: absolute;
    width: 820px;
    height: 458px;
    right: 235px;

    top: 310px;
    z-index: 10;
}

.subtitle {
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 50px;
    line-height: 100%;
    text-transform: uppercase;
    color: #FFFFFF;
    position: relative;
    width: auto;
    left: 0;
    transform: none;
    top: -20px;
    margin-bottom: 30px;
}

.about-description {
    font-family: 'Inter';
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    width: 100%;
    top: 0;
}

/* adaptive about */
@media (max-width: 992px) {
    .about {
        height: auto;
        padding: 60px 0 100px;
    }

    .video-container {
        position: relative;
        width: 100%;
        height: 300px;
        left: auto;
        top: auto;
        margin-bottom: 30px;
    }

    .video-container::after {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 90%);
        box-shadow: inset 0px -30px 50px 20px #000000;
    }

    .image-panel {
        width: 100%;
        height: auto;
        right: auto;
        top: auto;
        margin: 0 auto;
    }

    .light-brush {
        width: 700px;
        height: 700px;
        top: -350px;
        right: -350px;
    }

    .floating-image {
        transform: none !important;
    }

    .floating-image-1 {
        background-position: center right;
        margin-bottom: -50px;
        width: 322px;
        height: 322px;
        top: -150px;
        right: -170px;
        rotate: 5.36deg;

    }

    .floating-image-2 {
        width: 235px;
        height: 235px;
        top: 250px;
        left: -105px;
        rotate: -18.74deg;
    }

    .about-text-content {
        position: relative;
        width: calc(100% - 40px);
        height: auto;
        right: auto;
        top: auto;
        padding: 20px;
        margin: 0 auto;
        margin-top: -160px;
    }

    .subtitle {
        font-size: 28px;
        margin-bottom: 20px;
        top: 0;
    }

    .about-description {
        font-size: 13px;
        line-height: 1.5;
        opacity: 0.8;
    }

    /* Адаптация фонов и эффектов */
    .about::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 100px;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 90%);
        z-index: 2;
    }

    /* Оптимизация для мобильных */
    .background-video {
        -webkit-mask-image: linear-gradient(to bottom,
                rgba(0, 0, 0, 1) 80%,
                rgba(0, 0, 0, 0) 95%);
    }
}



/* for who? */

.forwhom {
    position: relative;
    width: 100%;
    height: 1000px;
    padding: 100px 0;
    overflow: hidden;
    margin-bottom: -50px;
}

.forwhom-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.forwhom-light-brush {
    position: absolute;
    width: 1500px;
    height: 1500px;
    left: -582px;
    top: -315px;
    background: url('../images/common/backgroundImage.png') center/contain no-repeat;
}

.forwhom-floating-image {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
}

.cursor-1 {
    width: 491px;
    height: 491px;
    left: -36px;
    top: 210px;
    background-image: url('../images/index/cursor.png');
}

.cursor-2 {
    width: 465px;
    height: 465px;
    left: 1530px;
    top: 380px;
    background-image: url('../images/index/cursor.png');
    transform: rotate(-111.36deg);
}

.cursor-3 {
    width: 217px;
    height: 217px;
    left: 1020px;
    top: 520px;
    z-index: 11;
    background-image: url('../images/index/cursor.png');
    filter: blur(3.8px);
    transform: rotate(61.98deg);
    pointer-events: none;
}

.forwhom-content {
    position: relative;
    width: 1440px;
    margin: 0 auto;
    z-index: 10;
}

.forwhom-title-bg {
    position: absolute;
    width: 862px;
    height: 310px;
    left: -122px;
    top: -15px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 250px;
    line-height: 310px;
    color: #FFFFFF;
    opacity: 0.03;
    text-transform: uppercase;
    pointer-events: none;
}

.forwhom-subtitle {
    position: relative;
    width: 705px;
    height: 62px;
    left: 0px;
    top: 100px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 50px;
    line-height: 62px;
    color: #FFFFFF;
    text-transform: uppercase;
    margin-bottom: 200px;
}

.cards-container {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    backdrop-filter: 25px;
}

.card {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 30px;
    gap: 10px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    min-height: 250px;
    overflow: hidden;
    z-index: 1;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    z-index: -1;

    /* Применяем размытие */
    -webkit-backdrop-filter: blur(25px);
    backdrop-filter: blur(25px);
}

.card-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 39px;
    color: #FFFFFF;
    margin: 0;
}

.card-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.card-content-wrapper {
    position: relative;
    z-index: 2;
}

.featured-card {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    gap: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    min-height: 200px;
    overflow: hidden;
    z-index: 1;
}


.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../videos/index/cardback.gif') center/cover;
    filter: brightness(0.5) contrast(1.2) saturate(1.1) blur(15px);

    z-index: -3;
}

.featured-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, #4C1D9D, #4C1D9D);
    opacity: 0.7;
    z-index: -2;
}

.featured-card .glass-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 50px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(75px);
    z-index: -1;
    border-radius: 24px;
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.featured-title {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 39px;
    color: #FFFFFF;
    margin: 0;
}

.featured-description {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    max-width: 900px;
}

.featured-button {
    /* Base button styles */
    position: relative;
    width: 400px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    gap: 10px;
    isolation: isolate;
    cursor: pointer;
    transition: all 0.2s ease-out;
    transform-origin: center;
    text-decoration: none;

    /* Background styles */
    background: radial-gradient(50.9% 250.55% at 49.65% 0.7%, #A083F7 0%, #27009D 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0px 4px 50px rgba(175, 99, 255, 0.4),
        0px 4px 4.7px rgba(0, 0, 0, 0.41),
        inset 0px -7px 16.4px #996DFF;
    border-radius: 24px;
}


.featured-button__text {
    font-family: 'Unbounded', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 110%;
    color: #FFFFFF;
    text-transform: uppercase;
    transition: all 0.2s ease-out;
    transform-origin: center;
}


.featured-button:hover {
    background: linear-gradient(0deg,
            rgba(0, 0, 0, 0.2),
            rgba(0, 0, 0, 0.2)),
        radial-gradient(50.9% 250.55% at 49.65% 0.7%, #A083F7 0%, #27009D 100%);
    box-shadow: inset 0px -7px 16.4px #996DFF,
        0px 3px 10px rgba(175, 99, 255, 0.2);
    backface-visibility: hidden;
}

.featured-button:hover .featured-button__text {
    opacity: 0.8;
}

/* Active/pressed state */
.featured-button:active {
    background: linear-gradient(0deg,
            rgba(0, 0, 0, 0.4),
            rgba(0, 0, 0, 0.4)),
        radial-gradient(50.9% 250.55% at 49.65% 0.7%, #A083F7 0%, #27009D 100%);
    box-shadow: 0px 4px 4.7px rgba(0, 0, 0, 0.41),
        inset 0px -7px 16.4px #996DFF;
    transform: translateY(2px);
}

.featured-button:active .featured-button__text {
    opacity: 1;
}

@media (max-width: 992px) {
    .forwhom {
        height: auto;
        padding: 50px 0;
        margin-bottom: 0;
    }

    /* Фон и декорации */
    .forwhom-light-brush {
        width: 700px;
        height: 700px;
        left: -250px;
        top: -200px;
    }

    .forwhom-floating-image {
        width: 60vw;
        height: 60vw;
        max-width: 250px;
        max-height: 250px;
    }

    .cursor-1 {
        left: unset;
        right: -95px;
        top: 12%;
        transform: rotate(-111.36deg);
    }

    .cursor-2 {
        width: 204px;
        height: 204px;
        top: 511.09px;
        left: -97px;
        transform: rotate(-13.6deg);

    }

    .cursor-3 {
        width: 110px;
        height: 110px;
        left: auto;
        right: 15%;
        top: 47%;
        transform: rotate(80.07deg);
    }

    /* Контент */
    .forwhom-content {
        width: 100%;
        padding: 0 20px;
        transform: none !important;
    }

    .forwhom-title-bg {
        font-size: 140px;
        line-height: 100%;
        vertical-align: middle;
        width: 100%;
        left: 0;
        top: -30px;
        opacity: 0.03;
    }

    .forwhom-subtitle {
        width: 100%;
        font-size: 36px;
        line-height: 1.1;
        margin: 30px 0 50px;
        top: 0;
        left: 0;
    }

    /* Карточки */
    .cards-container {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 10px;
    }

    .card {
        width: 100%;
        min-height: 120px;
        padding: 20px 10px;
        backdrop-filter: blur(10px);
        border-radius: 16px;
    }

    .card::before {
        backdrop-filter: blur(10px);
        border-radius: 16px;
    }

    .card-title {
        font-size: 16px;
        line-height: 1;
        margin-bottom: 10px;
    }

    .card-description {
        font-size: 12px;
        line-height: 1;
    }

    /* Особенная карточка */
    .featured-card {
        flex-direction: column;
        gap: 25px;
        padding: 20px 10px;
        min-height: 218px;
    }

    .featured-card::before {
        background-size: cover;
    }

    .featured-title {
        font-size: 16px;
        line-height: 1;
    }

    .featured-description {
        font-size: 12px;
        line-height: 1;
    }

    /* Кнопка */
    .featured-button {
        max-width: 315px;
        height: 50px;
        border-radius: 16px;
        width: -webkit-fill-available;
    }

    .featured-button__text {
        font-size: 14px;
    }

    /* Оптимизация анимаций */
    .featured-button:hover {
        transform: none;
    }
}
