/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Fredoka', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fefefe;
}

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

/* Color Variables */
:root {
    --primary-yellow: #FFD700;
    --soft-green: #90EE90;
    --farm-brown: #8B4513;
    --sky-blue: #87CEEB;
    --white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #666666;
    --shadow: rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, #FFD700, #FFA500);
    --gradient-green: linear-gradient(135deg, #90EE90, #32CD32);
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--farm-brown);
}

.chicken-icon {
    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;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--farm-brown);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--farm-brown);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    background: var(--gradient-green);
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="40" r="1.5" fill="white" opacity="0.1"/><circle cx="40" cy="80" r="1" fill="white" opacity="0.1"/></svg>');
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-100px); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.title-main {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-sub {
    display: block;
    color: var(--farm-brown);
    font-size: 1.8rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6);
}

.btn-secondary {
    background: var(--white);
    color: var(--farm-brown);
    border: 2px solid var(--farm-brown);
}

.btn-secondary:hover {
    background: var(--farm-brown);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.3rem;
}

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

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.chicken-character {
    position: relative;
    animation: hop 3s infinite ease-in-out;
}

@keyframes hop {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(-5deg); }
    50% { transform: translateY(-10px) rotate(0deg); }
    75% { transform: translateY(-30px) rotate(5deg); }
}

.chicken-body {
    font-size: 8rem;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.motion-lines {
    position: absolute;
    top: 50%;
    right: -30px;
    width: 60px;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        var(--primary-yellow),
        var(--primary-yellow) 10px,
        transparent 10px,
        transparent 20px
    );
    border-radius: 2px;
    animation: dash 1s infinite;
}

@keyframes dash {
    0% { opacity: 0; transform: translateX(-20px); }
    50% { opacity: 1; transform: translateX(0px); }
    100% { opacity: 0; transform: translateX(20px); }
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-item {
    position: absolute;
    font-size: 2rem;
    animation: floatAround 8s infinite ease-in-out;
}

.floating-item:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-item:nth-child(2) {
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.floating-item:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes floatAround {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(90deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
    75% { transform: translateY(-30px) rotate(270deg); }
}

/* Sections */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    color: var(--farm-brown);
    position: relative;
}

.section-title::after {
    content: '🐔';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--white);
}

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

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-yellow);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--farm-brown);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Screenshots Section */
.screenshots {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

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

.screenshot-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
}

.screenshot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.screenshot-placeholder {
    height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-weight: 600;
    font-size: 1.2rem;
}

.screenshot-placeholder.farm {
    background: var(--gradient-green);
}

.screenshot-placeholder.rooftop {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.screenshot-placeholder.field {
    background: linear-gradient(135deg, #feca57, #ff9ff3);
}

.screenshot-icon {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: var(--white);
}

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

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    border-left: 5px solid var(--primary-yellow);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1.1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    font-size: 2.5rem;
}

.author-info h4 {
    color: var(--farm-brown);
    font-weight: 600;
    margin-bottom: 5px;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: var(--gradient-primary);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.3rem;
    color: var(--white);
    margin-bottom: 40px;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--farm-brown);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-section h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-yellow);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

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

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

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-link {
    display: inline-block;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.2);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow);
        padding: 20px 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-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

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

    .title-sub {
        font-size: 1.4rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

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

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

    .features-grid,
    .screenshots-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

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

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

    .cta-content p {
        font-size: 1.1rem;
    }

    /* How to Play Mobile Styles */
    .overview-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .scoring-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Gallery Mobile Styles */
    .gallery-tabs {
        gap: 10px;
    }

    .tab-btn {
        padding: 12px 20px;
        font-size: 1rem;
    }

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

    /* Contact Mobile Styles */
    .methods-grid {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 40px 30px;
    }

    .form-header h2 {
        font-size: 2rem;
    }

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

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

    /* Legal Mobile Styles */
    .legal-document {
        padding: 40px 30px;
    }

    .legal-section h2 {
        font-size: 1.8rem;
    }

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

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

    .hero {
        padding: 100px 0 60px;
    }

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

    .title-sub {
        font-size: 1.2rem;
    }

    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .btn-large {
        padding: 16px 32px;
        font-size: 1.1rem;
    }

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

    .feature-card,
    .testimonial-card {
        padding: 30px 20px;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
}

/* How to Play Page Styles */
.hero-simple {
    background: var(--gradient-green);
    padding: 120px 0 80px;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.page-subtitle {
    font-size: 1.3rem;
    color: var(--white);
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.game-overview {
    padding: 100px 0;
    background: var(--white);
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.overview-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--farm-brown);
    margin-bottom: 20px;
}

.overview-text p {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 30px;
}

.quick-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid var(--primary-yellow);
}

.stat-icon {
    font-size: 1.5rem;
}

.stat-text {
    font-weight: 500;
    color: var(--text-dark);
}

.overview-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-preview {
    position: relative;
    width: 300px;
    height: 200px;
    background: var(--gradient-green);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.chicken-demo {
    font-size: 4rem;
    animation: demoRun 3s infinite ease-in-out;
}

@keyframes demoRun {
    0%, 100% { transform: translateX(-50px) translateY(0px); }
    50% { transform: translateX(50px) translateY(-20px); }
}

.demo-path {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        var(--white),
        var(--white) 10px,
        transparent 10px,
        transparent 20px
    );
    border-radius: 2px;
}

.controls {
    padding: 100px 0;
    background: #f8f9fa;
}

.controls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.control-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
}

