/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--color-text-primary);
    background: linear-gradient(160deg, #f8fafc 0%, #ecfeff 30%, #fefce8 100%);
    min-height: 100vh;
}

/* Header Styles - Modern Glassmorphism */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(16, 185, 129, 0.15);
    box-shadow: 0 8px 32px rgba(2, 6, 23, 0.08);
    transition: all 0.3s ease;
}

.header-container {
    max-width: 100%;
    background: var(--gradient-primary);
    padding: 0 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.header-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(255,255,255,0.05) 100%);
    pointer-events: none;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-icon {
    width: 40px;
    height: 28px;
    display: block;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
}

/* Navigation Styles */
.navigation {
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text-white);
    font-size: 16px;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.18);
    color: var(--color-text-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.nav-link:active,
.nav-link.active {
    background: rgba(255, 255, 255, 0.22);
    color: var(--color-text-white);
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Language Switcher Styles */
.language-switcher {
    flex-shrink: 0;
    display: flex;
    gap: 8px;
    align-items: center;
}

.lang-button {
    background: none;
    border: none;
    border-radius: 50%;
    padding: 6px;
    cursor: pointer;
    color: var(--color-text-secondary);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    overflow: hidden;
}

.lang-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.lang-button:active {
    background-color: var(--color-active);
}

.lang-button:focus {
    outline: 2px solid var(--color-focus);
    outline-offset: 2px;
}

.lang-button svg {
    width: 24px;
    height: 24px;
}

/* Burger Menu Styles */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-line {
    width: 100%;
    height: 3px;
    background: linear-gradient(135deg, var(--color-primary) 0%, #4ade80 100%);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.burger-menu.active .burger-line:nth-child(2) {
    opacity: 0;
}

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Registration Modal */
.registration-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.registration-modal.show {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 10000 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.registration-modal-content {
    background: var(--gradient-card);
    border-radius: 24px;
    padding: 48px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(99, 102, 241, 0.3);
    position: relative;
    backdrop-filter: blur(20px);
}

.registration-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--color-text-white);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.registration-modal-close:hover {
    color: var(--color-primary);
}

.registration-modal-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text-white);
    margin: 0 0 30px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.registration-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.registration-input {
    padding: 18px 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-white);
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.registration-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
}

.registration-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.registration-btn {
    padding: 18px 36px;
    background: var(--gradient-primary);
    color: var(--color-text-white);
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 20px;
    width: 100%;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    position: relative;
    overflow: hidden;
}

.registration-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.registration-btn:hover::before {
    left: 100%;
}

.registration-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
}

.registration-login-link {
    margin-top: 20px;
    color: var(--color-text-white);
    font-size: 14px;
}

.login-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.login-link:hover {
    text-decoration: underline;
}

/* Login Modal */
.login-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.login-modal.show {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.login-modal-content {
    background: linear-gradient(to bottom, #000000 0%, #000864 100%);
    border-radius: 20px;
    padding: 40px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--color-primary);
    position: relative;
}

.login-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: var(--color-text-white);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-modal-close:hover {
    color: var(--color-primary);
}

.login-modal-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-text-white);
    margin: 0 0 30px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.login-input {
    padding: 15px;
    border: none;
    border-radius: 0;
    background-color: #f5f5f5;
    color: #333;
    font-size: 16px;
    outline: none;
    transition: all 0.2s ease;
}

.login-input::placeholder {
    color: #666;
    font-size: 16px;
}

.login-input:focus {
    background-color: #ffffff;
    box-shadow: 0 0 0 2px var(--color-primary);
}

.login-btn {
    padding: 15px 30px;
    background-color: var(--color-primary);
    color: var(--color-text-white);
    border: none;
    border-radius: 0;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
    width: 100%;
}

.login-btn:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-1px);
}

.login-signup-link {
    margin-top: 20px;
    color: var(--color-text-white);
    font-size: 14px;
}

.registration-trigger {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    background: none;
    border: none;
    font-size: inherit;
}

.registration-trigger:hover {
    text-decoration: underline;
}

/* Success Registration Popup */
.success-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.success-popup.show {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.success-popup-content {
    background: linear-gradient(to bottom, #000000 0%, #000864 100%);
    border-radius: 20px;
    padding: 40px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--color-primary);
    position: relative;
    animation: successSlideIn 0.4s ease-out;
}

@keyframes successSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.success-icon {
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--color-text-white);
    font-weight: bold;
    margin: 0 auto 20px auto;
    animation: successIconPulse 0.6s ease-out;
}

@keyframes successIconPulse {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

.success-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-white);
    margin: 0 0 15px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.success-message {
    color: var(--color-text-white);
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 25px 0;
    opacity: 0.9;
}

.success-btn {
    padding: 15px 40px;
    background-color: var(--color-primary);
    color: var(--color-text-white);
    border: none;
    border-radius: 0;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 150px;
}

