/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #000;
    color: #f5f5f5;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1400px;
    padding: 2rem;
}

/* Constellation Layout */
.constellation {
    position: relative;
    width: 100%;
    height: 800px;
    margin: 0 auto 4rem;
}

/* SPV Styling */
.spv {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.spv:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    z-index: 10;
}

.spv.active {
    transform: scale(1.15);
    box-shadow: 0 0 40px rgba(255, 255, 255, 0.4);
    z-index: 20;
}

.logo-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 50%;
}

.logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.spv-name {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 500;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.details {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1.5rem;
    pointer-events: none;
}

.spv.active .details {
    opacity: 1;
    pointer-events: auto;
}

.details p {
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: center;
    color: #f5f5f5;
}

/* Center SPV (Arc8) */
.spv.center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    z-index: 5;
    background-color: #000;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.spv.center:hover {
    transform: translate(-50%, -50%) scale(1.05);
}

.spv.center.active {
    transform: translate(-50%, -50%) scale(1.15);
}

/* Inner Ring (Alta) */
.spv.inner-ring {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    background-color: transparent;
    border: none;
    z-index: 2;
}

.ring-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.spv.inner-ring .spv-name {
    bottom: -30px;
    font-size: 1.2rem;
}

.spv.inner-ring .details {
    top: auto;
    bottom: -60px;
    height: auto;
    background-color: transparent;
}

/* Connection Lines */
.connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.connection-line {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.1);
    transform-origin: 0 0;
    height: 2px;
    pointer-events: none;
}

/* Blur specific SPVs as requested */
.spv[data-angle="45"] {
    /* Árvore - Blurred as requested */
    filter: blur(3px);
}

.spv[data-angle="135"] {
    /* Airo - Blurred as requested */
    filter: blur(3px);
}

.spv[data-angle="225"] {
    /* Adura - Blurred as requested */
    filter: blur(3px);
}

.spv[data-angle="315"] {
    /* Astrela - Blurred as requested */
    filter: blur(3px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .constellation {
        height: 700px;
    }
    
    .spv {
        width: 150px;
        height: 150px;
    }
    
    .spv-name {
        font-size: 1.2rem;
    }
    
    .spv.center {
        width: 180px;
        height: 180px;
    }
    
    .spv.inner-ring {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .constellation {
        height: 600px;
    }
    
    .spv {
        width: 120px;
        height: 120px;
    }
    
    .spv-name {
        font-size: 1rem;
        bottom: 10px;
    }
    
    .spv.center {
        width: 150px;
        height: 150px;
    }
    
    .spv.inner-ring {
        width: 250px;
        height: 250px;
    }
    
    .details p {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .constellation {
        height: 500px;
    }
    
    .spv {
        width: 90px;
        height: 90px;
    }
    
    .spv-name {
        font-size: 0.8rem;
        bottom: 8px;
    }
    
    .spv.center {
        width: 120px;
        height: 120px;
    }
    
    .spv.inner-ring {
        width: 200px;
        height: 200px;
    }
}
