:root {
    color-scheme: light dark;
    font-family: "IntroHeadHUC", sans-serif;
    line-height: 1.6;
    background-color: #14130F;
    color: #f5f7fa;
}

body {
    margin: 0;
    background: #14130F;
    overflow-x: hidden;
}

img,
video {
    max-width: 100%;
    height: auto;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: #f5cc58;
    text-decoration: none;
}

a:hover,
a:focus {
    text-decoration: underline;
}

.eld-header {
    background: #1a1f0f;
    border-bottom: 1px solid rgba(245, 204, 88, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
}

.eld-header__container {
    margin: 0 auto;
    padding: 0.5rem 2rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto;
    align-items: center;
    gap: 1rem;
    position: relative;
    height: 72px;
    box-sizing: border-box;
}

.eld-header__open-menu {
    grid-column: 1;
    justify-self: start;
}

.eld-header-nav {
    grid-column: 1;
    justify-self: start;
}

.eld-header__logo {
    grid-column: 2;
    justify-self: center;
}

.eld-header__dynamic {
    grid-column: 3 / -1;
    justify-self: end;
}

@media (max-width: 1200px) {
    .eld-header__container {
        padding: 0.5rem 1.5rem;
        gap: 0.75rem;
        height: 72px;
    }
}

.eld-header__open-menu {
    display: none;
    align-items: center;
}

@media (max-width: 992px) {
    .eld-header__open-menu {
        display: flex;
    }
}

.eld-menu-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    position: relative;
}

.eld-menu-button__bg {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 215, 64, 0.4), rgba(33, 27, 9, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
}

.eld-menu-button__decor,
.eld-menu-button__decor::before,
.eld-menu-button__decor::after {
    content: "";
    display: block;
    width: 18px;
    height: 2px;
    background: #f5cc58;
    border-radius: 999px;
}

.eld-menu-button__decor {
    position: relative;
}

.eld-menu-button__decor::before {
    position: absolute;
    top: -6px;
    left: 0;
}

.eld-menu-button__decor::after {
    position: absolute;
    bottom: -6px;
    left: 0;
}

.eld-menu-button.is-active .eld-menu-button__decor {
    background: transparent;
}

.eld-menu-button.is-active .eld-menu-button__decor::before {
    top: 0;
    transform: rotate(45deg);
}

.eld-menu-button.is-active .eld-menu-button__decor::after {
    bottom: 0;
    transform: rotate(-45deg);
}

.eld-header-nav {
    display: flex;
}

@media (max-width: 768px) {
    .eld-header-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: #1a1f0f;
        border-bottom: 1px solid rgba(245, 204, 88, 0.2);
        z-index: 99;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
        display: block;
    }
    
    .eld-header-nav.is-open {
        max-height: 400px;
        padding: 1rem 0;
    }
    
    .eld-header-nav__list {
        flex-direction: column;
        gap: 0;
        padding: 0 1.5rem;
    }
    
    .eld-header-nav__item {
        width: 100%;
    }
    
    .eld-header-nav__link {
        width: 100%;
        padding: 1rem;
        justify-content: flex-start;
        border-radius: 8px;
    }
}

.eld-header-nav__list {
    list-style: none;
    display: flex;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
}

.eld-header-nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.625rem;
    border-radius: 8px;
    color: #f5f7fa;
    font-size: 0.875rem;
    transition: background 0.2s ease-in-out, color 0.2s ease-in-out;
}

.eld-header-nav__decor {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    border: 1px solid rgba(245, 204, 88, 0.25);
    opacity: 0;
    transition: opacity 0.2s ease-in-out;
}

.eld-header-nav__link:hover .eld-header-nav__decor,
.eld-header-nav__link:focus-visible .eld-header-nav__decor {
    opacity: 1;
}

.eld-header-nav__icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    border-radius: 4px;
    background: radial-gradient(circle at 40% 35%, rgba(255, 215, 128, 0.9), rgba(115, 86, 24, 0.95));
    position: relative;
    overflow: hidden;
}

