/* 首页样式 */

/* 品牌头部 */
.brand-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 32px 24px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.brand-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 168, 75, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.logo-container {
    position: relative;
    z-index: 1;
}

.logo-lion {
    font-size: 56px;
    margin-bottom: 4px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.brand-name {
    font-size: 28px;
    font-weight: 700;
    color: white;
    letter-spacing: 4px;
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.brand-slogan {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 2px;
}

/* 主要内容 */
.main-content {
    flex: 1;
    padding: 16px;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
}

/* 招牌菜区域 */
.signature-section {
    margin-bottom: 20px;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    padding-left: 10px;
    border-left: 3px solid var(--gold-color);
}

.signature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.signature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.signature-item .dish-img {
    width: 100%;
    aspect-ratio: 1;
    margin-bottom: 6px;
    border-radius: 10px;
    box-shadow: 0 2px 6px var(--shadow-color);
}

.signature-item .dish-name {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.3;
}

/* AI点单入口 */
.ai-entry-section {
    margin-bottom: 20px;
}

.ai-card {
    background: white;
    border-radius: 16px;
    padding: 20px 20px;
    text-align: center;
    box-shadow: 0 4px 16px var(--shadow-color);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.ai-card:active {
    transform: scale(0.98);
}

.ai-icon {
    font-size: 40px;
    margin-bottom: 8px;
}

.ai-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.ai-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
}

.ai-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 12px 40px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(196, 18, 48, 0.3);
    transition: all 0.3s ease;
}

.ai-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 6px rgba(196, 18, 48, 0.3);
}

/* 特色标签 */
.features-section {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 8px;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: white;
    padding: 8px 12px;
    border-radius: 16px;
    font-size: 12px;
    color: var(--text-secondary);
    box-shadow: 0 2px 6px var(--shadow-color);
    border: 1px solid var(--border-color);
}

.tag-icon {
    font-size: 14px;
}

/* 底部 */
.footer {
    text-align: center;
    padding: 12px 16px;
    font-size: 11px;
    color: var(--text-light);
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.signature-section,
.ai-entry-section,
.features-section {
    animation: fadeInUp 0.6s ease forwards;
}

.ai-entry-section {
    animation-delay: 0.1s;
}

.features-section {
    animation-delay: 0.2s;
}
