@font-face {
    font-family: 'Cinzel';
    src: url('../fonts/cinzel-bold.woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat-semibold.woff2');
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat-medium.woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat-regular.woff2');
    font-weight: 400;
    font-display: swap;
}
:root {
    --font-family: 'Montserrat', sans-serif;
    --second-family: 'Cinzel', sans-serif;

    --container-width: 1240px;

    --container-step: 25px;
    --container-step-tablet: 20px;
    --container-step-mobile: 16px;

    --container: calc(var(--container-width) + (var(--container-step) * 2));
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--container-step);
    display: flex;
    flex-direction: column;
    margin: auto;
    box-sizing: border-box;
    align-items: center;
}

@media (max-width: 991px) {
    .container {
        padding: 0 var(--container-step-tablet);
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 var(--container-step-mobile);
    }
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0px;
}

.no-scroll {
    overflow: hidden;
}

ul {
    padding: 0px;
    margin: 0px;
}

.mobile {
    display: none;
}

h1 {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 54px;
    color: #fff;
    line-height: 100%;
    margin: 0px;
    max-width: 705px;
}

@media (max-width: 991px) {
    h1 {
        font-size: 43px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 28px;
    }
}

h2 {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 40px;
    line-height: 125%;
    text-align: center;
    color: #fff;
    margin: 0px;
}

@media (max-width: 991px) {
    h2 {
        font-size: 33px;
        line-height: 115%;
    }
}

@media (max-width: 600px) {
    h2 {
        font-size: 26px;
    }
}

h3 {
    font-size: 20px;
    text-align: center;
    color: #fff;
    margin: 0px;
}

@media screen and (max-width: 600px) {
    h3 {
        font-size: 18px;
    }
}

@media (max-width: 991px) {
    h2 {
        font-size: 33px;
        line-height: 115%;
    }
}

@media (max-width: 600px) {
    h2 {
        font-size: 26px;
    }
}

@media (max-width: 991px) {
    h2 {
        font-size: 33px;
        line-height: 115%;
    }
}

@media (max-width: 600px) {
    h2 {
        font-size: 26px;
    }
}

p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    color: #fff;
    margin: 0px;
}

.btn {
    border-radius: 10px;
    box-shadow: inset 0 0 8px 0 #c77dff;
    background: linear-gradient(180deg, #6b2c91 0%, #9d4edd 100%);
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 14px 0px;
    border: 0px;
    text-decoration: none;
}

section {
    padding: 50px 0px;
}

header {
    backdrop-filter: blur(10px);
    background: rgba(199, 125, 255, 0.1);
    padding: 20px 0px;
    position: fixed;
    width: 100%;
    z-index: 3;
}

header .container {
    flex-direction: row;
    justify-content: space-between;
}

.header_content {
    display: flex;
    width: 100%;
    justify-content: end;
    align-items: center;
    gap: 40px;
}

header .btn {
    padding: 12px 0px;
    max-width: 150px;
}

header ul {
    list-style: none;
    display: flex;
    width: 100%;
    gap: 40px;
}

header nav a {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 155%;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.languages {
    display: flex;
    border: 1px solid #fff;
    border-radius: 40px;
    padding: 8px 14px;
    gap: 10px;
    align-items: center;
}

.languages a {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 155%;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

header nav a:hover {
    font-weight: 600;
    color: #fff;
}

header nav a.activeLink {
    font-weight: 600;
    color: #fff;
}

header.Not-Registered .Registration-autorisation-panel {
    display: flex;
    gap: 24px;
}

header.Registered .Registration-autorisation-panel {
    display: none;
}

header.Registered .link_to_profile {
    display: flex;
    justify-content: end;
    gap: 40px;
}

header.Not-Registered .link_to_profile {
    display: none;
}

.Registration-autorisation-panel {
    width: 100%;
    max-width: 344px;
    justify-content: space-between;
}

header.Registered .header_content {
    align-items: center;
    justify-content: end;
    gap: 40px;
}

#burger-menu {
    cursor: pointer;
    height: 27px;
    width: 27px;
    display: none;
    overflow: visible;
    position: relative;
    z-index: 3;
}

#burger-menu span,
#burger-menu span::before,
#burger-menu span::after {
    background: #fff;
    display: block;
    height: 2px;
    opacity: 1;
    position: absolute;
    transition: 0.3s ease-in-out;
    content: '';
}

#burger-menu span::before {
    left: 0;
    top: -10px;
    width: 27px;
}

