/* Cosmic Chart Styles */
.cosmic-chart-container {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(15px);
    padding: 3rem;
    border-radius: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.25);
    margin-bottom: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.cosmic-chart-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.cosmic-chart-title {
    color: white;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.cosmic-chart-big-three {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.cosmic-chart-sign-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.25);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    animation: float 4s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.cosmic-chart-sign-card:nth-child(1) {
    animation-delay: 0s;
}

.cosmic-chart-sign-card:nth-child(2) {
    animation-delay: 0.5s;
}

.cosmic-chart-sign-card:nth-child(3) {
    animation-delay: 1s;
}

.cosmic-chart-sign-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
}

.cosmic-chart-sign-card:hover {
    transform: translateY(-10px) scale(1.03);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(168, 85, 247, 0.3);
}

.cosmic-chart-sign-card:hover::before {
    opacity: 1;
}

.cosmic-chart-sign-card h3 {
    color: white;
    margin-bottom: 1.2rem;
    font-size: 1.4rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-weight: 600;
    letter-spacing: 1px;
}

.cosmic-chart-sign-symbol {
    font-size: 4rem;
    margin: 1.5rem 0;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.5));
    animation: pulse 3s ease-in-out infinite;
    display: inline-block;
}

.cosmic-chart-sign-name {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.8rem;
    text-shadow: 0 2px 15px currentColor;
    letter-spacing: 1px;
}

.cosmic-chart-sign-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    font-style: italic;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* Chart wheel styling - removed container, direct styling */
#cosmicChartWheel {
    display: block;
    margin: 2rem auto;
    max-width: 100%;
    height: auto;
    /* Removed filter drop-shadow to eliminate glow effect */
    position: relative;
    z-index: 1;
}

#cosmicChartWheel svg {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
    filter: none; /* Remove any glow effects */
}

/* Make circles and lines more prominent with white outlines */
#cosmicChartWheel circle {
    stroke: white;
    stroke-width: 2;
}

/* Note: Aspect lines use inline styles for colors, so we don't override them here */
#cosmicChartWheel line {
    /* stroke and stroke-width are set inline in SVG for aspect lines */
    /* Only apply default styles to structural lines if needed */
}

#cosmicChartWheel text {
    fill: white;
    font-weight: bold;
    /* Removed text-shadow to eliminate glow effect */
}

.cosmic-chart-planet-list {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
}

.cosmic-chart-planet-list h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    letter-spacing: 1px;
}

.cosmic-chart-planet-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.2rem;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.cosmic-chart-planet-item:hover {
    transform: translateX(5px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cosmic-chart-planet-name {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.cosmic-chart-planet-position {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 1rem;
}

.cosmic-chart-aspects-explanation {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(15px);
    padding: 3rem;
    border-radius: 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.25);
    margin-top: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.cosmic-chart-aspects-explanation h3 {
    color: white;
    margin-bottom: 2rem;
    font-size: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
}

.cosmic-chart-aspects-intro {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    text-align: center;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

.cosmic-chart-aspects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.cosmic-chart-aspect-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.06) 100%);
    padding: 1rem;
    border-radius: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.cosmic-chart-aspect-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.cosmic-chart-aspect-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cosmic-chart-aspect-color-indicator {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px currentColor;
}

.cosmic-chart-aspect-name {
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.cosmic-chart-aspect-angle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-left: auto;
    font-weight: 500;
}

.cosmic-chart-aspect-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@media (max-width: 768px) {
    .cosmic-chart-container {
        padding: 2rem 1.5rem;
    }
    
    .cosmic-chart-big-three {
        grid-template-columns: 1fr;
    }
    
    .cosmic-chart-aspects-grid {
        grid-template-columns: 1fr;
    }
}

