/* ============================================================
   Pixella — Hero Section Additional Styles
   ============================================================ */

/* Animated gradient border on hero */
.pixella-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gradient-hero);
    opacity: 0.3;
}

/* Floating particles overlay */
.pixella-hero-canvas {
    opacity: 0.85;
}

[data-theme="dark"] .pixella-hero-canvas {
    opacity: 1;
}

/* Hero text glow effect */
[data-theme="dark"] .pixella-hero h1 .gradient-text {
    text-shadow: 0 0 40px rgba(167,139,250,0.3);
}

/* Responsive hero adjustments */
@media (max-width: 768px) {
    .pixella-hero {
        min-height: 90vh;
        padding-top: 80px;
    }

    .pixella-hero-content {
        padding: var(--space-xl) var(--space-md);
    }

    .pixella-hero-badge {
        font-size: 0.78rem;
    }
}

/* Mobile nav open state — fully solid, no transparency */
.pixella-nav-links.mobile-open {
    display: flex !important;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: auto;
    flex-direction: column;
    background: #0d0d0d;
    padding: var(--space-xl) var(--space-lg);
    gap: 0;
    z-index: 9999;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 16px 48px rgba(0,0,0,0.8);
    animation: slideDown 0.22s ease;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

[data-theme="light"] .pixella-nav-links.mobile-open {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}

.pixella-nav-links.mobile-open li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

[data-theme="light"] .pixella-nav-links.mobile-open li {
    border-bottom: 1px solid #f1f5f9;
}

.pixella-nav-links.mobile-open li:last-child {
    border-bottom: none;
    display: flex;
    justify-content: center;
    padding-top: var(--space-sm);
}

.pixella-nav-links.mobile-open a {
    font-size: 1.05rem;
    font-weight: 500;
    padding: 14px var(--space-md);
    border-radius: 0;
    display: block;
    width: 100%;
}

.pixella-nav-links.mobile-open a:hover {
    background: rgba(167,139,250,0.12);
    color: var(--color-primary);
    border-radius: var(--radius-md);
}

/* Beautiful multilayered animated glow behind hero content */
.hero-glow-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    mix-blend-mode: screen;
    animation: orbPulse 12s ease-in-out infinite alternate;
}

[data-theme="light"] .hero-glow-orb {
    mix-blend-mode: multiply;
    opacity: 0.08;
}

.orb-purple {
    top: 15%;
    left: 20%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(124,58,237,0.8) 0%, rgba(124,58,237,0) 70%);
}

.orb-rose {
    bottom: 15%;
    right: 20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(225,29,72,0.8) 0%, rgba(225,29,72,0) 70%);
    animation-delay: -4s;
}

.orb-cyan {
    top: 35%;
    left: 40%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(6,182,212,0.8) 0%, rgba(6,182,212,0) 70%);
    animation-delay: -8s;
}

@keyframes orbPulse {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
    100% {
        transform: translate(-20px, 20px) scale(0.95);
    }
}