#burger-menu span {
    right: 0;
    top: 13px;
    width: 27px;
}

#burger-menu span::after {
    left: 0;
    top: 10px;
    width: 27px;
}

#burger-menu.close span::before {
    top: 0;
    transform: rotate(90deg);
    width: 27px;
}

#burger-menu.close span {
    transform: rotate(-45deg);
    top: 13px;
    width: 27px;
}

#burger-menu.close span::after {
    top: 0;
    left: 0;
    transform: rotate(90deg);
    opacity: 0;
    width: 0;
}

#menu {
    z-index: 2;
    min-width: 100%;
    min-height: 100%;
    position: fixed;
    top: 0;
    height: 0;
    visibility: hidden;
    opacity: 0;
    text-align: center;
    padding-top: 20px;
    transition: all 0.3s ease-in-out;
    height: 100vh;
    display: none;
}

#menu.overlay {
    visibility: visible;
    opacity: 2;
    padding: 0px;
    background: rgba(0, 0, 0, 0.5);
}

#menu .container {
    margin: 0px;
    margin-top: 62px;
    align-items: flex-start;
    margin: 0px auto;
    padding-top: 92px;
}

#menu .burger_menu_content {
    display: flex;
    flex-direction: column;
    margin: 0px auto;
    align-items: center;
    gap: 10px;
}

#menu .burger_menu_content ul {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#menu .Registration-autorisation-panel {
    flex-direction: column;
    gap: 10px;
}

.signUpButton {
    color: white;
    background-color: white;
}

.logInButton {
    background: transparent;
    border: 2px solid #fff;
    box-shadow: unset;
}

@media screen and (max-width: 1100px) {
    .header_content {
        display: none;
    }

    #burger-menu {
        display: block;
    }

    #menu {
        display: flex;
    }
}

.WhyChooseUs {
    background: #0a0e1a;
    padding: 0px;
    padding-bottom: 80px;
}

.WhyChooseUs .container {
    gap: 80px;
    flex-direction: column-reverse;
}

.WhyChooseUs p {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

.WhyChooseUs ul {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 0px;
    flex-wrap: wrap;
    gap: 40px;
    background: #5a1a7a;
    border-radius: 50px;
    padding: 0px 40px;
    box-sizing: border-box;
    position: relative;
}

.WhyChooseUs ul::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 100%
    );
    border-radius: 50px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.WhyChooseUs li {
    max-width: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 30px 0px;
    border-radius: 16px;
    box-sizing: border-box;
}

.WhyChooseUs h2 {
    margin-bottom: 20px;
    text-transform: capitalize;
}

.WhyChooseUs h3 {
    font-family: var(--second-family);
    font-weight: 600;
    line-height: 150%;
}

@media screen and (max-width: 600px) {
    .WhyChooseUs h3 {
        line-height: 167%;
    }

    .WhyChooseUs p {
        max-width: 268px;
        font-size: 14px;
    }

    .WhyChooseUs li {
        padding: 30px 20.5px;
        padding-top: 0px;
    }
}

.Games_section {
    background: linear-gradient(0deg, rgba(10, 14, 26, 0.7), rgba(10, 14, 26, 0.7)),
        url('../images/hero-bg.webp');
    background-size: cover;
    background-position: center;
}

.Games_section .container {
    gap: 24px;
}

.games {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    list-style: none;
}

.games li {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 280px;
    padding: 20px;
    box-sizing: border-box;
    backdrop-filter: blur(10px);
    background: rgba(199, 125, 255, 0.2);
    border-radius: 14px;
}

