/*!* Шапка *!*/
/*.gamer-header {*/
/*    background-color: rgba(15, 15, 26, 0.9);*/
/*    backdrop-filter: blur(10px);*/
/*    padding: 1rem 0;*/
/*    position: fixed;*/
/*    width: 100%;*/
/*    top: 0;*/
/*    z-index: 1000;*/
/*    border-bottom: 1px solid var(--primary-dark);*/
/*}*/

/*.gamer-header .container {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*}*/

/*.logo {*/
/*    font-size: 2rem;*/
/*    font-weight: 700;*/
/*    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));*/
/*    -webkit-background-clip: text;*/
/*    background-clip: text;*/
/*    color: transparent;*/
/*    text-transform: uppercase;*/
/*    letter-spacing: 2px;*/
/*}*/

/*.main-nav ul {*/
/*    display: flex;*/
/*    list-style: none;*/
/*}*/

/*.main-nav ul li {*/
/*    margin: 0 1rem;*/
/*}*/

/*.main-nav ul li a {*/
/*    color: var(--dark-text);*/
/*    text-decoration: none;*/
/*    font-weight: 500;*/
/*    transition: all 0.3s ease;*/
/*    position: relative;*/
/*    padding: 0.5rem 0;*/
/*}*/

/*.main-nav ul li a:hover {*/
/*    color: var(--light-text);*/
/*}*/

/*.main-nav ul li a.active {*/
/*    color: var(--primary-color);*/
/*    font-weight: 600;*/
/*}*/

/*.main-nav ul li a::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*    left: 0;*/
/*    width: 0;*/
/*    height: 2px;*/
/*    background: var(--primary-color);*/
/*    transition: width 0.3s ease;*/
/*}*/

/*.main-nav ul li a:hover::after {*/
/*    width: 100%;*/
/*}*/

/*.user-actions {*/
/*    display: flex;*/
/*    gap: 10px;*/
/*}*/

/*.user-actions button {*/
/*    padding: 0.5rem 1rem;*/
/*    border-radius: 4px;*/
/*    font-weight: 600;*/
/*    cursor: pointer;*/
/*    transition: all 0.3s ease;*/
/*    margin-left: 1rem;*/
/*    border: none;*/
/*}*/

/*.btn-login {*/
/*    background: transparent;*/
/*    color: var(--light-text);*/
/*    border: 1px solid var(--primary-color);*/
/*}*/

/*.btn-login:hover {*/
/*    background: var(--primary-color);*/
/*    box-shadow: 0 0 10px var(--primary-light);*/
/*}*/

/*.btn-install {*/
/*    background: var(--primary-color);*/
/*    color: var(--light-text);*/
/*}*/

/*.btn-login.active {*/
/*    background: var(--primary-color);*/
/*}*/

/*.btn-register.active {*/
/*    background: var(--primary-dark);*/
/*}*/

/*.btn-install:hover {*/
/*    background: var(--primary-dark);*/
/*    box-shadow: 0 0 15px var(--primary-light);*/
/*}*/

/*.btn-install {*/
/*    background: var(--primary-color);*/
/*    color: var(--light-text);*/
/*}*/

/*.btn-install:hover {*/
/*    background: var(--primary-dark);*/
/*    box-shadow: 0 0 15px var(--primary-light);*/
/*}*/

/*!* Стили для выпадающего меню пользователя *!*/
/*.dropdown-menu {*/
/*    background-color: var(--card-bg);*/
/*    border: 1px solid var(--primary-dark);*/
/*    box-shadow: 0 0 20px rgba(110, 0, 255, 0.5);*/
/*    border-radius: 8px;*/
/*    overflow: hidden;*/
/*    display: none;*/
/*    position: absolute;*/
/*    right: 0;*/
/*    min-width: 200px;*/
/*    z-index: 1000;*/
/*}*/

/*.dropdown-menu.show {*/
/*    display: block;*/
/*    animation: fadeIn 0.3s ease;*/
/*}*/

/*.dropdown-item {*/
/*    color: var(--light-text);*/
/*    padding: 0.75rem 1.5rem;*/
/*    display: block;*/
/*    transition: all 0.3s ease;*/
/*    text-decoration: none;*/
/*}*/

