#main-top-navbar .navbar-link:focus,
#main-top-navbar .navbar-link:focus-within,
#main-top-navbar .navbar-link:hover,
#main-top-navbar a.navbar-item:focus,
#main-top-navbar a.navbar-item:focus-within,
#main-top-navbar a.navbar-item:hover {
    --bulma-navbar-item-background-l-delta: var(--bulma-navbar-item-hover-background-l-delta);
    --bulma-navbar-item-background-a: 0.2;
    border-radius: 0.25em;
}

.b-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;

    box-sizing: border-box;
    border: 1px solid;
}

.main-content-section {
    padding-top: 180px;
}

@media screen and (max-width: 1023px) {
    .main-content-section {
        /* padding: var(--bulma-section-padding); */
    }
}




#main-top-navbar {
    background-image: url(https://utopie-game.ru/main_page/assets/css/images/overlay.png), linear-gradient(0deg, #6c0001 15%, #8e0001 85%);
    color: #fff;
    padding: 1em;
    border-top-left-radius: 0.25em;
    border-top-right-radius: 0.25em;
}


.theme-light,
[data-theme=light] {
    --bulma-scheme-main-ter: #dbe0e6;
}

.game-reg-button:hover,
.game-gui-button:hover {
    background-color: rgb(189, 0, 0);
}

.game-gui-button:active {
    background-color: #6c0001;
}

.game-reg-button {
    background-color: #6c0001;
    width: 288px;
    height: 48px;
    background-blend-mode: overlay;
    box-shadow: rgba(255, 255, 255, 0) 0px 5px 2px 0px inset, rgba(0, 0, 0, 0) 0px -15px 6px inset, rgba(143, 143, 143, 0) 0px -5px 6px inset, inset rgb(179, 75, 75) 0px 0px 0px 2px;
    animation: inout 3s ease infinite;
    border: 2px solid rgb(179, 75, 75) !important;
}

@keyframes inout {
    0% {
        -webkit-box-shadow: 0 0 0 0px rgba(141, 33, 33, 0.4);
        -moz-box-shadow: 0 0 0 0px rgba(141, 33, 33, 0.4);
        box-shadow: 0 0 0 0px rgb(141, 33, 33);
    }

    100% {
        -webkit-box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
        -moz-box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }
}



.game-gui-button {
    overflow: hidden;
    text-align: center;
    text-shadow: 0 1px 3px #33333352, 0 1px 3px #33333385;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.07s;
    color: #ffffff !important;
    border: none !important;
    background-image: url(https://utopie-game.ru/assets/i/button/button-lighter.png);
    background-size: cover;
    background-blend-mode: hard-light;
    background-color: #8e0001;
    box-shadow: rgba(255, 255, 255, 0) 0px 5px 2px 0px inset, rgba(0, 0, 0, 0) 0px -15px 6px inset, rgba(143, 143, 143, 0) 0px -5px 6px inset, inset rgb(147 0 1) 0px 0px 0px 1px;
}




.b-carousel__prev,
.b-carousel__next {
    position: absolute;
    top: 50%;
    left: 20px;
    width: 50px;
    height: 50px;
    background: #fff;
    transform: translateY(-50%) translateZ(0);
    cursor: pointer;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    z-index: 3;
}

.b-carousel__next {
    left: auto;
    right: 20px;
}

.b-carousel__wrap {
    display: flex;
    transition: transform .5s;
    will-change: transform;
    position: relative;
    z-index: 1;
    height: 100%;
}

.b-carousel__item {
    flex: 0 0 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.b-carousel__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.s-notransition {
    transition: 0s;
}



[data-theme=dark],
.theme-dark {


    .box {
        --bulma-box-background-color: hsl(202.5deg 9.64% 25.27%);
    }



    #main-top-navbar .navbar-link:focus,
    #main-top-navbar .navbar-link:focus-within,
    #main-top-navbar .navbar-link:hover,
    #main-top-navbar a.navbar-item:focus,
    #main-top-navbar a.navbar-item:focus-within,
    #main-top-navbar a.navbar-item:hover {
        --bulma-navbar-item-background-a: 1;
    }

    .b-carousel {
        border-color: black;
    }

    .game-enter-box {
        box-shadow: rgb(0 0 0) 0px 0px 2px 0px, rgb(0 0 0 / 15%) 0px 0px 6px 2px !important;
    }
}

@media (prefers-color-scheme: dark) {}

.game-reg-block {
    width: 340px;
}

@media screen and (max-width: 768px) {
    .game-reg-block {
        width: 100%;
    }
}

.block-auth-buttons {
    gap: 10px;
}

.game-headers {
    margin-bottom: 10px !important;
}

.game-enter-box {
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px !important;
}

.game-dropdown-enter {
    padding-inline-end: 2.5em;
    width: 100%;
}

.game-dropdown-enter:after {
    border-color: var(--bulma-navbar-dropdown-arrow);
    inset-inline-end: 1.125em;
    border: .125em solid var(--bulma-link);
    border-right: 0;
    border-top: 0;
    content: " ";
    display: block;
    height: .625em;
    margin-top: -.4375em;
    pointer-events: none;
    position: absolute;
    top: 50%;
    transform: rotate(-45deg);
    transform-origin: center;
    transition-duration: var(--bulma-duration);
    transition-property: border-color;
    width: .625em;
}

.game-dropdown-enter-trigger {
    width: 100%;
}

.b-carousel__item img {
    height: 350px;
}

.game-reg-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}