.games li::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 100%
    );
    border-radius: 14px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.games .text_content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.games .text_content h3 {
    font-family: var(--font-family);
    font-weight: 500;
    letter-spacing: 0.05em;
}

.raiting {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    letter-spacing: 0.05em;
    text-align: center;
    color: #fff;
    display: flex;
    gap: 4px;
    align-items: center;
}

.raiting img {
    height: 20px;
    width: 20px;
}

.AboutUsSection {
    background: #2d1a3d;
}

.AboutUsSection .container {
    gap: 24px;
    color: rgba(255, 255, 255, 0.8);
}

.AboutUsSection p {
    text-align: center;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
}

.CommentsSection {
    background: #1a1f2e;
    padding-bottom: 86px;
}

.CommentsSection .container {
    gap: 24px;
}

.comments {
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 39px;
    flex-wrap: wrap;
}

.comment {
    max-width: 387px;
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    backdrop-filter: blur(8px);
    background: rgba(199, 125, 255, 0.2);
    height: fit-content;
    border-radius: 20px;
}

.comment::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 100%
    );
    border-radius: 20px;
    -webkit-mask: linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.commentHeader {
    display: flex;
    gap: 20px;
}

.Raiting_and_Name {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: baseline;
}

.Raiting_and_Name h3 {
    font-family: var(--font-family);
    font-weight: 600;
}

@media screen and (max-width: 600px) {
    .Raiting_and_Name h3 {
        font-size: 20px;
    }
}

.legal_info .text_content.Responsible_gaming_paragpraph {
    max-width: unset;
    width: 100%;
}

.Comment_star {
    height: 16px;
}

.commentBody p {
    text-align: start;
    text-align: start;
    font-size: 18px;
}

footer {
    padding: 50px 0px;
    background: #1a1520;
}

footer .container {
    gap: 30px;
}

.legal_info {
    display: flex;
    justify-content: start;
    width: 100%;
    gap: 40px;
    flex-wrap: wrap;
}

.legal_info .text_content {
    max-width: 600px;
    width: 100%;
}

.legal_info .text_content h3 {
    font-family: var(--second-family);
    font-weight: 600;
    line-height: 130%;
    text-align: start;
    margin-bottom: 16px;
}

@media screen and (max-width: 600px) {
    .legal_info .text_content h3 {
        font-size: 20px;
    }
}

.legal_info .text_content p {
    text-align: start;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 130%;
    color: #f1f1f1;
}

.logos {
    display: flex;
    justify-content: space-between;
    width: 100%;
    list-style: none;
}