.success-btn:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(152, 190, 48, 0.3);
}

/* Age Verification Popup */
.popup-age {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-age.show {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.popup-age.disabled {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.popup-age__content {
    background: linear-gradient(to bottom, #000000 0%, #000864 100%);
    border-radius: 12px;
    padding: 40px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--color-primary);
    position: relative;
}

.popup-age__title {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-text-white);
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.popup-age__text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-white);
    margin-bottom: 30px;
    opacity: 0.9;
}

.popup-age__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.popup-age__button {
    flex: 1;
    padding: 16px 32px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 56px;
}

.popup-age__button--confirm {
    background-color: var(--color-primary);
    color: var(--color-text-white);
}

.popup-age__button--confirm:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-1px);
}

.popup-age__button--decline {
    background-color: transparent;
    color: var(--color-text-white);
    border: 2px solid var(--color-primary);
    box-sizing: border-box;
}

.popup-age__button--decline:hover {
    background-color: rgba(152, 190, 48, 0.1);
    transform: translateY(-1px);
}

.popup-cookie {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 500px;
    background: linear-gradient(135deg, #000000 0%, #000864 80%);
    border: 2px solid var(--color-primary);
    border-radius: 12px;
    padding: 25px 30px;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.popup-cookie.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.popup-cookie__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.popup-cookie__text {
    color: var(--color-text-white);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.popup-cookie__text a {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 600;
}

.popup-cookie__buttons {
    display: flex;
    gap: 12px;
    width: 100%;
}

.popup-cookie__button {
    flex: 1;
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    min-height: 48px;
}

.popup-cookie__button--accept {
    background-color: var(--color-primary);
    color: var(--color-text-white);
}

.popup-cookie__button--accept:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-1px);
}

.popup-cookie__button--decline {
    background-color: transparent;
    color: var(--color-text-white);
    border: 2px solid var(--color-primary);
}

.popup-cookie__button--decline:hover {
    background-color: rgba(152, 190, 48, 0.1);
}

/* Main Content Container */
.main-content {
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 80px);
}

/* Special styles for contact page to remove extra space */
.contact-page .main-content {
    min-height: auto;
    justify-content: flex-start;
}

/* Special styles for terms page to remove extra space */
.terms-page .main-content {
    min-height: auto;
    justify-content: flex-start;
}

/* Special styles for privacy page to remove extra space */
.privacy-page .main-content {
    min-height: auto;
    justify-content: flex-start;
}

@media (max-width: 1420px) {
    .main-content {
        justify-content: space-between;
    }

    .contact-page .main-content {
        justify-content: flex-start;
    }

    .terms-page .main-content {
        justify-content: flex-start;
    }

    .privacy-page .main-content {
        justify-content: flex-start;
    }

    /* Remove fixed margins for adaptive spacing */
    .mission-section,
    .advantages-section,
    .games-section,
    .feedback-section {
        margin-top: 0;
    }

    .footer {
        margin-top: 0;
    }

    .contacts-section {
        margin-top: 0;
        margin-left: 100px;
        margin-right: 100px;
    }

    .disclaimer-section {
        margin-top: 0;
        margin-left: 100px;
        margin-right: 100px;
    }
}

/* Hero Section Styles - Modern Design */
.hero-section {
    background: var(--gradient-dark);
    margin: 40px 0;
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/background-playnow.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 1;
}

.hero-container {
    padding: 0 100px;
    display: flex;
    width: 100%;
    position: relative;
    z-index: 2;
    min-height: 500px;
}

.hero-content {
    width: 50%;
    padding: 80px 100px 80px 0;
    color: var(--color-text-white);
}

.hero-empty {
    width: 50%;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 40%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    position: relative;
}

.hero-description {
    font-size: 18px;
    line-height: 1.6;
    margin: 16px 0 0 0;
    color: var(--color-text-white);
    opacity: 0.9;
}

.hero-buttons {
    margin-top: 16px;
    display: flex;
    gap: 16px;
}

.hero-btn {
    flex: 1;
    padding: 18px 36px;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-height: 60px;
    position: relative;
    overflow: hidden;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.hero-btn:hover::before {
    left: 100%;
}

.hero-btn-primary {
    background: var(--gradient-primary);
    color: var(--color-text-white);
    border: none !important;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-text-white);
    border: 2px solid rgba(255, 255, 255, 0.35) !important;
    backdrop-filter: blur(10px);
    box-sizing: border-box;
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-3px);
}

/* Mission Section Styles */
.mission-section {
    margin-top: 40px;
    width: 100%;
}

.mission-container {
    padding: 0 100px;
    width: 100%;
}

.mission-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin: 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.mission-content {
    margin-top: 40px;
    display: flex;
    width: 100%;
}

.mission-text {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 25px;
}

.mission-text p {
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
    color: #4a4a4a;
    margin: 0;
}

