/* style.css */
body {
    background-color: #030303;
    color: #ffffff;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Smoke Orbs - CSS Background Elements */
#globalSmokeVideo {
    will-change: transform;
}

.smoke-blob {
    position: absolute;
    filter: blur(160px);
    opacity: 0.65;
    border-radius: 50%;
    animation: drift 25s infinite alternate ease-in-out;
}

.blob-1 {
    width: 70vw;
    height: 70vw;
    background: #4a0000;
    top: -15%;
    left: -15%;
    animation-duration: 28s;
}

.blob-2 {
    width: 60vw;
    height: 60vw;
    background: #2a0000;
    bottom: -15%;
    right: -15%;
    animation-duration: 35s;
    animation-direction: alternate-reverse;
}

.blob-3 {
    width: 50vw;
    height: 50vw;
    background: #0a0a0a;
    top: 30%;
    left: 40%;
    animation-duration: 40s;
    opacity: 0.8;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); opacity: 0.3; }
    50% { opacity: 0.5; }
    100% { transform: translate(8%, -8%) scale(1.15) rotate(15deg); opacity: 0.3; }
}

/* Local Section Smoke */
.smoke-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.smoke-drift {
    position: absolute;
    filter: blur(120px);
    opacity: 0.85;
    border-radius: 50%;
    animation: drift-slow 35s infinite alternate ease-in-out;
    mix-blend-mode: screen;
}

@keyframes drift-slow {
    0% { transform: translate(0, 0) scale(0.9) rotate(0deg); opacity: 0.2; }
    50% { opacity: 0.45; }
    100% { transform: translate(12%, -12%) scale(1.3) rotate(20deg); opacity: 0.2; }
}

/* Glassmorphism Classes */
.glass-panel {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.5) 0%, rgba(10, 10, 10, 0.7) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

/* Premium Buttons */
.btn-primary {
    background: linear-gradient(135deg, rgba(163, 0, 0, 0.8) 0%, rgba(90, 0, 0, 0.9) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 100, 100, 0.25);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(139, 0, 0, 0.4), inset 0 0 15px rgba(255, 255, 255, 0.1);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.25), transparent);
    transform: skewX(-25deg);
    animation: button-shine 6s infinite;
}

@keyframes button-shine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}

.btn-primary:hover {
    background: linear-gradient(135deg, rgba(204, 0, 0, 0.9) 0%, rgba(139, 0, 0, 0.95) 100%);
    box-shadow: 0 12px 35px rgba(204, 0, 0, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 150, 150, 0.5);
    transform: translateY(-3px);
}

.btn-secondary {
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), inset 0 0 10px rgba(255, 255, 255, 0.05);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(255, 255, 255, 0.1);
}

/* Typography Enhancements */
.text-glow {
    text-shadow: 0 0 30px rgba(255, 26, 26, 0.5), 0 0 15px rgba(255, 26, 26, 0.3);
}

.text-glow-white {
    text-shadow: 0 0 25px rgba(255, 255, 255, 0.4), 0 0 10px rgba(255, 255, 255, 0.2);
}

.title-shadow {
    text-shadow: 3px 5px 15px rgba(0, 0, 0, 0.9);
}

/* Animations */
.animate-pulse-slow {
    animation: pulse-opacity 6s ease-in-out infinite;
}

@keyframes pulse-opacity {
    0%, 100% { opacity: 0.6; transform: scale(1) translate(-50%, -50%); }
    50% { opacity: 1; transform: scale(1.1) translate(-45%, -45%); }
}

/* Parallax variables */
.parallax-layer, .scroll-parallax {
    transform: translate(var(--px, 0px), calc(var(--py, 0px) + var(--sy, 0px)));
    transition: transform 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

/* Scroll Reveal Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    filter: blur(8px);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Hookah Reveal Animation */
.hookah-reveal {
    opacity: 0;
    animation: hookah-entrance 3.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.3s;
}

@keyframes hookah-entrance {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(50px);
        filter: blur(30px) contrast(1) brightness(0.5) saturate(0.5);
    }
    40% {
        opacity: 0.4;
        filter: blur(12px) contrast(1.2) brightness(0.8) saturate(1);
    }
    100% {
        opacity: 0.9;
        transform: scale(1) translateY(0);
        filter: blur(0px) contrast(1.35) brightness(1.1) saturate(1.5);
    }
}

/* Hookah Image Mask for Hero Section */
.mask-smoke {
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, rgba(0,0,0,0.8) 55%, transparent 80%);
    mask-image: radial-gradient(ellipse at center, black 30%, rgba(0,0,0,0.8) 55%, transparent 80%);
}

.float-slow {
    animation: float-slow 8s ease-in-out infinite;
}

@keyframes float-slow {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #030303;
}
::-webkit-scrollbar-thumb {
    background: #330000;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #990000;
}