* {
    margin: 0;
    box-sizing: border-box;
    font-family: 'Familjen Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

}

h1 {
    font-family: 'Familjen Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.bg-2 {
    padding-bottom: 100px;
}

main {
    max-width: 100vw;
    overflow: hidden;
}

.title_page {
    padding: 0 150px;
    z-index: 2;
    position: relative;
    padding-top: 50px;
}


.first-bg {
    background: url('/assets/imgs/1bg.jpg');
    height: 100vh;
    max-height: 1080px;
    background-size: cover;
    background-position: center;
    position: relative;

}

.first-bg::after {
    content: '';
    background: #0000005c;
    display: block;
    height: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
    z-index: 0;
}

.title_page h1 {
    line-height: 1;
    color: #fff;
    font-size: 200px;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    width: 100%;
    text-align: left;

    background: linear-gradient(339.2deg, #FFEBA3 17.97%, #EDC662 50.64%, #F7D868 83.79%);

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title_page h1:nth-of-type(2) {
    background: linear-gradient(165.36deg, #FFEBA3 33.23%, #EDC662 71.71%, #EEC216 116.91%);
    margin-bottom: 0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


.c2 {
    display: flex;
    margin-top: -0px;
}

.border-glass {
    border: 1px solid;
    border-top-color: #fff2aa2a;
    border-left-color: #fff2aa2a;
    border-bottom-color: #8a7b4d44;
    border-right-color: #8a7b4d44;
    box-shadow: inset 2px 2px 5px 0 #f7edaf1c, inset -2px -2px 5px 0 #1210072d;
}

.slide-container {
    overflow: hidden;
    border-radius: 10px;
    backdrop-filter: blur(15px) saturate(150%);
    color: #E8B270;
    background: #00000045;
    max-width: 500px;
    height: fit-content;
    margin-top: 70px;
    min-width: 200px;
    max-width: 500px;
    margin-right: 50px;

}

.slide-line {

    will-change: animation;
    padding: 10px;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 15px;
    width: fit-content;
    white-space: nowrap;
    animation: slideline 9s linear infinite;

}

@keyframes slideline {
    0% {
        transform: translateX(0%);
    }

    50% {
        transform: translateX(-25%);
    }

    100% {
        transform: translateX(-50%);
    }
}

.container-snip {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: space-between;
    row-gap: 20px;
    padding: 50px;
    /* Add perspective for 3D effect */
}

.item-snip {
    display: flex;
    width: fit-content;
    background: #00000045;
    backdrop-filter: blur(20px) saturate(150%);
    color: white;
    width: 440px;
    height: 130px;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    font-family: 'Lorenzo Sans';
    transition: transform 0.5s ease;
    position: relative;
    cursor: pointer;
    overflow: hidden;
}

/* .cursor-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(255, 235, 163, 0.3) 0%,
            rgba(237, 198, 98, 0.2) 30%,
            rgba(247, 216, 104, 0.1) 50%,
            rgba(255, 235, 163, 0) 70%);
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
    z-index: 0;
    filter: blur(30px);
    mix-blend-mode: screen;
    will-change: transform, opacity;
} */

/* .item-snip:hover .cursor-glow {
    transform: translate(-50%, -50%) scale(1);
} */

.item-snip span {
    background: linear-gradient(90deg, #FFEBA3 0%, #EDC662 50%, #F7D868 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Lorenzo Sans'

}

/* Add a subtle shadow to enhance the 3D effect */
.item-snip::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(255, 235, 163, 0.3);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.item-snip:hover::after {
    opacity: 1;
}

.item-snip:hover {
    transform: scale(1.1);
}

.obj-container {
    position: absolute;
    right: 0;
    left: 0;
    margin: auto;
    width: fit-content;
    bottom: 0;
    height: 55%;
    overflow: visible;
    z-index: 3;
}

.obj-container img {
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 20px #ffc45e6d);
}


.bg-2 {
    background: url('/assets/imgs/2bg.jpg');
    background-size: cover;
    background-position: center;
}

/* .bg-3 {
    background: url('/assets/imgs/1bg.png');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
} */

.slide-container-2 {
    display: block;
    overflow: hidden;
    border-top: 1px solid #EDC662;
    border-bottom: 1px solid #EDC662;
    background: #0000005d;
    z-index: 3;
    position: relative;
    color: #F7D868;
    font-size: 45px;
    /* backdrop-filter: blur(20px) saturate(150%); */


}

@keyframes slideline2 {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.slide-line-2 {
    padding: 20px;
    display: flex;
    white-space: nowrap;
    gap: 10px;
    animation: slideline2 15s linear infinite;
    font-weight: bold;
    will-change: transform;
    width: fit-content;

}

.logos-container {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.logos-container img {
    position: absolute;
    width: auto;
    max-width: 100px;
    height: auto;
    max-height: 60px;
    object-fit: contain;
    filter: saturate(0.7);
    will-change: transform;
    transition: filter .4s ease;
}

.logos-container img:hover {
    filter: saturate(1) drop-shadow(0 0 30px #ffb53eb2);

}

/* Позиционирование логотипов по овалу */
.logos-container img:nth-child(1) {
    /* Western Union */
    transform: translate(-50px, -100px);
}

.logos-container img:nth-child(2) {
    /* logo2 */
    transform: translate(100px, -100px);
}

.logos-container img:nth-child(3) {
    /* SEPA */
    transform: translate(180px, 0);
}

.logos-container img:nth-child(4) {
    /* bunq */
    transform: translate(130px, 100px);
}

.logos-container img:nth-child(5) {
    /* web-mg */
    transform: translate(0, 130px);
}

.logos-container img:nth-child(6) {
    /* PayPal */
    transform: translate(-140px, 100px);
}

.logos-container img:nth-child(7) {
    /* logo7 */
    transform: translate(-170px, -10px);
}

/* Адаптивность для меньших экранов */
@media (max-width: 768px) {
    .logos-container {
        height: 400px;
    }

    .logos-container img {
        max-width: 80px;
        max-height: 50px;
    }

    .logos-container img:nth-child(1) {
        transform: translate(0, -120px);
    }

    .logos-container img:nth-child(2) {
        transform: translate(80px, -80px);
    }

    .logos-container img:nth-child(3) {
        transform: translate(120px, 0);
    }

    .logos-container img:nth-child(4) {
        transform: translate(80px, 80px);
    }

    .logos-container img:nth-child(5) {
        transform: translate(0, 120px);
    }

    .logos-container img:nth-child(6) {
        transform: translate(-80px, 80px);
    }

    .logos-container img:nth-child(7) {
        transform: translate(-120px, 0);
    }
}

@media (max-width: 480px) {
    .logos-container {
        height: 300px;
    }

    .logos-container img {
        max-width: 60px;
        max-height: 40px;
    }

    .logos-container img:nth-child(1) {
        transform: translate(0, -90px);
    }

    .logos-container img:nth-child(2) {
        transform: translate(60px, -60px);
    }

    .logos-container img:nth-child(3) {
        transform: translate(90px, 0);
    }

    .logos-container img:nth-child(4) {
        transform: translate(60px, 60px);
    }

    .logos-container img:nth-child(5) {
        transform: translate(0, 90px);
    }

    .logos-container img:nth-child(6) {
        transform: translate(-60px, 60px);
    }

    .logos-container img:nth-child(7) {
        transform: translate(-90px, 0);
    }
}

.container-hook,
.listcontainer,
.containerhook2 {
    border-radius: 20px;
    padding: 40px;
    width: calc(100% - 40px);
    margin: auto;
    max-width: 1680px;
    background: #6f6f6f2b;
    margin-bottom: 30px;

}

.container-hook h2 {
    background: linear-gradient(299.41deg, #FFEBA3 24.24%, #EDC662 66.67%, #F7D868 106.91%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    font-size: 50px;
    font-family: 'Lorenzo Sans Bold';
}



.container-cards-bg {
    width: calc(100% - 40px);
    margin: auto;
    border-radius: 20px;
    background: url('/assets/imgs/bgbg.jpg');
    background-size: cover;
    background-position: center;
    padding: 20px;
    display: flex;
    justify-content: stretch;
    gap: 15px;
    max-width: 1680px;
    margin-bottom: 30px;
    height: 480px;
}

.card,
.card-2 div {
    background: #00000037;
    backdrop-filter: blur(30px);
    border-radius: 20px;
    padding: 30px 20px;
    width: calc(25% - 15px);
    height: 100%;

}

.card-2 div {
    width: 100%;
    height: fit-content;
}

.card h2 {
    background: linear-gradient(279.1deg, #FFEBA3 10.46%, #F7D868 57.24%, #E6B129 104.02%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    font-family: 'Lorenzo Sans Bold';
    font-size: 32px;
    margin-bottom: 60px;

}

.card p {
    background: linear-gradient(180deg, #FFEBA3 0%, #F7D868 50%, #E6B129 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 32px;
    font-family: 'Lorenzo Sans Bold';
    /* margin-bottom: 40px; */
}

.card:nth-of-type(2) {
    width: 100%;
}

.card-2 {
    background: url('/assets/imgs/bg.jpg');
    background-size: cover;
    background-position: center;
    width: 25%;
    padding: 10px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.c3 {
    height: 100% !important;
}


.card-2 h2 {
    background: linear-gradient(279.1deg, #FFEBA3 10.46%, #F7D868 57.24%, #E6B129 104.02%);

}

.card-2 p {
    background: linear-gradient(180deg, #FFEBA3 0%, #F7D868 50%, #E6B129 100%);

}

.card-2 h2,
.card-2 p {
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 32px;
    font-family: 'Lorenzo Sans Bold';

}

.listcontainer {
    font-size: 40px;
    position: relative;
}

.listcontainer::after {
    content: '';
    background: url('/assets/imgs/obj4.png');
    width: 110px;
    height: 110px;
    display: block;
    background-size: contain;
    background-position: center;
    transform: rotate(20deg);
    position: absolute;
    right: -30px;
    top: -60px;

}

.listcontainer p {
    font-family: 'Lorenzo Sans Medium';
    background: linear-gradient(88.7deg, #FFEBA3 20.74%, #F7D868 76.15%, #EDC662 131.55%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.btn-container {
    display: flex;
    justify-content: stretch;
    width: calc(100% - 40px);
    margin: auto;
    max-width: 1680px;
    gap: 15px;
}

.btn-link img {
    margin-right: 10px;
}

.btn-link {
    color: #F7D868;
    font-size: 40px;
    font-family: 'Lorenzo Sans Bold';
    display: flex;
    align-items: center;
    padding: 30px 10px;
    text-decoration: none;
    border-radius: 20px;
    width: calc(100% / 3 - 5px);
    background: #6f6f6f2b;
    justify-content: center;
}

.btn-link span {
    font-family: 'Lorenzo Sans Bold';

    background: linear-gradient(93.79deg, #FFEBA3 17.84%, #EDC662 50.11%, #F7D868 82.38%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.wrngmsg {
    font-family: 'Lorenzo Sans Bold';
    font-size: 40px;
    background: linear-gradient(149.02deg, #FFEBA3 -64.94%, #EDC662 56.64%, #EEC216 267.84%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    width: calc(100% - 40px);
    margin: auto;
    max-width: 1680px;
    margin-bottom: 30px;
}

.containerhook2 {
    position: relative;

}

.containerhook2 h1 {
    color: #E6B129;
    background: linear-gradient(270.12deg, #FFEBA3 -3.11%, #EDC662 49.98%, #F7D868 103.07%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 50px;
}

.containerhook2::after {
    content: '';
    background: url('/assets/imgs/obj3.png');
    width: 110px;
    height: 110px;
    display: block;
    background-size: contain;
    background-position: center;
    transform: rotate(-20deg);
    position: absolute;
    left: 0;
}




/* Общий стиль для всех элементов с эффектом */
/* [data-glow-effect] {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.1s ease;
    overflow: hidden;
    cursor: pointer;
} */

/* Glow эффект */
/* .glow-effect {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(255, 235, 163, 0.3) 0%,
            rgba(237, 198, 98, 0.2) 30%,
            rgba(247, 216, 104, 0.1) 50%,
            rgba(255, 235, 163, 0) 70%);
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease;
    z-index: 0;
    filter: blur(30px);
    mix-blend-mode: screen;
    will-change: transform, opacity;
}

/* Состояние при наведении */
/* [data-glow-effect]:hover .glow-effect {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
} */

/* Тень для усиления эффекта */
/* [data-glow-effect]::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    box-shadow: 0 0 20px rgba(255, 235, 163, 0.3);
    opacity: 0;
    transition: opacity 0.1s ease;
} */
/* 
[data-glow-effect]:hover::after {
    opacity: 1;
}  */

/* Отключаем glow-эффект для мобильных */
@media (hover: none) and (pointer: coarse) {
    [data-glow-effect] {
        transform: none !important;
    }

    .glow-effect {
        display: none !important;
    }
}


@media screen and (min-width:769px) {
    .mobile {
        display: none;
    }
}


@media screen and (max-width:768px) {
    .title_page {
        padding: 20px;
    }

    .pc {
        display: none;
    }

    .first-bg {
        height: 840px;
    }

    .slide-container.mobile {
        position: absolute;
        top: 20px;
        right: 0;
        left: 0;
        margin: 0;
        border-radius: 0;
    }

    .title_page {
        padding-top: 100px;
    }

    .title_page h1 {
        font-size: 70px;
        text-align: center !important;
    }

    .first-bg::after {
        backdrop-filter: blur(2px);
    }

    .container-snip {
        padding: 20px;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .item-snip {
        height: 60px;
        font-size: 14px;
        width: 100%;
        padding: 10px;
    }

    .obj-container {
        height: 45%;
    }

    .slide-container-2 {
        font-size: 24px;
    }

    .container-hook h2 {
        font-size: 24px;
        text-align: center;
    }

    .container-hook {
        padding: 20px 30px;

    }

    .container-cards-bg {
        flex-direction: column;
        height: fit-content;
        background: url('/assets/imgs/bg.jpg');
    }

    .card,
    .card-2 div,
    .card-2 {
        width: 100%;
    }

    .card h2 {
        margin-bottom: 30px;
    }

    .card h2,
    .card-2 h2 {
        font-size: 24px;
        text-align: center;
    }

    .card p,
    .card-2 p {
        font-size: 20px;
        text-align: center;
    }

    .spacer {
        display: none;
    }

    .listcontainer {
        font-size: 20px;
    }

    .btn-container {
        flex-direction: column;
    }

    .btn-link {
        width: 100%;
        font-size: 30px;
        padding: 20px;
    }

    .btn-link img {
        width: 30px;
        height: 30px;

    }

    .wrngmsg {
        font-size: 17px;
        text-align: center;
        margin-top: 10px;
    }

    .containerhook2 {
        padding: 20px;
    }

    .containerhook2 h1 {
        font-size: 24px;
        text-align: center;
    }

    .containerhook2::after,
    .listcontainer::after {
        width: 70px;
        height: 70px;
    }




}


.container-snip {
    z-index: 3;
}


.oval-container {
    position: absolute;
    width: 400px;
    top: 0;
    bottom: 0;
    left: -20px;
    height: 250px;
    transform: rotateX(30deg) scale(1.15);
    transform-style: preserve-3d;
}

.rotating-text {

    position: absolute;
    left: 0%;
    top: 50%;
    transform-origin: 0 0;
    font-weight: bold;
    color: #ffe032;
    white-space: nowrap;
    font-size: 32px;
    text-shadow: 0px 0px 2px black;
    transition: opacity 1s;
}

.rotating-text,
.logos-container img {
    will-change: transform, opacity;
}   