/*.dropdown-item:hover {*/
/*    background-color: var(--primary-dark);*/
/*    color: var(--accent-color);*/
/*    padding-left: 1.75rem;*/
/*}*/

/*.dropdown-divider {*/
/*    border-color: var(--primary-dark);*/
/*    margin: 0.5rem 0;*/
/*}*/

/*!* Стили для toast-уведомлений *!*/
/*.toast-container {*/
/*    position: fixed;*/
/*    top: 20px;*/
/*    right: 20px;*/
/*    z-index: 1100;*/
/*}*/

/*.toast {*/
/*    background: var(--card-bg);*/
/*    border-left: 4px solid var(--primary-color);*/
/*    color: var(--light-text);*/
/*    padding: 1rem;*/
/*    margin-bottom: 1rem;*/
/*    border-radius: 6px;*/
/*    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*    max-width: 350px;*/
/*    opacity: 0;*/
/*    transform: translateX(100%);*/
/*    transition: all 0.3s ease;*/
/*}*/

/*.toast.show {*/
/*    opacity: 1;*/
/*    transform: translateX(0);*/
/*}*/

/*.toast.success {*/
/*    border-left-color: var(--success-color);*/
/*}*/

/*.toast.error {*/
/*    border-left-color: var(--error-color);*/
/*}*/

/*.toast-content i {*/
/*    margin-right: 10px;*/
/*    font-size: 1.2rem;*/
/*}*/

/*.toast-close {*/
/*    cursor: pointer;*/
/*    margin-left: 15px;*/
/*    opacity: 0.7;*/
/*    transition: opacity 0.2s ease;*/
/*}*/

/*.toast-close:hover {*/
/*    opacity: 1;*/
/*}*/

/*!* Анимации *!*/
/*@keyframes fadeIn {*/
/*    from { opacity: 0; transform: translateY(-10px); }*/
/*    to { opacity: 1; transform: translateY(0); }*/
/*}*/

/*!* ===== Стили для выпадающего меню пользователя ===== *!*/
/*.user-dropdown {*/
/*    position: relative;*/
/*    margin-left: 20px;*/
/*}*/

/*.user-dropdown-toggle {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 10px;*/
/*    padding: 8px 15px;*/
/*    border-radius: 30px;*/
/*    background: rgba(110, 0, 255, 0.1);*/
/*    border: 1px solid var(--primary-color);*/
/*    color: var(--light-text);*/
/*    text-decoration: none;*/
/*    transition: all 0.3s ease;*/
/*    cursor: pointer;*/
/*}*/

/*.user-dropdown-toggle:hover {*/
/*    background: rgba(110, 0, 255, 0.2);*/
/*    box-shadow: 0 0 10px rgba(110, 0, 255, 0.3);*/
/*}*/

/*.user-avatar {*/
/*    width: 36px;*/
/*    height: 36px;*/
/*    border-radius: 50%;*/
/*    object-fit: cover;*/
/*    border: 2px solid var(--primary-color);*/
/*}*/

/*.user-name {*/
/*    font-weight: 500;*/
/*    max-width: 120px;*/
/*    white-space: nowrap;*/
/*    overflow: hidden;*/
/*    text-overflow: ellipsis;*/
/*}*/

/*.dropdown-arrow {*/
/*    font-size: 0.8rem;*/
/*    transition: transform 0.3s ease;*/
/*}*/

/*.user-dropdown-menu {*/
/*    position: absolute;*/
/*    right: 0;*/
/*    top: 100%;*/
/*    margin-top: 10px;*/
/*    min-width: 200px;*/
/*    background: var(--darker-bg);*/
/*    border-radius: 8px;*/
/*    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3),*/
/*    0 0 0 1px rgba(110, 0, 255, 0.2),*/
/*    0 0 30px rgba(110, 0, 255, 0.1);*/
/*    padding: 8px 0;*/
/*    opacity: 0;*/
/*    visibility: hidden;*/
/*    transform: translateY(10px);*/
/*    transition: all 0.3s ease;*/
/*    z-index: 1000;*/
/*}*/

/*.user-dropdown:hover .user-dropdown-menu {*/
/*    opacity: 1;*/
/*    visibility: visible;*/
/*    transform: translateY(0);*/
/*}*/

