/* Privacy Policy Specific Styles */
.privacy-hero {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(20, 20, 30, 0.8) 100%);
    border-radius: 20px;
    padding: 4rem 2rem;
    margin: 2rem 0;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.privacy-hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.privacy-hero-subtitle {
    font-size: 1.2rem;
    color: #b0b0ff;
    margin-bottom: 2rem;
}

.privacy-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.9rem;
    color: #888;
}

.privacy-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.privacy-navigation {
    background: rgba(20, 20, 30, 0.6);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.privacy-navigation h3 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.8rem;
}

.toc li {
    margin-bottom: 0;
}

.toc a {
    color: #b0b0ff;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(160, 160, 255, 0.2);
    border-radius: 8px;
    background: rgba(30, 30, 45, 0.5);
    font-size: 0.95rem;
    line-height: 1.4;
}

.toc a:hover {
    color: #ffffff;
    background: rgba(160, 160, 255, 0.2);
    border-color: rgba(160, 160, 255, 0.4);
    transform: translateY(-2px);
}

/* Уменьшаем размер текста для лучшего отображения */
.privacy-article {
    font-size: 0.95rem;
    /* Уменьшаем основной размер шрифта */
}

.privacy-section p {
    font-size: 0.9rem;
    /* Уменьшаем размер параграфов */
    line-height: 1.6;
    /* Уменьшаем межстрочный интервал */
}

.privacy-section ul {
    font-size: 0.9rem;
    /* Уменьшаем размер списков */
}

.privacy-section li {
    font-size: 0.9rem;
    /* Уменьшаем размер элементов списка */
    margin-bottom: 0.3rem;
    /* Уменьшаем отступы между пунктами */
}

.contact-info {
    font-size: 0.85rem;
    /* Уменьшаем размер контактной информации */
}

/* Уменьшаем отступы между разделами */
.privacy-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
}

/* Уменьшаем заголовки разделов */
.privacy-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-section h3 {
    font-size: 1.1rem;
    margin: 1rem 0 0.5rem 0;
}

/* Уменьшаем отступы в навигации */
.toc a {
    font-size: 0.85rem;
    padding: 0.6rem 0.8rem;
}

/* Для очень маленьких экранов делаем еще меньше */
@media (max-width: 480px) {
    .privacy-article {
        font-size: 0.9rem;
        padding: 1.5rem;
    }

    .privacy-section p,
    .privacy-section ul,
    .privacy-section li {
        font-size: 0.85rem;
    }

    .privacy-section h2 {
        font-size: 1.3rem;
    }

    .privacy-section h3 {
        font-size: 1rem;
    }
}

.privacy-section:last-child {
    margin-bottom: 0;
}

.privacy-section h2 {
    color: #ffffff;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(160, 160, 255, 0.3);
}

.privacy-section h3 {
    color: #b0b0ff;
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem 0;
}

.privacy-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: #e0e0e0;
}

.privacy-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.privacy-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
    color: #e0e0e0;
}

.privacy-section strong {
    color: #ffffff;
}

.contact-info {
    background: rgba(30, 30, 45, 0.8);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #b0b0ff;
}

.contact-info p {
    margin-bottom: 0.8rem;
}

.contact-info a {
    color: #b0b0ff;
    text-decoration: none;
}

.contact-info a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.privacy-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .privacy-hero {
        padding: 2rem 1rem;
        margin: 1rem 0;
    }

    .privacy-hero-title {
        font-size: 2rem;
    }

    .privacy-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .privacy-content {
        padding: 1rem;
    }

    .privacy-navigation,
    .privacy-article {
        padding: 1.5rem;
    }

    .toc ul {
        grid-template-columns: 1fr;
    }

    .privacy-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Highlight current section in navigation */
.privacy-section:target {
    background: rgba(160, 160, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
    margin: -1rem;
    transition: all 0.3s ease;
}

/* Active link styling */
.toc a.active {
    color: #ffffff !important;
    background: rgba(160, 160, 255, 0.3) !important;
    border-color: rgba(160, 160, 255, 0.6) !important;
    font-weight: bold;
}