.mission-image {
    width: 50%;
    min-height: 300px;
    background-image: url('images/background-coins.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Advantages Section Styles */
.advantages-section {
    margin-top: 40px;
    width: 100%;
}

.advantages-container {
    padding: 0 100px;
    width: 100%;
}

.advantages-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin: 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.advantages-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    width: 100%;
}

.advantage-item {
    height: 180px;
    background: var(--gradient-card);
    border-radius: 20px;
    padding: 24px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(16, 185, 129, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.advantage-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(16, 185, 129, 0.1) 0%, transparent 50%, rgba(236, 72, 153, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.advantage-item:hover::before {
    opacity: 1;
}

.advantage-item:hover {
    transform: translateY(-10px) scale(1.015);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(16, 185, 129, 0.4);
}

.advantage-main {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.advantage-icon {
    width: 40px;
    height: 40px;
}

.advantage-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.advantage-description {
    color: var(--color-text-white);
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
}

.advantage-main {
    color: var(--color-text-white);
}

.advantage-extra-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.advantage-extra-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Games Section Styles */
.games-section {
    margin-top: 40px;
    width: 100%;
}

.games-container {
    padding: 0 100px;
    width: 100%;
}

.games-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin: 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.games-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.game-card {
    height: 520px;
    background: var(--gradient-card);
    border-radius: 24px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(16, 185, 129, 0.25);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover::before {
    opacity: 1;
}

.game-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 60px rgba(16, 185, 129, 0.25);
    border-color: rgba(16, 185, 129, 0.4);
}

.game-image {
    width: 100%;
    height: 320px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.game-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(16, 185, 129, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-image::before {
    opacity: 1;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    border-radius: 16px;
}

.game-card:hover .game-image img {
    transform: scale(1.05);
}

.game-title {
    margin: 36px 0 0 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text-white);
    text-align: center;
}

.game-btn {
    margin-top: 24px;
    padding: 18px 24px;
    width: 100%;
    background: var(--gradient-primary);
    color: white;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 16px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 1px;
    text-decoration: none;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
    min-height: 56px;
}

.game-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.game-btn:hover::before {
    left: 100%;
}

.game-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #db2777 100%);
}

/* Contacts Section Styles */
.contacts-section {
    margin: 40px 100px 0 100px;
    width: calc(100% - 200px);
    background-color: var(--color-bg-blue);
    background-image: url('images/background-form.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.contacts-container {
    padding: 65px 0;
    width: 100%;
}

.contacts-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin: 0;
    color: var(--color-text-white);
}

.contacts-form-wrapper {
    margin-top: 20px;
    padding: 0 250px;
}

.contacts-form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-input,
.form-textarea {
    padding: 12px 16px;
    border: 1px solid var(--color-border-medium);
    border-radius: 0;
    font-size: 16px;
    font-family: inherit;
    color: var(--color-text-primary);
    background-color: var(--color-bg-primary);
    transition: border-color 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-input {
    height: 48px;
    margin-bottom: 8px;
}

.form-textarea {
    margin-bottom: 8px;
    resize: none;
    min-height: 120px;
}

.form-submit {
    margin-top: 24px;
    height: 46px;
    background-color: var(--color-primary);
    color: var(--color-text-white);
    border: none;
    border-radius: 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.form-submit:hover {
    background-color: var(--color-primary-dark);
}

.form-submit:active {
    transform: translateY(1px);
}

/* Feedback Section Styles */
.feedback-section {
    margin-top: 40px;
    width: 100%;
}

.feedback-container {
    padding: 0 100px;
    width: 100%;
}

.feedback-title {
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin: 0;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.feedback-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
}

.feedback-item {
    height: 360px;
    background: var(--gradient-card);
    border-radius: 20px;
    padding: 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(16, 185, 129, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feedback-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(236, 72, 153, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feedback-item:hover::before {
    opacity: 1;
}

.feedback-item:hover {
    transform: translateY(-10px) scale(1.015);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(16, 185, 129, 0.4);
}

.feedback-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.feedback-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.feedback-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feedback-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-white);
    margin: 0;
    display: flex;
    align-items: center;
}

.feedback-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    color: var(--color-text-white);
}

.feedback-score {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text-white);
}

.rating-stars {
    display: flex;
    gap: 4px;
}

.star {
    color: #ffd700;
    font-size: 28px;
}

.feedback-text {
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-text-white);
    margin: 0;
    flex: 1;
}

/* Terms & Conditions Section Styles */
.terms-section {
    margin-top: 40px;
    width: 100%;
}

.terms-container {
    padding: 0 100px;
    width: 100%;
}

.terms-policy-block,
.terms-advertising-block {
    margin-bottom: 60px;
}

.terms-policy-title,
.terms-advertising-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 30px 0;
    color: var(--color-text-primary);
    text-transform: uppercase;
}

.terms-policy-intro,
.terms-advertising-intro,
.terms-policy-note {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    text-align: left;
}

.terms-policy-list,
.terms-advertising-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.terms-policy-list li,
.terms-advertising-list li {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
}

.terms-policy-list li::before,
.terms-advertising-list li::before {
    content: '•';
    color: var(--color-primary);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

/* Privacy Policy Section Styles */
.privacy-section {
    margin-top: 40px;
    width: 100%;
}

.privacy-container {
    padding: 0 100px;
    width: 100%;
}

.privacy-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 40px 0;
    color: var(--color-text-primary);
    text-transform: uppercase;
}

.privacy-block {
    margin-bottom: 40px;
}

.privacy-subtitle {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: var(--color-text-primary);
    text-transform: uppercase;
}

.privacy-text {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 15px;
    text-align: left;
}

.privacy-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.privacy-list li {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.privacy-list li::before {
    content: '•';
    color: var(--color-primary);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.privacy-contact {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 15px;
    text-align: left;
}

/* Disclaimer Section Styles */
.disclaimer-section {
    margin: 40px 100px 0 100px;
    width: calc(100% - 200px);
    background-image: url('images/background-desclaimer.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
}

.disclaimer-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.disclaimer-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin: 0;
    color: var(--color-text-white);
}

.disclaimer-text {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
    color: #e5e5e5;
    max-width: 100%;
}

/* Footer Styles - Modern Design */
.footer {
    margin-top: 40px;
    width: 100%;
    background: var(--gradient-dark);
    border-radius: 24px 24px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(16, 185, 129, 0.1) 0%, transparent 50%, rgba(236, 72, 153, 0.1) 100%);
    pointer-events: none;
}

.footer-container {
    padding: 60px 100px;
    display: flex;
    flex-direction: column;
    background: var(--gradient-dark);
    position: relative;
    z-index: 1;
}

/* Footer Age Block */
.footer-age-block {
    padding: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-age-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-text-white);
    margin: 0;
}

/* Footer Content Block */
.footer-content-block {
    display: flex;
    gap: 75px;
}

.footer-policy,
.footer-gaming {
    flex: 1;
}

.footer-policy-title,
.footer-gaming-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-text-white);
    text-align: left;
    margin: 0 0 16px 0;
}

.footer-policy-intro,
.footer-policy-note,
.footer-gaming-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-white);
    margin: 0 0 16px 0;
    text-align: left;
}