.footer-bottom {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.links {
    display: flex;
    justify-content: space-between;
    gap: 56px;
    list-style: none;
}

.links a {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 16px;
    text-transform: capitalize;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 155%;
    text-align: center;
    color: #fff;
}

.footer-bottom a {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 16px;
    text-transform: capitalize;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: rgba(255, 255, 255, 0.8);
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 26, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal .container {
    width: 100%;
}

.modal-content {
    padding: 50px 0px;
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    width: 100%;
    animation: fadeIn 0.3sease -in-out;
    backdrop-filter: blur(10px);
    background: rgba(199, 125, 255, 0.2);
}

.modal-content form {
    display: flex;
    flex-direction: column;
    max-width: 386px;
    width: 100%;
    margin: auto;
    gap: 20px;
}

.modal-content h2 {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 26px;
    text-align: center;
    color: #fff;
}

.inputs {
    width: 100%;
    gap: 14px;
    display: flex;
    flex-direction: column;
}

.modal-content input {
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 1rem;
    outline: none;
    transition: border 0.2s;
    width: 100%;
    gap: 14px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    color: #0a0e1a;
}

.modal-content input::placeholder {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    color: #0a0e1a;
}

.modal-content input:focus {
    border-color: #7c3aed;
}

.modal-content .btn {
    padding: 0.75rem 1rem;
    color: white;
    border: none;
    border-radius: 100px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    border-radius: 10px;
    box-shadow: inset 0 0 8px 0 #c77dff;
    background: linear-gradient(180deg, #6b2c91 0%, #9d4edd 100%);
}

.warning {
    display: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: -0.5rem;
    margin-bottom: 0.5rem;
}

.modal-content p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    text-align: center;
    color: #fff;
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 0px;
}

.modal-content button#switch-to-login,
.modal-content button#switch-to-signup {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 16px;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    text-align: center;
    color: #fff;
    background: transparent;
    border: 0px;
}

.hidden {
    display: none !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media screen and (max-width: 1290px) {
    .WhyChooseUs ul {
        padding: 40px 0px;
        gap: 10px;
    }

    .WhyChooseUs li {
        padding-top: 0px;
    }

    .hero img {
        width: 382px;
        height: auto;
    }
}

@media screen and (max-width: 739px) {
    footer nav {
        width: 100%;
    }

    header ul {
        gap: 10px;
    }

    .hero {
        padding: 0px;
        padding-top: 88px;
        padding-bottom: 220px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero .container {
        gap: 24px;
    }

    .hero img {
        z-index: 2;
        width: 335px;
        height: auto;
        bottom: -240px;
    }

    .hero .content {
        gap: 12px;
        align-items: center;
    }

    .hero p {
        text-align: center;
    }

    footer {
        padding: 30px 0px;
    }

    footer .container.mobile {
        display: flex;
    }

    footer .container.desctop {
        display: none;
    }

    .footer-bottom span {
        font-size: 14px;
    }

    .links a {
        font-size: 14px;
    }

    .legal_info {
        justify-content: center;
    }

    .logos img {
        height: 20px;
    }

    .logo_18 {
        height: 21px;
    }

    .links {
        display: flex;
        justify-content: space-between;
        width: 100%;
        gap: unset;
    }
}

@media (max-width: 480px) {
    .modal-content h2 {
        font-size: 1.5rem;
    }

    .WhyChooseUs ul {
        padding: 40px 0px;
    }
}

@media screen and (max-width: 450px) {
    .hero .btn-1 {
        max-width: none;
    }
}

.terms {
    background: linear-gradient(0deg, rgba(10, 14, 26, 0.7), rgba(10, 14, 26, 0.7)),
        url('../images/hero-bg.webp');
    background-size: cover;
    background-position: center;
}

.terms section {
    padding: 100px 0px;
}

.terms header {
    position: relative;
}

.terms .content_wrapper {
    width: 100%;
    padding: 60px 16px;
    box-sizing: border-box;
    border-radius: 30px;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.6);
}

.terms_content {
    max-width: 1026px;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: baseline;
}

.terms h1 {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 24px;
    line-height: 125%;
    text-transform: uppercase;
    color: white;
    margin-bottom: 24px;
    background: none;
    background-clip: unset;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
}

.terms h2 {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 18px;
    line-height: 150%;
    color: white;
    margin-bottom: 12px;
    text-align: start;
}

.terms p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    text-align: start;
    color: white;
    margin: 0px;
}

.terms p:not(:last-of-type) {
    margin-bottom: 24px;
}

@media screen and (max-width: 650px) {
    .games {
        gap: 12px;
        display: grid;
        grid-template-columns: minmax(0px, 1fr) minmax(0px, 1fr);
    }
    .games li {
        padding: 12px;
        max-width: 158px;
    }

    .games .text_content {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }
}

.terms .container {
    align-items: baseline;
    padding-top: 0px;
    gap: 10px;
}

.terms h2 {
    font-size: 20px;
}

.terms ul:not(.terms footer ul) {
    color: white;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    color: #fff;
    margin: 0px;
    padding-left: 15px;
}

@media screen and (max-width: 650px) {
    .games {
        gap: 12px;
    }
    .games li {
        padding: 12px;
        max-width: 158px;
    }

    .games .text_content {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    clip: rect(0 0 0 0);
}
