@font-face {
    font-family: 'Bebas Neue Pro';
    src: url('../font/Bebas Neue Pro SemiExpanded Bold Italic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'Inter';
    src: url('../font/Inter_24pt-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

@keyframes neonPulse {
    0%, 100% {
        box-shadow: 0 0 10px #e28229, 0 0 20px #e28229, 0 0 30px #400000, inset 0 0 15px #400000;
    }
    50% {
        box-shadow: 0 0 20px #e28229, 0 0 30px #e28229, 0 0 40px #400000, inset 0 0 20px #400000;
    }
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(0deg, #291B0F, #291B0F),
    linear-gradient(90deg, rgba(86, 60, 39, 0) 0%, rgba(86, 60, 39, 0.72) 61.46%, rgba(86, 60, 39, 0.9) 100%);
    
    color: #FFF1D2;
    font-size: 18px;
    line-height: 24px;
    font-weight: normal;
}

.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: 56px;
    line-height: 64px;
    font-weight: bold;
    color: #fff;
    padding: 10px 0;
}

h2 {
    font-size: 40px;
    line-height: 46px;
    font-weight: bold;
    color: #FFBE28;
    padding: 10px 0;
}

h3 {
    font-size: 32px;
    line-height: 40px;
    font-weight: bold;
    color: #FFBE28;
    padding: 10px 0;
}

h4 {
    font-size: 28px;
    line-height: 36px;
    font-weight: bold;
    color: #FFBE28;
    padding: 10px 0;
}

h5 {
    font-size: 24px;
    line-height: 30px;
    font-weight: bold;
    color: #98C0F4;
    padding: 10px 0;
}

h6 {
    font-size: 18px;
    line-height: 22px;
    font-weight: bold;
    color: #FFBE28;
    padding: 10px 0;
}
.payload-richtext p > a {
    color: #FFC639;
    font-weight: 500;
}

.payload-richtext p > a:hover {
    text-decoration: underline;
    color: #ffffff;
}
.main img {
    width: 100%;
    max-width: 980px;
    height: auto;
    display: block;
    margin: 0 auto;
    padding: 10px 0;
}

.header {
    position: sticky;
    top: 0;
    background: linear-gradient(180deg, rgb(86 60 39) 0%, #291B0F 100%);
    z-index: 100;
    border-bottom: 1px solid #39281A;
    padding: 10px 0;
}

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

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

.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: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    border-radius: 10px;
    border: 1px solid #155BA1;
    box-sizing: border-box;
}

.btn--secondary {
    background: radial-gradient(50% 53.19% at 50% 50%, #e28229 0%, #5E310C 100%), linear-gradient(180deg, rgba(255, 255, 255, 0.18) 48.08%, rgba(0, 0, 0, 0.18) 51.44%);

    background-blend-mode: overlay;
    border: 1px solid #400000;
    color: #ffffff;
    position: relative;
}

.btn--register {
    position: relative;
    overflow: hidden;
    animation: neonPulse 2s ease-in-out infinite;
}


.btn--hero {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    background: radial-gradient(140.26% 186.82% at 50% 39.23%, #e28229 18.01%, #472102 63.04%, #AE5B0E 100%), radial-gradient(39.03% 81.59% at 50% 114.67%, #ae5b0e 0%, rgba(255, 234, 0, 0) 100%), linear-gradient(180deg, rgba(255, 255, 255, 0.4) 48.08%, rgb(0 0 0 / 0%) 51.44%);
    background-blend-mode: overlay;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    color: #FFFFFF;
    font-family: 'Bebas Neue Pro', sans-serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 2px;
    padding: 20px 60px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px #ae5b0e3b, 0 8px 30px rgba(255, 119, 1, 0.2), inset 0 2px 0 rgba(255, 255, 255, 0.3), inset 0 -2px 8px #ae5b0ec4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn--hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px #ae5b0e5c, 0 12px 40px rgba(255, 119, 1, 0.3), inset 0 2px 0 rgba(255, 255, 255, 0.3), inset 0 -2px 8px #ae5b0ec4;
}

.btn--hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.5),
        transparent
    );
    animation: shine 3s infinite;
}

.sidebar {
    position: fixed;
    left: 0;
    top: 80px;
    width: 200px;
    height: calc(100vh - 90px);
    background: #031D41;
    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: #291b0f;
    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(96, 181, 242, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 100% 90%, rgba(96, 181, 242, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 50% 0%, #60B5F2 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;
}

.hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 48px;
    width: 100%;
    background-image: url('../img/baner.webp');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(76.37deg, #021024 10.48%, rgba(4, 38, 77, 0.8) 36%, rgba(4, 38, 77, 0) 80.23%);
    z-index: 1;
    pointer-events: none;
}

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

.hero__subtitle {
    font-family: 'Bebas Neue Pro', sans-serif;
    color: #E9F9FF;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.hero__title {
    font-family: 'Bebas Neue Pro', sans-serif;
    color: #FFC639;
    font-size: 55px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

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

p {
    font-size: 18px;
    line-height: 24px;
    color: #FFF1D2;
    margin-bottom: 16px;
}

ul, ol {
    font-size: 18px;
    line-height: 24px;
    color: #FFF1D2;
    margin-bottom: 16px;
    padding-left: 24px;
}

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;
}

.lexical-table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    background: #190C05;
    border-radius: 8px;
    overflow: hidden;
    white-space: nowrap;
    margin: 20px 0;
}

.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: 15px 10px 0 15px !important;
}

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

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

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

.footer {
    background: linear-gradient(180deg, rgb(86 60 39) 0%, #291B0F 100%);
    padding: 48px 0 32px;
    margin-top: 64px;
    text-align: center;
    border-radius: 20px 20px 0 0;
}

.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: #fff1d2;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: #30ff36;
}

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

.footer__licenses img {
    height: 60px;
    width: auto;
    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: 60px;
    width: auto;
    object-fit: contain;
}

.footer__disclaimer {
    margin-bottom: 16px;
}

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

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

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

    .sidebar {
        position: fixed;
        right: -100%;
        left: auto;
        top: 0;
        width: 100%;
        height: 100vh;
        background: #39281a;
        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: 60px;
    }

    .container {
        padding: 0 16px;
    }

    .content {
        padding: 16px 0;
    }
    
    .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;
    }

    .header__actions {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        display: flex;
        gap: 10px;
        padding: 16px;
    }

    .btn {
        flex: 1;
        padding: 10px 12px;
        font-size: 16px;
    }

    .hero {
        background-image: url('../img/mobile-baner.webp');
        min-height: 375px;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        background-position: center;
        margin-bottom: 0px;
    }
    .hero .container {
        z-index: 1;
        width: 100%;
    }
    .hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(360deg, #291b0f 10.48%, rgba(86, 60, 39, 0.9) 36%, rgba(4, 38, 77, 0) 80.23%);
        z-index: 0;
        pointer-events: none;
    }

    .hero__content {
        position: relative;
        z-index: 2;
        text-align: center;
        padding: 20px 10px 30px;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .hero__title {
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 5px;
    }

    .hero__subtitle {
        font-size: 14px;
        line-height: 1.4;
    }

    .btn--hero {
        padding: 14px 40px;
        margin-top: 10px;
        align-self: center;
    }

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

    .lexical-table {
        min-width: 450px;
        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 {
        padding: 32px 0 24px;
        margin-top: 48px;
    }

    .footer__logo {
        margin-bottom: 24px;
    }

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

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

    .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;
    }

    .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: #FFFFFF;
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        transition: color 0.3s ease;
        position: relative;
    }

    .header__link:hover {
        color: #ffd366;
    }

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

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

    .btn--secondary {
        font-size: 16px;
    }
}

