@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Press Start 2P', cursive;
    background-color: #000;
    color: #fff;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Decorative flower elements */
.flower-decoration {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 3px solid #4a90e2;
    border-radius: 50%;
    opacity: 0.6;
    z-index: 1;
}

.flower-decoration::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: #4a90e2;
    border-radius: 50%;
}

.flower-decoration::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 2px solid #4a90e2;
    border-radius: 50%;
}

/* Position flowers around the page */
.flower-1 { top: 10%; left: 5%; }
.flower-2 { top: 20%; right: 8%; }
.flower-3 { bottom: 15%; left: 10%; }
.flower-4 { bottom: 25%; right: 5%; }
.flower-5 { top: 60%; left: 3%; }
.flower-6 { top: 70%; right: 12%; }

/* Main container */
.main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
    z-index: 2;
}

/* Central oval design */
.central-oval {
    width: 600px;
    height: 400px;
    background: linear-gradient(45deg, #4a90e2, #2c5aa0);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 50px rgba(74, 144, 226, 0.5);
    overflow: hidden;
}

/* Colorful illustration background */
.illustration-collage {
    position: absolute;
    width: 80%;
    height: 80%;
    background: transparent;
    border-radius: 50%;
    opacity: 0.9;
    animation: slowRotate 20s linear infinite;
}

@keyframes slowRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Navigation buttons */
.nav-buttons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.nav-button {
    position: absolute;
    background: #4a90e2;
    color: #fff;
    border: none;
    padding: 15px 25px;
    font-family: 'Press Start 2P', cursive;
    font-size: 16px;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
    z-index: 10;
    top: 50%;
    left: 50%;
    transform-origin: 0 0;
}

.nav-button:hover {
    background: #2c5aa0;
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.5);
}

/* Orbiting navigation buttons with much closer radius - 3 buttons */
.nav-button.portfolio {
    animation: orbit 15s linear infinite;
    transform: translate(-50%, -50%) rotate(0deg) translateX(150px) rotate(0deg);
}

.nav-button.about {
    animation: orbit 15s linear infinite;
    animation-delay: -5s;
    transform: translate(-50%, -50%) rotate(120deg) translateX(150px) rotate(-120deg);
}

.nav-button.links {
    animation: orbit 15s linear infinite;
    animation-delay: -10s;
    transform: translate(-50%, -50%) rotate(240deg) translateX(150px) rotate(-240deg);
}

@keyframes orbit {
    from {
        transform: translate(-50%, -50%) rotate(0deg) translateX(150px) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg) translateX(150px) rotate(-360deg);
    }
}

/* NEW badge */
.nav-button::after {
    content: 'NEW!';
    position: absolute;
    top: -10px;
    right: -15px;
    background: #ffd700;
    color: #000;
    font-size: 8px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: bold;
}

.nav-button.about::after,
.nav-button.links::after {
    display: none;
}

/* Header */
.site-header {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 5;
}

.site-title {
    font-size: 24px;
    color: #4a90e2;
    margin-bottom: 10px;
    text-shadow: 2px 2px 0 #000;
}

.site-subtitle {
    font-size: 10px;
    color: #ccc;
    max-width: 400px;
    line-height: 1.5;
}

/* Footer */
.site-footer {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8px;
    color: #666;
    text-align: center;
}

/* Responsive design */
@media (max-width: 768px) {
    .central-oval {
        width: 350px;
        height: 280px;
    }
    
    .nav-button {
        font-size: 10px;
        padding: 8px 15px;
    }
    
    .site-title {
        font-size: 18px;
    }
    
    .flower-decoration {
        width: 40px;
        height: 40px;
    }
    
    /* Adjust orbit radius for smaller oval */
    .nav-button.portfolio {
        animation: orbit-mobile 15s linear infinite;
        transform: translate(-50%, -50%) rotate(0deg) translateX(120px) rotate(0deg);
    }

    .nav-button.about {
        animation: orbit-mobile 15s linear infinite;
        animation-delay: -5s;
        transform: translate(-50%, -50%) rotate(120deg) translateX(120px) rotate(-120deg);
    }

    .nav-button.links {
        animation: orbit-mobile 15s linear infinite;
        animation-delay: -10s;
        transform: translate(-50%, -50%) rotate(240deg) translateX(120px) rotate(-240deg);
    }
    
    @keyframes orbit-mobile {
        from {
            transform: translate(-50%, -50%) rotate(0deg) translateX(120px) rotate(0deg);
        }
        to {
            transform: translate(-50%, -50%) rotate(360deg) translateX(120px) rotate(-360deg);
        }
    }
}

