:root {
    --primary-yellow: #FFD700;
    --secondary-orange: #FFA500;
    --accent-blue: #1E90FF;
    --dark-text: #333;
    --light-text: #fff;
    --card-bg: #f9f9f9;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--dark-text);
    overflow-x: hidden;
}

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

header {
    background-color: var(--primary-yellow);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px var(--shadow-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2em;
    font-weight: bold;
    color: var(--dark-text);
}

.logo a {
    text-decoration: none;
    color: var(--dark-text);
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--dark-text);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-blue);
}

.burger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.burger-menu div {
    width: 25px;
    height: 3px;
    background-color: var(--dark-text);
    margin: 4px 0;
    transition: all 0.3s ease;
}

/* Styles extracted from index.html inline styles */
#game-modes .section-description {
    max-width: 800px;
    margin: 0 auto 50px auto;
    font-size: 1.2em;
}

#gallery .section-description {
    max-width: 800px;
    margin: 0 auto 50px auto;
    font-size: 1.2em;
}

#community .section-description {
    max-width: 800px;
    margin: 0 auto 50px auto;
    font-size: 1.2em;
}

#tutorial .section-description {
    max-width: 800px;
    margin: 0 auto 50px auto;
    font-size: 1.2em;
}

.cta-content .section-description {
    max-width: 800px;
    margin: 0 auto 40px auto;
    font-size: 1.5em;
}

.chicken-animation.chicken-1 {
    left: 10%;
    bottom: 20%;
    animation-delay: 2s;
}

.chicken-animation.chicken-2 {
    right: 15%;
    top: 25%;
    animation-delay: 5s;
}

.egg-animation.egg-1 {
    left: 20%;
    top: 30%;
    animation-delay: 1s;
}

.confetti-animation.confetti-1 {
    left: 50%;
    top: 10%;
    animation-delay: 0s;
}

.confetti-animation.confetti-2 {
    right: 30%;
    bottom: 10%;
    animation-delay: 3s;
}

/* Styles extracted from eggacademy.html inline styles */
.chicken-animation.chicken-1 {
    left: 10%;
    bottom: 20%;
    animation-delay: 2s;
}

.chicken-animation.chicken-2 {
    right: 15%;
    top: 25%;
    animation-delay: 5s;
}

.egg-animation.egg-1 {
    left: 20%;
    top: 30%;
    animation-delay: 1s;
}

.confetti-animation.confetti-1 {
    left: 50%;
    top: 10%;
    animation-delay: 0s;
}

.confetti-animation.confetti-2 {
    right: 30%;
    bottom: 10%;
    animation-delay: 3s;
}

/* Styles extracted from hub.html inline styles */
.chicken-animation.chicken-1 {
    left: 10%;
    bottom: 20%;
    animation-delay: 2s;
}

.chicken-animation.chicken-2 {
    right: 15%;
    top: 25%;
    animation-delay: 5s;
}

.egg-animation.egg-1 {
    left: 20%;
    top: 30%;
    animation-delay: 1s;
}

.confetti-animation.confetti-1 {
    left: 50%;
    top: 10%;
    animation-delay: 0s;
}

.confetti-animation.confetti-2 {
    right: 30%;
    bottom: 10%;
    animation-delay: 3s;
}

