* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-image: url('background.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 100vh;
    font-family: 'Nunito', sans-serif;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
    position: fixed;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    border: 2px solid rgba(0, 0, 0, 0.1);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Banana-themed Scroll Indicator */
.scroll-line {
    position: fixed;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: rgba(255, 140, 0, 0.2);
    z-index: 100;
    border-radius: 2px;
    overflow: visible;
}

.scroll-line::before {
    content: '';
    position: absolute;
    left: -8px;
    top: -10px;
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48cGF0aCBmaWxsPSIjZmZkZTU5IiBkPSJNOTAsMTBDNDUsMTAgMTAsNDUgMTAsOTBoODBWMTB6Ii8+PC9zdmc+');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.7;
}

.scroll-line::after {
    content: '';
    position: absolute;
    left: -8px;
    bottom: -10px;
    width: 20px;
    height: 20px;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48cGF0aCBmaWxsPSIjZmZkZTU5IiBkPSJNOTAsOTBDNDUsOTAgMTAsNTUgMTAsMTBoODBWOTB6Ii8+PC9zdmc+');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.7;
}

.scroll-indicator {
    position: absolute;
    width: 100%;
    background-color: #ffde59;
    border-radius: 2px;
    top: 0;
    transition: top 0.1s ease-out, height 0.1s ease-out;
    box-shadow: 0 0 10px #ff8c00;
}

.scroll-banana {
    position: absolute;
    width: 30px;
    height: 30px;
    left: -13px;
    top: 50%;
    background-image: url("banana.png");
    background-size: contain;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 5px rgba(255, 140, 0, 0.8));
    animation: banana-bounce 1.5s ease-in-out infinite;
    z-index: 101;
}

@keyframes banana-bounce {
    0% { transform: translateY(-50%) scale(1) rotate(0deg); }
    50% { transform: translateY(-50%) scale(1.2) rotate(10deg); }
    100% { transform: translateY(-50%) scale(1) rotate(0deg); }
}

/* Falling Bananas */
.falling-bananas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.small-banana {
    position: absolute;
    top: -50px;
    width: 30px;
    height: 30px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url('banana.png');
    z-index: -1;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    padding: 40px 20px;
    margin: 0 auto 80px auto;
}

.project-name {
    font-size: 5.5rem;
    margin-bottom: 25px;
    font-weight: 900;
    position: relative;
    font-family: 'Nunito', sans-serif;
    color: #FFD700; /* Golden yellow */
    letter-spacing: 2px;
    text-shadow: 
        0px 2px 0px #FF8C00,
        0px 4px 0px #FF8C00,
        0px 6px 0px #FF4500,
        0px 8px 8px rgba(0, 0, 0, 0.6);
    animation: bounce 2s ease infinite;
    transform-origin: center bottom;
}

/* Character-by-character animation like in Pixar titles */
.project-name span, 
.project-name::first-letter,
.project-name::nth-letter(2),
.project-name::nth-letter(3),
.project-name::nth-letter(4),
.project-name::nth-letter(5),
.project-name::nth-letter(6) {
    display: inline-block;
    animation: character-bounce 2s ease infinite;
}

.project-name span {
    position: relative;
    display: inline-block;
    color: #FFD700;
    font-size: 0.9em;
    margin-right: 5px;
    text-shadow: 
        0px 2px 0px #FF8C00,
        0px 4px 0px #FF8C00,
        0px 6px 0px #FF4500,
        0px 8px 8px rgba(0, 0, 0, 0.6);
    animation: dollar-swing 2s ease-in-out infinite, character-bounce 2s ease infinite;
    transform-origin: bottom;
}

.project-name::first-letter { animation-delay: 0.1s; }

@keyframes character-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px) scale(1.1); }
}

@keyframes dollar-swing {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

/* Pixar-style bounce animation */
@keyframes bounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
}

/* Shadow effect */
.project-name-shadow {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(5px);
    z-index: -1;
    animation: shadow-bounce 2s ease infinite;
}