/* @font-face {
    font-family: "Ro";
    src: url('/fonts/Roboto-Black.ttf') format('truetype');
} */

body,
input,
select,
textarea {
    font-family: "Ro", Calibri, Tahoma, sans-serif;
}

.main-content {
    background-color: var(--bulma-scheme-main-ter);
}

.game-title .title,
.game-title .subtitle {
    color: white;
}

#main-top-navbar-tabs {
    display: flex;
    flex: auto;
    justify-content: center !important;
}

.navbar {
    --bulma-navbar-dropdown-arrow: white;
}

.center-top-image {
    position: absolute;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    width: 700px;
    bottom: 0;
}

.navbar-logo {
    font-weight: 600;
    font-size: 3rem;
    line-height: 2rem;
    color: white;
}

.center-top-image {
    position: absolute;
    bottom: -100px;
}

.game-title .title,
.game-title .subtitle {
    color: white;
}

.button.is-disabled {
    background-color: #a9a9a9;
    box-shadow: rgba(255, 255, 255, 0) 0px 5px 2px 0px inset, rgba(0, 0, 0, 0) 0px -15px 6px inset, rgba(143, 143, 143, 0) 0px -5px 6px inset, inset rgb(132 132 132) 0px 0px 0px 1px;
    cursor: not-allowed;
}

.notification-holder {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 1000;
}

.notification>.delete {
    inset-inline-end: 1rem;
    position: absolute;
    top: 5px;
    right: 5px;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-slide,
.swiper-slide img {
    border-radius: var(--bulma-radius-large);
}

.swiper-slide {}

.swiper {
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #656565;
    border-radius: var(--bulma-radius-large);
}

.swiper-wrapper {
    width: 100%;
    height: 500px;
}

.swiper-column {
    overflow: auto;
}

:root {
    --swiper-pagination-color: #ffffff;
    --swiper-navigation-color: #ffffff;
}

:root {
    --shine-bg: rgb(22, 19, 19);
    --shine-bg-subtle: rgb(28, 23, 23);
    --shine-bg: rgb(25, 14, 14);
    --shine-bg-subtle: rgb(35, 14, 14);
    --shine-fg: #fff;
    --shine-highlight: rgb(219, 15, 15);
    --shine-highlight-subtle: rgb(181, 3, 3);
    --brand: rgb(219, 15, 15);
    --brand-h: 153;
    --brand-s: 87%;
    --brand-l: 46%;
    --brand-hsl: 153, 87%, 46%;
    --brand-l-dark: 6%;
    --brand-bg: hsl(var(--brand-h), var(--brand-s), var(--brand-l-dark))
}

@property --gradient-angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false
}

@property --gradient-angle-offset {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false
}

@property --gradient-percent {
    syntax: "<percentage>";
    initial-value: 5%;
    inherits: false
}

@property --gradient-shine {
    syntax: "<color>";
    initial-value: #fff;
    inherits: false
}

@keyframes rotate-gradient {
    to {
        --gradient-angle: 360deg
    }
}

