/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><text y="18" font-size="20">🥚</text></svg>'), auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Fredoka One', cursive;
    font-size: 1.5rem;
    color: #FF6B6B;
}

.logo-egg {
    font-size: 2rem;
    animation: bounce 2s infinite;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #FF6B6B;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FFD700;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 97vh;
    background: linear-gradient(135deg, rgba(36, 35, 35, 0.5) 0%, rgba(12, 12, 12, 0.3) 50%, rgba(4, 4, 4, 0.5) 100%), url('../img/banner.jpeg') no-repeat top center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.falling-eggs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.falling-egg {
    position: absolute;
    font-size: 2rem;
    animation: fall linear infinite;
    opacity: 0.7;
}

@keyframes fall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
}

.hero-title {
    font-family: 'Fredoka One', cursive;
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 0px rgba(0, 0, 0, 0.3);

}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2);

}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin: 3rem 0;

}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: #FF6B6B;
    color: white;
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 107, 107, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 3px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #333;
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 2rem;

}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: white;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-title {
    font-family: 'Fredoka One', cursive;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '\f7bf';
    /* Font Awesome egg icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    display: block;
    font-size: 2rem;
    margin-top: 1rem;
}

/* Gameplay Section */
.gameplay {
    background: #f8f9fa;
}

.gameplay-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.gameplay-demo {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, #4ECDC4, #FFD700);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem;
}

.basket {
    width: 80px;
    height: 60px;
    background: #8B4513;
    border-radius: 0 0 40px 40px;
    position: relative;
    animation: slideBasket 3s ease-in-out infinite;
}

.basket::before {
    content: '\f290';
    /* Font Awesome basket icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
}

.demo-eggs {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
}

.demo-egg {
    position: absolute;
    font-size: 2rem;
    animation: demoFall 2s linear infinite;
}

.gameplay-text h3 {
    font-size: 2.5rem;
    color: #FF6B6B;
    margin-bottom: 1rem;
    font-family: 'Fredoka One', cursive;
}

.gameplay-text p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #666;
}

.features-list {
    list-style: none;
}

.features-list li {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    padding-left: 2rem;
    position: relative;
}

.features-list li i {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #FF6B6B;
}

/* Characters Section */
.characters {
    background: linear-gradient(135deg, #FF6B6B, #4ECDC4);
    color: white;
}

.characters-carousel {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.character-card {
    background: white;
    color: #333;
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    min-width: 300px;
    transform: scale(0.9);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.character-card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.character-card.active {
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.character-avatar {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.character-card h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #FF6B6B;
}

.character-type {
    font-size: 1.1rem;
    color: #4ECDC4;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.carousel-btn {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-btn.active {
    background: white;
    transform: scale(1.2);
}

/* Power-ups Section */
.powerups {
    background: #f8f9fa;
}

.powerups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.powerup-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.powerup-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #FF6B6B, #FFD700, #4ECDC4, #FF6B6B);
    z-index: -1;
    border-radius: 17px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.powerup-card:hover {
    transform: translateY(-10px);
}

.powerup-card:hover::before {
    opacity: 1;
}

.powerup-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    animation: bounce 2s infinite;
}

.powerup-card h3 {
    font-family: 'Fredoka One', cursive;
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.powerup-card p {
    color: #666;
    font-size: 1.1rem;
}

/* Environments Section */
.environments {
    background: #333;
    color: white;
}

.environment-slider {
    position: relative;
    height: 800px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 3rem;
}

.environment-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.environment-slide.active {
    opacity: 1;
}

.environment-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.farm-bg {
    background: url(../img/sunny.jpeg) no-repeat center center/cover;
}

.rain-bg {
    background: url(../img/rainy.jpeg) no-repeat center center/cover;
}

.night-bg {
    background: url(../img/night.jpeg) no-repeat center center/cover;
}

.environment-content {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.environment-content h3 {
    font-family: 'Fredoka One', cursive;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.environment-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.env-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    padding: 1rem;
    border-radius: 10px;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.env-btn.active {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Gallery Section */
.gallery {
    background: #f8f9fa;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h3 {
    color: white;
    font-size: 1.5rem;
    font-family: 'Fredoka One', cursive;
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.lightbox img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
}

.lightbox-title {
    color: white;
    font-size: 1.5rem;
    margin-top: 1rem;
    font-family: 'Fredoka One', cursive;
}

/* Reviews Section */
.reviews {
    background: linear-gradient(135deg, #4ECDC4, #FFD700);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.reviewer-avatar {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stars {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.review-card p {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #666;
}

.reviewer-name {
    font-weight: 600;
    color: #333;
}

/* FAQ Section */
.faq {
    background: #f8f9fa;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    font-size: 1.3rem;
    color: #333;
}

.faq-icon {
    font-size: 2rem;
    color: #FF6B6B;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer p {
    padding: 2rem;
    margin: 0;
    color: #666;
    border-top: 1px solid #eee;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* Download Section */
.download {
    background: linear-gradient(135deg, #FF6B6B, #FFD700);
    color: white;
    text-align: center;
}

.download-content h2 {
    font-family: 'Fredoka One', cursive;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.download-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.download-basket {
    font-size: 6rem;
    margin: 2rem 0;
    animation: bounce 2s infinite;
}

.download-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin: 3rem 0;
}

.download-btn {
    background: white;
    color: #333;
    padding: 1rem 2rem;
    border-radius: 15px;
    border: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.download-icon {
    font-size: 2rem;
}

.download-btn div {
    text-align: left;
}

.download-btn small {
    display: block;
    font-size: 0.8rem;
    opacity: 0.7;
}

.download-btn strong {
    font-size: 1.1rem;
}

.social-share {
    margin-top: 4rem;
}

.social-share p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.contact-link {
  
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: white;
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Fredoka One', cursive;
    font-size: 1.5rem;
    color: #FF6B6B;
    margin-bottom: 1rem;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #FFD700;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #FFD700;
}

.newsletter {
    display: flex;
    gap: 10px;
    margin-top: 1rem;
}

.newsletter input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
}

.newsletter button {
    padding: 10px 20px;
    background: #FF6B6B;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter button:hover {
    background: #ff5252;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
}

.footer-bottom p {
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

/* Animations */
@keyframes bounce {

    0%,
    20%,
    53%,
    80%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    40%,
    43% {
        transform: translate3d(0, -30px, 0);
    }

    70% {
        transform: translate3d(0, -15px, 0);
    }

    90% {
        transform: translate3d(0, -4px, 0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    50% {
        opacity: 1;
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translate3d(0, 100%, 0);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes slideBasket {

    0%,
    100% {
        transform: translateX(-50px);
    }

    50% {
        transform: translateX(50px);
    }
}

@keyframes demoFall {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(350px);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        z-index: 999;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-title {
        margin-top: 60px;
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .gameplay-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .characters-carousel {
        flex-direction: column;
        align-items: center;
    }

    .character-card {
        min-width: auto;
        width: 100%;
        max-width: 350px;
    }

    .powerups-grid {
        grid-template-columns: 1fr;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .newsletter {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }

    section {
        padding: 60px 0;
    }
}