/* ============================================
   СТРАНИЦА "О НАС"
   ============================================ */

body.about-page {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: auto;
    min-height: 100vh;
    scroll-behavior: smooth;
}

/* ============================================
   РАЗВОРАЧИВАЮЩИЙСЯ КРУГ → ПРЯМОУГОЛЬНИК
   ============================================ */
.circle-menu {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 1001;

    width: 56px;
    height: 56px;
    border-radius: 50%;

    border: 1.5px solid rgba(150, 180, 255, 0.6);
    background: rgba(20, 30, 80, 0.35);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);

    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(80, 120, 255, 0.3),
        inset 0 1px 0 rgba(150, 180, 255, 0.4);

    overflow: hidden;

    transition:
        width 0.55s cubic-bezier(0.16, 1, 0.3, 1),
        height 0.55s cubic-bezier(0.16, 1, 0.3, 1),
        border-radius 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        background 0.3s,
        border-color 0.3s,
        box-shadow 0.3s;
}

.circle-menu.open {
    width: 300px;
    height: 85vh;
    max-height: calc(100vh - 60px);
    border-radius: 22px;
    background: rgba(12, 18, 55, 0.95);
    border-color: rgba(150, 180, 255, 0.7);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.7),
        0 0 50px rgba(80, 120, 255, 0.35),
        inset 0 1px 0 rgba(180, 200, 255, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ============================================
   КНОПКА-ИКОНКА
   ============================================ */
.circle-toggle {
    position: absolute;
    top: 0;
    left: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
    z-index: 2;
}

.circle-menu.open .circle-toggle {
    border-radius: 22px 0 0 0;
}

.line {
    display: block;
    width: 22px;
    height: 2px;
    background: #e6ecff;
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(120, 160, 255, 0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.3s,
                width 0.3s;
}

.circle-menu.open .line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.circle-menu.open .line:nth-child(2) {
    opacity: 0;
    width: 0;
}
.circle-menu.open .line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.circle-toggle:hover .line {
    background: #8ab4ff;
    box-shadow: 0 0 14px rgba(120, 160, 255, 1);
}

/* ============================================
   СОДЕРЖИМОЕ МЕНЮ
   ============================================ */
.circle-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 68px 12px 16px;
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease 0.15s, visibility 0.4s ease 0.15s;
    scrollbar-width: thin;
    scrollbar-color: rgba(120, 160, 255, 0.5) transparent;
}

.circle-content::-webkit-scrollbar {
    width: 6px;
}
.circle-content::-webkit-scrollbar-track {
    background: transparent;
}
.circle-content::-webkit-scrollbar-thumb {
    background: rgba(120, 160, 255, 0.5);
    border-radius: 3px;
}

.circle-menu.open .circle-content {
    opacity: 1;
    visibility: visible;
}

/* ===== ПУНКТ МЕНЮ ===== */
.circle-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    color: #e6ecff;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    transition: background 0.3s, padding-left 0.3s, color 0.3s;
    cursor: pointer;
    flex-shrink: 0;
}

.circle-item:hover {
    background: rgba(120, 160, 255, 0.2);
    color: #ffffff;
    padding-left: 22px;
}

.circle-item.active {
    background: rgba(120, 160, 255, 0.25);
    color: #8ab4ff;
    box-shadow: inset 3px 0 0 #8ab4ff;
}

.circle-item.highlight {
    background: rgba(120, 160, 255, 0.3);
    color: #ffffff;
}

.item-icon {
    font-size: 1.1rem;
    filter: drop-shadow(0 0 8px rgba(120, 160, 255, 0.8));
    transition: transform 0.3s;
    flex-shrink: 0;
    width: 22px;
    text-align: center;
}

.circle-item:hover .item-icon {
    transform: scale(1.2);
}

.item-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   ОСНОВНОЙ КОНТЕЙНЕР
   ============================================ */
.about-container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    padding: 140px 40px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ===== HERO ===== */
.about-hero {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 900;
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: 20px;

    background: linear-gradient(90deg, #ffffff, #8ab4ff, #4d6bff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(100, 150, 255, 0.7));
}

.about-lead {
    font-size: clamp(1rem, 2vw, 1.3rem);
    letter-spacing: 2px;
    color: rgba(200, 215, 255, 0.8);
    text-transform: uppercase;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== КАРТОЧКИ ===== */
.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 80px;
}

.about-card {
    padding: 40px 30px;
    border-radius: 24px;

    border: 1.5px solid rgba(150, 180, 255, 0.4);
    background: rgba(20, 30, 80, 0.25);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);

    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(150, 180, 255, 0.35);

    transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s, background 0.4s;

    animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.about-card:nth-child(1) { animation-delay: 0.1s; }
.about-card:nth-child(2) { animation-delay: 0.2s; }
.about-card:nth-child(3) { animation-delay: 0.3s; }
.about-card:nth-child(4) { animation-delay: 0.4s; }

.about-card:hover {
    transform: translateY(-8px);
    border-color: rgba(150, 180, 255, 0.9);
    background: rgba(40, 60, 140, 0.4);
    box-shadow:
        0 12px 48px rgba(80, 120, 255, 0.45),
        0 0 40px rgba(80, 120, 255, 0.25),
        inset 0 1px 0 rgba(180, 200, 255, 0.6);
}

.card-icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 12px rgba(120, 160, 255, 0.9));
}

.about-card h3 {
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: #ffffff;
}

