/* ============================================
   ORACNOOS 3D QUANTUM LOGO
   World-Class Premium Design
   ============================================ */

/* Logo Container */
.logo-3d-container {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    perspective: 1000px;
}

/* ============================================
   3D "O" SPHERE WITH ORBITAL HEXAGONS
   ============================================ */

.logo-orb-wrapper {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-orb {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: relative;
    background: linear-gradient(135deg, 
        #00e5ff 0%, 
        #0099ff 50%, 
        #7c4dff 100%
    );
    box-shadow: 
        0 0 20px rgba(0, 229, 255, 0.6),
        0 0 40px rgba(0, 229, 255, 0.4),
        0 0 60px rgba(0, 229, 255, 0.2),
        inset 0 0 20px rgba(255, 255, 255, 0.3),
        inset -10px -10px 30px rgba(0, 0, 0, 0.3);
    animation: orbPulse 2s ease-in-out infinite, orbGlow 3s ease-in-out infinite;
    transform-style: preserve-3d;
}

/* Inner Ring */
.logo-orb::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
    animation: innerRingRotate 4s linear infinite;
}

/* Orbital Hexagons */
.hexagon-orbit {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70px;
    height: 70px;
    transform: translate(-50%, -50%);
    animation: orbitRotate 10s linear infinite;
}

.hex-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #00e5ff;
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    box-shadow: 0 0 8px rgba(0, 229, 255, 0.8);
    animation: hexPulse 2s ease-in-out infinite;
}

.hex-particle:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.hex-particle:nth-child(2) {
    top: 25%;
    right: 5%;
    animation-delay: 0.3s;
}

.hex-particle:nth-child(3) {
    bottom: 25%;
    right: 5%;
    animation-delay: 0.6s;
}

.hex-particle:nth-child(4) {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0.9s;
}

.hex-particle:nth-child(5) {
    bottom: 25%;
    left: 5%;
    animation-delay: 1.2s;
}

.hex-particle:nth-child(6) {
    top: 25%;
    left: 5%;
    animation-delay: 1.5s;
}

/* ============================================
   3D TYPOGRAPHY - ORACNOOS
   ============================================ */

.logo-text-3d {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(135deg, 
        #00e5ff 0%, 
        #ffffff 50%, 
        #00e5ff 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 
        0 1px 0 rgba(255, 255, 255, 0.4),
        0 2px 0 rgba(0, 229, 255, 0.3),
        0 3px 0 rgba(0, 229, 255, 0.2),
        0 4px 8px rgba(0, 229, 255, 0.3),
        0 0 20px rgba(0, 229, 255, 0.4);
    position: relative;
    animation: textShimmer 4s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.5));
}

/* Hover Effect */
.logo-3d-container:hover .logo-orb {
    transform: scale(1.1) rotateY(15deg);
    box-shadow: 
        0 0 30px rgba(0, 229, 255, 0.8),
        0 0 60px rgba(0, 229, 255, 0.6),
        0 0 90px rgba(0, 229, 255, 0.4);
    animation: orbPulse 1s ease-in-out infinite;
}

.logo-3d-container:hover .logo-text-3d {
    letter-spacing: 3px;
}

.logo-3d-container:hover .hexagon-orbit {
    animation-duration: 5s;
}

/* ============================================
   HERO VERSION (Larger for homepage)
   ============================================ */

.logo-3d-hero {
    transform: scale(1.8);
    margin: 40px 0;
}

.logo-3d-hero .logo-orb-wrapper {
    width: 80px;
    height: 80px;
}

.logo-3d-hero .logo-orb {
    width: 70px;
    height: 70px;
}

.logo-3d-hero .hexagon-orbit {
    width: 120px;
    height: 120px;
}

.logo-3d-hero .logo-text-3d {
    font-size: 2.5rem;
    letter-spacing: 4px;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes orbPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes orbGlow {
    0%, 100% {
        box-shadow: 
            0 0 20px rgba(0, 229, 255, 0.6),
            0 0 40px rgba(0, 229, 255, 0.4),
            0 0 60px rgba(0, 229, 255, 0.2),
            inset 0 0 20px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 
            0 0 30px rgba(0, 229, 255, 0.8),
            0 0 60px rgba(0, 229, 255, 0.6),
            0 0 90px rgba(0, 229, 255, 0.4),
            inset 0 0 25px rgba(255, 255, 255, 0.4);
    }
}

@keyframes innerRingRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes orbitRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes hexPulse {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.3);
    }
}

@keyframes textShimmer {
    0%, 100% {
        background-position: 0% 50%;
        filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.5));
    }
    50% {
        background-position: 100% 50%;
        filter: drop-shadow(0 0 20px rgba(0, 229, 255, 0.8));
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .logo-3d-container {
        gap: 10px;
    }
    
    .logo-orb-wrapper {
        width: 35px;
        height: 35px;
    }
    
    .logo-orb {
        width: 30px;
        height: 30px;
    }
    
    .hexagon-orbit {
        width: 50px;
        height: 50px;
    }
    
    .hex-particle {
        width: 4px;
        height: 4px;
    }
    
    .logo-text-3d {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    
    .logo-3d-hero {
        transform: scale(1.2);
        margin: 20px 0;
    }
}

/* ============================================
   LIGHT MODE
   ============================================ */

[data-theme="light"] .logo-orb {
    background: linear-gradient(135deg, 
        #00b8d4 0%, 
        #0277bd 50%, 
        #5e35b1 100%
    );
    box-shadow: 
        0 0 15px rgba(0, 184, 212, 0.5),
        0 0 30px rgba(0, 184, 212, 0.3),
        0 0 45px rgba(0, 184, 212, 0.1),
        inset 0 0 15px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .logo-text-3d {
    background: linear-gradient(135deg, 
        #0277bd 0%, 
        #01579b 50%, 
        #0277bd 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 
        0 1px 0 rgba(255, 255, 255, 0.8),
        0 2px 0 rgba(0, 119, 189, 0.2),
        0 4px 8px rgba(0, 119, 189, 0.2);
    filter: drop-shadow(0 0 5px rgba(0, 119, 189, 0.3));
}

[data-theme="light"] .hex-particle {
    background: #0277bd;
    box-shadow: 0 0 6px rgba(0, 119, 189, 0.6);
}

/* ============================================
   PERFORMANCE OPTIMIZATIONS
   ============================================ */

.logo-3d-container,
.logo-orb,
.hexagon-orbit,
.hex-particle,
.logo-text-3d {
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .logo-orb,
    .hexagon-orbit,
    .hex-particle,
    .logo-text-3d {
        animation: none !important;
    }
    
    .logo-orb {
        box-shadow: 
            0 0 20px rgba(0, 229, 255, 0.6),
            inset 0 0 20px rgba(255, 255, 255, 0.3);
    }
}

