@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 {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px 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: 24px;
    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', sans-serif;
    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;
}

/* Header buttons (login/register) */
.btn--header {
    display: inline-flex;
    align-items: stretch;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn--header:hover {
    transform: scale(1.05);
}

.btn--register {
    animation: pulse-btn 1.5s ease-in-out infinite;
}

.btn--header-left {
    width: 40px;
    background: url('../img/header-btn-left.png') no-repeat center right;
    background-size: auto 100%;
}

.btn--header-center {
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../img/header-btn-cntr.png') repeat-x center;
    background-size: 100% 100%;
    
    /* Стили текста */
    color: #FFB800;
    font-family: 'Bangers', sans-serif;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    text-shadow: 1px 1px 0 #2F1D18;
    padding: 12px 10px;
    white-space: nowrap;
}

.btn--header-right {
    width: 40px;
    background: url('../img/header-btn-rght.png') no-repeat center left;
    background-size: auto 100%;
}


.btn--hero {
    display: inline-flex;
    align-items: stretch;
    text-decoration: none;
    cursor: pointer;
    animation: pulse-btn 1.5s ease-in-out infinite;
    transition: transform 0.2s;
}

.btn--hero:hover {
    transform: scale(1.05);
}

.btn--hero-left {
    width: 75px;
    background: url('../img/left-hero-btn.webp') no-repeat center right;
    background-size: auto 100%;
}

.btn--hero-center {
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../img/center-hero-btn.webp') repeat-x center;
    background-size: 100% 100%;
    
    /* Стили текста */
    color: #FFB800;
    font-family: 'Bangers', sans-serif;
    font-size: 25px;
    font-weight: 700;
    text-transform: uppercase;
    text-shadow: 2px 2px 0px #2F1D18;
    padding: 20px 15px;
    white-space: nowrap;
    line-height: 1.2;
}

.btn--hero-right {
    width: 75px;
    background: url('../img/right-hero-btn.webp') no-repeat center left;
    background-size: auto 100%;
}

.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: visible;
    background: url('../img/desk-banner.webp') no-repeat top center;
    background-size: cover;
    min-height: 400px;
    display: flex;
    align-items: center;
}

/* Градиент под баннером */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #36241F 0%, #0E0941 100%);
    z-index: -1;
}

/* Переход из hero в main */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 25%;
    background: linear-gradient(180deg, #6f4b3a00 0%, #36241f 100%);
    z-index: 0;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 10;
    max-width: 550px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.hero__subtitle {
    font-family: 'Bangers', sans-serif;
    color: #E06F1A;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    background:#291915;
    border-radius: 10px;
    padding: 5px 20px;
    width: fit-content;
    text-shadow: 2.5px 2.5px 0px #00000066;
}

.hero__text {
    max-width: 750px;
}

.hero__title {
    font-family: 'Bangers', sans-serif;
    color: #ffffff;
    font-size: 60px;
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: 2px;
    text-shadow: 4.5px 4.5px 0px #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', sans-serif;
    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: 35px;
    }

    .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;
        justify-content: space-around;
        gap: 10px;
        padding: 5px 0;
        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--header {
        z-index: 2;
    }
    
    .btn--header-left,
    .btn--header-right {
        width: 35px;
    }
    
    .btn--header-center {
        font-size: 14px;
        padding: 8px 8px;
        justify-content: center;
    }

    .hero {
        flex-direction: column;
        background: url('../img/mobile-banner.webp') no-repeat top center;
        background-size: cover;
        overflow: visible;
        min-height: 340px;
        display: flex;
        justify-content: flex-end;
    }
    
    .hero::after {
        bottom: 0;
        height: 75%;
    }

    .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: 5px;
        padding: 15px;
    }

    .hero__text {
        flex: 1;
    }

    .hero__title {
        text-shadow: 3.5px 3.5px 0px #2F1D18;
        font-size: 34px;
        margin-bottom: 0;
    }

    .hero__subtitle {
        font-size: 16px;
        font-family: 'Bangers', sans-serif;
        color: #E06F1A;
        background: #291915;
        padding: 5px 10px;
        margin-bottom: 7px;
        letter-spacing: 1px;
        line-height: 1.3;
        border-radius: 12px;
        text-shadow: 2px 2px 0px #2F1D18;
    }

    .btn--hero {
        flex-shrink: 0;
    }
    
    .btn--hero-left,
    .btn--hero-right {
        width: 50px;
    }
    
    .btn--hero-center {
        font-size: 16px;
        padding: 15px 10px;
    }

    .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: #FFFFFF;
        text-decoration: none;
        font-size: 14px;
        font-weight: 400;
        transition: color 0.3s ease;
        position: relative;
        font-family: 'Bangers', sans-serif;

        text-shadow: 2.2px 2.2px 0px #2F1D18;
        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;
    }

}

/* RTL-блоке */
[dir="rtl"] [style*="text-align: left"] {
    text-align: inherit !important;
}

/* --- Slots Block Styles --- */
.slots-wrapper {
  margin: 30px 0;
}
.slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  align-items: start;
}
.slot-card {
  text-align: center;
  border-radius: 8px;
  transition: transform 0.2s ease, background 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
}
.slot-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  border-radius: 8px;
  transition: background 0.2s;
  z-index: 1;
}
.slot-image {
  border-radius: 6px;
  overflow: hidden;
}
.slot-image img {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0;
  padding: 0;
}
.slot-name {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  width: calc(100% - 16px);
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  background: #450C88;
  color: #FFFFFF;
  border-radius: 12px;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 2;
}
.slot-card:hover .slot-name{
  opacity: 1;
}
.slot-card:hover::before {
  background: rgba(0, 0, 0, 0.6);
  opacity: 1;
}
@media (max-width: 600px) {
  .slots-grid {
    gap: 10px;
  }
  .slot-name {
    font-size: 12px;
  }
}