@media (max-width: 480px) {
    .central-oval {
        width: 280px;
        height: 220px;
    }
    
    .nav-button {
        font-size: 8px;
        padding: 6px 12px;
    }
    
    .site-title {
        font-size: 14px;
    }
    
    .site-subtitle {
        font-size: 8px;
    }
    
    /* Even smaller orbit radius for very small screens */
    .nav-button.portfolio {
        animation: orbit-small 15s linear infinite;
        transform: translate(-50%, -50%) rotate(0deg) translateX(90px) rotate(0deg);
    }

    .nav-button.about {
        animation: orbit-small 15s linear infinite;
        animation-delay: -5s;
        transform: translate(-50%, -50%) rotate(120deg) translateX(90px) rotate(-120deg);
    }

    .nav-button.links {
        animation: orbit-small 15s linear infinite;
        animation-delay: -10s;
        transform: translate(-50%, -50%) rotate(240deg) translateX(90px) rotate(-240deg);
    }
    
    @keyframes orbit-small {
        from {
            transform: translate(-50%, -50%) rotate(0deg) translateX(90px) rotate(0deg);
        }
        to {
            transform: translate(-50%, -50%) rotate(360deg) translateX(90px) rotate(-360deg);
        }
    }
}

/* Animation for central oval */
@keyframes pulse {
    0% { box-shadow: 0 0 50px rgba(74, 144, 226, 0.5); }
    50% { box-shadow: 0 0 80px rgba(74, 144, 226, 0.8); }
    100% { box-shadow: 0 0 50px rgba(74, 144, 226, 0.5); }
}

.central-oval {
    animation: pulse 3s ease-in-out infinite;
}

/* Floating animation for flowers */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.flower-decoration {
    animation: float 4s ease-in-out infinite;
}

.flower-decoration:nth-child(even) {
    animation-delay: 2s;
}

/* Scroll to top button */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #4a90e2, #2c5aa0);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-family: 'Press Start 2P', cursive;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: linear-gradient(45deg, #2c5aa0, #1a4480);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.5);
}

.scroll-to-top::before {
    content: '↑';
    display: block;
    line-height: 1;
}

/* Responsive scroll button */
@media (max-width: 768px) {
    .scroll-to-top {
        width: 50px;
        height: 50px;
        font-size: 16px;
        bottom: 20px;
        right: 20px;
    }
}

/* Blue Progress Scroll Bar for entire page */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #111;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #4a90e2, #2c5aa0);
    border-radius: 6px;
    border: 2px solid #111;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #2c5aa0, #1a4480);
}

::-webkit-scrollbar-corner {
    background: #111;
}

/* Firefox scrollbar styling */
html {
    scrollbar-width: thin;
    scrollbar-color: #4a90e2 #111;
}

/* Progress indicator at top of page */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, #4a90e2, #2c5aa0);
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 2px 10px rgba(74, 144, 226, 0.5);
}

/* Center cartoon image styling */
.center-cartoon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 4px solid #4a90e2;
    transition: transform 0.3s ease;
}

.center-cartoon:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.cartoon-image {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Responsive cartoon image */
@media (max-width: 768px) {
    .center-cartoon {
        width: 100px;
        height: 100px;
    }
    
    .cartoon-image {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .center-cartoon {
        width: 80px;
        height: 80px;
    }
    
    .cartoon-image {
        width: 60px;
        height: 60px;
    }
}
