/* 基础样式和重置 - 参考pot.html设计风格 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #818cf8;
    --secondary: #1e293b;
    --text: #334155;
    --text-light: #64748b;
    --background: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --success: #22c55e;
    --warning: #eab308;
    --error: #ef4444;
    --accent-green: #22c55e;
    --accent-orange: #f59e0b;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background-color: var(--background);
    line-height: 1.5;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* 通用组件 */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    border-radius: 0.4rem;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-icon {
    margin-right: 0.5rem;
    font-size: 0.9rem;
}

.primary-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
}

.primary-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-dark));
}

.play-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    padding: 0.5rem 1.25rem;
    border-radius: 0.4rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
}

.play-btn:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-dark));
}

.btn-white {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-white:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-shine {
    position: relative;
    overflow: hidden;
}

.btn-shine::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-shine:hover::before {
    left: 100%;
}

.card {
    background: var(--white);
    border-radius: 0.75rem;
    border: 1px solid var(--border);
}

.section {
    padding: 3.5rem 0;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.mb-8 {
    margin-bottom: 2.5rem;
}

/* Header 样式 */
.header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: -0.5px;
}

.logo-highlight {
    color: var(--accent-green);
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.nav-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-link:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background-color: var(--text);
    border-radius: 2px;
    transition: 0.3s;
}

/* Hero 区域 */
.hero {
    background: linear-gradient(135deg, var(--accent-green) 0%, #16a34a 50%, #15803d 100%);
    color: var(--white);
    padding: 4rem 0;
    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"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    min-width: 300px;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 1.75rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 580px;
}

.hero-buttons {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: left;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-orange);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.hero-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: flex-end;
}

.screenshot {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
}

/* Hero区域图标显示 */
.hero-icon-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 3rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
}

.hero-icon-display i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
    animation: float 3s ease-in-out infinite;
}

.hero-icon-display i:nth-child(2) {
    animation-delay: 1s;
}

.hero-icon-display i:nth-child(3) {
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* 作物图标样式 */
.crop-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background);
    border: 2px solid var(--border);
    margin: 0 auto;
}

.crop-icon i {
    font-size: 2rem;
    color: var(--text);
}

.crop-icon.rainbow-flower {
    background: linear-gradient(135deg, #ec4899, #8b5cf6, #3b82f6, #22c55e);
}

.crop-icon.rainbow-flower i {
    color: white;
}

/* 宠物图标样式 */
.pet-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background);
    border: 2px solid var(--border);
}

.pet-icon i {
    font-size: 1.5rem;
}

/* 快速导航区域 */
.quick-nav {
    background: var(--white);
}

.quick-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.quick-nav-card {
    padding: 1.75rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
}

.quick-nav-card:hover {
    color: inherit;
    text-decoration: none;
}

.quick-nav-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--white);
    font-size: 1.25rem;
}

.quick-nav-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.quick-nav-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* 作物数据库区域 */
.crops-database {
    background: var(--background);
}

.crops-filter {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.6rem 1.25rem;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text);
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    font-size: 0.9rem;
}

.filter-btn.active,
.filter-btn:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

.crops-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.crop-card {
    padding: 1.5rem;
}

.crop-image {
    text-align: center;
    margin-bottom: 1rem;
}

.crop-image img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.crop-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    text-align: center;
}

