/* Custom styles for Truth Ultra Lounge */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Base styles */
body {
    background-color: #040a14;
}

/* Particle animations */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.8) 0%, rgba(212, 160, 23, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.particle-1 {
    top: 20%;
    left: 10%;
    animation: float 8s ease-in-out infinite;
}

.particle-2 {
    top: 40%;
    right: 15%;
    width: 6px;
    height: 6px;
    animation: float 10s ease-in-out infinite reverse;
}

.particle-3 {
    bottom: 30%;
    left: 20%;
    width: 3px;
    height: 3px;
    animation: float 7s ease-in-out infinite;
}

.particle-4 {
    top: 60%;
    left: 5%;
    width: 5px;
    height: 5px;
    animation: float 9s ease-in-out infinite reverse;
}

.particle-5 {
    top: 15%;
    right: 25%;
    width: 3px;
    height: 3px;
    animation: float 11s ease-in-out infinite;
}

.particle-6 {
    bottom: 20%;
    right: 10%;
    width: 4px;
    height: 4px;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-20px) translateX(10px) scale(1.1);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-10px) translateX(-10px) scale(0.9);
        opacity: 0.5;
    }
    75% {
        transform: translateY(-30px) translateX(5px) scale(1.05);
        opacity: 0.7;
    }
}

/* Scroll reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.hidden-reveal {
    opacity: 0;
    transform: translateY(30px);
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(4, 10, 20, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu link hover */
.mobile-link {
    position: relative;
}

.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, #d4a017, #e8c547);
    transition: width 0.3s ease;
}

.mobile-link:hover::after {
    width: 100%;
}

/* Card hover glow effects */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Input focus states */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 1px rgba(212, 160, 23, 0.2);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a1628;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d4a017, #0d9468);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #e8c547, #14b88a);
}

/* Selection color */
::selection {
    background: rgba(212, 160, 23, 0.3);
    color: #f5d97a;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .particle {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .reveal {
        transition: none;
    }
}

/* Mobile menu animation */
#mobileMenu {
    animation: slideDown 0.3s ease-out;
}

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

/* Button ripple effect */
button,
a {
    -webkit-tap-highlight-color: transparent;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #0f1f3a 0%, #162a4a 100%);
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid #d4a017;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .particle,
    .navbar-scrolled {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
