:root {
    /* New earthy palette with better contrast */
    --cream: #fef9e7;
    --sage: #6b8e23;
    --moss: #556b2f;
    --gold: #ffb900;
    --amber: #ff9500;
    --terracotta: #cc5500;
    --forest: #2d5016;
    --olive: #9acd32;
    --sand: #f4e4bc;
    --bark: #8b4513;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    overflow-x: hidden;
    background: linear-gradient(135deg, var(--cream) 0%, var(--sand) 50%, #e8f5e8 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.floating-clouds {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.cloud {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50px;
    opacity: 0.7;
    animation: float 15s infinite ease-in-out;
}

.cloud::before,
.cloud::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50px;
}

.cloud-1 {
    width: 80px;
    height: 40px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.cloud-1::before {
    width: 50px;
    height: 30px;
    top: -15px;
    left: 10px;
}

.cloud-1::after {
    width: 60px;
    height: 35px;
    top: -10px;
    right: 10px;
}

.cloud-2 {
    width: 100px;
    height: 50px;
    top: 60%;
    right: 15%;
    animation-delay: -5s;
}

.cloud-2::before {
    width: 60px;
    height: 40px;
    top: -20px;
    left: 15px;
}

.cloud-2::after {
    width: 70px;
    height: 45px;
    top: -15px;
    right: 15px;
}

.cloud-3 {
    width: 60px;
    height: 30px;
    top: 40%;
    left: 70%;
    animation-delay: -10s;
}

.cloud-3::before {
    width: 40px;
    height: 25px;
    top: -12px;
    left: 8px;
}

.cloud-3::after {
    width: 45px;
    height: 28px;
    top: -8px;
    right: 8px;
}

.cloud-4 {
    width: 90px;
    height: 45px;
    top: 15%;
    right: 25%;
    animation-delay: -7s;
}

.cloud-4::before {
    width: 55px;
    height: 35px;
    top: -18px;
    left: 12px;
}

.cloud-4::after {
    width: 65px;
    height: 40px;
    top: -12px;
    right: 12px;
}

.cloud-5 {
    width: 70px;
    height: 35px;
    top: 75%;
    left: 30%;
    animation-delay: -12s;
}

.cloud-5::before {
    width: 45px;
    height: 28px;
    top: -14px;
    left: 10px;
}

.cloud-5::after {
    width: 55px;
    height: 32px;
    top: -10px;
    right: 10px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) translateX(10px) rotate(1deg);
    }
    50% {
        transform: translateY(-10px) translateX(-5px) rotate(-1deg);
    }
    75% {
        transform: translateY(-25px) translateX(15px) rotate(0.5deg);
    }
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 2rem 0;
}

.developer-title {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(3rem, 8vw, 6rem);
    margin-bottom: 1rem;
    text-shadow: 3px 3px 0px rgba(0,0,0,0.1);
    line-height: 1.1;
}

.title-mini {
    color: var(--sage);
    display: inline-block;
    animation: bounce 2s infinite;
}

.title-lemon {
    color: var(--gold);
    display: inline-block;
    animation: bounce 2s infinite 0.2s;
}

.title-supreme {
    color: var(--forest);
    display: inline-block;
    animation: bounce 2s infinite 0.4s;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.portfolio-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--sage), var(--gold));
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
}

.portfolio-btn.secondary {
    background: linear-gradient(135deg, var(--moss), var(--olive));
    color: white;
}

.featured-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--amber), var(--terracotta));
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.featured-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.tagline {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: #2c3e50;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
}

.subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: #34495e;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--forest), var(--sage));
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
}

.download-btn.secondary {
    background: linear-gradient(135deg, var(--amber), var(--olive));
    color: white;
}

.btn-icon {
    font-size: 1.3rem;
}

.featured-game {
    padding: 100px 0;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
}

.section-title {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
    text-shadow: 2px 2px 0px rgba(255,255,255,0.3);
}

.featured-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.featured-info {
    text-align: left;
}

.featured-title {
    font-family: 'Fredoka One', cursive;
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.featured-tagline {
    font-size: 1.3rem;
    color: var(--terracotta);
    font-weight: 700;
    margin-bottom: 1rem;
}

.featured-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 2rem;
}

.featured-platforms {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.platform-tag {
    background: linear-gradient(135deg, var(--gold), var(--amber));
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.platform-tag.android {
    background: linear-gradient(135deg, var(--sage), var(--forest));
    color: white;
}

.platform-tag.puzzle {
    background: linear-gradient(135deg, var(--gold), var(--amber));
    color: white;
}

.platform-tag.mobile {
    background: linear-gradient(135deg, var(--terracotta), var(--bark));
    color: white;
}

.featured-screenshots {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.screenshot-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.screenshot-item {
    background: rgba(255,255,255,0.9);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.screenshot-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.game-screenshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px 15px 0 0;
}

.screenshot-caption {
    padding: 0.8rem;
    text-align: center;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
    background: rgba(255,255,255,0.95);
}

.featured-features-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.feature-tag {
    background: linear-gradient(135deg, var(--moss), var(--sage));
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.portfolio {
    padding: 100px 0;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.game-card {
    background: rgba(255,255,255,0.8);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
}

.game-card.featured {
    border: 3px solid var(--gold);
    background: linear-gradient(135deg, rgba(255, 185, 0, 0.1), rgba(255, 255, 255, 0.9));
}

.game-card.featured::before {
    content: '⭐ Featured';
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--gold);
    color: #2c3e50;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.game-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.game-card h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.game-genre {
    color: var(--terracotta);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.game-card p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.game-platforms {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.platform {
    background: var(--amber);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.game-link {
    display: inline-block;
    background: linear-gradient(135deg, var(--moss), var(--sage));
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.game-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.about-developer {
    padding: 100px 0;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    text-align: center;
}

.about-developer h2 {
    font-family: 'Fredoka One', cursive;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 2rem;
    color: #2c3e50;
}

.about-developer p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #555;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.developer-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Fredoka One', cursive;
    font-size: 3rem;
    color: var(--amber);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 600;
}


footer {
    background: rgba(44, 62, 80, 0.9);
    color: white;
    padding: 3rem 0 1rem;
    backdrop-filter: blur(10px);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    text-align: center;
}

.developer-info h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--gold);
}

.developer-info a {
    color: var(--amber);
    text-decoration: none;
    font-weight: 600;
}

.developer-info a:hover {
    text-decoration: underline;
}

.game-info p {
    margin-bottom: 0.5rem;
    color: #bdc3c7;
}

@media (max-width: 768px) {
    .featured-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .featured-info {
        text-align: center;
    }
    
    .screenshot-gallery {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .hero {
        padding: 1rem 0;
    }
    
    .featured-game,
    .portfolio,
    .about-developer {
        padding: 60px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .developer-stats {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .download-btn,
    .portfolio-btn,
    .featured-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .game-card,
    .featured-features {
        padding: 1.5rem;
    }
    
    .developer-stats {
        flex-direction: column;
        gap: 1rem;
    }
}