/* 田园宠物清新风格 - Corgi Chow Catch */

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

:root {
    /* 田园清新配色 */
    --primary-green: #7fb069;
    --light-green: #a8d5ba;
    --pastel-yellow: #f7e8a4;
    --warm-beige: #f5e6d3;
    --soft-pink: #f4c2c2;
    --cream: #fff9e6;
    --earth-brown: #8b6f47;
    --sky-blue: #b8d4e3;
    --grass-green: #9bc472;
    --text-dark: #4a4a4a;
    --text-light: #6b6b6b;
    --white: #ffffff;
}

body {
    font-family: 'Nunito', 'Fredoka', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--cream);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 249, 230, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(139, 111, 71, 0.1);
}

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

.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Fredoka', sans-serif;
}

.nav-logo i {
    color: var(--earth-brown);
    font-size: 1.8rem;
    animation: wag 2s infinite;
}

@keyframes wag {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-15deg); }
    75% { transform: rotate(15deg); }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-green);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-green);
    border-radius: 3px;
    transition: 0.3s;
}

/* Hero Section - 田园风格 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--light-green) 0%, var(--sky-blue) 50%, var(--pastel-yellow) 100%);
    padding-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.grass-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--grass-green) 0%, var(--primary-green) 100%);
    clip-path: polygon(0 20%, 100% 0%, 100% 100%, 0% 100%);
}

.clouds {
    position: absolute;
    top: 20%;
    width: 100%;
    height: 200px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 200"><path d="M0,100 Q300,50 600,100 T1200,100 L1200,200 L0,200 Z" fill="rgba(255,255,255,0.3)"/></svg>') repeat-x;
    animation: cloudMove 20s linear infinite;
    opacity: 0.6;
}

@keyframes cloudMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

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

.hero-text {
    animation: fadeInUp 1s ease;
}

.hero-title {
    margin-bottom: 20px;
}

.title-main {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-green);
    font-family: 'Fredoka', sans-serif;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
}

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

.hero-tagline {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

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

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

.btn-primary {
    background: var(--primary-green);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(127, 176, 105, 0.4);
}

.btn-primary:hover {
    background: var(--grass-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(127, 176, 105, 0.6);
}

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

.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInRight 1s ease;
}

.hero-phone-mockup {
    width: 100%;
    max-width: 400px;
    max-height: 600px;
    position: relative;
    filter: drop-shadow(0 20px 40px rgba(139, 111, 71, 0.3));
    animation: float 3s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-screenshot {
    width: 100%;
    height: 100%;
    max-height: 600px;
    object-fit: contain;
    border-radius: 30px;
    display: block;
    transition: transform 0.3s ease;
}

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

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: var(--primary-green);
    font-size: 2rem;
    animation: bounce 2s infinite;
}

/* Gameplay Section */
.gameplay {
    padding: 100px 0;
    background: var(--warm-beige);
    position: relative;
}

.gameplay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, var(--cream), var(--warm-beige));
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 50px;
    font-family: 'Fredoka', sans-serif;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-green);
    border-radius: 2px;
}

.gameplay-content {
    max-width: 900px;
    margin: 0 auto;
}

.gameplay-intro {
    text-align: center;
    margin-bottom: 50px;
}

.intro-text {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
}

.gameplay-section {
    margin-bottom: 60px;
}

.subsection-title {
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: 'Fredoka', sans-serif;
}

.subsection-title i {
    color: var(--earth-brown);
}

.info-card {
    background: var(--white);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(139, 111, 71, 0.1);
    border-left: 5px solid var(--primary-green);
    margin-bottom: 30px;
}

.info-card p {
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.item-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(139, 111, 71, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid;
}

.item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 111, 71, 0.2);
}

.item-card-positive {
    border-top-color: var(--primary-green);
}

.item-card-special {
    border-top-color: var(--sky-blue);
}

.item-card-danger {
    border-top-color: #e74c3c;
}

.item-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.item-card-positive .item-icon {
    color: var(--primary-green);
}