/* Hero Section */
#hero {
    background: linear-gradient(to bottom, var(--primary-yellow), var(--secondary-orange));
    color: var(--light-text);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero {
    background: url("img/banner-main.png") no-repeat center center/cover;
    color: var(--primary-yellow);
    height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.hero-content {
    z-index: 1;
}

.hero-content h1 {
    font-size: 4em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px var(--shadow-color);
    animation: fadeInDown 1s ease-out;
}

.hero-content p {
    padding: 0px 50px;
    font-size: 1.5em;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out;
}

.download-buttons .btn {
    display: inline-block;
    background-color: var(--accent-blue);
    color: var(--light-text);
    padding: 15px 30px;
    margin: 10px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.download-buttons .btn:hover {
    transform: translateY(-5px);
    background-color: #1a7bd8;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chicken-animation,
.egg-animation,
.confetti-animation {
    position: absolute;
    opacity: 0;
    animation-duration: 10s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    z-index: 0;
}

.chicken-animation {
    width: 100px;
    height: 100px;
    background-image: url('img/run.png');
    background-size: contain;
    background-repeat: no-repeat;
    animation-name: moveChicken;
}

.egg-animation {
    width: 50px;
    height: 50px;
    background-image: url('img/run2.png');
    background-size: contain;
    background-repeat: no-repeat;
    animation-name: jumpEgg;
}

.confetti-animation {
    width: 15px;
    height: 10px;
    background-color: var(--light-text);
    border-radius: 50%;
    animation-name: fallConfetti;
}

@keyframes moveChicken {
    0% {
        transform: translateX(-100vw);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateX(100vw);
        opacity: 0;
    }
}

@keyframes jumpEgg {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    50% {
        transform: translateY(-50px) scale(1.1);
        opacity: 1;
    }

    80% {
        opacity: 1;
    }
}

@keyframes fallConfetti {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

/* General Section Styling */
section {
    padding: 80px 0;
    text-align: center;
}

section h2 {
    font-size: 3em;
    margin-bottom: 50px;
    color: var(--secondary-orange);
}

/* About Section */
.about {
    background-color: var(--card-bg);
}

.about-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 50px auto;
    line-height: 1.8;
}

.icon-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.icon-card {
    background-color: var(--light-text);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 20px var(--shadow-color);
    width: 300px;
    transition: transform 0.3s ease;
}

.icon-card:hover {
    transform: translateY(-10px);
}

.icon-card .icon {
    font-size: 3em;
    color: var(--accent-blue);
    margin-bottom: 20px;
}

.icon-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--secondary-orange);
}

/* Gameplay Highlights */
#gameplay {
    background-color: var(--primary-yellow);
    color: var(--dark-text);
}

#gameplay h2 {
    color: var(--dark-text);
}

.feature-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.feature-card {
    background-color: var(--light-text);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 20px var(--shadow-color);
    width: 250px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card .icon {
    font-size: 2.5em;
    color: var(--secondary-orange);
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: var(--accent-blue);
}

/* Game Modes */
#game-modes {
    background-color: var(--card-bg);
}

.mode-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.mode-card {
    background-color: var(--light-text);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 20px var(--shadow-color);
    width: 250px;
    transition: transform 0.3s ease;
}

.mode-card:hover {
    transform: scale(1.05);
}

.mode-card img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 10px;
}

.mode-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--secondary-orange);
}

/* Gallery Section */
#gallery {
    background-color: var(--primary-yellow);
    color: var(--dark-text);
}

#gallery h2 {
    color: var(--dark-text);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
}

.gallery-item .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: var(--light-text);
    padding: 10px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .caption {
    opacity: 1;
}

/* Community & Leaderboards */
#community {
    background-color: var(--accent-blue);
    color: var(--light-text);
}

#community h2 {
    color: var(--light-text);
}

.community-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 50px;
}

.testimonials {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    text-align: left;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--primary-yellow);
}

.testimonial-quote {
    font-size: 1.4em;
    font-style: italic;
    margin-bottom: 20px;
}

.leaderboard-screenshot {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.leaderboard-screenshot img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 20px var(--shadow-color);
}

/* Tutorial / How to Play */
#tutorial {
    background-color: var(--card-bg);
}

.tutorial-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.step {
    display: flex;
    align-items: center;
    text-align: left;
    max-width: 800px;
    gap: 30px;
}

.step:nth-child(even) {
    flex-direction: row-reverse;
}

.step-visual {
    flex: 1;
    min-width: 250px;
}

.step-visual img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.step-text {
    flex: 2;
}

.step-text h3 {
    font-size: 1.8em;
    color: var(--secondary-orange);
    margin-bottom: 10px;
}

.step-text p {
    font-size: 1.1em;
}

/* Call to Action */
#cta {
    background: linear-gradient(to top, var(--primary-yellow), var(--secondary-orange));
    color: var(--light-text);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-content {
    z-index: 1;
}

.cta-content h2 {
    color: var(--light-text);
    font-size: 3.5em;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px var(--card-bg);
}

/* Footer */
footer {
    background-color: var(--dark-text);
    color: var(--light-text);
    padding: 50px 0;
    font-size: 0.9em;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.footer-logo {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-yellow);
}

.footer-logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}

a {
    text-decoration: none;
    color: var(--light-text);
}

.footer-links,
.footer-social {
    list-style: none;
    padding: 0;
}

