@font-face {
    font-family: 'Fira Sans Condensedv Bold Italic';
    src: url('../font/fira-sans-condensed.bold-italic.otf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Fira Sans Condensed Bold';
    src: url('../font/fira-sans-condensed.bold.otf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Fira Sans Condensed Regular';
    src: url('../font/fira-sans-condensed.regular.otf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

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

body {
    font-family: 'Fira Sans Condensed Regular', sans-serif;
    background: #151E28;
    color: #ffffff;
    font-size: 18px;
    line-height: 1.2;
    font-weight: normal;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fira Sans Condensed Bold', sans-serif;
    font-weight: 800;
    color: #FFFFFF;
    padding: 10px 0;
    text-shadow: 1px 2px 2px #0c1221, 1px 1px 1px #272241;
}

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: #EFBB4A;
}
.content a:hover {
    color: #EFBB4A;
    text-decoration: underline;
}

.header {
    position: sticky;
    top: 0;
    background: url('../img/Header_Frame.png') no-repeat center center;
    background-size: cover;
    z-index: 100;
    padding: 5px 0;
}

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

.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: 25px;
    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: 15px 30px;
    font-family: 'Fira Sans Condensedv Bold Italic', sans-serif;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    color: #FFFFFF;
    text-shadow: 1px 2px 2px #0c1221, 1px 1px 1px #272241;
    line-height: 0.9;
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: url('../img/button.png') no-repeat;
    background-size: 100% 100%;
    background-position: center;
}

.btn--register {
    transition: all 0.3s ease;
    animation: pulse 2s ease-in-out infinite;
}

/* Shine effect for register button */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shine 3s ease-in-out infinite;
}

.btn--hero {
    display: inline-block;
    text-decoration: none;
    background: url('../img/hero-btn.png') no-repeat;
    background-size: 100% 100%;
    background-position: center;
    border: none;
    color: #FFFFFF;
    font-family: 'Fira Sans Condensedv Bold Italic', sans-serif;
    font-weight: 800;
    font-size: 25px;
    text-transform: uppercase;
    padding: 15px 45px 20px 45px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-shadow: 1px 2px 2px #0c1221, 1px 1px 1px #272241;
    animation: pulse 2s ease-in-out infinite;
}

/* Shine effect for hero button */
.btn--hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shine 2.5s ease-in-out infinite;
}

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

/* Keyframe animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

.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%, #b1db00 0%, transparent 50%), radial-gradient(circle at 50% 0%, #b1db00 0%, #b1db00 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: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;
    background-image: url('../img/banner.webp');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
}

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

.hero__subtitle {
    font-family: 'Fira Sans Condensed Bold', sans-serif;
    font-weight: 800;
    color: #ffffff;
    font-size: 16px;
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 2px #00000026, 2px 2px 2px #1C2127;
   padding: 6px 0 3px;
}

.hero__title {
    font-family: 'Fira Sans Condensedv Bold Italic', sans-serif;
    font-weight: 800;
    color: #FEDA38;
    font-size: 55px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 2px #00000026, 2px 2px 2px #1C2127;
    line-height: 1.2;
}

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

.content .container {
    position: relative;
    padding: 20px;
}

p {
    font-family: 'Fira Sans Condensed Regular', sans-serif;
    font-size: 17px;
    line-height: 28px;
    color: #ffffff;
    margin-bottom: 16px;
    font-weight: 400;
    letter-spacing: 1px;
}

ul, ol {
    font-family: 'Fira Sans Condensed Regular', sans-serif;
    font-size: 17px;
    line-height: 24px;
    color: #ffffff;
    margin-bottom: 16px;
    font-weight: 300;
    border-radius: 15px;
    padding: 20px 20px 13px 35px;
    background: radial-gradient(49.59% 45.37% at 49.59% 45.37%, #73051e 0%, #450312 100%);
    ;
    border: 0.6px solid #3297D280;
}


ul li::marker {
   color: #FFE500;
}

ol {
    counter-reset: list-counter;
    list-style: none;
    padding-left: 45px;
}

ol li {
    counter-increment: list-counter;
    position: relative;
    text-shadow: 1px 2px 2px #0c1221, 1px 1px 1px #272241;
}

ol li::before {
    content: counter(list-counter);
    position: absolute;
    left: -35px;
    top: 0;
    width: 24px;
    height: 24px;
    background: #FFE500;
    border-radius: 50%;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

ul {
    list-style-type: disc;
}


.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: #450312;
    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: #ffffff;
    font-weight: normal;
    text-align: left;
}

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

.footer {
    background:#450312;
    padding: 0 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;
    margin-bottom: 32px;
}

.footer-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.footer__link {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Fira Sans Condensed Regular', sans-serif;
}

.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 {
    width: auto;
    object-fit: contain;
    background: #1c283670;
    padding: 5px;
    border-radius: 10px;
}

.footer__disclaimer {
    margin-bottom: 16px;
}

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

.footer__copyright p {
    font-size: 14px;
    line-height: 20px;
    color: #ffffff;
    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: #450312;
        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 .container {
        padding: 10px;
    max-width: 95%;
    }
    
    .header .container {
        display: flex;
        align-items: center;
        gap: 0px;
        flex-wrap: wrap;
        padding: 5px 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: 55px;
        left: 0;
        width: 100%;
        display: flex;
        gap: 10px;
        padding: 5px;
        background: url(../img/Header_Frame.png) no-repeat center center;
        background-size: cover;
      }

    .btn {
        flex: 1;
        font-size: 16px;
        width: auto;
        height: auto;
    }

    .hero {
        min-height: 375px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: center;
        background-image: url('../img/mobile-mobile.png');
        background-size: cover;
        background-position: center;
        margin-bottom: 0px;
    }
    .hero .container {
        z-index: 1;
        flex-direction: column;
        gap: 0px;
    }
    .hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(360deg, #162334 10.48%, rgb(0 0 0 / 42%) 36%, rgba(4, 38, 77, 0) 80.23%);
        z-index: 0;
        pointer-events: none;
    }


    .hero__content {
        position: static;
        text-align: center;
        background: none;
        border: none;
        border-radius: 0;
        box-shadow: none;
        padding: 0;
    }

    .hero__title {
        font-size: 35px;
        margin-bottom: 10px;
    }

    .hero__subtitle {
        font-size: 14px;
        margin-bottom: 5px;
        padding: 3px 0 0;
    }

    .hero__content::before{
        display: none;
    }

    .btn--hero {
        padding: 15px 40px 20px;
        font-size: 20px;
    }

    .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 {
        margin-bottom: 24px;
    }

    .footer-menu {
        gap: 16px;
        justify-content: center;
    }

    .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: #FFDC7C;
        text-shadow: 1px 2px 2px #0c1221, 1px 1px 1px #272241;
        text-decoration: none;
        font-size: 14px;
        transition: color 0.3s ease;
        position: relative;
        font-family:  'Fira Sans Condensed Bold', sans-serif;
        font-weight: 800;
        letter-spacing: 0.4px;
    }

    .header__link:hover {
        color: #ffffff;
    }

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

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

    .hero__content {
        max-width: 50%;
    }

}

.content .container img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    padding: 15px 0;
}

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

[dir="rtl"] .hero .container {
    display: flex;
    justify-content: flex-end;
}

[dir="rtl"] .hero__content {
    text-align: center;
}

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