@keyframes shadow-bounce {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.5; }
    50% { transform: translateX(-50%) scale(0.8); opacity: 0.3; }
}

/* Pixar lamp-style spotlight effect */
.project-name::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 30px;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, 0.8) 0%,
        rgba(255, 255, 255, 0) 70%
    );
    opacity: 0.7;
    filter: blur(5px);
    animation: spotlight 4s ease-in-out infinite;
}

@keyframes spotlight {
    0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.7; }
    50% { transform: translateX(-50%) scale(1.2); opacity: 1; }
}

/* Glossy effect on letters */
.project-name::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.5) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    pointer-events: none;
}

.banana {
    max-width: 60%;
    height: auto;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.3));
    cursor: pointer;
}

.banana.shake {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

.tagline {
    margin-top: 30px;
    font-size: 3.5rem;
    color: #ffde59;
    text-shadow: 
        3px 3px 0 #ff8c00,
        -3px 3px 0 #ff8c00,
        -3px -3px 0 #ff8c00,
        3px -3px 0 #ff8c00;
    letter-spacing: 1px;
    transform: perspective(500px) rotateX(10deg);
    animation: glow 2s ease-in-out infinite alternate;
    font-weight: 800;
    text-transform: uppercase;
}

/* Button Styles */
.buttons {
    display: flex;
    margin-top: 40px;
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background-color: #ff8c00;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 800;
    font-size: 1.2rem;
    width: 180px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
    transform: perspective(500px) rotateX(10deg);
}

.btn i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.btn:hover {
    transform: perspective(500px) rotateX(10deg) translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.5);
}

.btn:active {
    transform: perspective(500px) rotateX(10deg) translateY(2px);
    box-shadow: 0 2px 10px rgba(255, 140, 0, 0.3);
}

.btn-chart {
    background-color: #ff8c00;
}

.btn-twitter {
    background-color: #ff8c00;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-10px) rotate(-3deg); }
    20%, 40%, 60%, 80% { transform: translateX(10px) rotate(3deg); }
}

@keyframes glow {
    from {
        text-shadow: 
            3px 3px 0 #ff8c00,
            -3px 3px 0 #ff8c00,
            -3px -3px 0 #ff8c00,
            3px -3px 0 #ff8c00;
    }
    to {
        text-shadow: 
            3px 3px 15px #ff8c00,
            -3px 3px 15px #ff8c00,
            -3px -3px 15px #ff8c00,
            3px -3px 15px #ff8c00;
    }
}