.control-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.control-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.control-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--farm-brown);
    margin-bottom: 15px;
}

.control-card p {
    color: var(--text-light);
    margin-bottom: 10px;
}

.control-demo {
    margin-top: 20px;
    height: 60px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-chicken {
    font-size: 2rem;
    transition: all 0.5s ease;
}

.demo-chicken.slide {
    transform: scaleY(0.5);
}

.demo-chicken.left {
    transform: translateX(-10px);
}

.demo-chicken.right {
    transform: translateX(10px);
}

.obstacles {
    padding: 100px 0;
    background: var(--white);
}

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

.obstacle-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid #ff6b6b;
}

.obstacle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.obstacle-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    text-align: center;
}

.obstacle-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--farm-brown);
    margin-bottom: 15px;
    text-align: center;
}

.obstacle-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.difficulty {
    text-align: center;
    font-weight: 600;
}

.easy { color: #28a745; }
.medium { color: #ffc107; }
.hard { color: #dc3545; }

.powerups {
    padding: 100px 0;
    background: #f8f9fa;
}

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

.powerup-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-yellow);
}

.powerup-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.powerup-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    text-align: center;
    animation: glow 2s infinite alternate;
}

.powerup-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--farm-brown);
    margin-bottom: 15px;
    text-align: center;
}

.powerup-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.powerup-effect {
    text-align: center;
    font-weight: 600;
    color: var(--primary-yellow);
    background: #fff3cd;
    padding: 10px;
    border-radius: 10px;
}

.tips {
    padding: 100px 0;
    background: var(--white);
}

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

.tip-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    border-left: 4px solid var(--soft-green);
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.tip-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background: var(--gradient-primary);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.tip-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--farm-brown);
    margin-bottom: 15px;
    margin-top: 10px;
}

.tip-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.scoring {
    padding: 100px 0;
    background: #f8f9fa;
}

.scoring-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.scoring-table h3,
.scoring-tips h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--farm-brown);
    margin-bottom: 30px;
}

.score-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px var(--shadow);
}

.score-icon {
    font-size: 1.5rem;
}

.score-desc {
    flex: 1;
    margin-left: 15px;
    font-weight: 500;
    color: var(--text-dark);
}

.score-value {
    font-weight: 700;
    color: var(--primary-yellow);
    background: #fff3cd;
    padding: 5px 10px;
    border-radius: 5px;
}

.scoring-tips ul {
    list-style: none;
    padding: 0;
}

.scoring-tips li {
    padding: 15px;
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px var(--shadow);
    position: relative;
    padding-left: 50px;
}

