/* Ghost Brand Effects - Dark, Minimalist, Moody */

.ghost-smoke-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse 600px 300px at 10% 20%, var(--smoke-color) 0%, transparent 70%),
        radial-gradient(ellipse 400px 200px at 90% 80%, var(--smoke-color) 0%, transparent 70%),
        radial-gradient(ellipse 800px 400px at 50% 50%, var(--smoke-accent) 0%, transparent 80%);
    animation: ghostFloat 25s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ghostFloat {
    0%, 100% { 
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-20px) scale(1.05);
        opacity: 0.3;
    }
}

.ghost-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.ghost-particle {
    position: absolute;
    background: var(--ghost-white);
    border-radius: 50%;
    opacity: 0;
    animation: ghostRise linear infinite;
}

.ghost-particle:nth-child(1) {
    left: 15%;
    width: 2px;
    height: 2px;
    animation-duration: 12s;
    animation-delay: 0s;
}

.ghost-particle:nth-child(2) {
    left: 25%;
    width: 1px;
    height: 1px;
    animation-duration: 15s;
    animation-delay: 3s;
}

.ghost-particle:nth-child(3) {
    left: 35%;
    width: 3px;
    height: 3px;
    animation-duration: 10s;
    animation-delay: 1s;
}

.ghost-particle:nth-child(4) {
    left: 55%;
    width: 2px;
    height: 2px;
    animation-duration: 18s;
    animation-delay: 5s;
}

.ghost-particle:nth-child(5) {
    left: 75%;
    width: 1px;
    height: 1px;
    animation-duration: 14s;
    animation-delay: 2s;
}

.ghost-particle:nth-child(6) {
    left: 85%;
    width: 2px;
    height: 2px;
    animation-duration: 16s;
    animation-delay: 4s;
}

@keyframes ghostRise {
    0% {
        transform: translateY(100vh);
        opacity: 0;
    }
    10% {
        opacity: 0.1;
    }
    50% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.1;
    }
    100% {
        transform: translateY(-10vh);
        opacity: 0;
    }
}

.urban-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(248,248,248,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(248,248,248,0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
    animation: urbanShift 30s linear infinite;
}

@keyframes urbanShift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.ghost-glow {
    position: absolute;
    top: 30%;
    left: 20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--smoke-accent) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: ghostPulse 8s ease-in-out infinite;
    opacity: 0.4;
}

.ghost-glow:nth-child(2) {
    top: 60%;
    left: 70%;
    width: 400px;
    height: 400px;
    animation-delay: 4s;
}

@keyframes ghostPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.2;
    }
}

.minimalist-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.minimalist-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--smoke-color), transparent);
    transition: left 0.6s ease;
}

.minimalist-card:hover::before {
    left: 100%;
}

.minimalist-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 8px 32px var(--shadow-color);
    transform: translateY(-4px);
}

.ghost-text {
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.ghost-text:hover {
    color: var(--ghost-white);
    text-shadow: 0 0 8px var(--smoke-accent);
}

.stealth-button {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--ghost-white);
    padding: 12px 32px;
    font-family: inherit;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stealth-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
    z-index: -1;
}

.stealth-button:hover::before {
    transform: scaleX(1);
}

.stealth-button:hover {
    color: var(--primary-bg);
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.stealth-button.primary {
    background: var(--accent-color);
    color: var(--primary-bg);
    border-color: var(--accent-color);
}

.stealth-button.primary::before {
    background: var(--primary-bg);
}

.stealth-button.primary:hover {
    color: var(--ghost-white);
    background: transparent;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ghost-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
    margin: 60px 0;
}

.moody-section {
    background: linear-gradient(135deg, var(--secondary-bg) 0%, var(--primary-bg) 100%);
    position: relative;
}

.moody-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse 600px 300px at 30% 0%, var(--smoke-color) 0%, transparent 60%),
        radial-gradient(ellipse 400px 200px at 70% 100%, var(--smoke-accent) 0%, transparent 60%);
    pointer-events: none;
}