* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

:root {
    --white: #ffffff;
    --black: #000000;
    --light-t1: #CCC4ED;
    --text-color-1: rgba(187, 177, 231, 0.62);
    --text-color-2: rgba(154, 119, 35, 1);
    --text-color-3: rgba(3, 140, 54, 1);
    --text-color-4: #A395DF;
    --text-color-5: #9F91DE;
    --text-color-6: #826DFF;
    --text-color-7: #9A7723;
    --text-color-8: #EAA742;
    --text-color-9: #E9A742;
    --text-color-10: #C4893B;
    --text-color-11: #FFE0B7;
    --text-color-12: #DFA650;
    --text-color-13: #FFCA79;
    --border-color-2: #6B5536;
    --text-color-14: #038C36;
    --text-color-15: #04BC49;
    --text-color-16: #01AB3F;
    --text-color-17: #D4FFE4;
}

body {
    font-family: 'Insomnia', sans-serif;;
    font-size: 12px;
    line-height: 18px;
    font-weight: 600;
    font-style: normal;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: auto;
    max-width: 2560px;
    background: var(--white);
    color: var(--text-color-1);
}

a {
    text-decoration: none;
    outline: none;
    color: var(--text-color-1);
    cursor: pointer;
}

a:hover {
    color: var(--text-color-1);
}

a, a:active, a:focus {
    outline: none;
    text-decoration: none;
}

