/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@400;700&family=Pixelify+Sans&display=swap');

/* Base Styles */
:root {
    --pixel-blue: #4F87FF;
    --pixel-dark: #1a1a1a;
    --nav-height: 80px;
    --animation-duration: 0.3s;
    --animation-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Be Vietnam Pro', sans-serif;
    padding-top: var(--nav-height);
    line-height: 1.6;
    color: #333;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Layout Components */
.isometric-room {
    background: linear-gradient(135deg, #E8F4FD 0%, #D1E9FC 100%);
}

/* Scrollbar Styles */
.testimonial-scroll::-webkit-scrollbar {
    display: none;
}

.testimonial-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Task Completion States */
.task-completed {
    opacity: 0.75;
    pointer-events: none;
}

/* Coin Popup */
.coin-popup {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: #22c55e;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    animation: slideUp 0.8s ease-out;
    pointer-events: none;
    white-space: nowrap;
}
.section-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    padding: 10px;
    border-radius: 25px;
}

.section-indicator:hover {
    transform: translateX(-50%) translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
}

.floating-text {
    animation: float 3s ease-in-out infinite;
    opacity: 0.8;
    cursor: pointer;
    padding: 8px 16px;
    border: 2px solid transparent;
    border-radius: 20px;
    transition: all 0.3s ease;
    background: transparent;
    text-decoration: none;
    display: inline-block;
}

.floating-text:hover {
    opacity: 1;
    cursor: pointer;
    transform: scale(1.05);
    border-color: currentColor;
    background: rgba(255, 255, 255, 0.1);
}

.arrow-bounce {
    animation: bounce 2s infinite;
}



/* Keyframe Animations */


@keyframes coinBounce {
    0% { 
        transform: translate(-50%, -50%) scale(0) rotate(0deg); 
        opacity: 0; 
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.2) rotate(180deg); 
        opacity: 1; 
    }
    100% { 
        transform: translate(-50%, -50%) scale(1) rotate(360deg); 
        opacity: 1; 
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 80px;
    }
    
    nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 100;
        background: white;
    }
    .isometric-room {
        max-width: 280px; /* Adjust this value to make it smaller/larger */
        margin: 0 auto;
    }
}