.footer-links li,
.footer-social li {
    margin: 10px 0;
}

.footer-links a,
.footer-social a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-social a:hover {
    color: var(--primary-yellow);
}

.footer-social .icon {
    font-size: 1.5em;
    margin-right: 10px;
}

.footer-bottom {
    margin-top: 30px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: var(--primary-yellow);
        position: absolute;
        top: 70px;
        left: 0;
        padding: 20px 20px;
        box-shadow: 0 5px 10px var(--shadow-color);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px 0;
    }

    .burger-menu {
        display: flex;
    }

    .hero-content h1 {
        font-size: 2.8em;
    }

    .hero-content p {
        font-size: 1.2em;
    }

    .download-buttons .btn {
        padding: 12px 25px;
        font-size: 0.9em;
    }

    section {
        padding: 60px 0;
    }

    section h2 {
        font-size: 2.5em;
    }

    .icon-card,
    .feature-card,
    .mode-card {
        width: 80%;
        max-width: 350px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .community-content {
        flex-direction: column;
    }

    .testimonial-quote {
        font-size: 1.2em;
    }

    .step {
        flex-direction: column !important;
        text-align: center;
    }

    .step-visual {
        min-width: unset;
        width: 80%;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}


#thanks {
    padding: 80px 0;
    justify-self: center;
}

.thanks-content {
    background-color: var(--light-text);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 20px var(--shadow-color);
    max-width: 600px;
    animation: fadeInUp 1s ease-out;
}

.thanks-content h1 {
    font-size: 2.5em;
    color: var(--secondary-orange);
    margin-bottom: 20px;
}

.thanks-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.8;
}

.thanks-content .btn {
    display: inline-block;
    background-color: var(--accent-blue);
    color: var(--light-text);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.thanks-content .btn:hover {
    transform: translateY(-5px);
    background-color: #1a7bd8;
}

@media (max-width: 768px) {


    .thanks-content {
        padding: 20px;
    }

    .thanks-content h1 {
        font-size: 2em;
    }

    .thanks-content p {
        font-size: 1em;
    }

    .thanks-content .btn {
        padding: 12px 25px;
        font-size: 0.9em;
    }

}

#privacy {
    padding: 80px 0;
}

.privacy-content {
    background-color: var(--light-text);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 20px var(--shadow-color);
    animation: fadeInUp 1s ease-out;
}

.privacy-content h1 {
    font-size: 2.5em;
    color: var(--secondary-orange);
    margin-bottom: 20px;
    text-align: center;
}

.privacy-content h2 {
    font-size: 1.8em;
    color: var(--accent-blue);
    margin: 30px 0 15px;
}

.privacy-content p {
    font-size: 1.1em;
    margin-bottom: 15px;
    line-height: 1.8;
}

.privacy-content ul {
    list-style-type: disc;
    margin: 15px 0 20px 20px;
}

.privacy-content ul li {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.privacy-content a {
    color: var(--accent-blue);
}

ul {
    list-style-type: disc;
    margin: 15px 0 20px 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Mobile Responsiveness */
@media (max-width: 768px) {

    .privacy-content {
        padding: 20px;
    }

    .privacy-content h1 {
        font-size: 2em;
    }

    .privacy-content h2 {
        font-size: 1.5em;
    }


}


#terms {
    padding: 80px 0;
}

.terms-content {
    background-color: var(--light-text);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 20px var(--shadow-color);
    animation: fadeInUp 1s ease-out;
}

.terms-content h1 {
    font-size: 2.5em;
    color: var(--secondary-orange);
    margin-bottom: 20px;
    text-align: center;
}

.terms-content h2 {
    font-size: 1.8em;
    color: var(--accent-blue);
    margin: 30px 0 15px;
}

.terms-content p {
    font-size: 1.1em;
    margin-bottom: 15px;
    line-height: 1.8;
}

.terms-content ul {
    list-style-type: disc;
    margin: 15px 0 20px 20px;
}

.terms-content ul li {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.terms-content a {
    color: var(--accent-blue);
}



/* Mobile Responsiveness */
@media (max-width: 768px) {

    .terms-content {
        padding: 20px;
    }

    .terms-content h1 {
        font-size: 2em;
    }

    .terms-content h2 {
        font-size: 1.5em;
    }

}