img {
    border: none;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

ul,li {
    padding: 0;
    margin: 0;
}

.custom-container {
    padding: 0 64px;
    margin: 0 auto;
}

h1 {
    font-family: 'Insomnia', sans-serif;
    font-size: 86px;
    font-style: normal;
    font-weight: 400;
    line-height: 104px;
    letter-spacing: 5.16px;
    background: linear-gradient(180deg, #6D4BE7 0%, #998BE5 90%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h5 {
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    letter-spacing: 10.8px;
    color: var(--text-color-5);
    text-transform: uppercase;
}

h6 {
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 18.48px;
    color: var(--text-color-4);
}

/* -- Common Element CSS End -- */
/* -- Cursor CSS Start -- */
.cursor {
    position: fixed;
    width: 40px;
    height: 40px;
    margin-left: -20px;
    margin-top: -20px;
    border-radius: 50%;
    border: 2px solid var(--text-color-6);
    transition: transform 0.3s ease;
    transform-origin: center center;
    pointer-events: none;
    z-index: 1000;
}


/* -- Cursor CSS End -- */
/* -- Header Section CSS Start -- */

.events-menu {
    position: absolute;
    top: 70%;
    right: 10px;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    list-style: none;
    margin: 0;
    padding: 0;
    opacity: 0; /* Скрыто по умолчанию */
    transform: translateY(-10px); /* Смещение для эффекта */
    transition: opacity 0.3s ease, transform 0.3s ease; /* Плавность */
    z-index: 1000;
    pointer-events: none; /* Отключает клики, пока элемент скрыт */
    display: flex; /* Используем Flexbox */
    flex-direction: column; /* Вертикальное расположение */
    gap: 1px!important; /* Расстояние между пунктами меню */
}

.events-menu li a {
    padding: 10px 20px;
    white-space: nowrap;
    text-align: center; /* Выравнивание текста по левому краю */
    width: -webkit-fill-available;
}

.events-menu li a:after, .events-menu li a:hover:after {
    display: none;
}

.dropdown:hover .events-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.header-section-main {
    position: fixed;
    padding-top: 40px;
    width: 100%;
    z-index: 99;
}

.header-section-inner {
    display: flex;
    justify-content: space-between;
}

.header-logo {
    flex-shrink: 0;
}

.header-logo img {
    width: 90px;
    height: 90px;
}

.header-menu {
    width: 80%;
}

.header-menu ul {
    display: flex;
    gap: 90px;
    justify-content: end;
    list-style: none;
}

.header-menu ul li a {
    position: relative;
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
    text-transform: uppercase;
    font-style: normal;
    color: var(--text-color-1);
    display: inline-block;
    transition: 0.3s;
    -webkit-transition: 0.3s;
}

.header-menu ul li a:hover,.header-menu ul li.active a {
    color: var(--light-t1);
}

.header-menu ul li a:hover:after,.header-menu ul li.active a:after {
    transform: translate(-50%,0);
    -webkit-transform: translate(-50%,0);
    opacity: 1;
}

.header-menu ul li a:after {
    content: "";
    position: absolute;
    bottom: -50px;
    left: 50%;
    display: block;
    background: url("https://www.yudiz.com/codepen/valorant-characters/menu-hover-icon.svg") center center / cover;
    width: 70px;
    height: 70px;
    transform: translate(-50%,30px);
    -webkit-transform: translate(-50%,30px);
    transition: 0.3s;
    -webkit-transition: 0.3s;
    opacity: 0;
}

.banner-section-main p{
    user-select: text;
    -webkit-user-select: text;
}

/* -- Header Section CSS End -- */
/* -- Banner Section CSS Start -- */
.banner-section-main {
    position: relative;
    z-index: 9;
    overflow: hidden;
}

.banner-section-main .banner-section-loop {
    position: relative;
    padding-top: 42px;
    display: flex;
    align-items: center;
    background: no-repeat top center / 100% 100%;
    width: 100%;
    height: 100vh;
    gap: 20px;
}

.banner-left-vertical-main {
    width: calc(7% - 6.66px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
}

.banner-main-img {
    width: calc(53% - 6.66px);
    align-self: end;
    max-height: 1000px;
}

.banner-content-main {
    width: calc(28% - 6.66px);
    padding-top: 70px;
}

.banner-left-vertical-main h6 {
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.banner-left-vertical-main img {
    width: 70px;
    height: 70px;
}

.banner-content-main h5 {
    padding-bottom: 12px;
}

.banner-section-loop .banner-content-main h1 {
    display: inline-flex;
    padding-bottom: 28px;
}

.controller-box-section {
    border: 1px solid var(--text-color-6);
    background: rgba(0, 0, 0, 0.6);
    padding: 19.771px 22.218px 20.229px 22.799px;
    display: flex;
    gap: 15px;
    margin-bottom: 14px;
}

.banner-content-main .controller-box-content h5 {
    letter-spacing: normal;
    padding-bottom: 6px;
}

.controller-icons-main {
    display: flex;
    gap: 18px;
    padding-bottom: 45px;
}

.controller-icons-inner {
    border: 1px solid var(--text-color-6);
    flex: 1;
    transition: 0.3s;
    background: rgba(0, 0, 0, 0.6);
}

.controller-icons-inner:hover {
    border: 1px solid var(--text-color-4);
    background: rgba(0, 0, 0, 0.8);
}

.controller-img {
    padding: 18px;
    text-align: center;
}

.controller-img img {
    aspect-ratio: 1/1;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

.controller-icons-inner p {
    font-size: 14px;
    line-height: 16px;
    color: #BBB1E7;
    text-transform: uppercase;
    text-align: center;
    padding: 3px;
    border-top: 1px solid var(--text-color-6);
    background: linear-gradient(180deg, rgba(68, 45, 142, 0.20) 0%, rgba(82, 51, 180, 0.09) 100%);
}

.banner-section-loop .view-contract-btn-main {
    position: relative;
    display: block;
    background: url("https://www.yudiz.com/codepen/valorant-characters/button-bg.svg") no-repeat center center / cover;
    width: 285px;
    height: 65px;
    z-index: 1;
    cursor: pointer;
}

.banner-section-loop .view-contract-btn-main a {
    font-size: 18px;
    line-height: 22px;
    text-transform: uppercase;
    color: #CCC4ED;
    position: absolute;
    top: 50%;
    left: 40%;
    transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    display: block;
}

.banner-main-img .main-img {
    position: relative;
    padding-top: 100%;
    width: 100%;
    z-index: 1;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    transform: translate(-50%,10%)!important;
    -webkit-transform: translate(-50%,10%) !important;
    left: 65%;
}

.banner-main-img .main-img.character-animation {
    animation: character-animation 2s ease-in-out 1;
}

.banner-main-img img {
    position: absolute !important;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-70%) translateY(-10%);
    height: 100%;
    display: block;
}

/* -- Banner Section CSS End -- */

@media only screen and (max-width: 1600px) {
    /* -- Header Section CSS Start -- */ .header-section-main {
        padding-top:35px;
    }

    .header-menu ul li a:after {
        bottom: -60px;
    }

    /* -- Header Section CSS End -- */
    /* -- Banner Section CSS Start -- */
    .banner-left-vertical-main {
        margin-top: 0;
    }

    .banner-left-vertical-main h6 {
        letter-spacing: 16px;
    }

    .banner-left-vertical-main img {
        width: 60px;
        height: 60px;
    }

    .banner-content-main h5 {
        font-size: 16px;
        line-height: 20px;
    }

    .banner-section-loop .banner-content-main h1 {
        font-size: 70px;
        line-height: 80px;
    }

    .banner-section-loop .banner-content-main h1 {
        padding-bottom: 24px;
    }

    .controller-box-img {
        width: 45px;
        height: 45px;
    }

    .controller-box-section {
        padding: 15px;
        margin-bottom: 12px;
    }

    .controller-img {
        padding: 14px;
    }

    .controller-icons-main {
        gap: 16px;
        padding-bottom: 35px;
    }

    .banner-section-loop .view-contract-btn-main a {
        font-size: 16px;
        line-height: 20px;
    }

    .controller-right-icons-main img {
        width: 55px;
        height: 55px;
        margin-bottom: 25px;
    }

    /* -- Banner Section CSS End -- */
}

@media only screen and (min-width: 1024px) and (max-width: 1500px) and (max-height:620px) {
    /* -- Banner Section CSS Start -- */ .banner-main-img {
        max-height:620px;
    }

    .banner-left-vertical-main h6 {
        letter-spacing: 10px;
    }

    /* -- Banner Section CSS End -- */
}

@media only screen and (max-width: 1300px) {
    /* -- Header Section CSS Start -- */ .header-section-main {
        padding-top: 30px;
    }

    .header-menu ul li a:after {
        bottom: -56px;
    }

    .header-menu ul {
        gap: 70px;
    }

    .custom-container {
        padding: 0 18px;
    }

    /* -- Header Section CSS End -- */
    /* -- Banner Section CSS Start -- */
    .banner-main-img {
        width: calc(50% - 6.66px);
    }

    .banner-content-main {
        width: calc(30% - 6.66px);
    }

    .controller-right-icons-main {
        width: calc(10% - 8px);
        padding-right: 8px;
    }

    .banner-section-loop .banner-content-main h1 {
        font-size: 55px;
        line-height: 65px;
        padding-bottom: 20px;
    }

    .controller-box-img {
        width: 40px;
        height: 40px;
    }

    .controller-box-section {
        padding: 12px;
        margin-bottom: 10px;
    }

    .banner-content-main h5 {
        font-size: 14px;
        line-height: 18px;
    }

    .controller-img {
        padding: 12px;
    }

    .controller-icons-main {
        gap: 14px;
        padding-bottom: 30px;
    }

    .banner-section-loop .view-contract-btn-main {
        width: 240px;
        height: 55px;
    }

    .banner-section-loop .view-contract-btn-main a {
        font-size: 14px;
        line-height: 18px;
    }

    .controller-right-icons-main img {
        width: 50px;
        height: 50px;
        margin-bottom: 20px;
    }

    .banner-main-img .main-img {
        padding-top: 100%;
    }

    /* -- Banner Section CSS End -- */
}
