/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;700&display=swap');

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

body {
    font-family: 'Noto Sans TC', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #ff6b6b 100%);
    min-height: 100vh;
    color: #2c3e50;
    line-height: 1.6;
}

/* Header 優化 */
.header {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* 主要容器 - 減少白色背景 */
.container {
    max-width: 100%;
    margin: 0;
    padding: 20px;
    background: transparent; /* 移除白色背景 */
}

/* 歡迎區塊 */
.welcome-section {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.welcome-section h1 {
    font-size: 2rem;
    background: linear-gradient(45deg, #e74c3c, #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
}

.food-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.food-icon {
    font-size: 2rem;
    padding: 10px;
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    border-radius: 50%;
    animation: bounce 2s infinite;
}

.food-icon:nth-child(2) {
    background: linear-gradient(45deg, #48cae4, #0077b6);
    animation-delay: 0.2s;
}

.food-icon:nth-child(3) {
    background: linear-gradient(45deg, #06ffa5, #3d5a80);
    animation-delay: 0.4s;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* 文章卡片 - 使用彩色背景 */
.article-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.8) 100%);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    position: relative;
    overflow: hidden;
}

.article-card::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;
}

.article-card:hover::before {
    left: 100%;
}

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

.featured-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 5px 12px;
    border-radius: 0 15px 0 15px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 2;
}

.article-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #e74c3c, #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.article-description {
    color: #666;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* 即將推出卡片 */
.coming-soon {
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    border: 2px dashed rgba(255,255,255,0.4);
    color: white;
    text-align: center;
}

.coming-soon h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.coming-soon p {
    color: rgba(255,255,255,0.8);
}

/* 快速導航區塊 */
.quick-nav {
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.1) 100%);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(255,255,255,0.3);
}

.quick-nav h3 {
    color: white;
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.3rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.nav-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.nav-item {
    background: linear-gradient(45deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-item:hover {
    background: linear-gradient(45deg, rgba(255,255,255,0.3), rgba(255,255,255,0.2));
    transform: translateY(-2px);
}

.nav-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
    display: block;
}

.nav-text {
    font-size: 0.9rem;
    font-weight: 500;
}

/* Footer */
.footer {
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(15px);
    color: white;
    text-align: center;
    padding: 25px 20px;
    margin-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.social-link {
    display: inline-block;
    padding: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.social-link:hover {
    background: rgba(255,255,255,0.2);
    transform: scale(1.1);
}

/* 響應式優化 */
@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    
    .article-card {
        padding: 20px;
        margin-bottom: 15px;
    }
    
    .welcome-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .quick-nav {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .nav-grid {
        gap: 10px;
    }
    
    .nav-item {
        padding: 12px;
    }
    
    .food-icons {
        gap: 10px;
    }
    
    .food-icon {
        font-size: 1.8rem;
        padding: 8px;
    }
}

/* 載入動畫 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.1s; }
.fade-in:nth-child(2) { animation-delay: 0.2s; }
.fade-in:nth-child(3) { animation-delay: 0.3s; }
.fade-in:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 增加視覺層次的裝飾元素 */
.bg-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.1;
}

.bg-decoration::before {
    content: '🍜🥟🍰🥤';
    position: absolute;
    top: 20%;
    left: 10%;
    font-size: 3rem;
    animation: float 6s ease-in-out infinite;
}

.bg-decoration::after {
    content: '🍔🍣🧋🥘';
    position: absolute;
    bottom: 20%;
    right: 10%;
    font-size: 3rem;
    animation: float 8s ease-in-out infinite reverse;
}

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