/* Vibe Selection Specific Styles */
.vibe-selector {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.vibe-container {
    display: flex;
    height: 100vh;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.vibe-screen {
    min-width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.vibe-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    z-index: -1;
}

.vibe-content {
    text-align: center;
    z-index: 10;
    color: white;
    padding: 2rem;
    max-width: 600px;
    position: relative;
}

.vibe-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    animation: titleGlow 2s ease-in-out infinite alternate;
}

.vibe-description {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
}

.vibe-button {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 2rem 4rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 2rem 0;
}

.vibe-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.navigation {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 100;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: white;
    transform: scale(1.2);
}

.close-btn {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
}

/* Modal Close Button - Specific styles for setvibe.ejs */
.modal-close-button {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
    display: block;
}

.close-modal-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.close-modal-btn:hover {
    transform: scale(1.1);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(255, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.3);
}

.close-modal-btn i {
    font-size: 1.2rem;
    color: white;
}

/* Desktop Navigation Arrows */
.nav-arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    color: white;
    font-size: 1.5rem;
}

.nav-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.nav-arrow.left {
    left: 2rem;
}

.nav-arrow.right {
    right: 2rem;
}

         .nav-arrow.hidden {
     opacity: 0;
     pointer-events: none;
 }

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    bottom: 6rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-align: center;
    z-index: 100;
    animation: fadeInOut 2s ease-in-out infinite;
}

.scroll-indicator .icon {
    font-size: 1.2rem;
    margin: 0 0.5rem;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes titleGlow {
    0% { text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); }
    100% { text-shadow: 0 4px 20px rgba(255, 255, 255, 0.5); }
}

/* Vibe Color Schemes - Matching Each Vibe Type */
.vibe-tv {
    background: #dc2626;
}

.vibe-funny {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.vibe-energetic {
    position: relative;
    overflow: hidden;
    background: #fbbf24;
}

.vibe-energetic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% + 100px);
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        #f8d732 25%,
        #f8d732 50%,
        #ffe839 50%,
        #ffe839 75%
    );
    background-size: 100px 100px;
    animation: energeticStripeTransform 2s linear infinite;
    z-index: 0;
}

@keyframes energeticStripeTransform {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100px);
    }
}

