/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Fredoka', cursive;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #87CEEB 0%, #98E4FF 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

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

/* Floating background elements */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.floating {
    position: absolute;
    animation: float 6s ease-in-out infinite;
    font-size: 2rem;
    opacity: 0.3;
    left: var(--x);
    animation-delay: var(--delay);
}

@keyframes float {

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

    50% {
        transform: translateY(-10vh) rotate(180deg);
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: #FF6B6B;
}

.logo-egg {
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;

}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #FF6B6B;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #FF6B6B;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 120px 0 60px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.6) 100%), url('image/main.jpeg') no-repeat center center/cover;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #333;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.title-line {
    display: block;
}

.highlight {
    color: #FF6B6B;
    position: relative;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 20px;
    background: rgba(255, 225, 53, 0.3);
    z-index: -1;
    border-radius: 10px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    color: #555;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background: linear-gradient(45deg, #FF6B6B, #FF8E8E);
    color: white;
}

.btn-secondary {
    background: linear-gradient(45deg, #4ECDC4, #6EE7E0);
    color: white;
}

.btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-large {
    padding: 1.5rem 3rem;
    font-size: 1.3rem;
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.chicken-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.animated-chicken {
    font-size: 8rem;
    animation: chickenBounce 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.animated-chicken img {
    width: 500px;
    height: 700px;
    object-fit: cover;
}

@keyframes chickenBounce {

    0%,
    100% {
        transform: translateY(0px) rotate(-5deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.chicken-shadow {
    width: 80px;
    height: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    margin-top: 10px;
    animation: shadowPulse 3s ease-in-out infinite;
}

@keyframes shadowPulse {

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

    50% {
        transform: scale(0.8);
        opacity: 0.3;
    }
}

/* Sections */
section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.section-description {
    text-align: center;
    font-size: 1.3rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Overview Section */
.overview {
    background: rgba(255, 255, 255, 0.9);
}

.growth-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 4rem 0;
    gap: 2rem;
    flex-wrap: wrap;
}

.growth-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.growth-stage.active {
    opacity: 1;
    transform: scale(1.1);
}

.stage-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.growth-stage:hover .stage-icon {
    transform: scale(1.2) rotate(10deg);
}

.stage-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.growth-arrow {
    font-size: 2rem;
    color: #FF6B6B;
    font-weight: bold;
}

.overview-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.overview-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.overview-item:hover {
    transform: translateY(-10px);
}

.overview-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.overview-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.overview-item p {
    color: #666;
    font-size: 1.1rem;
}

/* Features Section */
.features {
    background: linear-gradient(135deg, #FFB6C1 0%, #FFC0CB 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 2rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
    transform: rotate(45deg);
    opacity: 0;
}

.feature-card:hover::before {
    animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
        opacity: 0;
    }
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {

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

    50% {
        transform: scale(1.1);
    }
}

.feature-card h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.feature-preview,
.emotion-demo,
.games-preview,
.cycle-demo {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.preview-item,
.emotion-face,
.game-icon,
.cycle-time {
    font-size: 2rem;
    padding: 0.5rem;
    border-radius: 10px;
    background: rgba(255, 225, 53, 0.3);
    transition: transform 0.3s ease;
}

.preview-item:hover,
.emotion-face:hover,
.game-icon:hover {
    transform: scale(1.2) rotate(10deg);
}

.emotion-face.happy {
    animation-delay: 0s;
}

.emotion-face.sad {
    animation-delay: 0.5s;
}

.emotion-face.excited {
    animation-delay: 1s;
}

.cycle-time {
    font-size: 1.2rem;
    padding: 0.8rem 1.2rem;
}

/* Screenshots Section */
.screenshots {
    background: rgba(255, 255, 255, 0.9);
}

.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.screenshot-item {
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.screenshot-placeholder {
    aspect-ratio: 16/9;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.screenshot-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}


.screenshot-placeholder.dress {
    background: linear-gradient(135deg, #AB47BC, #8E24AA);
}

.screenshot-placeholder.games {
    background: linear-gradient(135deg, #FF7043, #FF5722);
}

.screenshot-placeholder.feed {
    background: linear-gradient(135deg, #66BB6A, #4CAF50);
}

.screenshot-emoji {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.screenshot-label {
    font-size: 1.3rem;
    color: yellow;
}

/* Mood System */
.mood-system {
    background: linear-gradient(135deg, #E1BEE7 0%, #D1C4E9 100%);
}

.mood-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.chicken-avatar {
    position: relative;
}

.chicken-face {
    font-size: 8rem;
    animation: moodPulse 2s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

@keyframes moodPulse {

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

    50% {
        transform: scale(1.1);
    }
}

.mood-indicators {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.mood-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.8);
}

.mood-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 1);
}

.mood-emoji {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.mood-label {
    font-weight: 600;
    color: #333;
}

/* Mini-Games Section */
.mini-games {
    background: rgba(255, 255, 255, 0.9);
}

.games-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.game-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

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

.game-thumbnail {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.game-thumbnail.egg-catcher {
    background: linear-gradient(135deg, #FFE082, #FFD54F);
}

.game-thumbnail.fly-flap {
    background: linear-gradient(135deg, #81C784, #66BB6A);
}

.game-thumbnail.dance-time {
    background: linear-gradient(135deg, #F48FB1, #EC407A);
}

.game-thumbnail.memory-match {
    background: linear-gradient(135deg, #90CAF9, #42A5F5);
}

.game-thumbnail.puzzle-fun {
    background: linear-gradient(135deg, #FFAB91, #FF7043);
}

.game-emoji {
    font-size: 3rem;
    animation: gameFloat 3s ease-in-out infinite;
}

@keyframes gameFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.game-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.game-card p {
    color: #666;
    font-size: 1.1rem;
}

/* Parent-Friendly Section */
.parent-friendly {
    background: linear-gradient(135deg, #C8E6C9 0%, #A5D6A7 100%);
}

.safety-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.safety-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.safety-item:hover {
    transform: translateY(-10px);
}

.safety-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.safety-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.safety-item p {
    color: #666;
    font-size: 1.1rem;
}

/* Testimonials */
.testimonials {
    background: rgba(255, 255, 255, 0.9);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.testimonial-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.testimonial-card::before {
    content: '❝';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 4rem;
    color: #FFE135;
    opacity: 0.5;
}

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

.testimonial-avatar {
    margin-bottom: 2rem;
    animation: avatarBob 3s ease-in-out infinite;
}

.testimonial-avatar img {
    width: 150px;
    height: 200px;
    object-fit: contain;
    border-radius: 50%;
}

@keyframes avatarBob {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-5px);
    }
}

.testimonial-card blockquote {
    font-size: 1.2rem;
    font-style: italic;
    color: #444;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.testimonial-card cite {
    font-size: 1.1rem;
    font-weight: 600;
    color: #666;
    font-style: normal;
}

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, #FFE135 0%, #FFD700 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #333;
}

.cta-content p {
    font-size: 1.4rem;
    color: #555;
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.hatching-animation {
    margin-bottom: 3rem;
}

.egg-crack {
    position: relative;
    display: inline-block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.egg-crack:hover {
    transform: scale(1.1);
}

.egg-shell,
.hatching-chick {
    font-size: 6rem;
    transition: all 0.5s ease;
}

.hatching-chick {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transform: scale(0.5);
}

.egg-crack.hatching .egg-shell {
    opacity: 0;
    transform: scale(1.2);
}

.egg-crack.hatching .hatching-chick {
    opacity: 1;
    transform: scale(1);
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FFE135;
}

.footer-social {

    gap: 1rem;
}

.footer-social a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.footer-social a:hover {
    color: #FFE135;
}

.footer-disclaimer {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #555;
}

.footer-disclaimer p {
    margin-bottom: 0.5rem;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        display: none;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        transition: top 0.3s ease;
    }

    .nav-menu.active {
        display: flex;
        top: 100%;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-6px, 7px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero-container {

        display: grid;
        grid-template-columns: 1fr;
        padding: 4rem 2rem;
        text-align: center;
        gap: 2rem;
    }

    .hero-image {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .animated-chicken {
        font-size: 6rem;
    }

    .growth-animation {
        flex-direction: column;
        gap: 1rem;
    }

    .growth-arrow {
        transform: rotate(90deg);
    }

    .mood-indicators {
        gap: 1rem;
    }

    .cta-content h2 {
        font-size: 2.5rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

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

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .btn-large {
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
    }

    .animated-chicken {
        font-size: 4rem;
    }

    .chicken-face {
        font-size: 6rem;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #FFE135;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #FFD700;
}