/* Объявление шрифтов Benzin */
@font-face {
    font-family: 'Benzin';
    src: url('../fonts/Benzin-Medium.otf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Benzin';
    src: url('../fonts/Benzin-Semibold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Benzin';
    src: url('../fonts/Benzin-Bold.otf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Benzin';
    src: url('../fonts/Benzin-ExtraBold.otf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Базовые стили с шрифтом Benzin */
body {
    font-family: 'Benzin', sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
}

/* Стили для звездного фона */
#stars-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Стили для шапки */
header {
    padding: 30px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
}

.logo img {
    height: 40px;
    margin-right: 12px;
}

.logo span {
    font-family: 'Benzin', sans-serif;
    font-weight: 700;
    font-size: 24px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 40px;
}

nav ul li a {
    font-family: 'Benzin', sans-serif;
    font-weight: 500;
    text-decoration: none;
    color: #ffffff;
    font-size: 16px;
    transition: opacity 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    opacity: 0.7;
}

/* КРАСИВАЯ ПАНЕЛЬ АВТОРИЗАЦИИ */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-profile {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.user-profile:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: #000;
}

.user-name {
    font-family: 'Benzin', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #ffffff;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: rgba(15, 15, 15, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 8px;
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Benzin', sans-serif;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.dropdown-item svg {
    width: 16px;
    height: 16px;
    opacity: 0.8;
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 4px 0;
}

/* Кнопки входа/регистрации когда не авторизован */
.login-btn,
.register-btn {
    font-family: 'Benzin', sans-serif;
    font-weight: 500;
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.login-btn {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.register-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.login-btn:hover,
.register-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Секция hero */
.hero {
    padding: 80px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    backdrop-filter: blur(5px);
    background: rgba(10, 10, 10, 0.2);
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.05),
        inset 0 0 1px rgba(255, 255, 255, 0.2);
    margin: 50px 0;
    border: 1px solid;
    border-image: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05), transparent) 1;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    z-index: 1;
}

.hero-content {
    max-width: 550px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Benzin', sans-serif;
    font-weight: 800;
    font-size: 72px;
    line-height: 1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-tagline {
    font-family: 'Benzin', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-text {
    font-family: 'Benzin', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 50px;
    color: rgba(255, 255, 255, 0.8);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    align-items: center;
}

/* Исправленные кнопки */
.button-outline,
.button-primary {
    font-family: 'Benzin', sans-serif;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    min-width: 200px;
    text-align: center;
    white-space: nowrap;
}

.button-outline {
    border: 1.5px solid #ffffff;
    color: #ffffff;
    background: transparent;
}

.button-primary {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    color: #ffffff;
    border: 1.5px solid transparent;
}

.button-outline:hover,
.button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.15);
}

.button-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.button-primary:hover {
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
    border-color: rgba(255, 255, 255, 0.2);
}

/* Увеличенные квадратики platform-visual */
.platform-visual {
    position: relative;
    width: 500px;
    height: 500px;
}

.visual-card {
    position: absolute;
    backdrop-filter: blur(10px);
    background: rgba(15, 15, 15, 0.4);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.15);
    padding: 25px;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.main-card {
    width: 280px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.card-header {
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.card-dots {
    display: flex;
    gap: 8px;
}

.card-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.card-dots span:nth-child(1) {
    background: #ff5f57;
}

.card-dots span:nth-child(2) {
    background: #ffbd2e;
}

.card-dots span:nth-child(3) {
    background: #28ca42;
}

.card-content h4 {
    font-family: 'Benzin', sans-serif;
    font-weight: 700;
    font-size: 20px;
    margin-bottom: 8px;
}

.card-content p {
    font-family: 'Benzin', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.feature-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.feature-tags span {
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-card {
    width: 180px;
    height: 100px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    font-weight: 500;
    z-index: 2;
    padding: 20px;
}

.floating-card:nth-child(2) {
    top: 15%;
    left: 5%;
    animation: float 6s ease-in-out infinite;
}

.floating-card:nth-child(3) {
    top: 65%;
    right: 5%;
    animation: float 6s ease-in-out infinite 0.5s;
}

.floating-card:nth-child(4) {
    bottom: 20%;
    left: 15%;
    animation: float 6s ease-in-out infinite 1s;
}

.floating-card svg {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.floating-card span {
    font-family: 'Benzin', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.floating-card:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
    background: rgba(20, 20, 20, 0.5);
}

/* Анимация плавающих карточек */
@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

.delay-1 {
    animation-delay: 0.5s;
}

.delay-2 {
    animation-delay: 1s;
}

/* Features Section */
.features {
    padding: 100px 0;
}

.section-title {
    font-family: 'Benzin', sans-serif;
    font-weight: 700;
    font-size: 42px;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.features-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-card {
    position: relative;
    backdrop-filter: blur(5px);
    background: rgba(10, 10, 10, 0.2);
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-title {
    font-family: 'Benzin', sans-serif;
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 15px;
}

.feature-description {
    font-family: 'Benzin', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.feature-link {
    font-family: 'Benzin', sans-serif;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.feature-link:hover {
    opacity: 0.7;
}

/* Team Section */
.team {
    padding: 100px 0;
}

.team-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.team-member {
    flex: 1;
    min-width: 250px;
    text-align: center;
    position: relative;
}

/* Team 2 section */


.team2 {
    padding: 100px 0;
}

.team2-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.team2-member {
    flex: 1;
    min-width: 250px;
    text-align: center;
    position: relative;
}

/* Team Section */
.team2 {
    padding: 100px 0;
}

.team-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.team-member {
    flex: 1;
    min-width: 250px;
    text-align: center;
    position: relative;
}

/* Pride Section */
.pride {
    padding: 100px 0;
}

.pride-wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.pride-member {
    flex: 1;
    min-width: 250px;
    text-align: center;
    position: relative;
}

.member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vacant-icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
}

.member-name {
    font-family: 'Benzin', sans-serif;
    font-weight: 600;
    font-size: 20px;
    margin-bottom: 5px;
}

.member-position {
    font-family: 'Benzin', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
}

.member-description {
    font-family: 'Benzin', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.contact-btn {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-family: 'Benzin', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
}


.contact-btn:hover:not(.disabled) {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.contact-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Stats Section */
.stats {
    padding: 100px 0;
}

.stats-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 30px;
}

.stat-number {
    font-family: 'Benzin', sans-serif;
    font-weight: 800;
    font-size: 48px;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #ffffff, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-family: 'Benzin', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
}

.cta-content {
    backdrop-filter: blur(5px);
    background: rgba(10, 10, 10, 0.2);
    border-radius: 20px;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.05);
    padding: 60px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-title {
    font-family: 'Benzin', sans-serif;
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 20px;
}

.cta-text {
    font-family: 'Benzin', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Footer */
.site-footer {
    background: rgba(5, 5, 10, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 80px;
    border-radius: 20px 20px 0 0;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 60px 0 40px;
}

.footer-column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
    padding-right: 30px;
}

.footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    margin-bottom: 25px;
}

.footer-logo img {
    height: 30px;
    margin-right: 10px;
}

.footer-logo span {
    font-family: 'Benzin', sans-serif;
    font-weight: 700;
    font-size: 20px;
}

.footer-description {
    font-family: 'Benzin', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.footer-heading {
    font-family: 'Benzin', sans-serif;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a {
    font-family: 'Benzin', sans-serif;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ffffff;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0 0 20px 20px;
    padding-left: 30px;
    padding-right: 30px;
}

.copyright {
    font-family: 'Benzin', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links-bottom {
    display: flex;
    gap: 30px;
}

.footer-links-bottom a {
    font-family: 'Benzin', sans-serif;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links-bottom a:hover {
    color: #ffffff;
}

/* Messenger Links in Footer */
.messenger-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.messenger-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.messenger-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.messenger-link.telegram:hover {
    background: rgba(0, 136, 204, 0.1);
    border-color: rgba(0, 136, 204, 0.3);
}

.messenger-link.max:hover {
    background: rgba(220, 20, 60, 0.1);
    border-color: rgba(68, 0, 255, 0.3);
}

.messenger-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.messenger-link.telegram .messenger-icon {
    color: #0088cc;
}

.messenger-link.max .messenger-icon img {
    border-radius: 4px;
}

.messenger-name {
    font-family: 'Benzin', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: white;
}

.ministry-support p {
    font-family: 'Benzin', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 30px;
        padding: 40px 0 30px;
    }

    .footer-column {
        padding-right: 0;
        margin-bottom: 0;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        gap: 15px;
        text-align: center;
        padding: 20px;
    }

    .footer-links-bottom {
        flex-direction: column;
        gap: 10px;
    }
}

/* Contact Checkboxes */
.contact-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-checkbox input[type="checkbox"] {
    margin-right: 10px;
}

.contact-checkbox label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Benzin', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    cursor: default;
}

.ministry-support p {
    font-family: 'Benzin', sans-serif;
    font-weight: 500;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 20px;
    font-style: italic;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.copyright {
    font-family: 'Benzin', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-links-bottom {
    display: flex;
    gap: 20px;
}

.footer-links-bottom a {
    font-family: 'Benzin', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links-bottom a:hover {
    color: #ffffff;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: relative;
    background-color: #0a0a0a;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 15px;
    color: #ffffff;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.modal-body {
    padding: 40px;
}

.member-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.member-photo-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.member-photo-large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info h2 {
    font-family: 'Benzin', sans-serif;
    font-weight: 600;
    font-size: 24px;
    margin-bottom: 5px;
}

.member-info p {
    font-family: 'Benzin', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .container {
        padding: 0 40px;
    }

    .hero-title {
        font-size: 60px;
    }

    .stats-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .header-content {
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li {
        margin: 10px 15px;
    }

    .hero {
        flex-direction: column;
        padding: 40px 30px;
        text-align: center;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .features-wrapper {
        grid-template-columns: 1fr;
    }

    .team-wrapper {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-column {
        padding-right: 0;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .platform-visual {
        width: 350px;
        height: 350px;
        margin: 0 auto;
    }

    .main-card {
        width: 220px;
        height: 160px;
    }

    .floating-card {
        width: 140px;
        height: 80px;
        padding: 15px;
    }

    .floating-card svg {
        width: 28px;
        height: 28px;
    }

    .floating-card span {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 32px;
    }

    .feature-card,
    .cta-content {
        padding: 30px 20px;
    }

    .stats-wrapper {
        grid-template-columns: 1fr;
    }

    .platform-visual {
        width: 300px;
        height: 300px;
    }

    .main-card {
        width: 200px;
        height: 140px;
    }

    .floating-card {
        width: 120px;
        height: 70px;
        padding: 12px;
    }

    .floating-card svg {
        width: 24px;
        height: 24px;
    }

    .floating-card span {
        font-size: 11px;
    }
}

/* Notifications */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #27ae60;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-family: 'Benzin', sans-serif;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    animation: slideIn 0.3s ease;
}

.notification.error {
    background: #e74c3c;
}

.notification button {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Auth buttons states */
.auth-buttons .active {
    background: rgba(255, 255, 255, 0.2) !important;
}

.user-welcome {
    font-family: 'Benzin', sans-serif;
    color: rgba(255, 255, 255, 0.8);
    margin-right: 15px;
}

.profile-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    color: white;
    text-decoration: none;
    font-family: 'Benzin', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.profile-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.logout-btn {
    padding: 8px 16px;
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid rgba(231, 76, 60, 0.5);
    border-radius: 6px;
    color: white;
    font-family: 'Benzin', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: rgba(231, 76, 60, 0.3);
}

/* Notifications */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #27ae60;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-family: 'Benzin', sans-serif;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1000;
    animation: slideIn 0.3s ease;
}

.notification.error {
    background: #e74c3c;
}

.notification.warning {
    background: #f39c12;
}

.notification button {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Auth buttons states */
.auth-buttons .active {
    background: rgba(255, 255, 255, 0.2) !important;
}

.user-welcome {
    font-family: 'Benzin', sans-serif;
    color: rgba(255, 255, 255, 0.8);
    margin-right: 15px;
}

.profile-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    color: white;
    text-decoration: none;
    font-family: 'Benzin', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.profile-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.logout-btn {
    padding: 8px 16px;
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid rgba(231, 76, 60, 0.5);
    border-radius: 6px;
    color: white;
    font-family: 'Benzin', sans-serif;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: rgba(231, 76, 60, 0.3);
}

/* Stars Background */
#stars-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2a 50%, #2a2a3a 100%);
}

/* Ensure content is above background */
.container {
    position: relative;
    z-index: 1;
}

/* Admin Badge */
.admin-badge {
    display: inline-block;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    font-family: 'Benzin', sans-serif;
    font-weight: 700;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 6px;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    animation: pulse-admin 2s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

@keyframes pulse-admin {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(231, 76, 60, 0.5);
    }
}

/* Для hover эффекта */
nav ul li a:hover+.admin-badge {
    animation: none;
    transform: scale(1.1);
}

/* Messenger Links in Footer */
.messenger-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.messenger-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.messenger-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.messenger-link.telegram:hover {
    background: rgba(0, 136, 204, 0.1);
    border-color: rgba(0, 136, 204, 0.3);
}

.messenger-link.max:hover {
    background: rgba(47, 0, 255, 0.1);
    border-color: rgba(0, 60, 255, 0.3);
}

.messenger-link.youtube:hover {
    background: rgba(255, 0, 0, 0.205);
    border-color: rgba(255, 0, 0, 0.452);
}

.messenger-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.messenger-link.telegram .messenger-icon {
    color: #0088cc;
}

.messenger-link.max .messenger-icon {
    color: #3700ff;
}

.messenger-link.youtube .messenger-icon {
    color: #ff0000;
}

.messenger-name {
    font-family: 'Benzin', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: white;
}

.messenger-link.rutube:hover {
    background: rgba(255, 0, 0, 0.1);
    border-color: rgba(255, 0, 0, 0.3);
}

.messenger-link.rutube .messenger-icon {
    color: #ff0000;
}

.beta-badge {
    background: linear-gradient(45deg, #ffc107, #ff9800);
    color: #000000;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.beta-badge2 {
    background: linear-gradient(45deg, #ffc107, #ff9800);
    color: #000000;
    padding: 6px 8px;
    border-radius: 8px;
    font-size: 8px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* BETA Notification */
.beta-notification {
    backdrop-filter: blur(10px);
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
}

.beta-content {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #ffc107;
    font-family: 'Benzin', sans-serif;
    font-weight: 500;
    font-size: 14px;
}

.beta-content p {
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.beta-link {
    color: #ffc107;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 193, 7, 0.5);
    transition: all 0.3s ease;
    font-weight: 600;
}

.beta-link:hover {
    color: #ffffff;
    border-bottom-color: #ffffff;
}

/* Unavailable Badge */
.unavailable-badge {
    display: inline-block;
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
    font-family: 'Benzin', sans-serif;
    font-weight: 700;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 6px;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    animation: pulse-unavailable 3s ease-in-out infinite;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
}

@keyframes pulse-unavailable {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(108, 117, 125, 0.5);
    }
}

/* Для hover эффекта */
.messenger-link:hover .unavailable-badge {
    animation: none;
    transform: scale(1.1);
}

/* Новые стили для расположения */
.messenger-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.messenger-name {
    white-space: nowrap;
}

.messenger-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.member-photo-container {
    position: relative;
    display: inline-block;
}

.member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-photo-container {
    position: relative;
    display: inline-block;
}

.member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-photo-container {
    position: relative;
    display: inline-block;
}

.member-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* User Dropdown Styles */
.user-profile {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.user-profile:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: #000;
}

.user-name {
    font-family: 'Benzin', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #ffffff;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: rgba(15, 15, 15, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 8px;
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(20px);
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Benzin', sans-serif;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.dropdown-item svg {
    width: 16px;
    height: 16px;
    opacity: 0.8;
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 4px 0;
}

/* Auth buttons when not logged in */
.login-btn,
.register-btn {
    font-family: 'Benzin', sans-serif;
    font-weight: 500;
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.login-btn {
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.register-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.login-btn:hover,
.register-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Notification animation */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Добавьте эти стили в конец файла main.css */

/* Стили для флага России */
.flag-icon {
    vertical-align: middle;
    margin-left: 8px;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.flag-icon:hover {
    transform: scale(1.1);
}

/* Стили для иконок министров */
.member-photo {
    position: relative;
    display: inline-block;
}

.member-icon {
    position: absolute;
    top: -8px;
    right: -8px;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10;
    border: 2px solid var(--background-color);
}

.member-icon svg {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

/* Цвета для разных министерств */
.member-icon.ministry-information {
    background: #2563eb;
}

.member-icon.ministry-president {
    background: #7c3aed;
}

.member-icon.ministry-internal {
    background: #dc2626;
}

.member-icon.ministry-culture {
    background: #d97706;
}

.member-icon.ministry-sport {
    background: #059669;
}

.member-icon.ministry-education {
    background: #4f46e5;
}

.member-icon.ministry-tourism {
    background: #db2777;
}

.member-icon.ministry-security {
    background: #b91c1c;
}

.member-icon.ministry-law {
    background: #6d28d9;
}

.member-icon.ministry-health {
    background: #047857;
}

.member-icon.ministry-economy {
    background: #ea580c;
}

.member-icon.ministry-ecology {
    background: #16a34a;
}

/* Гарантируем что иконки будут поверх всех элементов */
.team-member {
    position: relative;
    z-index: 1;
}

.member-photo {
    position: relative;
    z-index: 2;
}

.member-icon {
    z-index: 1000;
}

/* Улучшенные стили для контрастности */
.member-icon {
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .member-icon {
        width: 32px;
        height: 32px;
        top: -6px;
        right: -6px;
    }

    .member-icon svg {
        width: 16px;
        height: 16px;
    }
}

/* Стили для лучшей видимости на темном фоне */
.member-icon {
    background: linear-gradient(135deg, currentColor, rgba(0, 0, 0, 0.8));
}

/* Переопределение цветов с градиентами */
.member-icon.ministry-information {
    background: linear-gradient(135deg, #2563eb, #1e40af);
}

.member-icon.ministry-president {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
}

.member-icon.ministry-internal {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.member-icon.ministry-culture {
    background: linear-gradient(135deg, #d97706, #b45309);
}

.member-icon.ministry-sport {
    background: linear-gradient(135deg, #059669, #047857);
}

.member-icon.ministry-education {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
}

.member-icon.ministry-tourism {
    background: linear-gradient(135deg, #db2777, #be185d);
}

.member-icon.ministry-security {
    background: linear-gradient(135deg, #b91c1c, #991b1b);
}

.member-icon.ministry-law {
    background: linear-gradient(135deg, #6d28d9, #5b21b6);
}

.member-icon.ministry-health {
    background: linear-gradient(135deg, #047857, #065f46);
}

.member-icon.ministry-economy {
    background: linear-gradient(135deg, #ea580c, #c2410c);
}

.member-icon.ministry-ecology {
    background: linear-gradient(135deg, #16a34a, #15803d);
}

.member-photo {
    position: relative;
    display: inline-block;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: visible !important;
    /* Это важно! */
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.member-icon {
    position: absolute;
    bottom: 5px;
    right: 5px;
    /* остальные стили */
    z-index: 10;
}

.member-icon img {
    filter: brightness(0) invert(1);
}

/* Стили для меню пользователя */
.user-profile {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.user-profile:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: #000;
}

.user-name {
    font-family: 'Benzin', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #ffffff;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.user-profile:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: rgba(15, 15, 15, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 8px;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(20px);
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Benzin', sans-serif;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.dropdown-item svg {
    width: 16px;
    height: 16px;
    opacity: 0.8;
}

.dropdown-item.logout-btn {
    color: #e74c3c;
}

.dropdown-item.logout-btn:hover {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 4px 0;
}

/* Стили для меню пользователя */
.user-profile {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.user-profile:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    color: #000;
}

.user-name {
    font-family: 'Benzin', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #ffffff;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.user-profile:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: rgba(15, 15, 15, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 8px;
    min-width: 200px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(20px);
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Benzin', sans-serif;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.dropdown-item svg {
    width: 16px;
    height: 16px;
    opacity: 0.8;
}

.dropdown-item.logout-btn {
    color: #e74c3c;
}

.dropdown-item.logout-btn:hover {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 4px 0;
}

/* Простое меню пользователя */
.user-menu {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-menu:hover {
    background: rgba(255, 255, 255, 0.2);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #000;
}

.user-name {
    font-weight: 600;
    color: white;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 10px;
    background: rgba(15, 15, 15, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 8px;
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
}

.user-dropdown.show {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.logout-btn {
    color: #ff6b6b;
}

.logout-btn:hover {
    background: rgba(255, 107, 107, 0.1);
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    margin: 5px 0;
}

/* Автоматическое окрашивание иконок в белый цвет */
.nav-icon,
.activity-icon,
.subject-icon,
.stat-icon img {
    filter: brightness(0) invert(1);
}

/* Для SVG иконок в настройках */
.settings-nav .nav-icon {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

/* Для иконок в карточках статистики */
.stat-icon img {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

/* Для иконок активности */
.activity-icon {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

/* Для иконок предметов */
.subject-icon {
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

/* Темы */
[data-theme="dark"] {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --border-color: #333333;
}

[data-theme="light"] {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --border-color: #e0e0e0;
}

/* Размеры шрифта */
[data-font-size="small"] {
    font-size: 14px;
}

[data-font-size="medium"] {
    font-size: 16px;
}

[data-font-size="large"] {
    font-size: 18px;
}

/* Применяем переменные к основным элементам */
body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

.header {
    background: var(--bg-primary);
    border-bottom-color: var(--border-color);
}

.auth-buttons .login-btn,
.auth-buttons .register-btn {
    color: var(--text-primary);
    border-color: var(--border-color);
}

/* Иконки в выпадающем меню */
.dropdown-icon {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: 'Benzin', sans-serif;
    font-size: 14px;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dropdown-item:hover .dropdown-icon {
    opacity: 1;
}

/* Плавное появление auth-buttons */
.auth-buttons {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* ===== НАВИГАЦИЯ В СТИЛЕ ISCHOOL ===== */
.ischool-nav {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(45, 45, 45, 0.95) 50%, rgba(26, 26, 26, 0.95) 100%);
    border-radius: 16px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(64, 64, 64, 0.8);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
    min-height: 60px;
    position: fixed;
    top: 30px;
    /* Чуть ниже */
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1200px;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Убираем все классы для скрытия/показа */
ischool-nav.hidden,
.ischool-nav.visible {
    /* Ничего не меняем - всегда видима */
}

/* Остальные стили остаются без изменений */
.ischool-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 50%, transparent 100%);
}

.ischool-nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 30px;
}

.ischool-nav-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.ischool-nav-brand-text {
    color: white;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: -0.3px;
}

.ischool-nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.ischool-nav-link {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 18px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.ischool-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.ischool-nav-link.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-weight: 600;
}

.ischool-nav-auth {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 30px;
}

.ischool-auth-btn {
    padding: 10px 22px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 90px;
    text-align: center;
}

.ischool-login-btn {
    background: transparent;
    color: #e0e0e0;
    border: 1.5px solid #555;
}

.ischool-login-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #777;
    color: white;
}

.ischool-register-btn {
    background: linear-gradient(135deg, #0066ff 0%, #0052d4 100%);
    color: white;
    box-shadow: 0 2px 12px rgba(0, 102, 255, 0.3);
}

.ischool-register-btn:hover {
    background: linear-gradient(135deg, #0052d4 0%, #0041b3 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 102, 255, 0.4);
}

/* Анимация появления */
@keyframes ischoolNavSlideIn {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.ischool-nav {
    animation: ischoolNavSlideIn 0.5s ease-out;
}

/* Адаптивность */
@media (max-width: 768px) {
    .ischool-nav {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
        min-height: auto;
        top: 15px;
        width: calc(100% - 20px);
    }

    .ischool-nav-brand {
        margin-right: 0;
        margin-bottom: 8px;
    }

    .ischool-nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
        margin-bottom: 8px;
    }

    .ischool-nav-link {
        font-size: 14px;
        padding: 8px 14px;
    }

    .ischool-nav-auth {
        margin-left: 0;
        gap: 8px;
    }

    .ischool-auth-btn {
        padding: 8px 18px;
        font-size: 13px;
        min-width: 80px;
    }
}

/* Отступ для основного контента */
main {
    margin-top: 110px;
}

@media (max-width: 768px) {
    main {
        margin-top: 140px;
    }
}

/* Новые стили для визуальных карточек */
.platform-visual {
    position: relative;
    width: 400px;
    height: 300px;
    margin: 0 auto;
}

.visual-card.main-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.card-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 15px;
}

.card-dots {
    display: flex;
    gap: 4px;
}

.card-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-muted);
}

.card-dots span:nth-child(1) {
    background: #ff5f57;
}

.card-dots span:nth-child(2) {
    background: #ffbd2e;
}

.card-dots span:nth-child(3) {
    background: #28ca42;
}

.card-content h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
}

.card-content p {
    margin: 0 0 15px 0;
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}

.feature-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.feature-tags span {
    background: var(--accent-color);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
}

/* Плавающие карточки */
.floating-cards {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    z-index: 1;
    min-width: 120px;
}

.floating-card .card-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    border-radius: 8px;
    color: white;
}

.floating-card .card-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-color);
    white-space: nowrap;
}

/* Позиционирование плавающих карточек */
.floating-card.card-1 {
    top: 20%;
    right: 10%;
    animation: float 3s ease-in-out infinite;
}

.floating-card.card-2 {
    bottom: 30%;
    left: 5%;
    animation: float 3s ease-in-out infinite 1s;
}

.floating-card.card-3 {
    top: 60%;
    right: 15%;
    animation: float 3s ease-in-out infinite 0.5s;
}

/* Анимация плавания */
@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .platform-visual {
        width: 300px;
        height: 250px;
    }

    .visual-card.main-card {
        width: 160px;
        padding: 15px;
    }

    .floating-card {
        padding: 10px 12px;
        min-width: 100px;
    }

    .floating-card .card-text {
        font-size: 11px;
    }

    .floating-card.card-1 {
        top: 15%;
        right: 5%;
    }

    .floating-card.card-2 {
        bottom: 25%;
        left: 2%;
    }

    .floating-card.card-3 {
        top: 55%;
        right: 8%;
    }
}

@media (max-width: 480px) {
    .platform-visual {
        width: 250px;
        height: 200px;
    }

    .visual-card.main-card {
        width: 140px;
        padding: 12px;
    }

    .card-content h4 {
        font-size: 16px;
    }

    .card-content p {
        font-size: 11px;
    }

    .floating-card {
        padding: 8px 10px;
        min-width: 90px;
    }

    .floating-card .card-icon {
        width: 24px;
        height: 24px;
    }

    .floating-card .card-text {
        font-size: 10px;
    }
}

/* Стили для новой hero визуализации */
.hero-visual {
    position: relative;
    width: 500px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.floating-element:hover {
    transform: scale(1.1);
    border-color: var(--accent-color);
    box-shadow: 0 12px 40px rgba(74, 144, 226, 0.2);
}

.element-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.element-icon img {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(0.7);
    transition: filter 0.3s ease;
}

.floating-element:hover .element-icon img {
    filter: brightness(0) invert(0.9);
}

.element-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 25px;
    background: var(--accent-color);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.floating-element:hover .element-glow {
    opacity: 0.1;
}

/* Позиционирование элементов по кругу */
.element-book {
    top: 10%;
    left: 20%;
    animation: float-orbital 6s ease-in-out infinite;
}

.element-calc {
    top: 20%;
    right: 15%;
    animation: float-orbital 7s ease-in-out infinite 1s;
}

.element-chart {
    bottom: 30%;
    left: 10%;
    animation: float-orbital 8s ease-in-out infinite 0.5s;
}

.element-message {
    top: 40%;
    right: 5%;
    animation: float-orbital 6.5s ease-in-out infinite 1.5s;
}

.element-trophy {
    bottom: 15%;
    right: 25%;
    animation: float-orbital 7.5s ease-in-out infinite 0.8s;
}

.element-question {
    bottom: 5%;
    left: 30%;
    animation: float-orbital 9s ease-in-out infinite 1.2s;
}

/* Центральный элемент - фиксированная позиция */
.central-element {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.platform-core {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    /* Убираем трансформации из самого элемента */
    transform: none;
}

.core-logo {
    width: 60px;
    height: 60px;
    filter: brightness(0) invert(0.8);
}

/* Glow эффект */
.platform-core::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 25px;
    background: rgba(74, 144, 226, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.platform-core:hover::before {
    opacity: 0.3;
}

/* Ховер эффект БЕЗ перемещения */
.platform-core:hover {
    border-color: rgba(74, 144, 226, 0.3);
    background: rgba(255, 255, 255, 0.08);
    /* Только меняем цвет и фон, без transform */
    transition: all 0.3s ease;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .platform-core {
        width: 100px;
        height: 100px;
        border-radius: 20px;
    }

    .core-logo {
        width: 60px;
        height: 60px;
    }

    .core-glow {
        top: -6px;
        left: -6px;
        right: -6px;
        bottom: -6px;
        border-radius: 26px;
    }
}

@media (max-width: 480px) {
    .platform-core {
        width: 90px;
        height: 90px;
        border-radius: 18px;
    }

    .core-logo {
        width: 50px;
        height: 50px;
    }

    .core-glow {
        top: -5px;
        left: -5px;
        right: -5px;
        bottom: -5px;
        border-radius: 23px;
    }
}

/* Анимации */
@keyframes float-orbital {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(10px, -15px) rotate(5deg);
    }

    50% {
        transform: translate(-5px, 10px) rotate(-3deg);
    }

    75% {
        transform: translate(15px, 5px) rotate(2deg);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 15px 50px rgba(74, 144, 226, 0.3);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.05);
        box-shadow: 0 20px 60px rgba(74, 144, 226, 0.4);
    }
}

@keyframes glow-pulse {

    0%,
    100% {
        opacity: 0.1;
        transform: scale(1);
    }

    50% {
        opacity: 0.15;
        transform: scale(1.1);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero-visual {
        width: 300px;
        height: 250px;
    }

    .floating-element {
        width: 60px;
        height: 60px;
    }

    .element-icon {
        width: 30px;
        height: 30px;
    }

    .platform-core {
        width: 80px;
        height: 80px;
    }

    .core-logo {
        width: 40px;
        height: 40px;
    }

    /* Перепозиционируем элементы для мобильных */
    .element-book {
        top: 5%;
        left: 15%;
    }

    .element-calc {
        top: 15%;
        right: 10%;
    }

    .element-chart {
        bottom: 25%;
        left: 5%;
    }

    .element-message {
        top: 35%;
        right: 2%;
    }

    .element-trophy {
        bottom: 10%;
        right: 20%;
    }

    .element-question {
        bottom: 2%;
        left: 25%;
    }
}

@media (max-width: 480px) {
    .hero-visual {
        width: 250px;
        height: 200px;
    }

    .floating-element {
        width: 50px;
        height: 50px;
        border-radius: 15px;
    }

    .element-icon {
        width: 25px;
        height: 25px;
    }

    .platform-core {
        width: 70px;
        height: 70px;
        border-radius: 20px;
    }

    .core-logo {
        width: 35px;
        height: 35px;
    }
}

/* Стили для кнопок авторизации */
.auth-buttons-unauthorized {
    display: flex;
    gap: 12px;
    align-items: center;
}

.login-btn,
.register-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-family: inherit;
}

.login-btn {
    background: transparent;
    color: #000;
    border-color: #000;
}

.login-btn:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.register-btn {
    background: #000;
    color: #fff;
    border-color: #000;
}

.register-btn:hover {
    background: #333;
    border-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Стили для авторизованного пользователя */
.user-auth-info {
    display: flex;
    align-items: center;
}

.user-profile-dropdown {
    position: relative;
}

.user-profile-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.user-profile-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

.user-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
    background-size: cover;
    background-position: center;
}

.user-name {
    font-weight: 600;
    font-size: 14px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 8px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    color: #000;
    font-size: 14px;
    transition: all 0.3s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.dropdown-item:hover {
    background: rgba(0, 0, 0, 0.05);
}

.dropdown-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: 8px 0;
}

.logout-item {
    color: #ff3b30;
}

.logout-item:hover {
    background: rgba(255, 59, 48, 0.1);
}

/* Стили для мобильной панели авторизации */
.mobile-auth-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    z-index: 1000;
    display: none;
}

.mobile-user-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.mobile-user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    text-decoration: none;
    color: inherit;
}

.mobile-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #000;
    font-size: 16px;
    background-size: cover;
    background-position: center;
}

.mobile-user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mobile-user-name {
    font-family: 'Benzin', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
}

.mobile-user-status {
    font-family: 'Benzin', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.mobile-user-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.mobile-action-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.mobile-action-btn.logout-btn {
    background: rgba(231, 76, 60, 0.2);
    border-color: rgba(231, 76, 60, 0.5);
}

.mobile-action-btn.logout-btn:hover {
    background: rgba(231, 76, 60, 0.3);
}

/* Кнопки авторизации для мобильных (когда не авторизован) */
.mobile-auth-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.mobile-login-btn,
.mobile-register-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-family: 'Benzin', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mobile-login-btn {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.mobile-register-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1.5px solid transparent;
}

.mobile-login-btn:hover,
.mobile-register-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Показываем мобильную панель только на мобильных устройствах */
@media (max-width: 768px) {
    .mobile-auth-panel {
        display: block;
    }

    /* Скрываем десктопные кнопки авторизации на мобильных */
    .auth-buttons {
        display: none;
    }
}

/* Стили для десктопной версии */
@media (min-width: 769px) {
    .mobile-auth-panel {
        display: none !important;
    }

    .auth-buttons {
        display: flex;
    }
}

/* Стили для мобильной панели авторизации */
.mobile-auth-panel {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px;
    z-index: 1000;
    display: none;
}

.mobile-user-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.mobile-user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    text-decoration: none;
    color: inherit;
}

.mobile-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #000;
    font-size: 16px;
    background-size: cover;
    background-position: center;
}

.mobile-user-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mobile-user-name {
    font-family: 'Benzin', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #ffffff;
}

.mobile-user-status {
    font-family: 'Benzin', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.mobile-user-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.mobile-action-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.mobile-action-btn.logout-btn {
    background: rgba(231, 76, 60, 0.2);
    border-color: rgba(231, 76, 60, 0.5);
}

.mobile-action-btn.logout-btn:hover {
    background: rgba(231, 76, 60, 0.3);
}

/* Кнопки авторизации для мобильных (когда не авторизован) */
.mobile-auth-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.mobile-login-btn,
.mobile-register-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-family: 'Benzin', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.mobile-login-btn {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.mobile-register-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1.5px solid transparent;
}

.mobile-login-btn:hover,
.mobile-register-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Показываем мобильную панель только на мобильных устройствах */
@media (max-width: 768px) {
    .mobile-auth-panel {
        display: block;
    }

    /* Скрываем десктопные кнопки авторизации на мобильных */
    .auth-buttons {
        display: none;
    }

    /* Дополнительные отступы для контента */
    main {
        padding-bottom: 80px !important;
    }
}

/* Стили для десктопной версии */
@media (min-width: 769px) {
    .mobile-auth-panel {
        display: none !important;
    }

    .auth-buttons {
        display: flex;
    }
}

/* Скрываем мобильное меню на десктопе */
@media (min-width: 769px) {

    .mobile-menu-btn,
    .mobile-nav,
    .nav-overlay,
    .mobile-auth-panel {
        display: none !important;
    }
}

/* Показываем мобильное меню только на мобильных */
@media (max-width: 768px) {

    .mobile-menu-btn,
    .mobile-nav,
    .nav-overlay,
    .mobile-auth-panel {
        display: block;
    }

    /* Скрываем десктопную навигацию на мобильных */
    .ischool-nav {
        display: none !important;
    }
}

/* Скрываем мобильное меню на десктопе по умолчанию */
@media (min-width: 769px) {

    .mobile-menu-btn,
    .mobile-nav,
    .nav-overlay {
        display: none !important;
    }
}

/* Показываем только на мобильных */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
}

/* Исправление цвета текста ТОЛЬКО в выпадающих меню */
.dropdown-menu,
.dropdown-item {
    color: white !important;
}

/* Цвет текста в выпадающем меню пользователя */
.user-dropdown .dropdown-item,
.user-dropdown .dropdown-menu {
    color: white !important;
}

/* Цвет текста при наведении в выпадающем меню */
.dropdown-item:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

/* ИСКЛЮЧАЕМ аватарку из изменения цвета */
.user-avatar,
.avatar-text {
    /* Оставляем как есть - не меняем цвет */
    color: inherit !important;
}

/* Убедимся, что текст в выпадающем меню белый, но аватарка не затрагивается */
.user-info .user-name,
.user-info .user-role {
    color: white !important;
}

/* Но сам кружок с буквой не трогаем */
.user-avatar .avatar-text {
    color: inherit !important;
    /* Оставляем исходный цвет */
}

.photo-copyright {
    text-align: center;
    padding: 20px 0;
    margin: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.photo-copyright p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.4;
    font-family: 'Benzin', sans-serif;
    letter-spacing: 0.5px;
}

/* Для светлой темы */
[data-theme="light"] .photo-copyright {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .photo-copyright p {
    color: rgba(0, 0, 0, 0.6);
}

/* Адаптивность */
@media (max-width: 768px) {
    .photo-copyright {
        padding: 15px 0;
        margin: 30px 0;
    }

    .photo-copyright p {
        font-size: 11px;
        padding: 0 10px;
    }
}

/* ============================================= */
/* МЕГА ЗАЩИТА ОТ КОПИРОВАНИЯ - CSS ЧАСТЬ */
/* ============================================= */

/* ЗАПРЕТ ВЫДЕЛЕНИЯ ДЛЯ ВСЕХ ЭЛЕМЕНТОВ */
* {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

/* РАЗРЕШЕНИЕ ВЫДЕЛЕНИЯ ДЛЯ ФУНКЦИОНАЛЬНЫХ ЭЛЕМЕНТОВ */
input,
textarea,
select,
button,
[contenteditable="true"],
.dropdown,
.dropdown *,
.menu,
.menu *,
.settings,
.settings *,
.account-menu,
.account-menu *,
.profile-dropdown,
.profile-dropdown *,
.nav-dropdown,
.nav-dropdown *,
[data-allow-select],
[data-allow-select] * {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
    -webkit-touch-callout: default !important;
}

/* ОСОБЫЕ СТИЛИ ДЛЯ ПОЛЕЙ ВВОДА */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
textarea {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
    cursor: text !important;
}

/* ЗАЩИТА ОТ ВЫДЕЛЕНИЯ ДЛЯ ТЕКСТА */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
}

/* ЗАПРЕТ ПЕРЕТАСКИВАНИЯ ИЗОБРАЖЕНИЙ */
img {
    -webkit-user-drag: none;
    -moz-user-drag: none;
    -ms-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

/* РАЗРЕШЕНИЕ ДЛЯ ИКОНОК В КНОПКАХ */
button img,
.dropdown img,
.menu img {
    pointer-events: auto !important;
}

/* ЗАЩИТА ОТ КОНТЕКСТНОГО МЕНЮ */
body {
    -webkit-context-menu: none;
    -moz-context-menu: none;
    -ms-context-menu: none;
    context-menu: none;
}

/* ОБЕСПЕЧЕНИЕ РАБОТЫ DROPDOWN МЕНЮ */
.dropdown:hover,
.menu:hover,
.settings:hover,
.account-menu:hover {
    cursor: pointer !important;
}

.dropdown-content,
.menu-content,
.settings-content,
.account-menu-content {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    cursor: default !important;
}

/* РАЗРЕШЕНИЕ ДЛЯ ССЫЛОК */
a {
    cursor: pointer !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

/* ЗАЩИТА ОТ ВЫБОРА ТЕКСТА ПРИ ДВОЙНОМ КЛИКЕ */
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* ОБЕСПЕЧЕНИЕ РАБОТЫ FORMS */
form *:not(input):not(textarea):not(select) {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* ДОПОЛНИТЕЛЬНАЯ ЗАЩИТА ДЛЯ КАЛЬКУЛЯТОРА */
.calculator *:not(input):not(textarea):not(select) {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* РАЗРЕШЕНИЕ ДЛЯ КНОПОК КАЛЬКУЛЯТОРА */
.calculator button {
    cursor: pointer !important;
}

/* АДАПТИВНОСТЬ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ */
@media (max-width: 768px) {

    /* На мобильных устройствах разрешаем больше действий */
    body {
        -webkit-touch-callout: default;
    }

    /* Разрешаем выделение для лучшего UX на мобильных */
    .mobile-menu,
    .mobile-menu * {
        -webkit-user-select: auto;
        -moz-user-select: auto;
        -ms-user-select: auto;
        user-select: auto;
    }
}

/* Стили для заголовков секций с подзаголовками */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title {
    font-family: 'Benzin', sans-serif;
    font-weight: 700;
    font-size: 42px;
    margin-bottom: 15px;
    position: relative;
    text-transform: uppercase;
}

.title-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    width: 300px;
    margin: 0 auto 20px auto;
    position: relative;
}

.title-divider::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
}

.section-subtitle {
    font-family: 'Benzin', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 18px;
    }

    .title-divider {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .title-divider {
        width: 150px;
        margin-bottom: 15px;
    }
}

/* ФИКС ДЛЯ ВЫСОТЫ СЕКЦИЙ ПОСЛЕ ДОБАВЛЕНИЯ НОВЫХ КАРТОЧЕК */
.features {
    min-height: auto !important;
    padding: 80px 0 40px 0 !important;
}

.team {
    padding: 40px 0 30px 0 !important;
    margin-top: 0 !important;
}

.pride {
    padding: 40px 0 30px 0 !important;
    margin-top: 0 !important;
}

.team_site {
    padding: 40px 0 30px 0 !important;
    margin-top: 0 !important;
}

.stats {
    padding: 40px 0 30px 0 !important;
    margin-top: 0 !important;
}

/* Улучшаем грид для лучшего распределения карточек */
.features-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

/* Уменьшаем отступы заголовков */
.section-title {
    margin-bottom: 40px !important;
}

/* Адаптивность */
@media (max-width: 768px) {
    .features {
        padding: 60px 0 30px 0 !important;
    }

    .team,
    .pride,
    .stats {
        padding: 30px 0 20px 0 !important;
    }

    .features-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 25px;
    }

    .section-title {
        margin-bottom: 30px !important;
    }
}

@media (max-width: 480px) {
    .features {
        padding: 40px 0 20px 0 !important;
    }

    .team,
    .pride,
    .stats {
        padding: 20px 0 15px 0 !important;
    }

    .section-title {
        margin-bottom: 25px !important;
    }
}

/* === СТИЛИ ДЛЯ НОВЫХ ИНСТРУМЕНТОВ === */

/* Общие стили инструментов */
.tool-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.control-panel {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    height: fit-content;
}

.input-group {
    margin-bottom: 1rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Кнопки инструментов */
.tool-button {
    background: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.tool-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.tool-button:disabled {
    background: var(--text-secondary);
    cursor: not-allowed;
    transform: none;
}

/* Вкладки */
.tabs {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Карточки предпросмотра */
.preview-card {
    background: var(--bg-primary);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.preview-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Состояния загрузки */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--border-color);
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Уведомления */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    z-index: 1000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: var(--accent-color);
}

.notification.error {
    background: var(--danger-color);
}

.notification.warning {
    background: var(--warning-color);
}

/* Адаптивность для инструментов */
@media (max-width: 768px) {
    .tool-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .control-panel {
        padding: 1rem;
    }

    .tool-header h1 {
        font-size: 2rem;
    }

    .tool-button {
        width: 100%;
        justify-content: center;
    }
}

/* Специфические стили для канвасов */
.canvas-container {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.canvas-container canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Стили для выпадающих списков */
.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '?';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-secondary);
}

/* Стили для переключателей */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--primary-color);
}

input:checked+.slider:before {
    transform: translateX(26px);
}

/* Стили для прогресс-баров */
.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
    border-radius: 4px;
}

/* Стили для иконок инструментов */
.tool-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
}

/* Анимации для взаимодействия */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

/* Стили для модальных окон */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

/* Стили для сеток настроек */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.setting-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.setting-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Стили для состояний валидации */
.input-valid {
    border-color: var(--accent-color) !important;
}

.input-invalid {
    border-color: var(--danger-color) !important;
}

.validation-message {
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.validation-message.error {
    color: var(--danger-color);
}

.validation-message.success {
    color: var(--accent-color);
}

/* Cookie Notification Styles */
.cookie-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 15px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 9999;
    max-width: 90%;
    width: 500px;
    display: none;
    animation: slideUp 0.5s ease-out;
}

.cookie-notification.show {
    display: block;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.cookie-text {
    flex: 1;
    color: #000;
    font-family: 'Benzin', sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
}

.cookie-text strong {
    color: #0066ff;
    font-weight: 700;
}

.cookie-close {
    background: #0066ff;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-family: 'Benzin', sans-serif;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-close:hover {
    background: #0052d4;
    transform: translateY(-2px);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .cookie-notification {
        width: 90%;
        bottom: 10px;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .cookie-text {
        font-size: 13px;
    }
}

/* Стили для секции "Подробная информация" */
.detailed-info {
    padding: 100px 0;
    position: relative;
}

.info-block {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 120px;
    position: relative;
}

.info-block:last-child {
    margin-bottom: 0;
}

.info-block.reverse {
    flex-direction: row-reverse;
}

.info-content {
    flex: 1;
    min-width: 0;
}

.info-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
}

.info-text {
    max-width: 500px;
}

.info-title {
    font-family: 'Benzin', sans-serif;
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.info-description {
    font-family: 'Benzin', sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.info-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-features li {
    font-family: 'Benzin', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
    padding-left: 24px;
    position: relative;
}

.info-features li:before {
    content: '?';
    position: absolute;
    left: 0;
    color: #0066ff;
    font-weight: bold;
}

.info-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.info-image:hover {
    transform: translateY(-5px);
}

.info-stats {
    display: flex;
    gap: 40px;
    margin-top: 30px;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-family: 'Benzin', sans-serif;
    font-weight: 800;
    font-size: 36px;
    color: #0066ff;
    line-height: 1;
    /* Фикс для NaN */
    font-variant-numeric: normal;
    font-feature-settings: "tnum";
}

.stat-label {
    font-family: 'Benzin', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.security-features,
.tech-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.security-item,
.tech-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Benzin', sans-serif;
    font-weight: 500;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
}

.tech-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tech-icon img {
    width: 100%;
    height: 100%;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.tech-item:hover .tech-icon img {
    opacity: 1;
}

/* Анимированный блок как в Telegram */
.animated-block {
    background: linear-gradient(135deg, rgba(9, 9, 12, 0.8) 0%, rgba(15, 15, 20, 0.9) 100%);
    border-radius: 24px;
    padding: 60px;
    margin: 80px 0;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.telega-animation {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.animation-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gradient-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(102, 127, 255, 1) 0%, rgba(102, 127, 255, 0.7) 36%, rgba(102, 127, 255, 0) 71%);
    animation: pulse 3s ease-in-out infinite;
}

.gradient-circle.large {
    width: 300px;
    height: 300px;
    opacity: 0.6;
    animation-delay: 0s;
}

.gradient-circle.medium {
    width: 200px;
    height: 200px;
    opacity: 0.7;
    animation-delay: 1s;
}

.gradient-circle.small {
    width: 100px;
    height: 100px;
    opacity: 0.8;
    animation-delay: 2s;
}

.phone-mockup {
    position: relative;
    z-index: 10;
    animation: float 6s ease-in-out infinite;
}

.phone-mockup img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-10px) rotate(2deg);
    }

    66% {
        transform: translateY(5px) rotate(-1deg);
    }
}

/* Адаптивность */
@media (max-width: 1024px) {
    .info-block {
        gap: 40px;
        margin-bottom: 80px;
    }

    .info-title {
        font-size: 28px;
    }

    .info-description {
        font-size: 16px;
    }

    .animated-block {
        padding: 40px;
    }

    .telega-animation {
        height: 300px;
    }

    .stat-number {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .detailed-info {
        padding: 60px 0;
    }

    .info-block {
        flex-direction: column;
        gap: 30px;
        margin-bottom: 60px;
        text-align: center;
    }

    .info-block.reverse {
        flex-direction: column;
    }

    .info-text {
        max-width: 100%;
    }

    .info-stats {
        justify-content: center;
        gap: 30px;
    }

    .stat {
        align-items: center;
    }

    .animated-block {
        padding: 30px 20px;
        margin: 40px 0;
    }

    .telega-animation {
        height: 250px;
    }

    .gradient-circle.large {
        width: 200px;
        height: 200px;
    }

    .gradient-circle.medium {
        width: 150px;
        height: 150px;
    }

    .gradient-circle.small {
        width: 80px;
        height: 80px;
    }

    .phone-mockup img {
        max-height: 300px;
    }

    .stat-number {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .info-title {
        font-size: 24px;
    }

    .info-stats {
        flex-direction: column;
        gap: 20px;
    }

    .telega-animation {
        height: 200px;
    }

    .gradient-circle.large {
        width: 150px;
        height: 150px;
    }

    .gradient-circle.medium {
        width: 100px;
        height: 100px;
    }

    .gradient-circle.small {
        width: 60px;
        height: 60px;
    }

    .phone-mockup img {
        max-height: 250px;
    }

    .stat-number {
        font-size: 24px;
    }

    .stat-label {
        font-size: 12px;
    }
}

/* Автоматическое окрашивание всех иконок в секции detailed-info */
.detailed-info .tech-icon img,
.detailed-info .security-icon img,
.detailed-info [class*="icon"] img {
    filter: brightness(0) invert(1) !important;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.detailed-info .tech-item:hover img,
.detailed-info .security-item:hover img {
    opacity: 1;
}