.eld-header-nav__icon::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 6px;
    border: 1px solid rgba(255, 245, 220, 0.3);
    opacity: 0.6;
}

.eld-header-nav__icon--games-active,
.eld-header-nav__icon--actions-active,
.eld-header-nav__icon--gift-active {
    display: none;
}

.eld-header__logo {
    display: flex;
    justify-content: center;
}

.eld-header__logo-link {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.5rem;
    border-radius: 999px;
    
}

.eld-header__logo-picture {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.eld-header__logo-img {
    display: block;
    height: auto;
    max-width: 200px;
    max-height: 56px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
}

@media (max-width: 1200px) {
    .eld-header__logo-img {
        max-width: 180px;
        max-height: 56px;
    }
}

@media (max-width: 992px) {
    .eld-header__logo-img {
        max-width: 160px;
        max-height: 56px;
    }
}

@media (max-width: 768px) {
    .eld-header__logo-img {
        max-width: 154px;
        max-height: 56px;
    }
}

@media (max-width: 480px) {
    .eld-header__logo-img {
        max-width: 132px;
        max-height: 56px;
    }
}

.eld-header__dynamic {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}


.eld-registration-banner {
    background: linear-gradient(135deg, rgba(245, 204, 88, 0.2), rgba(36, 28, 12, 0.8));
    border: 1px solid rgba(245, 204, 88, 0.35);
    border-radius: 16px;
    padding: 0.375rem 0.75rem;
    backdrop-filter: blur(8px);
}

.eld-registration-banner__panel {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.eld-registration-banner__icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, #f5cc58, #d89b2b);
    position: relative;
}

.eld-registration-banner__icon::after {
    content: "";
    position: absolute;
    inset: 6px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.25);
}

.eld-registration-banner__content {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.eld-registration-banner__headline {
    font-weight: 700;
    font-size: 0.875rem;
    color: #f5cc58;
    line-height: 1.2;
}

.eld-registration-banner__caption {
    font-size: 0.7rem;
    color: rgba(245, 247, 250, 0.8);
    line-height: 1.2;
}

.eld-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.eld-button--primary {
    background: linear-gradient(135deg, #f5cc58, #d89b2b);
    color: #10161f;
}

.eld-button--rounded {
    border-radius: 16px;
}

.eld-button--outline {
    background: transparent;
    border: 1px solid rgba(245, 204, 88, 0.35);
    color: #f5cc58;
    padding: 0.5rem 1rem;
}

.eld-button:hover,
.eld-button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
}

.eld-button__icon--login {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, rgba(255, 215, 128, 1), rgba(115, 86, 24, 1));
    display: inline-flex;
    position: relative;
}

.eld-button__icon--login::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    border: 2px solid rgba(16, 22, 31, 0.8);
}

.eld-page-content {
    width: 100%;
}