@keyframes fall {
    to {
        top: 120vh;
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes sway {
    0% { transform: translateX(0) rotate(0deg); }
    25% { transform: translateX(-20px) rotate(90deg); }
    50% { transform: translateX(20px) rotate(180deg); }
    75% { transform: translateX(-20px) rotate(270deg); }
    100% { transform: translateX(0) rotate(360deg); }
}

/* Game Section */
.game-section {
    margin-top: 60px;
    width: 100%;
    max-width: 800px;
}

.game-container {
    width: 100%;
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.game-title {
    font-size: 2.5rem;
    color: #ffde59;
    margin-bottom: 20px;
    text-shadow: 3px 3px 0 #ff8c00;
}

#game-canvas {
    width: 100%;
    height: 300px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.score-display {
    font-size: 1.5rem;
    color: #ffde59;
    margin-top: 15px;
    font-weight: bold;
}

.game-instructions {
    font-size: 1.2rem;
    color: #ffde59;
    margin-top: 10px;
}

.banana-explosion {
    position: absolute;
    width: 40px;
    height: 40px;
    background-image: radial-gradient(circle, #ffde59 0%, rgba(255, 222, 89, 0) 70%);
    border-radius: 50%;
    animation: explode 0.3s forwards;
    z-index: 100;
}

@keyframes explode {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}

/* Shooting bananas */
.shoot-banana {
    position: absolute;
    width: 20px;
    height: 20px;
    background-image: url('banana.png');
    background-size: contain;
    background-repeat: no-repeat;
    transform: rotate(-45deg);
    filter: brightness(1.2);
    z-index: 98;
}

/* Section Divider */
.section-divider {
    width: 100%;
    height: 20px;
    margin: 30px 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMjAwIDEyMCI+PHBhdGggZmlsbD0icmdiYSgyNTUsIDE0MCwgMCwgMC4zKSIgZD0iTTAsMHY2MGMwLDYwIDEyMDAsNjAgMTIwMCwwVjBIMHoiLz48L3N2Zz4=');
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

/* Roadmap Section */
.roadmap-section {
    margin-top: 60px;
    width: 100%;
    max-width: 800px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

.roadmap-title {
    color: #ffde59;
    font-size: 2.5rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 3px 3px 0 #ff8c00;
}

.roadmap-timeline {
    position: relative;
    padding-left: 40px;
}

.roadmap-timeline:before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    height: 100%;
    width: 4px;
    background: #ff8c00;
    border-radius: 4px;
}

.roadmap-item {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 20px;
}

.roadmap-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

.roadmap-icon {
    position: absolute;
    left: -40px;
    top: 0;
    width: 35px;
    height: 35px;
    background-color: #ffde59;
    border: 4px solid #ff8c00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff8c00;
    box-shadow: 0 0 15px rgba(255, 222, 89, 0.5);
    z-index: 2;
}

.roadmap-content {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin-left: 10px;
    border-left: 4px solid #ffde59;
    transition: all 0.3s ease;
}

.roadmap-item.active .roadmap-content {
    background-color: rgba(255, 140, 0, 0.3);
    border-left: 4px solid #ffde59;
    box-shadow: 0 5px 15px rgba(255, 222, 89, 0.2);
}

.roadmap-content h3 {
    color: #ffde59;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.roadmap-content p {
    color: #fff;
    font-size: 1.1rem;
}

/* About Section */
.about-section {
    margin-top: 60px;
    width: 100%;
    max-width: 800px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    margin-bottom: 60px;
}

.about-title {
    color: #ffde59;
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 3px 3px 0 #ff8c00;
}

.about-content {
    color: #fff;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.title-container {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .banana {
        max-width: 80%;
    }
    
    .tagline {
        font-size: 2.5rem;
    }
    
    .project-name {
        font-size: 3rem;
    }
    
    .buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 220px;
        font-size: 1rem;
        padding: 10px 20px;
    }
    
    .roadmap-section, .about-section, .game-container {
        padding: 20px;
    }
    
    .roadmap-title, .about-title, .game-title {
        font-size: 2rem;
    }
    
    .roadmap-content h3 {
        font-size: 1.3rem;
    }
    
    .roadmap-content p, .about-content {
        font-size: 1rem;
    }
    
    #game-canvas {
        height: 250px;
    }
    
    /* Improve scroll indicator positioning on mobile */
    .scroll-line {
        left: 10px;
    }
}

/* Additional breakpoint for smaller phones */
@media (max-width: 480px) {
    .container {
        padding: 20px 15px;
    }
    
    .project-name {
        font-size: 2.5rem;
    }
    
    .tagline {
        font-size: 1.8rem;
    }
    
    .btn {
        width: 200px;
        font-size: 0.9rem;
        padding: 8px 16px;
    }
    
    .roadmap-title, .about-title, .game-title {
        font-size: 1.8rem;
    }
    
    .roadmap-content h3 {
        font-size: 1.1rem;
    }
    
    .roadmap-content p, .about-content {
        font-size: 0.9rem;
    }
    
    #game-canvas {
        height: 200px;
    }
}

/* Fix for iOS Safari 100vh issue */
@supports (-webkit-touch-callout: none) {
    body {
        height: -webkit-fill-available;
    }
    .falling-bananas {
        height: -webkit-fill-available;
    }
} 