/* additional-style.css — МИНИМАЛИСТИЧНЫЙ, ПОД БРОНЗУ #cd7f32 */

* {
    text-decoration: none !important;
}

/* === ГРАДИЕНТ ПОД КЕЙСАМИ === */
.case-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 70%, rgba(0, 0, 0, 0.5) 100%);
    pointer-events: none;
    border-radius: 18px;
}

.simple-case-image::after {
    display: none;
}

/* === АДАПТИВНОСТЬ ФУТЕРА === */
@media (max-width: 1200px) { footer { margin-top: 60px; padding: 15px 0; } }
@media (max-width: 992px)  { footer { margin-top: 50px; } .footer-content { font-size: 0.85rem; } }
@media (max-width: 768x)  { .container { padding: 0 10px; } footer { margin-top: 40px; padding: 12px 0; } .footer-content { font-size: 0.8rem; } }
@media (max-width: 576px)  { footer { margin-top: 30px; padding: 10px 0; } .footer-content { font-size: 0.75rem; } }
@media (max-width: 320px)  { footer { margin-top: 20px; padding: 8px 0; } .footer-content { font-size: 0.7rem; } }

/* === АНИМАЦИЯ КЕЙСОВ === */
.cases {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.7s ease-out forwards;
}

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* === ОБЩИЕ УЛУЧШЕНИЯ === */
.profile-nickname,
.profile-balance {
    text-decoration: none !important;
}

html { scroll-behavior: smooth; overflow-x: hidden;}

body { margin: 0; padding: 0; overflow-x: hidden;}

/* ============================================= */
/* === МОБИЛЬНАЯ ВЕРСИЯ — ЛОГО И ЛК ЛЕВЕЕ === */
/* ============================================= */
@media (max-width: 767px) {
    
    .nav-container {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 8px 12px;
        gap: 8px;
        height: 62px;
    }

    /* Логотип + язык — сдвинули левее */
    .logo-language-group {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .Logo img {
        width: 70px !important;
        height: auto;
    }
    .Logo img{
        position: relative;
        left: -20px;
        top: 5px;
    }
    .logo-text {
        display: none;
    }

    .language-button {
        width: 62px !important;
        position: relative;
        top: 2px;
        left: -45px;
    }

    /* Кнопка "ВОЙТИ" */
    .pressed-button {
        padding: 0.45rem 0.8rem;
        font-size: 0.78rem;
        white-space: nowrap;
    }

    /* ================= ЛИЧНЫЙ КАБИНЕТ — ЕЩЁ ЛЕВЕЕ ================= */
    #user-profile {
        align-items: center;
        gap: 4px;
        margin-right: auto;
        flex-shrink: 0;
        position: fixed;
        right: 0;
    }

    .hidden {
        display: none !important;
    }

    .profile-view {
        background: var(--bg-card);
        border: 1px solid var(--border-subtle);
        border-radius: 40px;
        padding: 5px 10px;
        display: flex;
        align-items: center;
        gap: 6px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        min-width: 150px;
        max-width: 218px;
        width: auto;
    }

    .profile-avatar {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }

    .profile-avatar img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 2px solid var(--accent-bronze);
        object-fit: cover;
    }

    .profile-info {
        display: flex;
        flex-direction: column;
        gap: 1px;
        min-width: 0;
    }

    .profile-nickname,
    .profile-balance {
        font-size: 0.82rem;
        font-weight: 600;
        color: var(--accent-bronze);
    }

    .profile-balance {
        font-weight: 700;
    }

    .profile-deposit {
        position: relative;
        width: 30px;
        height: 30px;
        margin-left: -2px;
        background: rgba(205, 127, 50, 0.15);
        border: 1px solid var(--border-subtle);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2;
    }

    .rub-icon {
        position: absolute;
        top: -6px;
        right: -5px;
        font-size: 0.88rem;
        font-weight: 900;
        background: var(--bg-card);
        padding: 1px 4px;
        border-radius: 6px;
        border: 1px solid var(--border-subtle);
        color: var(--accent-bronze);
    }

    .logout-button {
        width: 37px;
        height: 46px;
        border-radius: 12px;
        background: #13161a;
        border: 1px solid var(--border-subtle);
        color: var(--text-secondary);
        font-size: 17px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin-left: -16px !important;
    }

    .logout-button:hover {
        background: var(--accent-bronze);
        color: #000;
        border-color: var(--accent-bronze);
    }

    /* Кейсы */


    .case-image { height: 135px; transform: scale(1.12); }
    .cases h2 { font-size: 17px; }
    .cases h3 { font-size: 12px; margin: 0 !important; padding: 8px 12px !important; line-height: normal !important; }
    .header h5 { margin-top: 50px; }

    /* Футер */
    .footer-glass-main {
        display: flex;
        flex-direction: column;
        gap: 1.2rem;
        padding: 1rem;
        text-align: center;
    }

    .footer-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4rem;
        width: 100%;
    }

    .footer-visual {
        position: relative;
        order: 3;
    }

    .footer-visual img {
        max-height: 140px;
    }
}