/* Slider Styles */
.eld-slider {
    position: relative;
    width: 100%;
    height: 400px;
    max-height: 400px;
    background:
        linear-gradient(90deg, #15130f, rgba(21, 19, 15, .6) 50%, #15130f),
        linear-gradient(180deg, #15130f, rgba(21, 19, 15, 0) 16%),
        url('/assets/images/slider/slider-bg.webp') center/cover no-repeat;
    overflow: hidden;
}

.eld-slider__container {
    position: relative;
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
    height: 100%;
}

.eld-slider__wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

@media (max-width: 992px) {
    .eld-slider__container {
        width: 100%;
        padding: 0;
    }
}

@media (max-width: 768px) {
    .eld-slider__container {
        width: 100%;
        padding: 0;
    }
}

.eld-slider__slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.eld-slider__slide.active {
    display: block;
    opacity: 1;
    position: absolute;
}

.eld-slider__slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.eld-slider__content {
    position: relative;
    z-index: 2;
    max-width: 1360px;
    
    margin: 0 auto;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 2rem;
    padding: 0 2rem;
}

.eld-slider__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.eld-slider__image {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.eld-slider__img {
    width: 536px;
    height: 380px;
    object-fit: contain;
    object-position: center;
}

@media (min-width: 769px) and (max-width: 992px) {
    .eld-slider__content {
        grid-template-columns: 1fr auto;
        gap: 1.5rem;
        padding: 0 1.5rem;
    }
    
    .eld-slider__image {
        order: 0;
        justify-content: center;
    }
    
    .eld-slider__img {
        width: 100%;
        max-width: 400px;
        height: auto;
        max-height: 300px;
    }
}

@media (max-width: 768px) {
    .eld-slider__content {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .eld-slider__image {
        order: -1;
        justify-content: center;
    }
    
    .eld-slider__img {
        max-width: 100%;
        max-height: 250px;
    }
}

.eld-slider__label {
    font-size: 22px;
    font-weight: 500;
    color: #dbc17d;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    line-height: 1.2;
}

.eld-slider__title {
    font-size: 43px;
    font-weight: 700;
    color: #f5cc58;
    text-transform: uppercase;
    line-height: 1.1;
}

.eld-slider__amount {
    font-size: 38px;
    font-weight: 700;
    color: #f5cc58;
    text-transform: uppercase;
    line-height: 1.1;
}

.eld-slider__button {
    align-self: flex-start;
    margin-top: 0;
    width: 158px;
    height: 38px;
    font-size: 18px;
    padding: 0;
}

.eld-slider__navigation {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 40px;
    display: flex;
    gap: 12px;
    z-index: 10;
    max-width: 1360px;
    width: 90%;
    padding: 0 2rem;
    box-sizing: border-box;
}

@media (max-width: 992px) {
    .eld-slider__navigation {
        width: 95%;
        padding: 0 1.5rem;
    }
}

@media (max-width: 768px) {
    .eld-slider__navigation {
        width: 100%;
        padding: 0 1rem;
    }
}

.eld-slider__arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(26, 31, 15, 0.9);
    border: 1px solid rgba(245, 204, 88, 0.35);
    color: #f5cc58;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.eld-slider__arrow:hover,
.eld-slider__arrow:focus-visible {
    background: rgba(245, 204, 88, 0.2);
    border-color: rgba(245, 204, 88, 0.6);
    transform: scale(1.1);
}

.eld-slider__arrow:active {
    transform: scale(0.95);
}

.eld-slider__arrow svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 1200px) {
    .eld-slider {
        height: auto;
        min-height: 400px;
    }
    
    .eld-slider__title {
        font-size: 29px;
    }
    
    .eld-slider__amount {
        font-size: 24px;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .eld-slider {
        height: auto;
        min-height: 400px;
    }
    
    .eld-slider__title {
        font-size: 32px;
    }
    
    .eld-slider__amount {
        font-size: 26px;
    }
    
    .eld-slider__navigation {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 40px;
    }
}

@media (max-width: 768px) {
    .eld-slider__navigation {
        position: relative;
        left: auto;
        transform: none;
        bottom: auto;
        margin-top: 1.5rem;
        margin-left: 0;
        padding: 0;
        justify-content: flex-start;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .eld-slider__text {
        gap: 14px;
        align-items: flex-start;
        text-align: left;
    }
    
    .eld-slider__button {
        align-self: flex-start;
    }
}

@media (max-width: 768px) {
    .eld-slider {
        min-height: 350px;
    }
    
    .eld-slider__text {
        gap: 0.9rem;
        align-items: center;
        text-align: center;
    }
    
    .eld-slider__label {
        font-size: 18px;
    }
    
    .eld-slider__title {
        font-size: 17px;
        line-height: 1.2;
    }
    
    .eld-slider__amount {
        font-size: 14px;
        line-height: 1.2;
    }
    
    .eld-slider__button {
        width: 100%;
        max-width: 220px;
        height: 40px;
        font-size: 14px;
        align-self: center;
    }
    
    .eld-slider__navigation {
        margin-top: 1rem;
        margin-left: 0;
        padding: 0 1rem;
    }
    
    .eld-slider__arrow {
        width: 36px;
        height: 36px;
    }
    
    .eld-slider__arrow svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .eld-slider {
        min-height: 420px;
    }
    
    .eld-slider__title {
        font-size: 14px;
    }
    
    .eld-slider__amount {
        font-size: 12px;
    }
    
    .eld-slider__button {
        max-width: 148px;
        height: 36px;
        font-size: 18px;
    }
}

/* Games Navigation Menu */
.eld-games-nav {
    background: #1a1f0f;
    border-top: 1px solid rgba(245, 204, 88, 0.2);
    border-bottom: 1px solid rgba(245, 204, 88, 0.2);
    padding: 1rem 0;
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
}

.eld-games-nav__container {
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 2rem;
    box-sizing: border-box;
}

.eld-games-nav__icons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.eld-games-nav__icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    color: #f5f7fa;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
    padding: 0;
}

.eld-games-nav__icon-btn:hover {
    color: #f5cc58;
    transform: scale(1.1);
}

.eld-games-nav__icon-btn svg {
    width: 20px;
    height: 20px;
}

.eld-games-nav__menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.eld-games-nav__menu::-webkit-scrollbar {
    display: none;
}

.eld-games-nav__link {
    display: inline-block;
    padding: 0.5rem 0.625rem;
    color: #f5f7fa;
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.2s ease, background-color 0.2s ease;
    border-radius: 4px;
    flex-shrink: 0;
}

.eld-games-nav__link:hover {
    color: #f5cc58;
    background-color: rgba(245, 204, 88, 0.1);
}

.eld-games-nav__link--active {
    color: #f5cc58;
    background-color: rgba(245, 204, 88, 0.15);
    font-weight: 600;
}

@media (max-width: 1200px) {
    .eld-games-nav__container {
        width: 100%;
        padding: 0 1.5rem;
        gap: 0.75rem;
    }
    
    .eld-games-nav__menu {
        gap: 0.5rem;
    }
    
    .eld-games-nav__link {
        font-size: 0.8rem;
        padding: 0.5rem 0.5rem;
    }
}

@media (max-width: 992px) {
    .eld-games-nav__container {
        gap: 0.75rem;
        padding: 0 1.5rem;
    }
    
    .eld-games-nav__menu {
        gap: 0.4rem;
    }
    
    .eld-games-nav__link {
        font-size: 0.8rem;
        padding: 0.4rem 0.45rem;
    }
}

@media (max-width: 768px) {
    .eld-games-nav {
        padding: 0.75rem 0;
    }
    
    .eld-games-nav__container {
        padding: 0 1rem;
        gap: 0.5rem;
    }
    
    .eld-games-nav__menu {
        gap: 0.35rem;
    }
    
    .eld-games-nav__link {
        font-size: 0.8rem;
        padding: 0.35rem 0.4rem;
    }
}



.eld-games__container {
    padding-top: 32px;
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
    
    box-sizing: border-box;
    background: #2A2714;
    border-radius: 0;
}

.eld-games__list {
    
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
    justify-content: center;
}

.eld-games__item {
    margin: 0;
    padding: 0;
}

.eld-game-card {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 253 / 197;
    border-radius: 0;
    overflow: hidden;
    background: rgba(15, 20, 29, 0.6);
    border: 1px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.eld-game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border: 1px solid #ffc633;
}

.eld-game-card__wrap {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.eld-game-card__main {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 253 / 197;
    overflow: hidden;
}

.eld-game-card__img-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.eld-game-card__pic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.eld-game-card__name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.21rem;
    background: #3E3A1D;
    z-index: 2;
}

.eld-game-card__name-text {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #f5f7fa;
    line-height: 1.3;
    text-align: center;
}

.eld-game-card__flag {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 3;
    padding: 0;
    margin: 0;
    background: none;
    border: none;
}

.eld-game-card__flag--z-index {
    z-index: 4;
}

.eld-status-flag {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1;
}

.eld-status-flag--tournament {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.9), rgba(75, 0, 130, 0.9));
    color: #ffffff;
}

.eld-status-flag--popular {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.9), rgba(255, 165, 0, 0.9));
    color: #000000;
}

