/* assets/css/nebula.css */
.nebula-flow-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #050510;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.nebula-flow-container canvas {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
}

.nebula-flow-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    min-height: 400px;
    padding: 2rem;
    box-sizing: border-box;
}

.nebula-flow-content h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    margin: 0 0 1rem 0;
    letter-spacing: -0.02em;
    text-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.nebula-flow-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
    opacity: 0.9;
    line-height: 1.6;
}

.nebula-flow-button {
    display: inline-block;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    cursor: pointer;
}

.nebula-flow-button:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Ensure header compatibility */
.has-nebula-flow-hero .site-header {
    position: relative;
    z-index: 20;
    background: transparent !important;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .nebula-flow-content {
        padding: 1.5rem;
    }
    
    .nebula-flow-button {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    .nebula-flow-container canvas {
        animation: none !important;
    }
    
    .nebula-flow-button {
        transition: none;
    }
}