.vibe-chill {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.vibe-excited {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
}

.vibe-romantic {
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
}

.vibe-scary {
    background: linear-gradient(135deg, #4a1a6f 0%, #5a1f0f 100%);
}

.vibe-learning {
    background: linear-gradient(135deg, #1a5f3f 0%, #2d5016 100%);
}

.vibe-hungry {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
}

.vibe-cooking {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
}

.vibe-focus {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.vibe-motivational {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}

.vibe-philosophic {
    background: linear-gradient(135deg, #6b7280 0%, #9ca3af 100%);
}

.vibe-curious {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

/* Additional vibe classes for body background */
body.vibe-tv {
    background: #dc2626;
}

body.vibe-funny {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

body.vibe-energetic {
    position: relative;
    overflow: hidden;
    background: #fbbf24;
}

body.vibe-energetic::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: calc(100% + 100px);
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        #f8d732 25%,
        #f8d732 50%,
        #ffe839 50%,
        #ffe839 75%
    );
    background-size: 100px 100px;
    animation: energeticStripeTransform 2s linear infinite;
    z-index: 0;
}

body.vibe-chill {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

body.vibe-excited {
    background: linear-gradient(135deg, #ea580c 0%, #f97316 100%);
}

body.vibe-romantic {
    background: linear-gradient(135deg, #ec4899 0%, #f472b6 100%);
}

body.vibe-scary {
    background: linear-gradient(135deg, #4a1a6f 0%, #5a1f0f 100%);
}

body.vibe-learning {
    background: linear-gradient(135deg, #1a5f3f 0%, #2d5016 100%);
}

.vibe-inspirational {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

body.vibe-inspirational {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.vibe-creative {
    background: 
        radial-gradient(circle at 10% 20%, rgba(236, 72, 153, 0.5) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.5) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.5) 0%, transparent 50%),
        radial-gradient(circle at 20% 70%, rgba(251, 191, 36, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(34, 197, 94, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 30% 10%, rgba(239, 68, 68, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 70% 90%, rgba(14, 165, 233, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(245, 158, 11, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 60% 40%, rgba(139, 92, 246, 0.4) 0%, transparent 50%),
        linear-gradient(135deg, #a855f7 0%, #ec4899 25%, #3b82f6 50%, #10b981 75%, #f59e0b 100%);
    animation: creativePulse 10s ease-in-out infinite;
}

@keyframes creativePulse {
    0%, 100% { 
        background: 
            radial-gradient(circle at 10% 20%, rgba(236, 72, 153, 0.5) 0%, transparent 50%),
            radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.5) 0%, transparent 50%),
            radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.5) 0%, transparent 50%),
            radial-gradient(circle at 20% 70%, rgba(251, 191, 36, 0.4) 0%, transparent 50%),
            radial-gradient(circle at 80% 30%, rgba(34, 197, 94, 0.4) 0%, transparent 50%),
            radial-gradient(circle at 30% 10%, rgba(239, 68, 68, 0.4) 0%, transparent 50%),
            radial-gradient(circle at 70% 90%, rgba(14, 165, 233, 0.4) 0%, transparent 50%),
            radial-gradient(circle at 40% 60%, rgba(245, 158, 11, 0.3) 0%, transparent 50%),
            radial-gradient(circle at 60% 40%, rgba(139, 92, 246, 0.4) 0%, transparent 50%),
            linear-gradient(135deg, #a855f7 0%, #ec4899 25%, #3b82f6 50%, #10b981 75%, #f59e0b 100%);
    }
    50% { 
        background: 
            radial-gradient(circle at 90% 20%, rgba(236, 72, 153, 0.6) 0%, transparent 50%),
            radial-gradient(circle at 10% 80%, rgba(59, 130, 246, 0.6) 0%, transparent 50%),
            radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.6) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(251, 191, 36, 0.5) 0%, transparent 50%),
            radial-gradient(circle at 20% 30%, rgba(34, 197, 94, 0.5) 0%, transparent 50%),
            radial-gradient(circle at 70% 10%, rgba(239, 68, 68, 0.5) 0%, transparent 50%),
            radial-gradient(circle at 30% 90%, rgba(14, 165, 233, 0.5) 0%, transparent 50%),
            radial-gradient(circle at 60% 60%, rgba(245, 158, 11, 0.4) 0%, transparent 50%),
            radial-gradient(circle at 40% 40%, rgba(139, 92, 246, 0.5) 0%, transparent 50%),
            linear-gradient(135deg, #3b82f6 0%, #10b981 25%, #f59e0b 50%, #ec4899 75%, #a855f7 100%);
    }
}

body.vibe-creative {
    background: 
        radial-gradient(circle at 10% 20%, rgba(236, 72, 153, 0.5) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(59, 130, 246, 0.5) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.5) 0%, transparent 50%),
        radial-gradient(circle at 20% 70%, rgba(251, 191, 36, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(34, 197, 94, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 30% 10%, rgba(239, 68, 68, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 70% 90%, rgba(14, 165, 233, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(245, 158, 11, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 60% 40%, rgba(139, 92, 246, 0.4) 0%, transparent 50%),
        linear-gradient(135deg, #a855f7 0%, #ec4899 25%, #3b82f6 50%, #10b981 75%, #f59e0b 100%);
}

.vibe-random {
    background: #00e5ff;
    position: relative;
}

.vibe-random::before {
    content: '?';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    z-index: 0;
    pointer-events: none;
    font-family: 'Inter', sans-serif;
}

body.vibe-random {
    background: #00e5ff;
}

body.vibe-energetic {
    position: relative;
    overflow: hidden;
    background: #fbbf24;
}

body.vibe-energetic::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: calc(100% + 100px);
    height: 100%;
    background: repeating-linear-gradient(
        45deg,
        #f8d732 25%,
        #f8d732 50%,
        #ffe839 50%,
        #ffe839 75%
    );
    background-size: 100px 100px;
    animation: energeticStripeTransform 2s linear infinite;
    z-index: 0;
}

body.vibe-scary {
    background: linear-gradient(135deg, #4a1a6f 0%, #5a1f0f 100%);
}

body.vibe-hungry {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
}

body.vibe-cooking {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
}

body.vibe-focus {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

body.vibe-motivational {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
}

body.vibe-philosophic {
    background: linear-gradient(135deg, #6b7280 0%, #9ca3af 100%);
}

body.vibe-curious {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

body.vibe-music {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
}

/* Music Vibe Background - Blue Theme */
.vibe-music {
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.20) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(147, 197, 253, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(96, 165, 250, 0.22) 0%, transparent 50%),
        radial-gradient(circle at 60% 60%, rgba(191, 219, 254, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(37, 99, 235, 0.18) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(219, 234, 254, 0.12) 0%, transparent 50%),
        linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    animation: musicPulse 8s ease-in-out infinite;
}

@keyframes musicPulse {
    0%, 100% { 
        background: 
            radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.20) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(147, 197, 253, 0.18) 0%, transparent 50%),
            radial-gradient(circle at 40% 40%, rgba(96, 165, 250, 0.22) 0%, transparent 50%),
            radial-gradient(circle at 60% 60%, rgba(191, 219, 254, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 30% 70%, rgba(37, 99, 235, 0.18) 0%, transparent 50%),
            radial-gradient(circle at 70% 30%, rgba(219, 234, 254, 0.12) 0%, transparent 50%),
            linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    }
    50% { 
        background: 
            radial-gradient(circle at 25% 75%, rgba(79, 150, 255, 0.25) 0%, transparent 55%),
            radial-gradient(circle at 75% 25%, rgba(167, 207, 255, 0.22) 0%, transparent 55%),
            radial-gradient(circle at 45% 45%, rgba(116, 185, 255, 0.28) 0%, transparent 55%),
            radial-gradient(circle at 55% 55%, rgba(211, 229, 255, 0.18) 0%, transparent 55%),
            radial-gradient(circle at 35% 65%, rgba(57, 119, 255, 0.22) 0%, transparent 55%),
            radial-gradient(circle at 65% 35%, rgba(229, 244, 255, 0.15) 0%, transparent 55%),
            linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    }
}

/* Dobble TV Vibe - Red Theme */
.vibe-tv {
    background: #dc2626;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-arrow {
        display: none;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .vibe-title {
        font-size: 2.5rem;
    }
    
    .vibe-description {
        font-size: 1.2rem;
    }
    
    .vibe-button {
        padding: 1.5rem 3rem;
        font-size: 1.3rem;
    }
    
    /* Mobile close button adjustments */
    .modal-close-button {
        top: 1rem;
        right: 1rem;
    }
    
    .close-modal-btn {
        width: 40px;
        height: 40px;
    }
    
    .close-modal-btn i {
        font-size: 1rem;
    }
}

@media (min-width: 769px) {
    .scroll-indicator {
        display: block;
    }
}