
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    will-change: transform, opacity;
    backface-visibility: hidden;
}

body {
    background-color: rgb(30, 30, 30);
    font-family: 'Rubik', sans-serif;
    color: rgb(255, 255, 255);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%,
        rgba(46, 226, 209, 0.05) 0%,
        rgba(30, 30, 30, 1) 70%);
    z-index: -1;
    pointer-events: none;
}

/* Container */
.container {
    max-width: 1400px;
    min-width: 35vw;
    margin: 0 auto;
    position: relative;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: containerFadeIn 1s ease 0.8s forwards;
}

@keyframes containerFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Header */
header {
    position: fixed;
    top: 20px !important;
    left: 50%;
    transform: translateX(-50%) !important;
    width: calc(100% - 80px);
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    align-items: center;
    padding: 15px 40px;
    background: rgba(35, 35, 35, 0.9);
    border-radius: 15px;
    border: 1px solid rgba(46, 226, 209, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
    z-index: 1000;
    transition: all 0.3s ease;
}

header:hover {
    background: rgba(35, 35, 35, 0.9);
    box-shadow: 0 0 25px rgba(46, 226, 209, 0.1);
}

.logo img {
    height: 40px;
    filter: drop-shadow(0 0 10px rgba(46,226,209,0.3));
}

.nav {
    display: flex;
    gap: 25px;
}

.nav a {
    position: relative;
    padding: 8px 15px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #2ee2d1;
    transition: width 0.3s ease;
}

.nav a:hover {
    color: #2ee2d1 !important;
}

.nav a:hover::after {
    width: 60%;
}

.profile-icon {
    padding: 8px 20px;
    border-radius: 25px;
    background: rgba(46, 226, 209, 0.1);
    border: 1px solid rgba(46, 226, 209, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
}

.profile-icon:hover {
    background: rgba(46, 226, 209, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 226, 209, 0.1);
}

/* Footer */
footer {
    position: relative;
    max-width: 1400px;
    justify-content: space-between;
    align-items: center;
    margin-top: 100px;
    padding: 40px !important;
    background: rgba(35, 35, 35, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px 20px 0 0;
    border-top: 1px solid rgba(46, 226, 209, 0.1);
    display: flex;
    flex-direction: row;
    width: 100%;
}

.nav-footer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 30px;
}

.nav-footer a {
    color: #9e9e9e;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px;
}

.nav-footer a:hover {
    color: #2ee2d1 !important;
    transform: translateY(-3px);
}

.social {
    display: flex;
    gap: 15px;
}

.social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(46, 226, 209, 0.1);
    transition: all 0.3s ease;
}

.social a:hover {
    background: #2ee2d1;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(46, 226, 209, 0.3);
}

.social svg {
    fill: #2ee2d1;
    transition: fill 0.3s ease;
}

.social a:hover svg {
    fill: rgb(30, 30, 30) !important;
}

.footer-logo {
    filter: drop-shadow(0 0 10px rgba(46, 226, 209, 0.2));
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: translateY(-5px);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
    color: #2ee2d1;
    text-shadow: 0 0 15px rgba(46,226,209,0.4);
}

.hero-description {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
    color: rgba(255,255,255,0.9);
}

.cta-button {
    font-family: 'Rubik', sans-serif;
    padding: 1rem 2.5rem;
    background: linear-gradient(45deg, #2ee2d1, #257a75);
    border: none;
    border-radius: 30px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(46,226,209,0.4);
}

.cta-button:active {
    transform: translateY(1px);
    box-shadow: none;
}

/* Features */
.features-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 4rem 2rem;
    background: rgb(35,35,35);
    border-radius: 20px;
}

.feature-card {
    background: rgb(30,30,30);
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(46,226,209,0.1);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    align-items: center;
    justify-content: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #2ee2d1, transparent);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    background-color: rgb(35, 35, 35);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #2ee2d1, #257a75);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #2ee2d1;
}

/* Mobile Menu */
.menu-icon {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.menu-icon div {
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    header {
        width: calc(100% - 40px) !important;
        padding: 15px 20px !important;
    }

    .nav {
        display: none !important;
        position: fixed;
        top: 80px;
        right: 20px;
        background: rgba(35,35,35,0.95);
        padding: 20px;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        flex-direction: column;
        gap: 15px;
    }

    .nav.open {
        display: flex !important;
        animation: fadeInUp 0.5s ease;
    }

    .menu-icon {
        display: flex;
    }

    .menu-icon.open div:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-icon.open div:nth-child(2) {
        opacity: 0;
    }

    .menu-icon.open div:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* Mobile Footer */
@media (max-width: 480px) {
    footer {
        padding: 30px 20px !important;
        margin-top: 60px;
        width: calc(100% - 40px);
    }

    .nav-footer {
        grid-template-columns: 1fr;
    }

    .social {
        margin-top: 20px;
    }
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

header {
    animation: slideIn 0.8s ease forwards;
    box-sizing: border-box;

}

footer {
    animation: fadeInUp 1s ease forwards;
}

/* Основные стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    background: rgb(30, 30, 30);
    font-family: 'Rubik', sans-serif;
    color: rgb(255, 255, 255);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Контейнер */
.container {
    max-width: 1400px;
    margin: 0 auto;
    min-width: 35vw;
    padding: 10px 40px 0;
    position: relative;
    flex: 1;
    opacity: 0;
    animation: containerFadeIn 1s ease 0.8s forwards;
}

@keyframes containerFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Шапка */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 80px);
    max-width: 1400px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;

    padding: 15px 40px;
    background: rgba(35, 35, 35, 0.9);
    border-radius: 15px;
    border: 1px solid rgba(46, 226, 209, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    z-index: 1000;
    transition: all 0.3s ease;
}

header:hover {
    background: rgba(35, 35, 35, 0.9);
    box-shadow: 0 0 25px rgba(46, 226, 209, 0.1);
}

.logo img {
    height: 40px;
    filter: drop-shadow(0 0 10px rgba(46,226,209,0.3));
}

.nav {
    display: flex;
    gap: 25px;
}

.nav a {
    position: relative;
    padding: 8px 15px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #2ee2d1;
    transition: width 0.3s ease;
}

.nav a:hover {
    color: #2ee2d1 !important;
}

.nav a:hover::after {
    width: 60%;
}

.profile-icon {
    padding: 8px 20px;
    border-radius: 25px;
    background: rgba(46, 226, 209, 0.1);
    border: 1px solid rgba(46, 226, 209, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
}

.profile-icon:hover {
    background: rgba(46, 226, 209, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 226, 209, 0.1);
}

/* Основной контент */
.index-container {
    flex: 1;
    width: 100%;
}

/* Герой секция */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
    position: relative;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    color: #2ee2d1;
    text-shadow: 0 0 15px rgba(46,226,209,0.4);
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
}

.cta-button {
    padding: 1rem 2.5rem;
    background: linear-gradient(45deg, #2ee2d1, #257a75);
    border: none;
    border-radius: 30px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(46,226,209,0.4);
}

/* Особенности */
.features-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 4rem 2rem;
    background: rgb(35,35,35);
}

.feature-card {
    background: rgb(30,30,30);
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(46,226,209,0.1);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #2ee2d1, transparent);
}

/* Подвал */
footer {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin-top: 100px;
    padding: 40px;
    background: rgba(35, 35, 35, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px 20px 0 0;
    border-top: 1px solid rgba(46, 226, 209, 0.1);
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.nav-footer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 30px;
}

.nav-footer a {
    color: #9e9e9e;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-footer a:hover {
    color: #2ee2d1 !important;
    transform: translateY(-3px);
}

.social {
    display: flex;
    gap: 15px;
}

.social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(46, 226, 209, 0.1);
    transition: all 0.3s ease;
}

.social a:hover {
    background: #2ee2d1;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(46, 226, 209, 0.3);
}


/* Анимации */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

header {
    animation: slideIn 0.8s ease forwards;
}

footer {
    animation: fadeInUp 1s ease forwards;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .container {
        padding: 10px 30px 0;
    }
}

@media (max-width: 992px) {
    header {
        width: calc(100% - 40px);
        padding: 15px 20px;
    }

    .nav {
        display: none;
        position: fixed;
        top: 80px;
        right: 20px;
        background: rgba(35,35,35,0.95);
        padding: 20px;
        border-radius: 15px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        flex-direction: column;
    }

    .nav.open {
        display: flex;
        animation: fadeInUp 0.5s ease;
    }

    .menu-icon {
        display: flex;
        flex-direction: column;
        gap: 5px;
        width: 30px;
    }

    .menu-icon div {
        height: 3px;
        background: white;
        transition: all 0.3s ease;
    }

    .menu-icon.open div:first-child {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-icon.open div:nth-child(2) {
        opacity: 0;
    }

    .menu-icon.open div:last-child {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 10px 20px 0;
    }

    .hero-section {
        padding: 0;
    }

    .features-grid {
        padding: 2rem 1rem;
    }

    footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 30px 20px;
        width: calc(100% - 40px);
    }

    .nav-footer {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px 15px 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .cta-button {
        width: 100%;
        justify-content: center;
    }
}

body.menu-open {
    overflow: hidden;
}

.nav.open {
    display: flex !important;
    animation: menuSlideIn 0.3s ease forwards;
}

@keyframes menuSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Оптимизация анимации иконки */
.menu-icon div {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Затемнение фона при открытом меню */
@media (max-width: 768px) {
    .nav.open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: -1;
    }
}

.auth-container {
    max-width: 600px;
    margin: 100px auto;
    padding: 40px;
    background: rgb(35, 35, 35);
    border-radius: 20px;
    border: 1px solid rgba(46,226,209,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: fadeInUp 0.6s ease;
}

.auth-container img {
    display: block;
    margin: 0 auto 30px;
    width: 10vh;
    filter: drop-shadow(0 0 15px rgba(46,226,209,0.3));
}

.auth-container h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
    color: white;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.auth-form input[type="text"],
.auth-form input[type="password"] {
    width: 100%;
    padding: 12px 20px;
    background: rgb(30,30,30);
    border: 1px solid rgba(46,226,209,0.1);
    border-radius: 10px;
    color: white;
    font-family: 'Rubik', sans-serif;
    transition: all 0.3s ease;
}

.auth-form input:focus {
    outline: none;
    border-color: #2ee2d1;
    box-shadow: 0 0 10px rgba(46,226,209,0.2);
}

.auth-form input::placeholder {
    color: rgba(255,255,255,0.4);
}

.auth-form label {
    display: block;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.auth-form input[type="submit"] {
    padding: 15px 30px;
    background: linear-gradient(45deg, #2ee2d1, #257a75);
    border: none;
    border-radius: 30px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Rubik', sans-serif;
    margin-top: 15px;
}

.auth-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46,226,209,0.3);
}

.auth-link {
    text-align: center;
    margin-top: 25px;
}

.auth-link a {
    color: #2ee2d1;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.auth-link a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #2ee2d1;
    transition: width 0.3s ease;
}

.auth-link a:hover::after {
    width: 100%;
}

/* Messages */
.messages {
    margin: 20px 0;
    padding: 15px;
    border-radius: 10px;
    background: rgba(46,226,209,0.1);
    border: 1px solid rgba(46,226,209,0.2);
}

.messages.error {
    background: rgba(255,75,75,0.1);
    border-color: rgba(255,75,75,0.2);
    color: #ff4b4b;
}

.messages.success {
    background: rgba(46,226,209,0.1);
    border-color: rgba(46,226,209,0.2);
    color: #2ee2d1;
}

/* Mobile Adaptation */
@media (max-width: 768px) {
    .auth-container {
        margin: 60px 20px;
        padding: 30px;
    }

    .auth-container h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .auth-container {
        padding: 25px 20px;
        margin: 40px 15px;
        margin-top: 110px;
    }

    .auth-form input[type="submit"] {
        width: 100%;
    }
}

/* Profile Page */
.profile {
    display: flex;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    background: rgba(35,35,35,0.9);
    border-radius: 20px;
    margin-top: 10rem;
    width: 100%;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(46,226,209,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: cardEntrance 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.profile img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 2px solid transparent;
    background: linear-gradient(45deg, #2ee2d1, #257a75) border-box;
    padding: 3px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.profile img:hover {
    transform: scale(1.1);
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.profile h1 {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.username {
    color: rgba(255,255,255,0.7);
    font-size: 1.1rem;
    cursor: pointer;
    position: relative;
    background: rgba(46,226,209,0.1);
    padding: 4px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.username:hover {
    background: rgba(46,226,209,0.2);
    color: #2ee2d1;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.stat-item {
    background: rgba(30,30,30,0.6);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(46,226,209,0.05);
}

.stat-item p:first-child {
    color: #2ee2d1;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.stat-item p:last-child {
    font-size: 1.2rem;
    font-weight: 500;
}

.username:hover::after {
    content: 'Копировать';
    position: absolute;
    bottom: -25px;
    left: 0;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.profile p {
    color: rgba(255,255,255,0.9);
    margin: 8px 0;
}

.text-to-copy {
    color: #2ee2d1;
    padding: 4px 8px;
    background: rgba(46,226,209,0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.text-to-copy:hover {
    background: rgba(46,226,209,0.2);
}

.hr_profile {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(46,226,209,0.3), transparent);
    margin: 20px 0;
}

/* Profile Buttons */
.profile-buttons {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.profile-button {
    padding: 12px 25px;
    white-space: nowrap;
    font-family: 'Rubik', sans-serif;
    flex: 1;
    background: rgba(46,226,209,0.1);
    border: 1px solid rgba(46,226,209,0.2);
    border-radius: 30px;
    color: #2ee2d1;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.profile-button:hover {
    background: rgba(46,226,209,0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46,226,209,0.1);
}

.profile-button.active {
    background: linear-gradient(45deg, #2ee2d1, #257a75);
    color: #fff;
    border-color: transparent;
}

/* Referral List */
.referral-info-profile {
    background: rgb(35,35,35);
    border-radius: 10px;
    padding: 15px;
    margin: 10px 0;
    transition: transform 0.3s ease;
    border: 1px solid rgba(46,226,209,0.1);
}

.referral-info-profile:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.referral-info-profile span {
    display: block;
    color: #fff;
    margin: 5px 0;
}

.referral-info-profile span[style*="color: rgb(200, 200, 200)"] {
    color: #2ee2d1 !important;
    font-size: 0.9em;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Adaptation */
@media (max-width: 768px) {
    .profile {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .profile h1 {
        font-size: 2rem;
    }

    .profile-buttons {
        justify-content: center;
    }

    .profile-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .profile img {
        width: 100px;
        height: 100px;
    }

    .profile h1 {
        font-size: 1.8rem;
    }

    .referral-info-profile {
        padding: 10px;
    }
}

.header_profile {
    display: flex;
    flex-direction: column;

}

.subscription-history {
    animation: fadeInUp 0.6s ease;
    width: 100%;
}

.subscription-item {
    background: rgba(35,35,35,0.9);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 1rem 0;
    border: 1px solid rgba(46,226,209,0.1);
    position: relative;
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
}

.subscription-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.subscription-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.subscription-type {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2ee2d1;
}

.subscription-days {
    background: rgba(46,226,209,0.1);
    color: #2ee2d1;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.subscription-dates {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.date-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.date-label {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.date-value {
    color: #fff;
    font-weight: 500;
}

.subscription-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.status-active {
    background: rgba(46,226,209,0.1);
    color: #2ee2d1;
}

.status-expired {
    background: rgba(255,75,75,0.1);
    color: #ff4b4b;
}

/* Mobile Adaptation */
@media (max-width: 768px) {
    .subscription-item {
        grid-template-columns: 1fr;
    }

    .subscription-dates {
        grid-template-columns: 1fr;
    }

    .subscription-status {
        position: static;
        justify-content: flex-end;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .subscription-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .subscription-type {
        font-size: 1.1rem;
    }

    .subscription-item {
        padding: 1rem;
    }
}

.settings-container {
    max-width: 1000px;
    margin: 1rem auto;
    padding: 2rem;
    background: rgba(35,35,35,0.9);
    border-radius: 20px;
    border: 1px solid rgba(46,226,209,0.1);
    animation: fadeInUp 0.6s ease;
}

.settings-container h2 {
    color: #2ee2d1;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.settings-group {
    margin-bottom: 2rem;
}

.settings-label {
    display: block;
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.settings-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 70%;
    background: #2ee2d1;
    border-radius: 2px;
}

.settings-input {
    width: 100%;
    padding: 12px 20px;
    background: rgba(30,30,30,0.8);
    border: 1px solid rgba(46,226,209,0.1);
    border-radius: 10px;
    color: #fff;
    font-family: 'Rubik', sans-serif;
    transition: all 0.3s ease;
}

.settings-input:focus {
    border-color: #2ee2d1;
    outline: none;
    box-shadow: 0 0 15px rgba(46,226,209,0.2);
}

.settings-passwords {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.file-input-container {
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.file-input-container input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-input-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 12px 20px;
    background: rgba(46,226,209,0.05);
    border: 1px dashed rgba(46,226,209,0.2);
    border-radius: 10px;
    color: rgba(255,255,255,0.8);
    transition: all 0.3s ease;
}

.file-input-label:hover {
    background: rgba(46,226,209,0.1);
    border-style: solid;
}

.file-input-label i {
    color: #2ee2d1;
}

input[type="submit"] {
    padding: 12px 30px;
    background: linear-gradient(45deg, #2ee2d1, #257a75);
    border: none;
    font-family: 'Rubik', sans-serif;
    border-radius: 30px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46,226,209,0.3);
}

.profile-leave {
    display: flex;
    flex-direction: row;
    margin: 2rem auto 0;
    font-family: 'Rubik', sans-serif;
    padding: 12px 30px;
    align-items: center;
    justify-content: center;
    background: rgba(255,75,75,0.1);
    border: 1px solid rgba(255,75,75,0.2);
    border-radius: 30px;
    color: #ff4b4b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-leave:hover {
    background: rgba(255,75,75,0.2);
    transform: translateY(-2px);
}

.error-messages {
    margin: 1.5rem 0;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255,75,75,0.1);
    border: 1px solid rgba(255,75,75,0.2);
    border-radius: 10px;
    animation: shake 0.4s ease;
}

.error-messages li {
    list-style: none;
    padding: 5px 0;
    color: #ff4b4b;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(10px); }
    50% { transform: translateX(-10px); }
    75% { transform: translateX(5px); }
}

/* Mobile Adaptation */
@media (max-width: 768px) {
    .settings-container {
        padding: 1.5rem;
        margin: 1rem;
    }

    .settings-passwords {
        grid-template-columns: 1fr;
    }

    input[type="submit"] {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .settings-label {
        font-size: 1rem;
    }

    .settings-input {
        padding: 10px 15px;
    }

    .profile-leave {
        width: 100%;
        text-align: center;
    }
}

/* Avatar Upload */
.avatar-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.avatar-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid #2ee2d1;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 15px rgba(46,226,209,0.2);
}

.avatar-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-info {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    text-align: center;
}

/* Error Messages */
#avatarErrors {
    display: none;
    margin-top: 0.5rem;
    padding: 0.5rem;
    color: #ff4b4b;
    border: 1px solid rgba(255,75,75,0.2);
    border-radius: 6px;
}

/* Bot Statistics */
.bot-stats {
    margin: 2rem auto;
    max-width: 800px;
    padding: 2rem;
    background: rgba(35,35,35,0.9);
    border-radius: 20px;
    border: 1px solid rgba(46,226,209,0.1);
    animation: fadeInUp 0.6s ease;
}

.stat-card {
    background: rgba(30,30,30,0.6);
    padding: 1.5rem;
    border-radius: 15px;
    margin: 1.5rem 0;
    border: 1px solid rgba(46,226,209,0.1);
    position: relative;
}

.stat-card h3 {
    color: #2ee2d1;
    font-size: 1.4rem;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.stat-value {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    margin-left: 1rem;
}

.bot-status {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(46,226,209,0.1);
    white-space: nowrap;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.status-online .status-indicator {
    background: #00ff88;
    box-shadow: 0 0 8px rgba(0,255,136,0.3);
}

.status-offline {
    color: #ff4b4b;
    background: rgba(255,75,75,0.1);
}

.status-offline .status-indicator {
    background: #ff4b4b;
    box-shadow: 0 0 8px rgba(255,75,75,0.3);
}

/* Screenshot Section */
.screenshot-section {
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    margin: 2rem 0;
}

.profile-button-screen {
    padding: 12px 30px;
    background: linear-gradient(45deg, #2ee2d1, #257a75);
    border: none;
    border-radius: 30px;
    color: white;
    font-family: 'Rubik', sans-serif;
    font-weight: bold;
    align-items: center;
    display: flex;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-button-screen:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46,226,209,0.3);
}

.screenshot-container {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(30,30,30,0.8);
    border-radius: 15px;
    border: 1px solid rgba(46,226,209,0.1);
}

.screenshot-image {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Animations */
@keyframes pulse {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Adaptation */
@media (max-width: 768px) {
    .bot-stats {
        margin: 1rem;
        padding: 1.5rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-value {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .stat-card h3 {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .profile-button-screen {
        width: 100%;
    }
}

.bots-container {
    max-width: 1400px;
    margin-top: 9rem;
    min-height: 92vh;
}

.bots-main-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2ee2d1;
    margin-bottom: 3rem;
    text-shadow: 0 0 15px rgba(46,226,209,0.3);
}

/* Bot Grid */
.bots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
    padding: 0;
}

/* Bot Card */
.bot-card {
    background: rgba(35,35,35,0.9);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(46,226,209,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.bot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(46,226,209,0.1);
}

/* Image Container */
.bot-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.bot-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.bot-card:hover .bot-image {
    transform: scale(1.05);
}

/* Badges */
.bot-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 15px;
    border-radius: 20px;
    background: #2ee2d1;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 0.9rem;
}

.bot-badge.new {
    background: #ff4b4b;
    color: white;
}

/* Content */
.bot-content {
    padding: 1.5rem;
    box-sizing: border-box;
}

.bot-title {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.bot-description {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    min-height: 80px;
}

/* Features */
.bot-features {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: #2ee2d1;
    font-size: 0.95rem;
}

.feature-item .material-icons {
    font-size: 1.2rem;
}

/* Price */
.bot-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.price-amount {
    color: #2ee2d1;
    font-size: 2rem;
    font-weight: 700;
}

.price-period {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

/* Button */
.bot-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(45deg, #2ee2d1, #257a75);
    border: none;
    border-radius: 15px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.bot-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46,226,209,0.3);
}

/* Mobile Adaptation */
@media (max-width: 768px) {
    .bots-main-title {
        font-size: 2rem;
    }

    .bot-image-container {
        height: 200px;
    }

    .bot-content {
        padding: 1rem;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .bots-container {
        padding: 0;
    }

    .bot-price {
        flex-direction: column;
        align-items: center;
    }
    .bot-content {
        box-sizing: border-box;
    }
    .bots-main-title {
        font-size: 1.8rem;
    }
}

.product-header {
    background: rgb(35,35,35);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    margin-top: 8rem;
}

.product-title {
    color: #2ee2d1;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: rgba(255,255,255,0.8);
}

.quick-action {
    margin-left: auto;
    background: none;
    border: 1px solid rgba(46,226,209,0.2);
    border-radius: 8px;
    padding: 0.5rem;
    color: #2ee2d1;
}

/* Галерея */
.media-section {
    position: relative;
    margin-bottom: 3rem;
}

.main-media {
    border-radius: 12px;
    overflow: hidden;
    background: rgb(35,35,35);
    margin-bottom: 1.5rem;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.active-media {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.media-carousel {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.media-thumbnail {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/9;
    transition: transform 0.2s ease;
    background: rgb(40,40,40);
}

.media-thumbnail.active {
    box-shadow: 0 0 0 2px #2ee2d1;
}

.media-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-thumbnail[data-type="video"]::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.media-thumbnail[data-type="video"] i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: white;
}

/* Обновления */
.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.update-card {
    background: rgb(35,35,35);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(46,226,209,0.1);
}

.update-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(46,226,209,0.1);
}

.version-badge {
    background: rgba(46,226,209,0.1);
    color: #2ee2d1;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 500;
}

.update-date {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}

.update-list {
    list-style: none;
    padding: 0;
    margin: 0;
    color: rgba(255,255,255,0.8);
}

.update-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.update-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: #2ee2d1;
}

/* Отзывы */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.review-card {
    background: rgb(35,35,35);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(46,226,209,0.1);
}

.review-header {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.review-meta {
    flex: 1;
}

.review-author {
    margin: 0;
    font-size: 1.1rem;
}

.review-rating {
    color: #ffd700;
    font-size: 0.9rem;
}

.review-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.review-text {
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
    margin: 0;
}

.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.review-date {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.review-helpful {
    background: none;
    border: 1px solid rgba(46,226,209,0.2);
    border-radius: 20px;
    padding: 0.3rem 0.8rem;
    color: #2ee2d1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .media-carousel {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .product-title {
        font-size: 2rem;
    }

    .media-carousel {
        grid-template-columns: repeat(3, 1fr);
    }

    .image-container {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .media-carousel {
        grid-template-columns: repeat(2, 1fr);
    }

    .image-container {
        height: 300px;
    }

    .product-header {
        padding: 1.5rem;
    }
}
description-section {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(35,35,35,0.9);
    border-radius: 12px;
}

.specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(46,226,209,0.1);
    position: relative;
    padding-left: 2rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2ee2d1;
    font-weight: bold;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    margin-top: 1.5rem;
}

.spec-item {
    background: rgba(30,30,30,0.6);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(46,226,209,0.1);
}

.spec-label {
    color: #2ee2d1;
    font-weight: 500;
    display: block;
    margin-bottom: 0.3rem;
}

.hidden {
    display: none !important;
}

/* Модификации существующих стилей */
.main-media {
    position: relative;
}

.video-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.image-container {
    position: relative;
    z-index: 1;
}

.media-thumbnail[data-type="video"] {
    position: relative;
}

.media-thumbnail[data-type="video"]::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.3);
}

.media-thumbnail[data-type="video"] i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    color: #fff;
    font-size: 2.5rem;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
    .specs-grid {
        grid-template-columns: 1fr;
    }

    .requirements-grid {
        grid-template-columns: 1fr;
    }
}

.main-media {
    position: relative;
    height: 745px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.video-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgb(35, 35, 35);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-container {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgb(35, 35, 35);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.active-media {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.media-carousel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.media-thumbnail {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/9;
    transition: transform 0.2s ease;
    background: rgb(40,40,40);
}

.media-thumbnail.active {
    box-shadow: 0 0 0 2px #2ee2d1;
}

.video-thumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumb-overlay i {
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

/* Исправления для отзывов */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    grid-auto-rows: 1fr;
}

.review-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 280px;
}

.review-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .main-media {
        height: 400px;
    }

    .media-carousel {
        grid-template-columns: repeat(2, 1fr);
    }
}

.pricing-section {
    margin: 4rem 0;
    padding: 2rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.price-card {
    background: rgba(35,35,35,0.9);
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    border: 1px solid rgba(46,226,209,0.1);
    transition: transform 0.3s ease;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(46,226,209,0.1);
}

.price-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.price-header h3 {
    color: #2ee2d1;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.price-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(46,226,209,0.1);
    color: rgba(255,255,255,0.8);
}

.buy-button {
    width: 100%;
    font-family: 'Rubik', sans-serif;
    padding: 1rem;
    background: linear-gradient(45deg, #2ee2d1, #257a75);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46,226,209,0.3);
}

.recommended {
    border: 2px solid #2ee2d1;
    transform: scale(1.05);
}

.price-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #2ee2d1;
    color: #1a1a1a;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .recommended {
        transform: scale(1);
    }
}

.add-review-form {
    background: rgba(35, 35, 35, 0.95);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 1px solid rgba(46, 226, 209, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.rating-stars {
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stars-container {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.stars-container input[type="radio"] {
    display: none;
}

.star-label {
    font-size: 2.5rem;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    margin: 0 2px;
}

.star-label:hover,
.star-label:hover ~ .star-label,
input[type="radio"]:checked ~ .star-label {
    color: #ffd700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

/* Стили для текстового поля */
textarea {
    width: 100%;
    padding: 1.2rem;
    background: rgba(30, 30, 30, 0.9);
    border: 1px solid rgba(46, 226, 209, 0.2);
    border-radius: 10px;
    color: #fff;
    font-family: 'Rubik', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    min-height: 150px;
    resize: vertical;
    transition: all 0.3s ease;
}

textarea:focus {
    outline: none;
    border-color: #2ee2d1;
    box-shadow: 0 0 15px rgba(46, 226, 209, 0.2);
}

/* Стили для кнопки отправки */
.submit-review {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Rubik', sans-serif;
    padding: 1.2rem;
    background: linear-gradient(135deg, #2ee2d1 0%, #257a75 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 1.5rem;
}

.submit-review:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(46, 226, 209, 0.3);
}

.submit-review:active {
    transform: translateY(0);
    box-shadow: none;
}

.submit-review i {
    font-size: 1.4rem;
}

.auth-alert {
    display: none;
    position: fixed;
    left: 20px;
    bottom: 20px;
    background: rgba(255,75,75,0.1);
    border: 1px solid rgba(255,75,75,0.2);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
}

.auth-alert a {
    color: #2ee2d1;
    text-decoration: none;
}
.alert {
    display: none;
    position: fixed;
    left: 20px;
    bottom: 20px;
    padding: 1rem;
    border-radius: 8px;
}

.alert-success {
    background: rgba(46,226,209,0.1);
    border: 1px solid rgba(46,226,209,0.2);
    color: #2ee2d1;
}

.alert-error {
    background: rgba(255,75,75,0.1);
    border: 1px solid rgba(255,75,75,0.2);
    color: #ff4b4b;
}

.l_b {
    color: #2ee2d1;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

.l_b::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #2ee2d1;
    transition: width 0.3s ease;
}

.l_b:hover::after {
    width: 100%;
}

.step-video {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.step-video video {
    width: 100%;
    height: auto;
    display: block;
    background: #000;
}

/* Оптимизация для мобильных устройств */
@media (max-width: 768px) {
    .step-video {
        max-width: 400px;
        margin: 0 auto;
    }
}

.download-container {
    max-width: 1200px;
    margin-top: 150px;
    padding: 0;
}

/* Шапка загрузки */
.download-header {
    text-align: center;
    margin-bottom: 60px;
}

.download-title {
    color: #2ee2d1;
    font-size: 2.5em;
    margin-bottom: 30px;
    text-shadow: 0 0 15px rgba(46,226,209,0.3);
}

/* Кнопка загрузки */
.download-button {
    display: inline-flex;
    align-items: center;
    padding: 20px 40px;
    background: linear-gradient(135deg, #2ee2d1 0%, #257a75 100%);
    border-radius: 15px;
    color: white;
    font-size: 1.4em;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.download-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(46,226,209,0.4);
}

.download-button:active {
    transform: translateY(0);
}


.version {
    margin-left: 20px;
    font-size: 0.8em;
    opacity: 0.9;
}

/* Инструкция по установке */
.installation-guide {
    background: rgba(35,35,35,0.9);
    border-radius: 20px;
    padding: 40px;
    margin-top: 50px;
}

.guide-title {
    color: #2ee2d1;
    text-align: center;
    margin-bottom: 40px;
}

/* Шаги инструкции */
.guide-step {
    margin-bottom: 60px;
    background: rgba(30,30,30,0.7);
    border-radius: 15px;
    padding: 30px;
    transition: transform 0.3s ease;
}

.guide-step:hover {
    transform: translateY(-10px);
}

.step-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #2ee2d1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 20px;
}

.step-title {
    color: #fff;
    font-size: 1.4em;
}

.step-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.step-text {
    color: rgba(255,255,255,0.9);
    line-height: 1.6;
}

.step-gif img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.note {
    background: rgba(255,75,75,0.1);
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step-list {
    padding-left: 20px;
    margin: 15px 0;
}

.step-list li {
    margin: 10px 0;
    position: relative;
    padding-left: 25px;
}

.step-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: #2ee2d1;
}

/* Адаптивность */
@media (max-width: 768px) {
    .step-content {
        grid-template-columns: 1fr;
    }

    .guide-step {
        padding: 20px;
    }

    .download-button {
        font-size: 1.2em;
        padding: 15px 30px;
    }

    .installation-guide {
        border-radius: 20px;
        padding: 10px;
    }

    .step-title {
        font-size: 1.1em;
    }
}

.container-legal h2 {
    margin-top: 20px;
}

.support-container {
    max-width: 1400px;
    width: 100%;
    margin: 4rem auto;
}

.full-width-section {
    width: 100%;
    margin: 4rem 0;
}

/* Заголовки секций */
.section-title-1 {
    font-size: 2.5rem;
    color: #2ee2d1;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.gradient-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg,
        transparent,
        #2ee2d1 50%,
        transparent
    );
}

/* Общие стили карточек */
.support-grid,
.instructions-grid,
.components-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
    gap: 2rem;
    width: 100%;
}

.support-card,
.instruction-card,
.component-card {
    background: rgba(35,35,35,0.95);
    border-radius: 20px;
    border: 1px solid rgba(46,226,209,0.2);
    color: white;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Стили для карточек поддержки */
.support-card {
    text-align: center;
    text-decoration: none;
}

.support-card .card-content {
    position: relative;
    z-index: 2;
}

.card-icon {
    font-size: 3.5rem;
    color: #2ee2d1;
    margin: 1rem 0;
    transition: transform 0.3s ease;
}

.pulse:hover {
    animation: pulse 1.5s infinite;
}

.telegram-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: rgba(46,226,209,0.1);
    border-radius: 30px;
    color: #2ee2d1;
    transition: background 0.3s ease;
}

.support-card:hover .telegram-link {
    background: rgba(46,226,209,0.2);
}

/* Стили для инструкций */
.instruction-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 250px;
    text-decoration: none;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.card-titles h3 {
    margin: 0;
    color: #2ee2d1;
    font-size: 1.5rem;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(46,226,209,0.1);
}

.arrow-box {
    width: 40px;
    height: 40px;
    background: rgba(46,226,209,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.instruction-card:hover .arrow-box {
    background: rgba(46,226,209,0.2);
}

/* Стили для компонентов */
.component-card {
    padding: 2rem;
}

.card-progress {
    margin: 2rem 0;
}

.progress-bar {
    height: 6px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #2ee2d1;
    transition: width 1s ease;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1.2rem;
    background: rgba(46,226,209,0.1);
    border-radius: 15px;
    color: #2ee2d1;
    text-decoration: none;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: rgba(46,226,209,0.2);
}

/* Анимации */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.hover-scale:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(46,226,209,0.15);
}

.glow {
    filter: drop-shadow(0 0 10px rgba(46,226,209,0.3));
}

/* Адаптивность */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .support-card,
    .instruction-card,
    .component-card {
        padding: 1.5rem;
    }

    .card-icon {
        font-size: 2.5rem;
    }
}

/* new_style.css */
.update-container {
    max-width: 800px;
    margin: 150px auto 50px;
    padding: 40px;
    background: rgba(35,35,35,0.95);
    border-radius: 20px;
    border: 1px solid rgba(255,75,75,0.3);
    animation: fadeInUp 0.6s ease;
}

.update-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
}

.update-icon {
    font-size: 164px;
    color: #ff4b4b;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(255,75,75,0.3));
}

.update-title {
    font-size: 2.0rem;
    color: #fff;
    margin-bottom: 10px;
}

.update-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 1.2rem;
}

.download-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 18px 35px;
    background: linear-gradient(45deg, #2ee2d1, #257a75);
    border-radius: 50px;
    color: white;
    font-size: 1.3rem;
    text-decoration: none;
    transition: transform 0.3s ease;
    margin: 30px auto;
    width: fit-content;
}

.download-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(46,226,209,0.3);
}

.changelog-box {
    background: rgba(30,30,30,0.8);
    border-radius: 15px;
    padding: 25px;
    margin: 40px 0;
}

.changelog-title {
    color: #2ee2d1;
    font-size: 1.4rem;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(46,226,209,0.2);
    padding-bottom: 10px;
}

.changelog-list {
    display: grid;
    gap: 15px;
}

.changelog-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.9);
    padding: 12px;
    border-radius: 8px;
    background: rgba(46,226,209,0.05);
}

.update-warning {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255,75,75,0.1);
    border-radius: 12px;
    color: #ff4b4b;
    margin-top: 30px;
}

@media (max-width: 768px) {
    .update-container {
        margin: 100px 20px 30px;
        padding: 25px;
    }

    .update-title {
        font-size: 1.8rem;
    }

    .download-button {
        width: 100%;
        padding: 15px;
        font-size: 1.1rem;
    }
}

.container_not_found {
    margin-top: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 83vh;
}

.step-video img {
    width: 100%;
    height: 100%;
}

.guide-container {
    max-width: 1400px;
    width: 100%;
    margin: 8rem auto;
    padding: 0;
}

.guide-main-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 60px;
    color: #2ee2d1;
    text-shadow: 0 0 20px rgba(46,226,209,0.4);
}

.guide-section {
    margin: 50px 0;
    background: rgba(35,35,35,0.95);
    border-radius: 15px;
    padding: 40px;
    border: 1px solid rgba(46,226,209,0.15);
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-title svg {
    width: 32px;
    height: 32px;
    fill: #2ee2d1;
}

/* Шаги с медиа */
.step-block {
    margin: 30px 0;
    padding: 25px;
    background: rgba(30,30,30,0.8);
    border-radius: 12px;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #2ee2d1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #1e1e1e;
}

.media-container {
    margin: 25px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.guide-video, .guide-image {
    width: 100%;
    height: auto;
    display: block;
}


.critical-requirements {
    background: rgba(255,75,75,0.1);
    border: 2px solid #ff4b4b;
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    position: relative;
}

.critical-requirements::before {
    content: "!";
    position: absolute;
    left: -20px;
    top: -20px;
    background: #ff4b4b;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}


.accordion-item {
    margin: 20px 0;
    border: 1px solid rgba(46,226,209,0.2);
    border-radius: 8px;
}

.accordion-header {
    background: rgba(46,226,209,0.05);
    padding: 18px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: rgba(46,226,209,0.1);
}

.accordion-content {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-content.active {
    padding: 20px;
    max-height: 1000px;
}

@media (max-width: 768px) {
    .guide-container {
        padding: 0;
        margin: 60px auto;
    }

    .guide-main-title {
        font-size: 2.0rem;
        margin-top: 50px;
    }

    .guide-section {
        width: 100%;
        padding: 0;
    }
}