.circular-menu {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.circular-menu.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.menu-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 2px solid var(--crimson-light);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 40px rgba(220, 20, 60, 0.5);
}

.menu-center img {
    width: 80px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(220, 20, 60, 0.5));
}


.menu-items {
    position: relative;
    width: 500px;
    height: 500px;
}

.menu-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    margin: -60px 0 0 -60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #DC143C;
    text-decoration: none;
    background: var(--card-bg);
    border: 2px solid rgba(139, 0, 0, 0.3);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: 
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.circular-menu.active .menu-item {
    opacity: 1;
    transform: scale(1);
}
.menu-item:hover {
    background: linear-gradient(
        145deg,
        #121212,
        #1a1a1a
    );
    border-color: var(--crimson-light);
    box-shadow: 
        0 0 25px rgba(220, 20, 60, 0.6),
        inset 0 0 12px rgba(220, 20, 60, 0.25);
}

.menu-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.menu-icon svg {
    width: 32px; 
    height: 32px;
    stroke: currentColor;         
    stroke-width: 2;
    fill: none;
    transition: 
        stroke 0.3s ease,
        filter 0.3s ease,
        transform 0.3s ease;
}
.menu-item:hover .menu-icon svg {
    stroke: #ff2a4d; 
    filter: drop-shadow(0 0 10px rgba(220, 20, 60, 0.8));
    transform: scale(1.15);
}


.menu-text {
    font-size: 11px;
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
}

@media (max-width: 768px) {
    .menu-items {
        width: 520px;
        height: 520px;
    }

    .menu-center {
        width: 190px;
        height: 190px;
    }

    .menu-center img {
        width: 105px;
    }

    .menu-item {
        width: 95px;
        height: 95px;
        margin: -47.5px 0 0 -47.5px;
    }

    .menu-icon svg {
        width: 32px;
        height: 32px;
    }

    .menu-text {
        font-size: 13px;
    }
}


@media (max-width: 520px) {

    .menu-center {
        display: none;
    }

    .menu-items {
        width: auto;
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 16px;
        transform: none !important;
    }

    .menu-item {
        position: static;
        width: 220px;
        height: auto;
        margin: 0;
        padding: 14px 18px;
        border-radius: 12px;
        flex-direction: row;
        justify-content: flex-start;
        transform: none !important;
    }

    .menu-icon {
        margin-bottom: 0;
        margin-right: 12px;
    }

    .menu-text {
        font-size: 14px;
        text-align: left;
    }
}