/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

.container {
    width: 100%;
    max-width: 1500px;
    padding: 20px;
    text-align: center;
}

/* Header Styles */
header {
    margin-bottom: 40px;
}

.title {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    font-weight: 300;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

/* Om Symbol Container */
.om-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
}

.om-symbol-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    position: relative;
    height: 160px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.om-text {
    font-size: 10rem;
    color: #2c3e50;
    font-family: 'Noto Sans Devanagari', 'Arial Unicode MS', serif;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
    line-height: 0.9;
    margin-top: -10px;
}

.om-overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

/* Clickable Sections */
.clickable {
    cursor: pointer;
    transition: all 0.3s ease;
}

.clickable:hover {
    transform: scale(1.05);
}

/* Interactive Zones */
.interactive-zone {
    transition: all 0.3s ease;
    border-radius: 50%;
    opacity: 0.08 !important; /* Slightly more visible for stability */
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 1;
}

/* Add subtle pulsing animation to indicate interactivity */
.interactive-zone {
    animation: subtlePulse 5s ease-in-out infinite;
}

.soul-section:hover .soul-zone {
    opacity: 0.7 !important;
    animation: glow 2s ease-in-out infinite;
}

.mind-section:hover .mind-zone {
    opacity: 0.7 !important;
    animation: glow 2s ease-in-out infinite;
}

.body-section:hover .body-zone {
    opacity: 0.7 !important;
    animation: glow 2s ease-in-out infinite;
}

/* Zone indicators - subtle dashed outlines */
.zone-indicator {
    transition: all 0.3s ease;
    animation: indicatorPulse 5s ease-in-out infinite;
    opacity: 0.3;
}

.soul-section:hover .zone-indicator {
    stroke: rgba(139, 92, 246, 0.8);
    stroke-width: 2;
    animation: fastPulse 1s infinite;
}

.mind-section:hover .zone-indicator {
    stroke: rgba(59, 130, 246, 0.8);
    stroke-width: 2;
    animation: fastPulse 1s infinite;
}

.body-section:hover .zone-indicator {
    stroke: rgba(74, 222, 128, 0.8);
    stroke-width: 2;
    animation: fastPulse 1s infinite;
}

/* Indicator pulse animation */
@keyframes indicatorPulse {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.5; }
}

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

/* Interaction hint */
.interaction-hint {
    text-align: center;
    margin-bottom: 30px;
}

.interaction-hint p {
    /* Fallback for browsers that don't support background-clip */
    color: rgba(255, 255, 255, 0.9);
    background: linear-gradient(45deg, #8b5cf6, #3b82f6, #4ade80);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.1rem;
    font-weight: 500;
    animation: hintFade 3s ease-in-out infinite, gradientShift 4s ease-in-out infinite;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

@keyframes hintFade {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Subtle pulse animation for discoverability */
@keyframes subtlePulse {
    0%, 100% { opacity: 0.08; }
    50% { opacity: 0.18; }
}

/* Soul Section (Dot) */
.soul-dot {
    fill: #8b5cf6;
    stroke: #fff;
    stroke-width: 2;
    transition: all 0.3s ease;
}

.soul-glow {
    fill: none;
    stroke: #8b5cf6;
    stroke-width: 3;
    transition: all 0.3s ease;
}

/* Glow Animation - Smoother, no flickering */
@keyframes glow {
    0% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.05); }
    100% { opacity: 0.6; transform: scale(1); }
}

@keyframes pulse {
    0% { stroke-width: 6; opacity: 0.6; }
    50% { stroke-width: 12; opacity: 0.3; }
    100% { stroke-width: 6; opacity: 0.6; }
}

/* Section Cards */
.sections-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 20px;
}

.additional-sections {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.section-card, .additional-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

.section-card:hover, .additional-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Card Om symbols */
.card-om {
    font-size: 3rem;
    font-family: 'Noto Sans Devanagari', 'Arial Unicode MS', serif;
    text-align: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    opacity: 0.3;
}

/* Additional card icons */
.additional-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    opacity: 0.6;
}

/* Color-coded hover effects for cards */
.soul-card:hover {
    background: linear-gradient(135deg, #f8f5ff 0%, #ede8ff 100%);
    border: 2px solid rgba(139, 92, 246, 0.3);
}

.soul-card:hover .card-om {
    color: #8b5cf6;
    opacity: 1;
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
    transform: scale(1.1);
}

.mind-card:hover {
    background: linear-gradient(135deg, #f0f7ff 0%, #dbeafe 100%);
    border: 2px solid rgba(59, 130, 246, 0.3);
}

.mind-card:hover .card-om {
    color: #3b82f6;
    opacity: 1;
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
    transform: scale(1.1);
}

.body-card:hover {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid rgba(74, 222, 128, 0.3);
}

.body-card:hover .card-om {
    color: #4ade80;
    opacity: 1;
    text-shadow: 0 0 15px rgba(74, 222, 128, 0.5);
    transform: scale(1.1);
}

.practice-card:hover {
    background: linear-gradient(135deg, #fffaf0 0%, #ffeaa7 100%);
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.practice-card:hover .card-om {
    opacity: 1;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    transform: scale(1.1);
}

.radio-card:hover {
    background: linear-gradient(135deg, #f8f4ff 0%, #e8d9ff 100%);
    border: 2px solid rgba(102, 126, 234, 0.3);
}

.radio-card:hover .card-om {
    opacity: 1;
    text-shadow: 0 0 15px rgba(102, 126, 234, 0.5);
    transform: scale(1.1);
}

.story-card:hover {
    background: linear-gradient(135deg, #fff8f0 0%, #ffe4cc 100%);
    border: 2px solid rgba(245, 158, 11, 0.3);
}

.story-card:hover .card-om {
    opacity: 1;
    text-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
    transform: scale(1.1);
}

.words-card:hover {
    background: linear-gradient(135deg, #f8f5ff 0%, #ede8ff 100%);
    border: 2px solid rgba(139, 92, 246, 0.3);
}

.words-card:hover .additional-icon {
    opacity: 1;
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
    transform: scale(1.1);
}

.journey-card:hover {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0e7ff 100%);
    border: 2px solid rgba(59, 130, 246, 0.3);
}

.journey-card:hover .card-om {
    opacity: 1;
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
    transform: scale(1.1);
}

.happiness-card:hover {
    background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 100%);
    border: 2px solid rgba(245, 158, 11, 0.3);
}

.happiness-card:hover .card-om {
    opacity: 1;
    text-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
    transform: scale(1.1);
}

.tools-card:hover {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 2px solid rgba(34, 197, 94, 0.3);
}

.tools-card:hover .card-om {
    opacity: 1;
    text-shadow: 0 0 15px rgba(34, 197, 94, 0.5);
    transform: scale(1.1);
}

.section-card h3, .additional-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #2c3e50;
    font-weight: 600;
}

.section-card p, .additional-card p {
    color: #5a6c7d;
    line-height: 1.6;
    font-weight: 400;
}

/* Footer */
footer {
    margin-top: 20px;
}

.quote {
    font-style: italic;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 400;
}

/* Tooltip */
.tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.95rem;
    pointer-events: none;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tooltip.show {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }
    
    .om-container {
        padding: 20px;
    }
    
    .om-text {
        font-size: 7rem;
    }
    
    .om-symbol {
        max-width: 300px;
    }
    
    .sections-info {
        grid-template-columns: 1fr;
    }
    
    .section-card {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .om-container {
        padding: 15px;
    }
    
    .om-text {
        font-size: 5rem;
    }
    
    .section-card {
        padding: 15px;
    }
}
