/**
 * Hero 3D Background Styles - Full Screen Immersive
 */

.hero-3d-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: visible;
    transition: opacity 0.5s ease;
}

.hero-3d-container canvas {
    display: block;
    width: 100vw !important;
    height: 100vh !important;
    position: fixed;
    top: 0;
    left: 0;
}

/* Ensure hero section contains the 3D */
.hero-section {
    position: relative;
    overflow: visible;
}

/* Hero content stays above 3D */
.hero-container {
    position: relative;
    z-index: 2;
}

/* Subtle gradient overlay for readability */
.hero-3d-container::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(
        ellipse at center,
        transparent 0%,
        transparent 40%,
        rgba(10, 10, 10, 0.4) 100%
    );
    pointer-events: none;
    z-index: 1;
}

/* Light theme overlay */
.theme-light .hero-3d-container::after {
    background: radial-gradient(
        ellipse at center,
        transparent 0%,
        transparent 40%,
        rgba(250, 248, 245, 0.5) 100%
    );
}

/* Accessibility - reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-3d-container {
        display: none;
    }
}

/* Mobile optimization */
@media (max-width: 768px) {
    .hero-3d-container {
        opacity: 0.6;
    }
}

/* Make about card more visible over 3D */
.theme-dark .about-card {
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        0 0 60px rgba(0, 255, 255, 0.1),
        0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.theme-light .about-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        0 0 60px rgba(210, 105, 30, 0.1),
        0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(210, 105, 30, 0.2);
}

/* Hero text glow effect */
.theme-dark .hero-name .name-english {
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

.theme-light .hero-name .name-english {
    text-shadow: 0 0 30px rgba(210, 105, 30, 0.3);
}