.item-card-special .item-icon {
    color: var(--sky-blue);
}

.item-card-danger .item-icon {
    color: #e74c3c;
}

.item-card h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-family: 'Fredoka', sans-serif;
}

.item-card p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

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

.difficulty-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(139, 111, 71, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.difficulty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 111, 71, 0.2);
}

.difficulty-icon {
    font-size: 3rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.difficulty-card h4 {
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    font-family: 'Fredoka', sans-serif;
}

.difficulty-card p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Screenshots Gallery Section */
.screenshots {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

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

.screenshots-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(139, 111, 71, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(139, 111, 71, 0.25);
}

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

.gallery-image {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(127, 176, 105, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-overlay i {
    font-size: 3rem;
    color: var(--white);
    animation: pulse 2s infinite;
}

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

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

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

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(139, 111, 71, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(139, 111, 71, 0.2);
    border-color: var(--primary-green);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--light-green), var(--primary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 5px 15px rgba(127, 176, 105, 0.3);
}

.feature-card h3 {
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
    font-family: 'Fredoka', sans-serif;
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Download Section */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--light-green) 0%, var(--sky-blue) 100%);
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: var(--pastel-yellow);
    border-radius: 50%;
    opacity: 0.3;
}

.download-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.download-text {
    color: var(--white);
}

.download-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-family: 'Fredoka', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.download-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

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

.download-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    background: var(--white);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

.download-btn i {
    font-size: 2rem;
    color: var(--primary-green);
}

.download-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
}

.download-store {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

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

.phone-mockup {
    width: 100%;
    max-width: 300px;
    position: relative;
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

.download-screenshot {
    width: 100%;
    height: auto;
    border-radius: 30px;
    display: block;
    transition: transform 0.3s ease;
}

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

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

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

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

.footer-logo i {
    font-size: 1.8rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section h4 {
    margin-bottom: 20px;
    font-family: 'Fredoka', sans-serif;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--white);
}

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

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

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-visual {
        margin-top: 30px;
    }

    .hero-phone-mockup {
        max-width: 300px;
        max-height: 500px;
    }

    .hero-screenshot {
        max-height: 500px;
    }

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

    .download-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .screenshots-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .gallery-item {
        min-height: 350px;
    }

    .gallery-image {
        max-height: 500px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

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

@media (max-width: 768px) {
    .title-main {
        font-size: 2rem;
    }

    .hero-phone-mockup {
        max-width: 250px;
        max-height: 400px;
    }

    .hero-screenshot {
        max-height: 400px;
    }

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

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

    .difficulty-info {
        grid-template-columns: 1fr;
    }

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

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

    .gallery-item {
        min-height: 300px;
    }

    .gallery-image {
        max-height: 400px;
    }

    .btn-large {
        padding: 15px 30px;
        font-size: 1rem;
    }
}

/* 截图模态框样式 */
.screenshot-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.screenshot-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content-img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: scaleIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    color: var(--white);
    font-size: 3rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 10001;
}

.modal-close:hover {
    transform: rotate(90deg);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* 下载提示模态框样式 */
.download-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.download-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-modal-content {
    background: var(--white);
    border-radius: 25px;
    padding: 40px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: scaleIn 0.3s ease;
}

.download-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
    line-height: 1;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-modal-close:hover {
    transform: rotate(90deg);
    color: var(--primary-green);
}

.download-modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--light-green), var(--primary-green));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    box-shadow: 0 5px 20px rgba(127, 176, 105, 0.3);
    animation: pulse 2s infinite;
}

.download-modal-title {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 15px;
    font-family: 'Fredoka', sans-serif;
}

.download-modal-message {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 30px;
}

.download-modal-btn {
    padding: 12px 40px;
    background: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Nunito', sans-serif;
}

.download-modal-btn:hover {
    background: var(--grass-green);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(127, 176, 105, 0.4);
}

.download-modal-btn:active {
    transform: translateY(0);
}