.about-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(200, 215, 255, 0.75);
    letter-spacing: 1px;
}

/* ============================================
   СЕКЦИИ "О НАС"
   ============================================ */
.about-section {
    margin-bottom: 60px;
    padding: 45px 40px;
    border-radius: 24px;

    border: 1.5px solid rgba(150, 180, 255, 0.35);
    background: rgba(20, 30, 80, 0.22);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);

    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(150, 180, 255, 0.3);

    scroll-margin-top: 100px;

    transition: border-color 0.4s, box-shadow 0.4s, background 0.4s;
}

.about-section:target {
    border-color: rgba(150, 180, 255, 0.9);
    background: rgba(40, 60, 140, 0.35);
    box-shadow:
        0 8px 40px rgba(80, 120, 255, 0.4),
        0 0 50px rgba(80, 120, 255, 0.25),
        inset 0 1px 0 rgba(180, 200, 255, 0.5);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(150, 180, 255, 0.2);
}

.section-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 14px rgba(120, 160, 255, 0.9));
}

.section-title {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 700;

    background: linear-gradient(90deg, #ffffff, #8ab4ff, #4d6bff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(100, 150, 255, 0.6));
}

.section-body p {
    color: rgba(200, 215, 255, 0.85);
    font-size: 0.98rem;
    line-height: 1.75;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}

.section-body p:last-child {
    margin-bottom: 0;
}

.values-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.values-list li {
    color: rgba(200, 215, 255, 0.85);
    font-size: 0.98rem;
    line-height: 1.6;
    letter-spacing: 0.5px;

    padding: 14px 20px 14px 44px;
    border-radius: 12px;

    background: rgba(30, 45, 100, 0.3);
    border-left: 3px solid rgba(120, 160, 255, 0.6);

    position: relative;

    transition: background 0.3s, border-color 0.3s, transform 0.3s;
}

.values-list li::before {
    content: '◆';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #8ab4ff;
    font-size: 0.75rem;
    filter: drop-shadow(0 0 6px rgba(120, 160, 255, 0.9));
}

.values-list li:hover {
    background: rgba(60, 90, 180, 0.35);
    border-left-color: #8ab4ff;
    transform: translateX(6px);
}

.values-list strong {
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 1px;
}

/* ===== CTA ===== */
.about-cta {
    text-align: center;
    padding: 60px 40px;
    border-radius: 24px;

    border: 1.5px solid rgba(150, 180, 255, 0.4);
    background: rgba(20, 30, 80, 0.3);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);

    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.5),
        0 0 60px rgba(80, 120, 255, 0.15),
        inset 0 1px 0 rgba(150, 180, 255, 0.35);
}

.about-cta h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 15px;

    background: linear-gradient(90deg, #ffffff, #8ab4ff, #4d6bff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(100, 150, 255, 0.7));
}

.about-cta p {
    color: rgba(200, 215, 255, 0.8);
    letter-spacing: 2px;
    margin-bottom: 35px;
    font-size: 1rem;
}

/* ===== СОЦСЕТИ ===== */
.socials {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    padding: 14px 28px;
    border-radius: 999px;

    border: 1.5px solid rgba(150, 180, 255, 0.5);
    background: rgba(20, 30, 80, 0.4);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);

    color: #e6ecff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;

    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(150, 180, 255, 0.35);

    transition: transform 0.3s, box-shadow 0.3s, background 0.3s, border-color 0.3s;
}

.social-btn svg {
    width: 22px;
    height: 22px;
    transition: transform 0.3s;
}

.social-btn:hover {
    transform: translateY(-4px);
}

.social-btn:hover svg {
    transform: scale(1.15);
}

.social-btn.discord:hover {
    background: rgba(88, 101, 242, 0.5);
    border-color: rgba(88, 101, 242, 0.9);
    box-shadow: 0 12px 40px rgba(88, 101, 242, 0.5), 0 0 30px rgba(88, 101, 242, 0.4);
    color: #ffffff;
}

.social-btn.vk:hover {
    background: rgba(0, 119, 255, 0.5);
    border-color: rgba(0, 119, 255, 0.9);
    box-shadow: 0 12px 40px rgba(0, 119, 255, 0.5), 0 0 30px rgba(0, 119, 255, 0.4);
    color: #ffffff;
}

.social-btn.telegram:hover {
    background: rgba(41, 161, 217, 0.5);
    border-color: rgba(41, 161, 217, 0.9);
    box-shadow: 0 12px 40px rgba(41, 161, 217, 0.5), 0 0 30px rgba(41, 161, 217, 0.4);
    color: #ffffff;
}

/* ===== АНИМАЦИЯ ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== АДАПТИВ ===== */
@media (max-width: 900px) {
    .circle-menu {
        top: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
    }

    .circle-menu.open {
        width: 260px;
        height: 85vh;
        max-height: calc(100vh - 40px);
    }

    .circle-toggle {
        width: 50px;
        height: 50px;
    }

    .circle-content {
        padding: 60px 10px 14px;
    }

    .about-container {
        padding: 140px 20px 60px;
    }

    .about-cards {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 50px;
    }

    .about-card {
        padding: 30px 22px;
    }

    .about-section {
        padding: 32px 24px;
        margin-bottom: 40px;
    }

    .about-cta {
        padding: 40px 22px;
    }

    .socials {
        flex-direction: column;
        align-items: stretch;
    }

    .social-btn {
        justify-content: center;
    }
}