/* Texas Tea Brand Styling - Neon Purple & Black Theme */
.navbar-brand-text {
    background: linear-gradient(45deg, #9d4edd, #7209b7, #c77dff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(157, 78, 221, 0.8);
    font-size: 1.4rem;
    letter-spacing: 1px;
    filter: drop-shadow(0 0 10px #9d4edd);
    position: relative;
    display: inline-block;
}

/* Enhanced Floating Cup Animation */
.navbar-brand-text::before {
    content: '🥤';
    position: absolute;
    left: -2rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    animation: floatCupEnhanced 3s ease-in-out infinite;
    filter: drop-shadow(0 0 15px rgba(157, 78, 221, 0.6));
    z-index: 10;
}

@keyframes floatCupEnhanced {
    0% {
        transform: translateY(-50%) translateX(0px) rotate(0deg) scale(1);
        filter: drop-shadow(0 0 15px rgba(157, 78, 221, 0.6));
    }
    20% {
        transform: translateY(-65%) translateX(3px) rotate(3deg) scale(1.08);
        filter: drop-shadow(0 0 25px rgba(199, 125, 255, 0.9));
    }
    40% {
        transform: translateY(-35%) translateX(-2px) rotate(-2deg) scale(1.04);
        filter: drop-shadow(0 0 30px rgba(157, 78, 221, 1));
    }
    60% {
        transform: translateY(-60%) translateX(4px) rotate(2deg) scale(1.06);
        filter: drop-shadow(0 0 20px rgba(199, 125, 255, 0.8));
    }
    80% {
        transform: translateY(-40%) translateX(-1px) rotate(-1deg) scale(1.02);
        filter: drop-shadow(0 0 25px rgba(157, 78, 221, 0.85));
    }
    100% {
        transform: translateY(-50%) translateX(0px) rotate(0deg) scale(1);
        filter: drop-shadow(0 0 15px rgba(157, 78, 221, 0.6));
    }
}

/* Floating Steam Effect Over Cup */
.navbar-brand-text {
    position: relative;
}

.navbar-brand-text:hover::before {
    animation-duration: 1.5s;
}

/* Steam Effect */
.navbar-brand::after {
    content: '💨';
    position: absolute;
    left: -1.2rem;
    top: 30%;
    font-size: 0.7rem;
    opacity: 0;
    animation: steamFloat 4s ease-in-out infinite;
    animation-delay: 1s;
    z-index: 15;
}

@keyframes steamFloat {
    0%, 85%, 100% {
        opacity: 0;
        transform: translateY(10px) scale(0.5);
    }
    15%, 70% {
        opacity: 0.6;
        transform: translateY(-15px) scale(1.2);
    }
    40% {
        opacity: 0.8;
        transform: translateY(-25px) scale(1.5);
    }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.text-gradient {
    background: linear-gradient(45deg, #9d4edd, #7209b7);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Neon Purple Theme Overrides */
:root {
    --neon-purple: #9d4edd;
    --dark-purple: #7209b7;
    --light-purple: #c77dff;
    --neon-glow: rgba(157, 78, 221, 0.8);
}

body {
    background: linear-gradient(135deg, #000000, #1a0033, #000000);
    color: #ffffff;
}

.navbar-dark {
    background: rgba(0, 0, 0, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--neon-purple);
}

.card {
    background: rgba(0, 0, 0, 0.8) !important;
    border: 1px solid var(--neon-purple) !important;
    box-shadow: 0 0 30px var(--neon-glow) !important;
}

.glow-text {
    color: var(--light-purple) !important;
    text-shadow: 0 0 15px var(--neon-glow) !important;
}

.btn-primary {
    background: linear-gradient(45deg, var(--dark-purple), var(--neon-purple)) !important;
    border: none !important;
    box-shadow: 0 0 20px var(--neon-glow) !important;
    transition: all 0.3s ease !important;
}

.btn-primary:hover {
    box-shadow: 0 0 30px var(--neon-glow) !important;
    transform: translateY(-2px) !important;
}

.alert-success {
    background: rgba(157, 78, 221, 0.2) !important;
    border: 1px solid var(--neon-purple) !important;
    color: var(--light-purple) !important;
}

/* Additional Neon Purple Styling for Feed */
.story-filters {
    background: rgba(0, 0, 0, 0.9) !important;
    box-shadow: 0 0 30px var(--neon-glow) !important;
    border: 1px solid var(--neon-purple) !important;
}

.filter-button {
    background: rgba(157, 78, 221, 0.1) !important;
    color: var(--light-purple) !important;
    border: 1px solid transparent !important;
}

.filter-button::before {
    background: linear-gradient(45deg, var(--neon-purple), var(--light-purple)) !important;
}

.activity-section {
    background: rgba(0, 0, 0, 0.9) !important;
    box-shadow: 0 10px 30px var(--neon-glow) !important;
    border: 1px solid var(--neon-purple) !important;
}

.section-title {
    color: var(--light-purple) !important;
    text-shadow: 0 0 20px var(--neon-glow) !important;
}

.section-title .feather {
    stroke: var(--neon-purple) !important;
    filter: drop-shadow(0 0 10px var(--neon-glow)) !important;
}

.story-count {
    background: linear-gradient(45deg, var(--dark-purple), var(--neon-purple)) !important;
    color: white !important;
}

/* Floating Cup Effects in Navigation */
.nav-link:has(🥤) {
    position: relative;
    overflow: visible;
}

.nav-link:hover {
    animation: navFloat 0.6s ease-in-out;
}

@keyframes navFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Enhanced floating particles and bubbles over cup */
.navbar-brand-text::after {
    content: '✨💫✨';
    position: absolute;
    right: -2rem;
    top: 10%;
    font-size: 0.6rem;
    animation: sparkleEnhanced 2.5s ease-in-out infinite;
    opacity: 0.8;
    z-index: 12;
}

@keyframes sparkleEnhanced {
    0% {
        opacity: 0.2;
        transform: translateY(0) translateX(0) scale(0.5) rotate(0deg);
    }
    25% {
        opacity: 0.9;
        transform: translateY(-8px) translateX(3px) scale(1.3) rotate(90deg);
    }
    50% {
        opacity: 0.6;
        transform: translateY(-15px) translateX(-2px) scale(1.1) rotate(180deg);
    }
    75% {
        opacity: 0.8;
        transform: translateY(-10px) translateX(4px) scale(1.4) rotate(270deg);
    }
    100% {
        opacity: 0.2;
        transform: translateY(0) translateX(0) scale(0.5) rotate(360deg);
    }
}

/* Floating Bubbles Over Cup */
.navbar-brand::before {
    content: '°°°';
    position: absolute;
    left: -0.8rem;
    top: 35%;
    font-size: 0.5rem;
    color: rgba(199, 125, 255, 0.6);
    animation: bubbleFloat 3.5s ease-in-out infinite;
    animation-delay: 0.5s;
    z-index: 11;
}

@keyframes bubbleFloat {
    0%, 100% {
        opacity: 0;
        transform: translateY(5px) scale(0.3);
    }
    30% {
        opacity: 0.7;
        transform: translateY(-10px) scale(1);
    }
    60% {
        opacity: 0.9;
        transform: translateY(-20px) scale(1.2);
    }
    90% {
        opacity: 0.3;
        transform: translateY(-30px) scale(0.8);
    }
}

/* Navigation Buttons with enhanced effects */
.story-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(10, 10, 10, 0.8);
    border: none;
    border-radius: 50%;
    width: 31px;  /* Reduced from 35px */
    height: 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(5px);
}

/* Add PS5-style dropdown menu styling */
.dropdown-menu {
    z-index: 1050;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(255, 20, 147, 0.2);
}

.dropdown-menu.show {
    animation: menuReveal 0.3s ease forwards;
}

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

@media (max-width: 768px) {
    .story-media-preview {
        width: 180px;
        height: 180px;
    }
    
    .stories-container {
        padding: 1rem;
    }
    
    .story-nav-btn {
        width: 27px;  /* Reduced from 30px */
        height: 27px;
    }
}