@font-face {
    font-family: 'Bangers';
    src: url('../font/Bangers-Regular.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Belanosima';
    src: url('../font/Belanosima-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Belanosima';
    src: url('../font/Belanosima-SemiBold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}


@keyframes pulse-btn {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Belanosima', sans-serif;
    background: #36241F;
    color: #A5AFC0;
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Belanosima', sans-serif;
    font-weight: 700;
    color: #E2D2BB;
    padding: 10px 0;
}

.body-large {
    font-size: 18px;
    line-height: 24px;
    font-weight: normal;
}

.body-medium {
    font-size: 16px;
    line-height: 22px;
    font-weight: normal;
}

h1 {
    font-size: 42px;
    line-height: 64px;
    font-weight: bold;
}

h2 {
    font-size: 36px;
    line-height: 46px;
    font-weight: bold;
}

h3 {
    font-size: 30px;
    line-height: 40px;
    font-weight: bold;
}

h4 {
    font-size: 26px;
    line-height: 36px;
    font-weight: bold;
}

h5 {
    font-size: 22px;
    line-height: 30px;
    font-weight: bold;
}

h6 {
    font-size: 18px;
    line-height: 22px;
    font-weight: bold;
}

.content b, .content strong,
.content a{
    color: #E3E20B;
}
.content a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.content .container {
    background: #1B110E;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #F19100;
}

.page-content img {
    width: 100%;
    max-width: 980px;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.header {
    position: sticky;
    top: 0;
    background: linear-gradient(180deg, #61327C -81.25%, #6F4B3A 63.75%);
    z-index: 100;
    padding: 10px 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo img {
   max-width: 115px;
   height: auto;
}

.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: none;
    align-items: center;
    z-index: 1001;
}

.hamburger img {
    width: 30px;
    height: auto;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

.header__nav {
    display: none;
}

.header__actions {
    display: flex;
    gap: 8px;
}

.btn {
    padding: 14px 42px;
    font-family: 'Bangers', cursive;
    font-weight: 400;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    border-radius: 4px;
    border: none;
    box-sizing: border-box;
    letter-spacing: 1px;
    text-align: center;
}

.btn--login {
    position: relative;
    padding: 12px 35px;
    color: #FFB800;
    background: linear-gradient(180deg, #FFB800 18.75%, #FED720 41.15%, #FFF8D7 43.12%, #FED720 45.27%, #FFB800 55.48%, #FFC804 70.54%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-stroke: 0.5px #2F1D18;
}

.btn--login::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/header-btn.png') no-repeat center center;
    background-size: 100% 100%;
    z-index: -1;
}

.btn--register {
    position: relative;
    animation: pulse-btn 1.5s ease-in-out infinite;
    padding: 12px 35px;
    color: #FFB800;
    background: linear-gradient(180deg, #FFB800 18.75%, #FED720 41.15%, #FFF8D7 43.12%, #FED720 45.27%, #FFB800 55.48%, #FFC804 70.54%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-stroke: 0.2px #2F1D18;
    transition: all 0.5s ease;
}

.btn--register::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/header-btn.png') no-repeat center center;
    background-size: 100% 100%;
    z-index: -1;
}


.btn--hero {
    display: inline-block;
    text-decoration: none;
    border: none;
    border-radius: 2px;
    color: #FFB800;
    background: linear-gradient(180deg, #FFB800 18.75%, #FED720 41.15%, #FFF8D7 43.12%, #FED720 45.27%, #FFB800 55.48%, #FFC804 70.54%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-stroke: 1px #58077D;
    font-family: 'Bangers', cursive;
    font-size: 28px;
    font-weight: 400;
    text-transform: uppercase;
    padding: 20px 50px 20px 50px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    animation: pulse-btn 1.5s ease-in-out infinite;
}

.btn--hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../img/hero-btn.png') no-repeat center center;
    background-size: 100% 100%;
    z-index: -1;
}

.sidebar {
    position: fixed;
    left: 0;
    top: 80px;
    width: 200px;
    height: calc(100vh - 90px);
    background: #0c1221;
    border-right: 1px solid #155BA1;
    z-index: 50;
    transition: transform 0.3s ease;
}

.sidebar__close {
    display: none;
}

.sidebar__nav {
    display: flex;
    flex-direction: column;
    padding: 5px;
    gap: 15px;
    margin-top: 30px;
}

.sidebar__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    box-sizing: border-box;
}

.sidebar__link::before {
    content: '';
    width: 20px;
    height: 20px;
    background-image: url('../img/icon.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.5;
    transition: all 0.3s ease;
    flex-shrink: 0;
    order: -1;
}

.sidebar__link::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 8px;
    padding: 1px;
    background: 
        radial-gradient(circle at 0% 70%, rgba(242, 96, 96, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 100% 90%, rgba(242, 96, 113, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 50% 0%, #ad202c 0%, transparent 50%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.sidebar__link > * {
    position: relative;
    z-index: 1;
}

.sidebar__link:hover::before {
    opacity: 1;
}

.main {
    margin-left: 0;
    padding: 0;
}

.container {
    max-width: 1320px;
    width: 100%;
    margin: 0 auto;
    padding: 0 32px;
}

.page-content {
    background: #162334;
    border-radius: 2px;
    padding: 20px;
}

.hero {
    position: relative;
    overflow: hidden;
    background-image: url('../img/banner.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.hero__content {
    position: relative;
    z-index: 10;
}

.hero__subtitle {
    font-family: 'Bangers', cursive;
    color: #E2D2BB;
    font-size: 15px;
    font-weight: 400;
    margin-bottom: 8px;
    letter-spacing: 1px;
    background: linear-gradient(180deg, #61327C -81.25%, #6F4B3A 63.75%);
    border-radius: 10px;
    padding: 2px 10px;
    width: fit-content;
}

.hero__text {
    max-width: 750px;
}

.hero__title {
    font-family: 'Bangers', cursive;
    color: #ffffff;
    font-size: 60px;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: 2px;
    -webkit-text-stroke: 2px #2F1D18;
}

.content {
    padding: 32px 0 48px;
}

p {
    font-family: 'Belanosima', sans-serif;
    font-size: 17px;
    line-height: 28px;
    color: #fce6df;
    margin-bottom: 16px;
    font-weight: 400;
}

ul, ol {
    font-size: 17px;
    line-height: 24px;
    color: #fce6df;
    margin-bottom: 16px;
    font-weight: 300;
    padding: 25px;
    background-color: #36241F;
    border-radius: 5px;
    border-left: 4px solid #F19100;
    padding: 20px 20px 13px 35px;
}

ul li::marker , ol li::marker {
   color: #F19100;
}

ul li, ol li {
    margin-bottom: 8px;
}

ul {
    list-style-type: disc;
}

ol {
    list-style-type: decimal;
}

.table-section {
    padding-bottom: 48px;
}

.lexical-table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 40px 10px;
}

.lexical-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    background: #1B110E;
    border-radius: 2px;
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.lexical-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lexical-table tr:last-child {
    border-bottom: none;
}

.lexical-table tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.03);
}

.lexical-table td {
    padding: 16px 20px;
    font-size: 16px;
    line-height: 22px;
    border: none !important;
    padding: 10px!important;
}

.lexical-table td p {
    padding: 0!important;
    margin: 0!important;
}

.table-label {
    color: #ffffff;
    font-weight: 500;
    width: 50%;
}

.table-value {
    color: #F19100;
    font-weight: normal;
    text-align: left;
}

.featured img {
    width: 100%;
    height: auto;
    display: block;
}

.payments {
    background: #1b110e;
    padding: 40px 0;
    margin-top: 40px;
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 5px;
}

.payments__track {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 30px;
}

.payments__item {
    flex-shrink: 0;
}

.payments__item img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.footer {
    background: #1B110E;
    padding: 20px 0 50px;
    margin-top: 64px;
    text-align: center;
}

.footer__logo {
    margin-bottom: 32px;
}

.footer__logo img {
    max-width: 200px;
    height: auto;
    margin: 0 auto;
}

.footer__nav {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.footer__link {
    color: #dcdcdc;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    font-family: 'Bangers', cursive;
    letter-spacing: 1px;
}

.footer__licenses {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.footer__licenses img {
   width: 100%;
   max-width: 85px;
   height: 40px;
   object-fit: contain;
}

.footer__payments {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.footer__payments img {
    height: 35px;
    width: auto;
    object-fit: contain;
}

.footer__disclaimer {
    margin-bottom: 16px;
}

.footer__disclaimer p {
    font-size: 14px;
    line-height: 20px;
    color: #dcdcdc;
    margin-bottom: 0;
}

.footer__copyright p {
    font-size: 14px;
    line-height: 20px;
    color: #dcdcdc;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .header {
        padding: 0;
    }
    .hamburger {
        display: flex;
        order: 3;
    }

    .sidebar {
        position: fixed;
        right: -100%;
        left: auto;
        top: 0;
        width: 100%;
        height: 100vh;
        background: #1b110e;
        border-left: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 1000;
        transition: right 0.3s ease;
    }

    .sidebar.active {
        right: 0;
    }

    .sidebar__close {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        color: #fff;
        font-size: 40px;
        cursor: pointer;
        line-height: 1;
        padding: 0;
        width: 40px;
        height: 40px;
        transition: all 0.3s ease;
    }

    .sidebar__close:hover {
        color: #30ff36;
        transform: rotate(90deg);
    }

    .sidebar__nav {
        margin-top: 80px;
        padding: 20px 10px;
    }

    .sidebar__link {
        font-size: 18px;
        padding: 14px 20px;
    }

    .main {
        margin-left: 0;
        padding: 0;
        padding-top: 50px;
    }

    .container {
        padding: 20px;
    }

    .content {
        padding: 0!important;
    }
    
    .header .container {
        display: flex;
        align-items: center;
        gap: 0px;
        flex-wrap: wrap;
        padding: 0 16px;
    }

    .header__logo {
        flex: 1;
        display: flex;
        justify-content: center;
        order: 2;
    }

    .header__logo img {
        height: 50px;
        object-fit: contain;
    }

    .header__actions {
        position: absolute;
        top: 43px;
        left: 0;
        width: 100%;
        display: flex;
        gap: 10px;
        padding: 10px;
        background: linear-gradient(0deg, #61327C -81.25%, #6F4B3A 63.75%);
    }

    .btn {
        flex: 1;
        padding: 10px 20px;
        font-size: 20px;
        width: auto;
        height: auto;
        min-height: 40px;
    }

    .btn--login,
    .btn--register {
        padding: 8px 15px;
        background-size: 100% 100%;
        z-index: 2;
    }

    .hero {
        min-height: auto;
        display: flex;
        flex-direction: column;
        background-image: url('../img/mobile-bunner.webp');
        background-position: top center;
        background-size: cover;
        margin: 10px;
        border: 4px solid #f19100;
        border-radius: 8px;
        overflow: visible;
        box-shadow: inset 0 0 0 2px #3D2A1E;
        min-height: 340px;
        display: flex;
        justify-content: flex-end;
    }

    .hero .container {
        z-index: 1;
        padding: 0;
        width: 100%;
    }

    .hero::before {
        display: none;
    }

    .hero__wrapper {
        display: flex;
        flex-direction: column;
        min-height: 250px;
    }

    .hero__content {
        margin-top: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        padding: 15px;
        background: #1B110E;
        border-top: 3px solid #8B6914;
    }

    .hero__text {
        flex: 1;
    }

    .hero__title {
        display: none;
    }

    .hero__subtitle {
        font-size: 16px;
        font-family: 'Bangers', cursive;
        color: #FFB800;
        background: transparent;
        padding: 0;
        margin: 0;
        letter-spacing: 1px;
        line-height: 1.3;
        border-radius: 0;
        -webkit-text-stroke: 0.5px #2F1D18;
    }

    .btn--hero {
        padding: 15px 30px;
        font-size: 18px;
        flex-shrink: 0;
        white-space: nowrap;
    }

    .lexical-table-container {
        overflow-x: auto;
    }

    .lexical-table {
        min-width: 400px;
        white-space: normal;
    }

    .lexical-table td {
        padding: 6px;
        font-size: 14px;
    }

    .table-label {
        font-size: 14px;
    }

    .table-value {
        font-size: 14px;
    }

    h1 {
        font-size: 38px;
        line-height: 38px;
    }

    h2 {
        font-size: 32px;
        line-height: 34px;
    }

    h3 {
        font-size: 28px;
        line-height: 30px;
    }

    h4 {
        font-size: 24px;
        line-height: 26px;
    }

    h5 {
        font-size: 20px;
        line-height: 24px;
    }

    h6 {
        font-size: 19px;
        line-height: 20px;
    }

    p {
        font-size: 16px;
        line-height: 22px;
    }

    ul, ol {
        font-size: 16px;
        line-height: 22px;
    }

    .footer {
        margin-top: 48px;
    }

    .footer .container {
        padding: 0 16px;
    }

    .footer__logo {
        margin-bottom: 24px;
    }

    .footer__logo img {
        max-width: 160px;
    }

    .footer__nav {
        flex-direction: column;
        gap: 16px;
        margin-bottom: 24px;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .footer__link {
        font-size: 14px;
    }

    .footer__licenses {
        gap: 16px;
        margin-bottom: 20px;
    }

    .footer__licenses img {
        height: 32px;
        padding: 0;
    }

    .footer__payments {
        gap: 16px;
        margin-bottom: 24px;
    }

    .footer__payments img {
        height: 30px;
        padding: 0;
    }

    .payments {
        padding: 30px 0;
        margin-top: 30px;
    }

    .payments__track {
        gap: 20px;
    }

    .payments__item img {
        height: 50px;
    }

    .footer__disclaimer p,
    .footer__copyright p {
        font-size: 12px;
        line-height: 18px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .hero__title {
        font-size: 40px;
    }
}

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

    .overlay {
        display: none;
    }

    .sidebar {
        display: none;
    }

    .header .container {
        display: flex;
    }

    .header__logo {
        flex: 0 0 auto;
    }

    .header__nav {
        display: flex;
        gap: 32px;
        align-items: center;
        flex: 1;
        justify-content: center;
    }

    .header__link {
        color: #E2D2BB;
        text-decoration: none;
        font-size: 14px;
        font-weight: 400;
        transition: color 0.3s ease;
        position: relative;
        font-family: 'Bangers', cursive;
        letter-spacing: 1px;
    }

    .header__link:hover {
        color: #ffffff;
    }

    .header__actions {
        display: flex;
        gap: 8px;
    }

    .btn {
        padding: 10px 35px;
    }

    .hero {
        min-height: 450px;
        display: flex;
        align-items: center;
    }

}