.crop-stats {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.rarity {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.rarity.basic {
    background: #f1f5f9;
    color: #475569;
}

.rarity.rare {
    background: #ede9fe;
    color: #7c3aed;
}

.rarity.legendary {
    background: #fed7aa;
    color: #ea580c;
}

.rarity.mythical {
    background: #fce7f3;
    color: #ec4899;
}

.growth-time {
    padding: 0.25rem 0.75rem;
    background: var(--background);
    border-radius: 1rem;
    font-size: 0.8rem;
    color: var(--text-light);
}

.crop-details {
    text-align: left;
}

.crop-details p {
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
}

/* 宠物收藏区域 */
.pets-collection {
    background: var(--white);
}

.pets-categories {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.pet-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.25rem;
}

.pet-card {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pet-image img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.pet-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.pet-rarity {
    font-size: 0.8rem;
    color: var(--accent-orange);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.pet-ability,
.pet-source {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

/* 变异系统区域 */
.mutations-guide {
    background: var(--background);
}

.mutation-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.mutation-type {
    padding: 1.75rem;
    text-align: center;
}

.mutation-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--white);
    font-size: 1.25rem;
}

.mutation-icon.golden {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.mutation-icon.rainbow {
    background: linear-gradient(135deg, #ec4899, #8b5cf6, #3b82f6, #22c55e);
}

.mutation-icon.frozen {
    background: linear-gradient(135deg, #06b6d4, #0284c7);
}

.mutation-icon.moonlit {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
}

.mutation-icon.crystal {
    background: linear-gradient(135deg, #a855f7, #9333ea);
}

.mutation-icon.disco {
    background: linear-gradient(135deg, #ef4444, #f97316, #fbbf24);
}

.mutation-details p {
    font-size: 0.95rem;
    margin-bottom: 0.6rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.tip-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 0.75rem;
    text-align: center;
    border: 1px solid var(--border);
}

.tip-card i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.tip-card h4 {
    margin-bottom: 0.75rem;
}

/* 策略指南区域 */
.strategies-guide {
    background: var(--white);
}

.strategies-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.strategy-category h3 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.strategy-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.strategy-card {
    padding: 1.75rem;
}

.strategy-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.strategy-stats {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.difficulty,
.profit {
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.difficulty.easy {
    background: #dcfce7;
    color: #166534;
}

.difficulty.medium {
    background: #fef3c7;
    color: #92400e;
}

.difficulty.hard {
    background: #fee2e2;
    color: #991b1b;
}

.difficulty.expert {
    background: #ede9fe;
    color: #6b21a8;
}

.profit.low {
    background: #f1f5f9;
    color: #475569;
}

.profit.medium {
    background: #dbeafe;
    color: #1e40af;
}

.profit.high {
    background: #fef3c7;
    color: #92400e;
}

.profit.extreme {
    background: #fee2e2;
    color: #991b1b;
}

.strategy-steps {
    list-style: none;
    padding-left: 0;
}

.strategy-steps li {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--border);
    position: relative;
    padding-left: 1.5rem;
}

.strategy-steps li:before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0.6rem;
    background: var(--primary);
    color: var(--white);
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

.strategy-steps {
    counter-reset: step-counter;
}

/* 活动信息区域 */
.events-info {
    background: var(--background);
}

.events-timeline {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.event-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.event-date {
    min-width: 80px;
    text-align: center;
    background: var(--accent-green);
    color: var(--white);
    border-radius: 0.75rem;
    padding: 1rem;
}

.event-date .month {
    font-size: 0.8rem;
    display: block;
}

.event-date .day {
    font-size: 1.2rem;
    font-weight: 700;
    display: block;
}

.event-content {
    flex: 1;
    padding: 1.75rem;
}

.event-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.event-status.current {
    background: #dcfce7;
    color: #166534;
}

.event-status.past {
    background: #f1f5f9;
    color: #64748b;
}

.event-status.upcoming {
    background: #dbeafe;
    color: #1e40af;
}

.event-features {
    display: flex;
    gap: 0.75rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.feature {
    background: var(--background);
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.9rem;
}

.event-timer {
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 0.9rem;
}

/* FAQ区域 */
.faq {
    background: var(--white);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.faq-card {
    padding: 1.75rem;
}

.faq-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.faq-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--secondary);
    color: var(--white);
    padding: 2.5rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 2.5rem;
    margin-bottom: 1.5rem;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-logo-highlight {
    color: var(--accent-green);
}

.footer-logo p {
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.footer-links-column h4 {
    margin-bottom: 0.75rem;
    color: var(--white);
}

.footer-links-column ul {
    list-style: none;
}

.footer-links-column ul li {
    margin-bottom: 0.5rem;
}

.footer-links-column ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links-column ul li a:hover {
    color: var(--accent-green);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.2s;
}

.social-link:hover {
    background: var(--accent-green);
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .quick-nav-grid,
    .crops-grid,
    .pets-grid,
    .mutation-types-grid,
    .strategy-cards,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .event-item {
        flex-direction: column;
    }
    
    .pet-card {
        flex-direction: column;
        text-align: center;
    }
} 