/*.user-dropdown:hover .dropdown-arrow {*/
/*    transform: rotate(180deg);*/
/*}*/

/*.user-dropdown-item {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 10px;*/
/*    padding: 10px 16px;*/
/*    color: var(--light-text);*/
/*    text-decoration: none;*/
/*    transition: all 0.2s ease;*/
/*}*/

/*.user-dropdown-item i {*/
/*    width: 20px;*/
/*    text-align: center;*/
/*    color: var(--primary-light);*/
/*}*/

/*.user-dropdown-item:hover {*/
/*    background: rgba(110, 0, 255, 0.1);*/
/*    color: var(--accent-color);*/
/*    padding-left: 20px;*/
/*}*/

/*.user-dropdown-item:hover i {*/
/*    color: var(--accent-color);*/
/*}*/

/*.user-dropdown-divider {*/
/*    height: 1px;*/
/*    background: linear-gradient(to right,*/
/*    transparent,*/
/*    var(--primary-color),*/
/*    transparent);*/
/*    margin: 8px 0;*/
/*}*/

/*.logout-btn {*/
/*    background: none;*/
/*    border: none;*/
/*    width: 100%;*/
/*    text-align: left;*/
/*    cursor: pointer;*/
/*    font-family: inherit;*/
/*    font-size: inherit;*/
/*    color: inherit;*/
/*}*/

/*.logout-btn:hover {*/
/*    color: #ff4757;*/
/*}*/

/*.logout-btn:hover i {*/
/*    color: #ff4757;*/
/*}*/

/* Шапка */
.gamer-header {
    background-color: rgba(15, 15, 26, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--primary-dark);
}

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

.logo {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    margin: 0 1rem;
}

.main-nav ul li a {
    color: var(--dark-text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.main-nav ul li a:hover {
    color: var(--light-text);
}

.main-nav ul li a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav ul li a:hover::after {
    width: 100%;
}

.user-actions {
    display: flex;
    gap: 10px;
}

.user-actions button,
.user-actions a {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 1rem;
    border: none;
    text-decoration: none;
    display: inline-block;
}

.btn-login {
    background: transparent;
    color: var(--light-text);
    border: 1px solid var(--primary-color);
}

.btn-login:hover {
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-light);
}

.btn-install {
    background: var(--primary-color);
    color: var(--light-text);
}

.btn-install:hover {
    background: var(--primary-dark);
    box-shadow: 0 0 15px var(--primary-light);
}

/* Стили для выпадающего меню пользователя */
.user-dropdown {
    position: relative;
    margin-left: 20px;
}

.user-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    border-radius: 30px;
    background: rgba(110, 0, 255, 0.1);
    border: 1px solid var(--primary-color);
    color: var(--light-text);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.user-dropdown-toggle:hover {
    background: rgba(110, 0, 255, 0.2);
    box-shadow: 0 0 10px rgba(110, 0, 255, 0.3);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

.user-name {
    font-weight: 500;
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.user-dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 10px;
    min-width: 200px;
    background: var(--darker-bg);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(110, 0, 255, 0.2),
    0 0 30px rgba(110, 0, 255, 0.1);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.user-dropdown:hover .user-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    color: var(--light-text);
    text-decoration: none;
    transition: all 0.2s ease;
}

.user-dropdown-item i {
    width: 20px;
    text-align: center;
    color: var(--primary-light);
}

.user-dropdown-item:hover {
    background: rgba(110, 0, 255, 0.1);
    color: var(--accent-color);
    padding-left: 20px;
}

.user-dropdown-divider {
    height: 1px;
    background: linear-gradient(to right,
    transparent,
    var(--primary-color),
    transparent);
    margin: 8px 0;
}

.logout-btn {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

.logout-btn:hover {
    color: #ff4757;
}

.logout-btn:hover i {
    color: #ff4757;
}

/* Toast-уведомления */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1100;
}

.toast {
    background: var(--card-bg);
    border-left: 4px solid var(--primary-color);
    color: var(--light-text);
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 350px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast-close {
    cursor: pointer;
    margin-left: 15px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.toast-close:hover {
    opacity: 1;
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}