/* Custom Scrollbar */
::-webkit-scrollbar {
   width: 8px;
}
::-webkit-scrollbar-track {
   background: #0D0D0F;
}
::-webkit-scrollbar-thumb {
   background: #333;
   border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
   background: #5A2A84;
}
/* Smooth Scroll Behavior */
html {
   scroll-behavior: smooth;
}
/* Cursor Styles */
* {
    cursor: none !important; /* Hide default cursor everywhere */
}

@media (max-width: 768px) {
    * {
        cursor: auto !important; /* Show default cursor on mobile */
    }
}

/* Active Cursor State (Hovering Links) */
.cursor-active img {
    filter: hue-rotate(90deg) brightness(1.5) drop-shadow(0 0 5px #9A4DFF);
    transform: scale(1.2);
    transition: all 0.3s ease;
}
/* Text Selection */
::selection {
   background: #9A4DFF;
   color: white;
}

/* --- Offer Modal --- */
#offer-modal.active {
    opacity: 1;
}

#offer-modal.active .offer-content {
    transform: scale(1);
}

.offer-content {
    /* Glassmorphism handled by Tailwind classes in HTML, 
       but we can add specific border/shadow enhancements here */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Ensure modal is above everything */
#offer-modal {
    z-index: 10000;
}


/* --- The Flow Bar (Navigation) --- */

/* Desktop Floating Pill */
.flow-bar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1200px;
    z-index: 50;
    
    /* Glassmorphism */
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(147, 51, 234, 0.3); /* Purple border */
    border-radius: 9999px; /* Pill shape */
    
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.flow-bar:hover {
    border-color: rgba(147, 51, 234, 0.8);
    box-shadow: 0 0 15px rgba(147, 51, 234, 0.3);
}

/* Link Glow Effect */
.nav-link {
    position: relative;
    color: white;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #FFD700; /* Mystic Gold */
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

/* Trinity Dropdown */
.trinity-dropdown {
    position: absolute;
    top: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: rgba(13, 13, 15, 0.95);
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.group:hover .trinity-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.trinity-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 0.5rem;
    transition: background 0.3s ease;
    min-width: 120px;
    text-align: center;
}

.trinity-card:hover {
    background: rgba(255, 255, 255, 0.05);
}

.trinity-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Mobile Wave Overlay */
.mobile-wave-menu {
    position: fixed;
    inset: 0;
    background: #0D0D0F;
    z-index: 49; /* Behind nav bar but above content */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-wave-menu.active {
    transform: translateY(0);
}

.mobile-wave-menu a {
    font-family: 'Times New Roman', serif; /* Or custom serif */
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin: 1rem 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.mobile-wave-menu.active a {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s; /* Stagger handled in JS optionally */
}

/* Hamburger Icon Animation */
.hamburger svg {
    transition: transform 0.3s ease;
}

.hamburger.active svg {
    transform: rotate(90deg);
}