@media (max-width: 380px) {
    .logout-button {
        width: 37px;
        height: 46px;
        border-radius: 12px;
        background: #13161a;
        border: 1px solid var(--border-subtle);
        color: var(--text-secondary);
        font-size: 17px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin-left: -16px !important;
    }
    .logout-button:hover {
        background: var(--accent-bronze);
        color: #000;
        border-color: var(--accent-bronze);
    }
	.logo-language-group {
        margin-left: -12px;
    }
    #user-profile {
        margin-left: 5px !important;
    }
    .profile-view {
        min-width: 148px;
    }
	#user-profile {
        align-items: center;
        gap: 4px;
        margin-right: auto;
        flex-shrink: 0;
        position: fixed;
        right: 0;
    }

    .logout-button {
        width: 37px;
        height: 46px;
        border-radius: 12px;
        background: #13161a;
        border: 1px solid var(--border-subtle);
        color: var(--text-secondary);
        font-size: 17px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin-left: -16px !important;
    }
}

@media (max-width: 480px) {
    .logout-button {
        width: 37px;
        height: 46px;
        border-radius: 12px;
        background: #13161a;
        border: 1px solid var(--border-subtle);
        color: var(--text-secondary);
        font-size: 17px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin-left: -16px !important;
    }
}


@media (max-width: 768px) {
	.pressed-button {
        padding: 0.45rem 0.8rem;
        font-size: 0.78rem;
        white-space: nowrap;
    }
	.nav-container {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 8px 12px;
        gap: 8px;
        height: 62px;
    }

    /* Логотип + язык — сдвинули левее */
    .logo-language-group {
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .Logo img{
        position: relative;
        left: -7px;
        top: 5px;
		width: auto !important;
		height: 60px !important;
    }
    .logo-text {
        display: none;
    }

    .language-button {
        /*width: 62px !important;
        position: relative;
        top: 2px;
        left: -27px;*/
        display: none;
    }

    /* Кнопка "ВОЙТИ" */
    .pressed-button {
        padding: 0.45rem 0.8rem;
        font-size: 0.78rem;
        white-space: nowrap;
    }

    #user-profile {
        align-items: center;
        gap: 4px;
        margin-right: auto;
        flex-shrink: 0;
        position: fixed;
        right: 0;
    }

    .hidden {
        display: none !important;
    }

    .profile-view {
        background: var(--bg-card);
        border: 1px solid var(--border-subtle);
        border-radius: 40px;
        padding: 5px 10px;
        display: flex;
        align-items: center;
        gap: 6px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        min-width: 150px;
        max-width: 218px;
        width: auto;
    }

    .profile-avatar { 
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }

    .profile-avatar img {
        width: 100%;
        height: 100%;
        border-radius: 50%;
        border: 2px solid var(--accent-bronze);
        object-fit: cover;
    }

    .profile-info {
        display: flex;
        flex-direction: column;
        gap: 1px;
        min-width: 0;
    }

    .profile-nickname,
    .profile-balance {
        font-size: 0.82rem;
        font-weight: 600;
        color: var(--accent-bronze);
    }

    .profile-balance {
        font-weight: 700;
    }

    .profile-deposit {
        position: relative;
        width: 30px;
        height: 30px;
        margin-left: -2px;
        background: rgba(205, 127, 50, 0.15);
        border: 1px solid var(--border-subtle);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 2;
    }

    .rub-icon {
        position: absolute;
        top: -6px;
        right: -5px;
        font-size: 0.88rem;
        font-weight: 900;
        background: var(--bg-card);
        padding: 1px 4px;
        border-radius: 6px;
        border: 1px solid var(--border-subtle);
        color: var(--accent-bronze);
    }

    .logout-button {
        width: 37px;
        height: 46px;
        border-radius: 2px;
        background: #13161a;
        border: 1px solid var(--border-subtle);
        color: var(--text-secondary);
        font-size: 17px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin-left: -16px !important;
    }

    .logout-button:hover {
        background: var(--accent-bronze);
        color: #000;
        border-color: var(--accent-bronze);
    }

    .logout-button {
        width: 37px;
        height: 46px;
        border-radius: 12px;
        background: #13161a;
        border: 1px solid var(--border-subtle);
        color: var(--text-secondary);
        font-size: 17px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        margin-left: -16px !important;
    }
}