.footer-gaming-subtitle {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text-white);
    text-align: left;
    margin: 24px 0 12px 0;
}

.footer-gaming-note {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-white);
    margin: 0;
    text-align: left;
}

.footer-policy-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.footer-policy-list li {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-white);
    margin: 0 0 8px 0;
    padding-left: 16px;
    position: relative;
    text-align: left;
}

.footer-policy-list li::before {
    content: '•';
    color: var(--color-primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.footer-age-restrictions-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text-white);
    text-align: left;
    margin: 24px 0 12px 0;
}

.footer-age-restrictions-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-white);
    margin: 0;
    text-align: left;
}

/* Footer Links */
.footer-links {
    margin-top: 40px;

    display: flex;
    justify-content: center;
    gap: 51px;
    flex-wrap: wrap;
}

.footer-link {
    color: var(--color-text-white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--color-secondary);
}

/* Burger Menu Responsive */
@media (max-width: 1150px) {
    .burger-menu {
        display: flex;
    }

    .navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: linear-gradient(to bottom, #000000 0%, #000864 100%);
        transition: right 0.3s ease;
        z-index: 1000;
        padding: 80px 20px 20px 20px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }

    .navigation.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        height: auto;
        overflow: visible;
        padding: 0;
    }

    .nav-item {
        margin-bottom: 8px;
    }

    .nav-link {
        display: block;
        padding: 16px 20px;
        font-size: 16px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.05);
        margin-bottom: 8px;
        text-align: left;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(34, 197, 94, 0.1);
        border-color: var(--color-primary);
        color: var(--color-primary);
    }

    .language-switcher {
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        justify-content: center;
        gap: 12px;
    }

    .lang-button {
        width: 40px;
        height: 40px;
        padding: 8px;
        border: 2px solid rgba(255, 255, 255, 0.2);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.05);
    }

    .lang-button:hover {
        border-color: var(--color-primary);
        background: rgba(34, 197, 94, 0.1);
    }

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

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

    /* Hero section adjustments */
    .hero-container {
        flex-direction: column;
    }

    .hero-content {
        width: 100%;
        text-align: center;
        padding: 60px 0;
    }

    .hero-empty {
        display: none;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 60px;
        gap: 30px;
    }

    .nav-list {
        justify-content: space-between;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .nav-list::-webkit-scrollbar {
        display: none;
    }

    /* Registration Modal Responsive - Tablet */
    .registration-modal-content {
        padding: 30px 25px;
        max-width: 400px;
    }

    .registration-modal-title {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .registration-input {
        padding: 12px;
        font-size: 15px;
    }

    .registration-submit {
        padding: 12px 25px;
        font-size: 15px;
    }

    /* Login Modal Responsive - Tablet */
    .login-modal-content {
        padding: 30px 25px;
        max-width: 350px;
    }

    .login-modal-title {
        font-size: 28px;
        margin-bottom: 25px;
    }

    .login-input {
        padding: 12px;
        font-size: 15px;
    }

    .login-submit {
        padding: 12px 25px;
        font-size: 15px;
    }

    /* Success Popup Responsive - Tablet */
    .success-popup-content {
        padding: 30px 25px;
        max-width: 350px;
    }

    .success-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .success-message {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .success-btn {
        padding: 12px 30px;
        font-size: 15px;
    }

    /* Adaptive spacing continues for tablets */
    .contacts-section {
        margin-left: 60px;
        margin-right: 60px;
    }

    .disclaimer-section {
        margin-left: 60px;
        margin-right: 60px;
    }

    .mission-content,
    .advantages-grid,
    .games-grid,
    .feedback-grid,
    .footer-links {
        margin-top: 30px;
    }

    .hero-container {
        padding: 0 60px;
        flex-direction: column;
    }

    .hero-content {
        width: 100%;
        text-align: center;
        padding: 60px 0;
    }

    .hero-empty {
        display: none;
    }

    .hero-title {
        font-size: 40px;
    }

    .mission-container {
        padding: 0 60px;
    }

    .mission-title {
        font-size: 32px;
    }

    .advantages-container {
        padding: 0 60px;
    }

    .advantages-title {
        font-size: 32px;
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .games-container {
        padding: 0 60px;
    }

    .games-title {
        font-size: 32px;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .game-card {
        height: 400px;
    }

    .contacts-section {
        margin: 40px 60px 0 60px;
        width: calc(100% - 120px);
    }

    .contacts-container {
        padding: 50px 0;
    }

    .contacts-title {
        font-size: 32px;
    }

    .contacts-form-wrapper {
        padding: 0 150px;
    }

    .feedback-container {
        padding: 0 60px;
    }

    .feedback-title {
        font-size: 32px;
    }

    .feedback-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .feedback-item {
        height: 280px;
    }

    .disclaimer-section {
        margin: 40px 60px 0 60px;
        width: calc(100% - 120px);
    }

    .disclaimer-content {
        margin: 20px;
    }

    .disclaimer-title {
        font-size: 32px;
    }

    .disclaimer-text {
        font-size: 15px;
    }

    .footer-container {
        padding: 30px 60px;
    }

    .footer-age-title {
        font-size: 40px;
    }

    .footer-content-block {
        gap: 50px;
    }

    .footer-policy-title,
    .footer-gaming-title {
        font-size: 20px;
    }

    .footer-age-restrictions-title {
        font-size: 18px;
    }

    .footer-links {
        padding: 0 15%;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
        gap: 20px;
        height: 70px;
    }

    .logo-text {
        font-size: 18px;
    }

    .nav-list {
        justify-content: space-between;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .nav-list::-webkit-scrollbar {
        display: none;
    }

    /* Registration Modal Responsive - Mobile Tablet */
    .registration-modal-content {
        padding: 25px 20px;
        max-width: 350px;
    }

    .registration-modal-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .registration-input {
        padding: 10px;
        font-size: 14px;
    }

    .registration-submit {
        padding: 10px 20px;
        font-size: 14px;
    }

    .registration-form {
        gap: 12px;
    }

    /* Login Modal Responsive - Mobile Tablet */
    .login-modal-content {
        padding: 25px 20px;
        max-width: 320px;
    }

    .login-modal-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .login-input {
        padding: 10px;
        font-size: 14px;
    }

    .login-submit {
        padding: 10px 20px;
        font-size: 14px;
    }

    .login-form {
        gap: 12px;
    }

    .nav-link {
        font-size: 14px;
        padding: 6px 6px;
        flex-shrink: 0;
        white-space: nowrap;
    }

    /* Adaptive spacing continues for mobile tablets */
    .contacts-section {
        margin-left: 20px;
        margin-right: 20px;
    }

    .disclaimer-section {
        margin-left: 20px;
        margin-right: 20px;
    }

    .mission-content,
    .advantages-grid,
    .games-grid,
    .feedback-grid,
    .footer-links {
        margin-top: 25px;
    }

    .hero-container {
        padding: 0 20px;
        flex-direction: column;
    }

    .hero-content {
        width: 100%;
        padding: 40px 0;
        text-align: center;
    }

    .hero-empty {
        display: none;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-btn {
        width: 100%;
        text-align: center;
    }

    .mission-container {
        padding: 0 20px;
    }

    .mission-title {
        font-size: 28px;
    }

    .mission-content {
        flex-direction: column;
        margin-top: 30px;
    }

    .mission-text {
        width: 100%;
        padding: 30px 20px;
    }

    .mission-text p {
        font-size: 16px;
    }

    .mission-image {
        width: 100%;
        min-height: 250px;
    }

    .advantages-container {
        padding: 0 20px;
    }

    .advantages-title {
        font-size: 28px;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 30px;
    }

    .advantage-item {
        height: 120px;
    }

    .games-container {
        padding: 0 20px;
    }

    .games-title {
        font-size: 28px;
    }

    .games-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 30px;
    }

    .game-card {
        height: auto;
        flex-direction: row;
        padding: 16px;
        align-items: center;
        gap: 16px;
    }

    .game-image {
        width: 120px;
        height: 120px;
        flex-shrink: 0;
        border-radius: 8px;
        overflow: hidden;
    }

    .game-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: center;
        justify-content: center;
    }

    .game-title {
        font-size: 16px;
        margin: 0;
        text-align: center;
    }

    .game-btn {
        padding: 12px;
        font-size: 12px;
        margin: 0;
        width: 100px;
        height: 100px;
    }

    .contacts-section {
        margin: 40px 20px 0 20px;
        width: calc(100% - 40px);
    }

    .contacts-container {
        padding: 40px 0;
    }

    .contacts-title {
        font-size: 28px;
    }

    .contacts-form-wrapper {
        padding: 0 20px;
        margin-top: 30px;
    }

    .form-input {
        height: 44px;
    }

    .form-textarea {
        min-height: 100px;
    }

    .form-submit {
        height: 44px;
        margin-top: 20px;
    }

    .feedback-container {
        padding: 0 20px;
    }

    .feedback-title {
        font-size: 28px;
    }

    .feedback-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 30px;
    }

    .feedback-item {
        height: auto;
        min-height: 200px;
    }

    .disclaimer-section {
        margin: 40px 20px 0 20px;
        width: calc(100% - 40px);
        background-image: url('images/background-disclaimer-mobile.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .disclaimer-content {
        margin: 16px;
    }

    .disclaimer-title {
        font-size: 28px;
    }

    .disclaimer-text {
        font-size: 14px;
        margin-top: 8px;
    }

    .footer-container {
        padding: 30px 20px;
    }

    .footer-age-title {
        font-size: 36px;
    }

    .footer-content-block {
        flex-direction: column;
        gap: 30px;
    }

    .footer-policy-title,
    .footer-gaming-title {
        font-size: 18px;
    }

    .footer-age-restrictions-title {
        font-size: 16px;
    }

    .footer-policy-intro,
    .footer-policy-note,
    .footer-gaming-text,
    .footer-age-restrictions-text {
        font-size: 13px;
        text-align: left;
    }

    .footer-policy-list li {
        font-size: 13px;
        padding-left: 14px;
    }

    .footer-links {
        padding: 0 10%;
        gap: 16px;
        margin-top: 30px;
    }

    .footer-link {
        font-size: 14px;
    }

    /* Age Popup Responsive - Mobile Tablet */
    .popup-age__content {
        padding: 30px 25px;
        max-width: 420px;
        border-radius: 10px;
    }

    .popup-age__title {
        font-size: 24px;
        margin-bottom: 18px;
    }

    .popup-age__text {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .popup-age__buttons {
        flex-direction: column;
        gap: 12px;
    }

    .popup-age__button {
        width: 100%;
        padding: 14px 24px;
        min-height: 50px;
    }

    /* Cookie Popup Responsive - Mobile Tablet */
    .popup-cookie {
        padding: 18px 15px !important;
    }

    .popup-cookie__content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .popup-cookie__title {
        font-size: 15px;
    }

    .popup-cookie__text {
        font-size: 13px;
    }

    .popup-cookie__buttons {
        justify-content: center;
        gap: 10px;
    }

    .popup-cookie__button {
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (max-width: 640px) {
    .header-container {
        padding: 15px 20px;
    }

    .nav-list {
        justify-content: space-between;
        flex-wrap: nowrap;
        overflow-x: auto;
        white-space: nowrap;
        padding: 0 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .nav-list::-webkit-scrollbar {
        display: none;
    }

    /* Registration Modal Responsive - Mobile */
    .registration-modal-content {
        padding: 20px 15px;
        max-width: 320px;
        width: 95%;
    }

    .registration-modal-title {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .registration-input {
        padding: 8px;
        font-size: 13px;
    }

    .registration-submit {
        padding: 8px 16px;
        font-size: 13px;
    }

    .registration-form {
        gap: 10px;
    }

    .registration-login-link {
        font-size: 12px;
        margin-top: 15px;
    }

    /* Login Modal Responsive - Mobile */
    .login-modal-content {
        padding: 20px 15px;
        max-width: 300px;
        width: 95%;
    }

    .login-modal-title {
        font-size: 22px;
        margin-bottom: 15px;
    }

    .login-input {
        padding: 8px;
        font-size: 13px;
    }

    .login-submit {
        padding: 8px 16px;
        font-size: 13px;
    }

    .login-form {
        gap: 10px;
    }

    .login-signup-link {
        font-size: 12px;
        margin-top: 15px;
    }

    /* Success Popup Responsive - Mobile */
    .success-popup-content {
        padding: 25px 20px;
        max-width: 320px;
        width: 95%;
    }

    .success-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
        margin-bottom: 15px;
    }

    .success-title {
        font-size: 18px;
        margin-bottom: 10px;
    }

    .success-message {
        font-size: 14px;
        margin-bottom: 18px;
    }

    .success-btn {
        padding: 10px 25px;
        font-size: 14px;
        min-width: 120px;
    }

    .nav-link {
        font-size: 12px;
        padding: 4px 8px;
        flex-shrink: 0;
        white-space: nowrap;
    }

    /* Mobile game cards */
    .game-card {
        height: auto;
        flex-direction: row;
        padding: 12px;
        align-items: center;
        gap: 12px;
    }

    .game-image {
        width: 100px;
        height: 100px;
        flex-shrink: 0;
        border-radius: 6px;
    }

    .game-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 16px;
        align-items: center;
        justify-content: center;
    }

    .game-title {
        font-size: 14px;
        margin: 0;
        text-align: center;
        line-height: 1.2;
    }

    .game-btn {
        padding: 10px;
        font-size: 11px;
        margin: 0;
        width: 80px;
        height: 80px;
    }

    .feedback-item {
        height: auto;
        min-height: 180px;
        padding: 12px;
    }

    /* Adaptive spacing continues for mobile */
    .contacts-section {
        margin-left: 15px;
        margin-right: 15px;
    }

    .disclaimer-section {
        margin-left: 15px;
        margin-right: 15px;
        background-image: url('images/background-disclaimer-mobile.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .mission-content,
    .advantages-grid,
    .games-grid,
    .feedback-grid,
    .footer-links {
        margin-top: 20px;
    }

    /* Age Popup Responsive - Mobile */
    .popup-age__content {
        padding: 25px 20px;
        max-width: 320px;
        width: 95%;
        border-radius: 8px;
    }

    .popup-age__title {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .popup-age__text {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .popup-age__button {
        padding: 12px 20px;
        font-size: 14px;
        min-height: 48px;
    }

    /* Cookie Popup Responsive - Mobile */
    .popup-cookie {
        padding: 15px 10px !important;
    }

    .popup-cookie__content {
        gap: 12px;
    }

    .popup-cookie__title {
        font-size: 14px;
    }

    .popup-cookie__text {
        font-size: 12px;
    }

    .popup-cookie__buttons {
        gap: 8px;
    }

    .popup-cookie__button {
        padding: 8px 14px;
        font-size: 12px;
    }
}

/* Game Pages Styles */
.game-main {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: linear-gradient(to bottom, #000000 0%, #000864 100%);
}

.game-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
    height: 100vh;
}

.game-header {
    background: rgba(0, 0, 0, 0.9);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 2px solid var(--color-primary);
    flex-shrink: 0;
    z-index: 1000;
}

.back-button {
    background: transparent;
    border: 2px solid var(--color-primary);
    color: var(--color-text-white);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.back-button:hover {
    background-color: var(--color-primary);
    color: var(--color-text-white);
    transform: translateY(-1px);
}

.game-title-header {
    color: var(--color-text-white);
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-preloader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-text-white);
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    z-index: 999;
}

/* Media query for screens 770px and smaller */
@media (max-width: 770px) {
    .game-btn {
        height: 40px;
        width: 100%;
    }
}

/* Media query for screens 400px and smaller */
@media (max-width: 400px) {
    .game-content {
        align-items: center;
    }

    .game-btn {
        width: auto !important;
        max-width: none !important;
        min-width: auto;
        padding: 12px 24px;
        font-size: 16px;
        font-weight: 800;
        height: auto !important;
        line-height: 1.3;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }
}

.game-frame {
    flex: 1;
    width: 100%;
    height: calc(100vh - 70px);
    border: none;
    background: #000;
    display: block;
}

/* Game Pages Responsive */
@media (max-width: 768px) {
    .game-header {
        padding: 12px 15px;
        gap: 15px;
    }

    .back-button {
        padding: 6px 12px;
        font-size: 12px;
    }

    .game-title-header {
        font-size: 18px;
    }

    .game-preloader {
        font-size: 16px;
    }

    .game-frame {
        height: calc(100vh - 60px);
    }
}

@media (max-width: 480px) {
    .game-header {
        padding: 10px 12px;
        gap: 12px;
    }

    .back-button {
        padding: 5px 10px;
        font-size: 11px;
    }

    .game-title-header {
        font-size: 16px;
    }

    .game-preloader {
        font-size: 14px;
    }

    .game-frame {
        height: calc(100vh - 50px);
    }
}

/* --- Sitemap Page Styles --- */
.sitemap-body {
    background: var(--color-bg-dark);
    color: var(--color-text-white);
    font-family: var(--font-primary);
    margin: 0;
    padding: 0;
}

.sitemap-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    min-height: 100vh;
}

/* Header */
.sitemap-header {
    background: linear-gradient(135deg, var(--color-bg-dark) 0%, #000864 100%);
    padding: 40px 20px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sitemap-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%2398be30" opacity="0.1"/></svg>')
        repeat;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(-100px);
    }
}

.sitemap-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.back-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border: 2px solid var(--color-primary);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: var(--color-primary);
    color: var(--color-bg-dark);
    transform: translateX(-5px);
}

.lang-switcher {
    display: flex;
    gap: 5px;
}

.lang-btn {
    padding: 8px 15px;
    background: transparent;
    color: var(--color-text-light);
    text-decoration: none;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.lang-btn.active,
.lang-btn:hover {
    background: var(--color-primary);
    color: var(--color-bg-dark);
    border-color: var(--color-primary);
}

.sitemap-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 20px 0;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.sitemap-header p {
    font-size: 1.3rem;
    color: var(--color-text-light);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Main Content */
.sitemap-main {
    padding: 40px 20px;
}

/* Search */
.sitemap-search {
    max-width: 600px;
    margin: 0 auto 50px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 20px 25px;
    background: var(--color-bg-card);
    border: 2px solid var(--color-border);
    border-radius: 50px;
    color: var(--color-text-white);
    font-size: 1.1rem;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.search-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(152, 190, 48, 0.2);
}

.search-input::placeholder {
    color: var(--color-text-light);
}

/* Sections */
.sitemap-section {
    margin-bottom: 60px;
}

.sitemap-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.sitemap-section h2::after {
    content: '';
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), transparent);
}

/* Grid Layouts */
.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

/* Cards */
.sitemap-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.sitemap-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.sitemap-card:hover::before {
    transform: scaleX(1);
}

.sitemap-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    box-shadow: 0 20px 40px rgba(152, 190, 48, 0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.sitemap-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--color-text-white);
}

.sitemap-card p {
    color: var(--color-text-light);
    margin-bottom: 25px;
    line-height: 1.6;
}

.card-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.card-link {
    background: var(--color-primary);
    color: var(--color-bg-dark);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.card-link:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(152, 190, 48, 0.3);
}

/* Game Cards */
.games-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-text-white);
    margin: 40px 0 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sitemap-body .game-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.sitemap-body .game-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    box-shadow: 0 20px 40px rgba(152, 190, 48, 0.15);
}

.sitemap-body .game-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.sitemap-body .game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.sitemap-body .game-card:hover .game-image img {
    transform: scale(1.05);
}

.sitemap-body .game-info {
    padding: 25px;
}

.sitemap-body .game-info h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--color-text-white);
}

.sitemap-body .game-info p {
    color: var(--color-text-light);
    margin-bottom: 20px;
    line-height: 1.5;
}

.sitemap-body .game-links {
    display: flex;
    gap: 10px;
}

.sitemap-body .game-btn {
    background: var(--color-primary);
    color: white;
    padding: 16px;
    width: 120px;
    height: 120px;
    border-radius: 0;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.sitemap-body .game-btn:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(152, 190, 48, 0.3);
}

/* Statistics */
.sitemap-stats {
    background: linear-gradient(135deg, var(--color-bg-card) 0%, #000864 100%);
    border-radius: 20px;
    padding: 40px;
    margin: 60px 0;
    text-align: center;
}

.sitemap-stats h2 {
    justify-content: center;
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--color-text-light);
    font-weight: 500;
}

/* Footer */
.sitemap-footer {
    background: var(--color-bg-card);
    border-top: 1px solid var(--color-border);
    padding: 30px 20px;
    margin-top: 60px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-content p {
    color: var(--color-text-light);
    margin: 0;
}

.home-btn {
    background: var(--color-primary);
    color: var(--color-bg-dark);
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.home-btn:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(152, 190, 48, 0.3);
}
/* Mobile Responsive */
@media (max-width: 768px) {
    .sitemap-header {
        padding: 30px 15px 40px;
    }

    .sitemap-nav {
        flex-direction: column;
        gap: 20px;
        align-items: stretch;
    }

    .lang-switcher {
        justify-content: center;
    }

    .sitemap-header h1 {
        font-size: 2.5rem;
    }

    .sitemap-header p {
        font-size: 1.1rem;
    }

    .sitemap-main {
        padding: 30px 15px;
    }

    .sitemap-section h2 {
        font-size: 1.8rem;
    }

    .sitemap-grid,
    .games-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sitemap-card,
    .game-info {
        padding: 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .search-input {
        padding: 15px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .sitemap-header h1 {
        font-size: 2rem;
    }

    .card-links,
    .game-links {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}
