.compass-container {
    position: relative;
    width: 346px;
    height: 346px;
}

/* Внешний круг */
.outer-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--color-primary-bg);
    border: 1px solid rgba(199, 171, 107, 0.2);
    box-shadow: inset 0 0 30px rgba(15, 25, 41, 0.8);
    overflow: hidden;
}

/* Активная зона во внешнем кольце */
/*.active-sector-zone {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    clip-path: polygon(50% 50%, 50% 0%, 100% 0%, 100% 100%, 50% 100%, 50% 50%);
    transform-origin: 50% 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}*/
.active-sector-zone {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: transparent;
    transform-origin: 50% 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    overflow: hidden;
}
.active-sector-zone::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(
            circle at 70% 20%,
            rgba(199, 171, 107, 0.3) 0%,
            rgba(199, 171, 107, 0.1) 40%,
            transparent 70%
    );
    transform: rotate(30deg);
    transform-origin: 50% 50%;
}

.active-sector-zone.active {
    opacity: 0.4;
    background: radial-gradient(
            circle at 70% 20%,
            rgba(199, 171, 107, 0.3) 0%,
            rgba(199, 171, 107, 0.1) 40%,
            transparent 70%
    );
}

/* Правильное позиционирование 3 секторов */
.active-sector-zone:nth-child(1) { transform: rotate(0deg); }
.active-sector-zone:nth-child(2) { transform: rotate(120deg); }
.active-sector-zone:nth-child(3) { transform: rotate(240deg); }

.active-sector-zone:nth-child(1)::after { transform: rotate(30deg); }
.active-sector-zone:nth-child(2)::after { transform: rotate(150deg); }
.active-sector-zone:nth-child(3)::after { transform: rotate(270deg); }

.active-sector-zone.active {
    opacity: 0.4;
}

/* Внутренний круг */
.inner-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45%;
    height: 45%;
    border-radius: 50%;
    background: linear-gradient(135deg,
    var(--color-primary-bg) 0%,
    var(--color-tertiary-bg) 100%);
    border: 1px solid rgba(199, 171, 107, 0.1);
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.4);
    z-index: 5;
}

/* Секторы для кликов */
.sectors-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.sector {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    clip-path: polygon(50% 50%, 50% 0%, 100% 0%, 100% 100%, 50% 100%, 50% 50%);
    transform-origin: 50% 50%;
    /*cursor: pointer;*/
    cursor: default;
}

/* Правильное позиционирование 3 секторов */
.sector:nth-child(1) { transform: rotate(0deg); }
.sector:nth-child(2) { transform: rotate(120deg); }
.sector:nth-child(3) { transform: rotate(240deg); }

/* Эффект при наведении */
/* Эффект при наведении - для 120 градусов */
.sector:hover::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    /*clip-path: polygon(50% 50%, 50% 0%, 100% 0%, 100% 100%, 50% 100%, 50% 50%);
    background: radial-gradient(
            circle at 70% 20%,
            rgba(199, 171, 107, 0.15) 0%,
            rgba(199, 171, 107, 0.05) 40%,
            transparent 70%
    );*/
    pointer-events: none;
}

/* Линии разделения по краям секторов */
.division-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.division-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 50%;
    background: linear-gradient(to bottom,
    transparent 0%,
    rgba(199, 171, 107, 0.15) 30%,
    rgba(199, 171, 107, 0.05) 70%,
    transparent 100%);
    transform-origin: 50% 100%;
    z-index: 3;
}

/* Линии по краям секторов */
.division-line:nth-child(1) { transform: rotate(0deg); }
.division-line:nth-child(2) { transform: rotate(120deg); }
.division-line:nth-child(3) { transform: rotate(240deg); }

/* Контейнер для названий секторов */
.labels-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.sector-label {
    position: absolute;
    top: 50%;
    left: 50%;
    color: var(--color-gray);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    pointer-events: none;
    opacity: 0.8;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-align: center;
    z-index: 4;
    background: rgba(15, 25, 41, 0.8);
    padding: 3px 6px;
    border-radius: 2px;
    transform-origin: center;
}

/* Позиционирование названий в центре каждого сектора */
.sector-label:nth-child(1) {
    transform: translate(-50%, -50%) rotate(60deg) translateY(-170px) rotate(-60deg);
}
.sector-label:nth-child(2) {
    transform: translate(-50%, -50%) rotate(180deg) translateY(-170px) rotate(-180deg);
}
.sector-label:nth-child(3) {
    transform: translate(-50%, -50%) rotate(300deg) translateY(-170px) rotate(-300deg);
}

/* Цвет активных меток - золотой */
.sector-label.active {
    color: var(--color-gold);
    opacity: 1;
    text-shadow: 0 0 6px rgba(199, 171, 107, 0.2);
    background: rgba(15, 25, 41, 0.9);
}

/* Центральный дисплей */
.center-display {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30%;
    height: 30%;
    border-radius: 50%;
    background: linear-gradient(135deg,
    rgba(15, 25, 41, 0.95) 0%,
    rgba(38, 46, 58, 0.95) 100%);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(199, 171, 107, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 12px;
    text-align: center;
    z-index: 15;
    box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    cursor: pointer;
}

/* Текст в центре */
.info-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-gold);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.info-content {
    font-size: 9px;
    color: var(--color-gray);
    line-height: 1.2;
    max-height: 32px;
    overflow: hidden;
    padding: 0 6px;
    font-weight: 300;
}

/* Буква в центре */
.center-letter {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    font-weight: 700;
    color: rgba(199, 171, 107, 0.08);
    z-index: 5;
    user-select: none;
    pointer-events: none;
}

/* Индикатор активного сектора (точка) */
.active-indicator {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 6;
}

.indicator-dot {
    position: absolute;
    width: 5px;
    height: 5px;
    background: var(--color-gold);
    border-radius: 50%;
    top: 12%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 0 5px var(--color-gold);
}

/* Позиционирование индикаторов в центрах секторов */
.indicator-dot:nth-child(1) { transform: translateX(-50%) rotate(60deg); }
.indicator-dot:nth-child(2) { transform: translateX(-50%) rotate(180deg); }
.indicator-dot:nth-child(3) { transform: translateX(-50%) rotate(300deg); }

.indicator-dot.active {
    opacity: 1;
    animation: dot-pulse 2s ease-in-out infinite;
}

@keyframes dot-pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(199, 171, 107, 0.3),
        0 0 5px var(--color-gold);
    }
    50% {
        box-shadow: 0 0 0 4px rgba(199, 171, 107, 0),
        0 0 8px var(--color-gold);
    }
}

/* Анимация появления */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.compass-container {
    animation: fadeIn 1s ease-out;
}

/* Мобильная адаптивность */
@media (max-width: 520px) {
    .compass-container {
        width: 90vmin;
        height: 90vmin;
        max-width: 480px;
        max-height: 480px;
    }

    .sector-label {
        font-size: 10px;
        padding: 2px 5px;
        transform: translate(-50%, -50%) rotate(var(--rot)) translateY(-42%) rotate(calc(-1 * var(--rot))) !important;
    }

    .info-title {
        font-size: 11px;
    }

    .info-content {
        font-size: 8px;
    }

    .center-letter {
        font-size: 40px;
    }
}

@media (max-width: 380px) {
    .compass-container {
        width: 85vmin;
        height: 85vmin;
    }

    .sector-label {
        font-size: 9px;
        padding: 2px 4px;
    }

    .info-title {
        font-size: 10px;
    }

    .info-content {
        font-size: 7px;
    }
}