.reg-animation {
    --animation: gradient-angle linear infinite;
    --duration: 3s;
    --shadow-size: 2px;
    background: linear-gradient(rgb(124 0 0), var(--shine-bg)) padding-box, conic-gradient(from calc(var(--gradient-angle) - var(--gradient-angle-offset)), transparent, rgb(255 99 99) var(--gradient-percent), #ff0000 calc(var(--gradient-percent) * 2), rgb(205 0 0) calc(var(--gradient-percent) * 3), transparent calc(var(--gradient-percent) * 4)) border-box;
    border: 5px solid transparent;
    border-radius: .5em;
    box-shadow: inset 0 0 0 1px var(--shine-bg-subtle);
    color: #fff;
    color: var(--shine-fg);
    cursor: pointer;
    display: block;
    font-size: 1.25rem;
    font-weight: 500;
    isolation: isolate;
    line-height: 1;
    outline-offset: 4px;
    overflow: hidden;
    padding: 1em 2em;
    position: relative;
}

.reg-animation span:before,
.reg-animation:after,
.reg-animation:before {
    content: "";
    inset-block-start: 50%;
    inset-inline-start: 50%;
    pointer-events: none;
    position: absolute;
    translate: -50% -50%;
    z-index: -1
}

.reg-animation:active {
    translate: 0 1px
}

.reg-animation:after {
    --animation: shimmer linear infinite;
    aspect-ratio: 1;
    background: linear-gradient(-50deg, transparent, var(--shine-highlight), transparent);
    mask-image: radial-gradient(circle at bottom, transparent 40%, #000);
    opacity: .2;
    width: 100%
}

.reg-animation span {
    z-index: 1
}

.reg-animation span:before {
    --size: calc(100% + 1rem);
    box-shadow: inset 0 -1ex 2rem 4px var(--shine-highlight);
    height: var(--size);
    opacity: 0;
    width: var(--size)
}

.reg-animation {
    --transition: 800ms cubic-bezier(0.25, 1, 0.5, 1);
    transition: var(--transition);
    transition-property: --gradient-angle-offset, --gradient-percent, --gradient-shine
}

.reg-animation,
.reg-animation:after,
.reg-animation:before {
    animation: var(--animation) var(--duration), var(--animation) calc(var(--duration)/.4) reverse paused;
    animation-composition: add
}

.reg-animation span:before {
    animation: calc(var(--duration)*1.5) breathe linear infinite;
    transition: opacity var(--transition)
}

.reg-animation:is(:hover, :focus-visible) {
    --gradient-percent: 20%;
    --gradient-angle-offset: 95deg;
    --gradient-shine: var(--shine-highlight-subtle)
}

.reg-animation:is(:hover, :focus-visible),
.reg-animation:is(:hover, :focus-visible):after,
.reg-animation:is(:hover, :focus-visible):before {
    animation-play-state: running
}

.reg-animation:is(:hover, :focus-visible) span:before {
    opacity: 1
}

@keyframes gradient-angle {
    to {
        --gradient-angle: 360deg
    }
}

@keyframes shimmer {
    to {
        rotate: 1turn
    }
}

@keyframes breathe {

    0%,
    to {
        scale: 1
    }

    50% {
        scale: 1.2
    }
}

.utp-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.utp-item {
    padding: 3px 6px;
    background: rgb(200 200 200 / 20%);
    border-radius: 5px;
    font-size: 14px;
    flex: 200px;
}

.utp-item img {
    vertical-align: bottom;
    margin-right: 3px;
}

/* Возрастное ограничение в футере главной */
.index-footer-age {
    gap: 0.75rem;
}

.index-footer-age-badge {
    display: inline-block;
    flex-shrink: 0;
    padding: 0.35em 0.75em;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
    background: linear-gradient(165deg, #a40000 0%, #6c0001 55%, #4a0001 100%);
    border-radius: 6px;
}

.index-footer-age-text {
    color: inherit;
    line-height: 1.4;
}

/* Метка возраста в баннере cookie */
.cookie-notice-age-mark {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.45em 1em;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
    background: linear-gradient(165deg, #a40000 0%, #6c0001 55%, #4a0001 100%);
    border-radius: 6px;
}