.scoring-tips li::before {
    content: '💡';
    position: absolute;
    left: 15px;
    top: 15px;
    font-size: 1.2rem;
}

/* Gallery Page Styles */
.gallery-nav {
    padding: 40px 0;
    background: var(--white);
    border-bottom: 1px solid #eee;
}

.gallery-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 15px 30px;
    border: 2px solid var(--farm-brown);
    background: var(--white);
    color: var(--farm-brown);
    border-radius: 50px;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--farm-brown);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
}

.gallery-content {
    display: none;
    padding: 80px 0;
}

.gallery-content.active {
    display: block;
}

.gallery-section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--farm-brown);
    margin-bottom: 20px;
}

.gallery-description {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.gallery-placeholder {
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.gallery-placeholder.farm-level {
    background: var(--gradient-green);
}

.gallery-placeholder.rooftop-level {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.gallery-placeholder.field-level {
    background: linear-gradient(135deg, #feca57, #ff9ff3);
}

.gallery-placeholder.forest-level {
    background: linear-gradient(135deg, #26de81, #20bf6b);
}

.gallery-placeholder.barn-level {
    background: linear-gradient(135deg, #8b4513, #a0522d);
}

.gallery-placeholder.sunset-level {
    background: linear-gradient(135deg, #fd79a8, #fdcb6e);
}

.gallery-placeholder.concept-chicken {
    background: linear-gradient(135deg, #74b9ff, #0984e3);
}

.gallery-placeholder.concept-farm {
    background: linear-gradient(135deg, #55a3ff, #3742fa);
}

.gallery-placeholder.concept-obstacles {
    background: linear-gradient(135deg, #ff7675, #d63031);
}

.gallery-placeholder.concept-powerups {
    background: linear-gradient(135deg, #fdcb6e, #e17055);
}

.gallery-placeholder.concept-ui {
    background: linear-gradient(135deg, #6c5ce7, #a29bfe);
}

.gallery-placeholder.concept-logo {
    background: linear-gradient(135deg, #fd79a8, #e84393);
}

.gallery-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.gallery-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.video-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.video-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.video-placeholder {
    height: 200px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--white);
    position: relative;
}

.video-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    padding: 30px 20px 20px;
}

.video-overlay h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.video-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.video-duration {
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Characters Grid */
.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.character-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease forwards;
}

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

.character-avatar {
    font-size: 5rem;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

.character-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--farm-brown);
    margin-bottom: 10px;
}

.character-role {
    color: var(--primary-yellow);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.character-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 30px;
}

.character-stats {
    text-align: left;
}

.stat {
    margin-bottom: 15px;
}

.stat-label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.stat-bar {
    height: 8px;
    background: #eee;
    border-radius: 4px;
    overflow: hidden;
}

.stat-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 1s ease;
}

/* Download Section */
.download-section {
    padding: 80px 0;
    background: #f8f9fa;
    text-align: center;
}

.download-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--farm-brown);
    margin-bottom: 20px;
}

.download-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Gallery Modal */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-modal.active {
    opacity: 1;
}

.modal-content {
    background: var(--white);
    border-radius: 20px;
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.gallery-modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: var(--white);
    cursor: pointer;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

.modal-image {
    width: 100%;
    height: 400px;
}

.modal-image .gallery-placeholder {
    height: 100%;
    border-radius: 0;
}

.modal-info {
    padding: 30px;
    text-align: center;
}

.modal-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--farm-brown);
    margin-bottom: 10px;
}

.modal-info p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Contact Page Styles */
.contact-methods {
    padding: 80px 0;
    background: var(--white);
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.method-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-yellow);
}

.method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.method-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.method-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--farm-brown);
    margin-bottom: 15px;
}

.method-card p {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-link {
    color: var(--primary-yellow);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--farm-brown);
}

.contact-form-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 20px 40px var(--shadow);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--farm-brown);
    margin-bottom: 15px;
}

.form-header p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-yellow);
    box-shadow: 0 0 0 0.2rem rgba(255, 215, 0, 0.25);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-dark);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e9ecef;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-yellow);
    border-color: var(--primary-yellow);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-weight: bold;
    font-size: 0.8rem;
}