.eld-status-flag--developer {
    position: absolute;
    top: 0.5rem;
    right: 3rem;
    z-index: 3;
    padding: 0.25rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 6px;
    backdrop-filter: blur(4px);
}

.eld-status-flag__text {
    display: inline-flex;
    align-items: center;
}

.eld-game-card__flag-img {
    width: 32px;
    height: 20px;
    object-fit: contain;
    display: block;
}

.eld-game-card__hover {
    position: absolute;
    inset: 0;
    background: rgba(245, 204, 88, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.eld-game-card:hover .eld-game-card__hover {
    opacity: 1;
}

.eld-game-card__star {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(245, 204, 88, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 6;
    padding: 0;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
}

.eld-game-card__star:hover {
    background: rgba(245, 204, 88, 0.2);
    border-color: rgba(245, 204, 88, 0.6);
    transform: scale(1.1);
}

.eld-game-card__star-icon {
    width: 18px;
    height: 18px;
    color: #f5cc58;
    pointer-events: none;
}

.eld-game-card__star-icon--outline,
.eld-game-card__star-icon--filled {
    transition: opacity 0.3s ease;
}

.eld-game-card__star-icon--outline {
    opacity: 1;
}

.eld-game-card__star-icon--filled {
    opacity: 0;
}

.eld-game-card__star:hover .eld-game-card__star-icon--outline {
    opacity: 0;
}

.eld-game-card__star:hover .eld-game-card__star-icon--filled {
    opacity: 1;
}

@media (max-width: 1400px) {
    .eld-games__list {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

@media (max-width: 1200px) {
    .eld-games__list {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 10px;
    }
    
    .eld-games__container {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 992px) {
    
    
    .eld-games__list {
        grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
        gap: 10px;
    }
    
    .eld-games__container {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .eld-games__list {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 10px;
    }
    
    .eld-games__container {
        padding: 2rem 1rem;
    }
    
    .eld-game-card__name-text {
        font-size: 0.8rem;
    }
    
    .eld-status-flag {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
    }
    
    .eld-game-card__flag-img {
        width: 28px;
        height: 18px;
    }
    
    .eld-game-card__star {
        width: 28px;
        height: 28px;
    }
    
    .eld-game-card__star svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .eld-games__list {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 10px;
    }
    
    .eld-game-card__name {
        padding: 0.5rem;
    }
    
    .eld-game-card__name-text {
        font-size: 0.75rem;
    }
}

.eld-hero,
.eld-hero__content,
.eld-page-hero,
.eld-features__grid,
.eld-bonus-cards,
.eld-games-list,
.eld-about-content,
.eld-contacts-grid,
.eld-contact-form {
    max-width: 1360px;
    width: 90%;
    margin: 0 auto;
    padding: 2rem 0;
}

.eld-hero,
.eld-hero__content,
.eld-page-hero {
    text-align: center;
}

.eld-page-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
}

.eld-page-hero p {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: rgba(245, 247, 250, 0.8);
}

.eld-about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

@media (max-width: 768px) {
    .eld-hero,
    .eld-hero__content,
    .eld-page-hero,
    .eld-features__grid,
    .eld-bonus-cards,
    .eld-games-list,
    .eld-about-content,
    .eld-contacts-grid,
    .eld-contact-form {
        width: 95%;
        padding: 1.5rem 0;
    }
    
    .eld-about-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .eld-about-content article {
        padding: 1.5rem;
    }
    
    .eld-about-content h2 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }
    
    .eld-about-content p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .eld-hero,
    .eld-hero__content,
    .eld-page-hero,
    .eld-features__grid,
    .eld-bonus-cards,
    .eld-games-list,
    .eld-about-content,
    .eld-contacts-grid,
    .eld-contact-form {
        padding: 1rem 0;
    }
}

.eld-hero {
    background: url('/assets/images/eldorado-bg.jpg') center/cover no-repeat, rgba(0, 0, 0, 0.65);
    background-blend-mode: overlay;
    padding: 6rem 0;
    text-align: center;
}

.eld-hero__content h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
}

.eld-feature-card,
.eld-bonus-card,
.eld-games-list__item,
.eld-contact-card,
.eld-contact-form form {
    background: rgba(15, 20, 29, 0.9);
    border: 1px solid rgba(245, 204, 88, 0.15);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(6px);
}

.eld-contact-form h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #f5cc58;
    text-align: center;
}

@media (max-width: 768px) {
    .eld-contact-form form {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .eld-contact-form form {
        padding: 1rem;
    }
}

.eld-features__grid,
.eld-bonus-cards,
.eld-games-list__grid,
.eld-contacts-grid {
    display: grid;
    gap: 1.5rem;
}

.eld-features__grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

@media (max-width: 768px) {
    .eld-features__grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .eld-features__grid {
        gap: 0.75rem;
    }
    
    .eld-feature-card,
    .eld-contact-card {
        padding: 1rem;
    }
    
    .eld-feature-card h2,
    .eld-contact-card h2 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .eld-feature-card p,
    .eld-contact-card p {
        font-size: 0.9rem;
    }
}

.eld-games-list__grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    padding: 0;
    list-style: none;
}

.eld-contacts-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

@media (max-width: 768px) {
    .eld-contacts-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.eld-form-field {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.eld-form-field input,
.eld-form-field textarea {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(13, 18, 26, 0.9);
    color: #f5f7fa;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
}

.eld-form-field input:focus,
.eld-form-field textarea:focus {
    outline: none;
    border-color: rgba(245, 204, 88, 0.5);
    box-shadow: 0 0 0 2px rgba(245, 204, 88, 0.1);
}

@media (max-width: 768px) {
    .eld-contact-form {
        padding: 1.5rem 0;
    }
    
    .eld-contact-form h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .eld-form-field {
        margin-bottom: 1.25rem;
    }
    
    .eld-form-field input,
    .eld-form-field textarea {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .eld-contact-form .eld-button {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .eld-contact-form h2 {
        font-size: 1.3rem;
        margin-bottom: 1.25rem;
    }
    
    .eld-form-field input,
    .eld-form-field textarea {
        padding: 0.75rem 0.875rem;
        font-size: 0.9rem;
    }
    
    .eld-contact-form .eld-button {
        font-size: 0.9rem;
        padding: 0.75rem 1.25rem;
    }
}

.eld-footer {
    background: #14130F;
    border-top: 1px solid rgba(245, 204, 88, 0.2);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
}

.eld-footer__inner {
    max-width: 1360px;
    width: 90%;
    margin: 0 auto;
    color: rgba(245, 247, 250, 0.85);
    padding: 0 1rem;
}

/* Footer grid */
.eld-footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px 24px;
    align-items: start;
    justify-items: center;
    margin-bottom: 24px;
}

.eld-footer__feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #bfbba6;
    font-size: 12px;
}

.eld-footer__feature-title {
    color: #FFC633;
    font-weight: 600;
    font-size: 13px;
}

.eld-footer__feature img {
    width: 64px;
    height: 32px;
    object-fit: contain;
}

.eld-footer__logo-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    margin: 8px 0 20px 0;
}

.eld-footer__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #bfbba6;
}

.eld-footer__links {
    
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px 16px;
    width: 100%;
}

.eld-footer__link {
    color: #bfbba6;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.eld-footer__link:hover {
    color: #f5cc58;
    text-decoration: underline;
}

.eld-footer__note {
    margin-top: 12px;
    color: rgba(245,247,250,0.6);
    font-size: 12px;
}

@media (max-width: 992px) {
    
    .eld-footer__links {
        grid-template-columns: repeat(3, 1fr);
    }
    .eld-footer__logo-row {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .eld-footer {
        padding: 1.5rem 0;
    }
    
    .eld-footer__inner {
        width: 95%;
        font-size: 0.85rem;
    }
    
    .eld-footer__disclaimer {
        font-size: 0.8rem;
        margin-top: 0.75rem;
    }
    
    /* Prevent horizontal overflow on mobile */
    .eld-footer__inner,
    .eld-footer__grid,
    .eld-footer__logo-row,
    .eld-footer__links {
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    .eld-footer__logo-row {
        flex-wrap: wrap;
        gap: 16px;
    }
    .eld-footer__links {
        grid-template-columns: repeat(2, 1fr);
    }
}

.eld-footer__disclaimer {
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: rgba(245, 247, 250, 0.65);
}

@media (max-width: 992px) {
    .eld-header__container {
        grid-template-columns: auto 1fr auto;
        gap: 0.75rem;
        height: 72px;
        padding: 0.5rem 1.5rem;
    }
    
    .eld-header__open-menu {
        grid-column: 1;
        order: 1;
    }
    
    .eld-header-nav {
        grid-column: auto;
    }
    
    .eld-header__logo {
        grid-column: 2;
        order: 2;
        justify-self: center;
    }
    
    .eld-header__dynamic {
        grid-column: 3;
        order: 3;
        justify-self: end;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .eld-header-nav {
        display: flex;
        order: 4;
        grid-column: 1 / -1;
        justify-content: center;
        margin-top: 0.5rem;
    }
}

@media (max-width: 768px) {
    .eld-header__container {
        grid-template-columns: auto 1fr auto;
        padding: 0.5rem 1rem;
        gap: 0.5rem;
        height: 72px;
    }
    
    .eld-header__open-menu {
        grid-column: 1;
        order: 1;
    }
    
    .eld-header__logo {
        grid-column: 2;
        order: 2;
        justify-self: center;
    }
    
    .eld-header__dynamic {
        grid-column: 3;
        order: 3;
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
    
    .eld-header__dynamic .eld-registration-banner {
        display: none;
    }
    
    .eld-header__login .eld-button {
        width: 38px;
        height: 38px;
        min-width: 38px;
        padding: 0;
        border-radius: 50%;
        border: 1px solid rgba(245, 204, 88, 0.8);
        background: rgba(26, 31, 15, 0.9) url('/assets/images/btn-login.svg') center/20px 20px no-repeat;
        box-shadow: none;
    }
    
    .eld-header__login .eld-button:hover,
    .eld-header__login .eld-button:focus-visible {
        transform: none;
        box-shadow: 0 0 0 2px rgba(245, 204, 88, 0.15);
    }
    
    .eld-header__login .eld-button .eld-button__label {
        display: none;
    }
    
    .eld-header-nav {
        grid-column: auto;
        display: block;
    }
    
    .eld-hero {
        padding: 4rem 0;
    }
    
    
}

/* Login icon button for non-desktop screens */
@media (min-width: 769px) and (max-width: 992px) {
    .eld-registration-banner {
        display: none;
    }
    .eld-header__dynamic {
        position: static;
        background: transparent;
        border: none;
        padding: 0;
        justify-content: flex-end;
    }
    .eld-header__login .eld-button {
        width: 38px;
        height: 38px;
        min-width: 38px;
        padding: 0;
        border-radius: 50%;
        border: 1px solid rgba(245, 204, 88, 0.8);
        background: rgba(26, 31, 15, 0.9) url('/assets/images/btn-login.svg') center/20px 20px no-repeat;
        box-shadow: none;
    }
    .eld-header__login .eld-button:hover,
    .eld-header__login .eld-button:focus-visible {
        transform: none;
        box-shadow: 0 0 0 2px rgba(245, 204, 88, 0.15);
    }
    .eld-header__login .eld-button .eld-button__label {
        display: none;
    }
}

@media (max-width: 768px) {
    .eld-header__dynamic {
        position: relative;
    }
    
    .eld-header__dynamic .eld-registration-banner {
        display: none !important;
    }
    
    .eld-registration-banner {
        position: fixed !important;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100% !important;
        max-width: 100% !important;
        background: #1a1f0f;
        border-top: 1px solid rgba(245, 204, 88, 0.2);
        padding: 1rem;
        z-index: 98;
        display: flex !important;
        justify-content: center;
        align-items: center;
        box-sizing: border-box;
        margin: 0;
        border-radius: 0;
    }
    
    .eld-registration-banner__panel {
        flex-direction: row;
        gap: 0.75rem;
        text-align: left;
        align-items: center;
        width: 100%;
        max-width: 100%;
        justify-content: space-between;
    }
    
    .eld-registration-banner__headline {
        font-size: 0.9rem;
    }
    
    .eld-registration-banner__caption {
        font-size: 0.75rem;
    }
    
    .eld-registration-banner .eld-button {
        width: auto;
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
        flex-shrink: 0;
    }
    
   
}

.eld-ext-link {
    text-decoration: none;
}

.eld-ext-link.eld-ext-link--success {
    box-shadow: 0 0 20px 4px #00aa63 !important;
    background: #00aa63 !important;
    color: #ffffff;
    padding: 0.3em !important;
    border-radius: 0.25em;
}

.eld-ext-link.eld-ext-link--error {
    box-shadow: 0 0 20px 4px #df2a4a !important;
    background: #df2a4a !important;
    color: #ffffff;
    padding: 0.3em !important;
    border-radius: 0.25em;
}

.eld-ext-link.eld-ext-link--warning {
    box-shadow: 0 0 20px 4px #ea960f !important;
    background: #ea960f !important;
    color: #ffffff;
    padding: 0.3em !important;
    border-radius: 0.25em;
}

.eld-text__container {
    padding-top: 32px;
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    box-sizing: border-box;
    background: #2A2714;
    border-radius: 0;
}

/* Providers section styles */
.eld-providers {
    background-color: #14130F;
}

.eld-providers__container {
    max-width: 1360px;
    margin: 0 auto;
    padding-top: 20px;
    padding: 20px 0.2rem;
    border: 1px solid #4a4735;
    text-align: center;
    box-sizing: border-box;
}

.eld-providers__header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 12px;
    padding-left: 2rem;
    cursor: pointer;
    user-select: none;
    transition: opacity 0.2s ease;
}

.eld-providers__header strong {
    color: #FFC633;
    font-size: 16px;
    line-height: 1;
}

.eld-providers__header:hover {
    opacity: 0.8;
}

.eld-providers__toggle-icon {
    margin-left: 8px;
    color: #FFC633;
    transition: transform 0.3s ease;
    display: inline-block;
}

.eld-providers.is-expanded .eld-providers__toggle-icon {
    transform: rotate(180deg);
}

.eld-providers__list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
    align-items: center;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.eld-providers:not(.is-expanded) .eld-providers__list {
    max-height: 80px;
    opacity: 1;
}

.eld-providers.is-expanded .eld-providers__list {
    max-height: 2000px;
    opacity: 1;
}

.eld-providers__item {
    flex-shrink: 0;
}

.eld-providers__logo {
    display: block;
    width: 120px;
    height: 32px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .eld-providers__header {
        padding-left: 1rem;
    }
    
    .eld-providers:not(.is-expanded) .eld-providers__list {
        max-height: 60px;
    }
}

/* Мобильная кнопка регистрации */
.eld-mobile-register-btn {
    display: none;
}

@media (max-width: 768px) {
    .eld-mobile-register-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        padding: 14px 16px;
        background: linear-gradient(135deg, #f5cc58, #d89b2b);
        color: #10161f;
        text-decoration: none;
        font-weight: 700;
        font-size: 16px;
        z-index: 100;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
        border-top: 1px solid rgba(245, 204, 88, 0.3);
        box-sizing: border-box;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    
    .eld-mobile-register-btn:active {
        transform: translateY(2px);
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    }
    
    .eld-mobile-register-btn__text {
        font-size: 18px;
        line-height: 1.2;
    }
    
    .eld-mobile-register-btn__bonus {
        font-size: 12px;
        opacity: 0.9;
        line-height: 1.2;
    }
    
    /* Добавляем отступ снизу для футера, чтобы кнопка не перекрывала */
    .eld-footer {
        margin-bottom: 70px;
    }
}