.faq-section {
    padding: 100px 0;
    background: var(--white);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px var(--shadow);
}

.faq-question {
    padding: 25px;
    background: var(--white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--farm-brown);
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-yellow);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 0 25px 25px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.social-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.social-description {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.social-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px var(--shadow);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.social-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: inherit;
}

.social-card.facebook {
    border-top: 4px solid #1877f2;
}

.social-card.twitter {
    border-top: 4px solid #1da1f2;
}

.social-card.instagram {
    border-top: 4px solid #e4405f;
}

.social-card.youtube {
    border-top: 4px solid #ff0000;
}

.social-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.social-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--farm-brown);
    margin-bottom: 15px;
}

.social-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 15px;
}

.social-handle {
    color: var(--primary-yellow);
    font-weight: 600;
    font-size: 0.9rem;
}

.response-info {
    padding: 80px 0;
    background: var(--white);
}

.response-content {
    text-align: center;
}

.response-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--farm-brown);
    margin-bottom: 60px;
}

.response-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.response-item {
    text-align: center;
}

.response-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.response-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--farm-brown);
    margin-bottom: 10px;
}

.response-item p {
    color: var(--primary-yellow);
    font-weight: 600;
    font-size: 1.1rem;
}

.response-note {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-light);
    line-height: 1.6;
    font-style: italic;
}

/* Legal Pages Styles */
.legal-content {
    padding: 80px 0;
    background: var(--white);
}

.legal-document {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 10px 30px var(--shadow);
}

.legal-header {
    margin-bottom: 40px;
}

.last-updated {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 30px;
    text-align: center;
}

.summary-box {
    background: #f8f9fa;
    border-left: 4px solid var(--primary-yellow);
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.summary-box h3 {
    color: var(--farm-brown);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.summary-box p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.legal-section {
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.legal-section h2 {
    color: var(--farm-brown);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-yellow);
}

.legal-section h3 {
    color: var(--farm-brown);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 25px;
}

.legal-section p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 15px;
}

.legal-section ul {
    margin-bottom: 20px;
    padding-left: 0;
}

.legal-section li {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 8px;
    padding-left: 25px;
    position: relative;
}

.legal-section li::before {
    content: '•';
    color: var(--primary-yellow);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
}

.legal-section strong {
    color: var(--farm-brown);
    font-weight: 600;
}

.legal-section em {
    color: var(--text-light);
    font-style: italic;
}

.legal-section a {
    color: var(--primary-yellow);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.legal-section a:hover {
    color: var(--farm-brown);
    text-decoration: underline;
}

.contact-info {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid var(--soft-green);
    margin: 20px 0;
}

.contact-info p {
    margin-bottom: 10px;
    color: var(--text-dark);
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.legal-footer {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 2px solid #eee;
}

.policy-summary {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
}

.policy-summary h3 {
    color: var(--farm-brown);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

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

.summary-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s ease;
}

.summary-item:hover {
    transform: translateY(-2px);
}

.summary-icon {
    font-size: 1.5rem;
}

.summary-item span:last-child {
    font-weight: 500;
    color: var(--text-dark);
}

.terms-acknowledgment {
    text-align: center;
    padding: 30px;
    background: var(--gradient-green);
    border-radius: 15px;
    color: var(--white);
}

.terms-acknowledgment p {
    margin-bottom: 15px;
    color: var(--white);
}

.terms-acknowledgment p:last-child {
    margin-bottom: 0;
    font-size: 1.1rem;
}

/* Animations for page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.testimonial-card,
.screenshot-card {
    animation: fadeInUp 0.6s ease forwards;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }
.feature-card:nth-child(5) { animation-delay: 0.5s; }
.feature-card:nth-child(6) { animation-delay: 0.6s; }

/* Play button special animation */
.play-btn {
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
    }
    to {
        box-shadow: 0 5px 25px rgba(255, 215, 0, 0.8);
    }
}