/* 台湾审美风格样式表 */
:root {
    --primary-color: #e74c3c;
    --secondary-color: #3498db;
    --accent-color: #f39c12;
    --success-color: #27ae60;
    --text-primary: #2c3e50;
    --text-secondary: #7f8c8d;
    --background-light: #ffeaa7;
    --background-white: #ffffff;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --shadow-light: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-medium: 0 8px 30px rgba(0,0,0,0.15);
    --shadow-heavy: 0 15px 50px rgba(0,0,0,0.2);
    --border-radius: 16px;
    --border-radius-small: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans TC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 1;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.7) 0%, rgba(118, 75, 162, 0.7) 100%);
    z-index: 2;
}

.floating-books {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
}

.book {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.book-1 { top: 10%; left: 10%; animation-delay: 0s; }
.book-2 { top: 20%; right: 15%; animation-delay: 1s; }
.book-3 { bottom: 30%; left: 20%; animation-delay: 2s; }
.book-4 { top: 60%; right: 10%; animation-delay: 3s; }
.book-5 { bottom: 20%; right: 30%; animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    color: white;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 12px 24px;
    border-radius: 50px;
    margin-bottom: 2rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.badge-text {
    font-family: 'Noto Serif TC', serif;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 4px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.title-main {
    display: block;
    font-family: 'Noto Serif TC', serif;
    background: linear-gradient(45deg, #fff, #f39c12);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.title-sub {
    display: block;
    font-size: 2.5rem;
    margin-top: 0.5rem;
    opacity: 0.9;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    line-height: 1.8;
}

.countdown-container {
    margin-bottom: 3rem;
}

.countdown-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gradient-2);
    padding: 16px 32px;
    border-radius: 50px;
    box-shadow: var(--shadow-medium);
}

.countdown-text {
    font-size: 1rem;
    opacity: 0.9;
}

.countdown-number {
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Noto Serif TC', serif;
}

.hero-cta {
    background: var(--gradient-3);
    color: white;
    border: none;
    padding: 20px 40px;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
    font-family: 'Noto Sans TC', sans-serif;
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.cta-arrow {
    font-size: 1.5rem;
    transition: var(--transition);
}

.hero-cta:hover .cta-arrow {
    transform: translateX(5px);
}

/* Activity Introduction */
.activity-intro {
    padding: 100px 0;
    background: var(--background-white);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-family: 'Noto Serif TC', serif;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.intro-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid #f8f9fa;
}

.intro-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.card-icon i {
    font-size: 3rem;
}

.intro-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-family: 'Noto Serif TC', serif;
}

.intro-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffeaa7 0%, #fab1a0 100%);
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 6rem;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item.reverse {
    direction: rtl;
}

.feature-item.reverse > * {
    direction: ltr;
}

.feature-image {
    position: relative;
}

.image-placeholder {
    aspect-ratio: 4/3;
    background: var(--gradient-1);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 4rem;
    text-align: center;
    line-height: 1.2;
    box-shadow: var(--shadow-medium);
}

.feature-content h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-family: 'Noto Serif TC', serif;
}

.feature-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.feature-content ul {
    list-style: none;
}

.feature-content li {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--text-secondary);
    padding-left: 1rem;
}

/* Rules Section */
.rules {
    padding: 100px 0;
    background: var(--background-white);
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.rule-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.rule-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.rule-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: 'Noto Serif TC', serif;
}

.rule-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-family: 'Noto Serif TC', serif;
}

.rule-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: #f8f9fa;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 6rem;
    color: var(--primary-color);
    opacity: 0.1;
    font-family: serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.testimonial-content {
    position: relative;
    z-index: 2;
}

.stars {
    display: flex;
    gap: 3px;
    margin-bottom: 1.5rem;
}

.stars i {
    color: #ffd700;
    font-size: 1.2rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    font-family: 'Noto Serif TC', serif;
}

.author-info span {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: var(--gradient-2);
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    font-family: 'Noto Serif TC', serif;
}

.cta-content p {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 3rem;
}

.main-cta {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 20px 40px;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
    font-family: 'Noto Sans TC', sans-serif;
}

.main-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-family: 'Noto Serif TC', serif;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255,255,255,0.6);
}

/* Fixed CTA Button */
.fixed-cta {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.fixed-cta-btn {
    background: var(--gradient-3);
    color: white;
    border: none;
    padding: 18px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-heavy);
    font-family: 'Noto Sans TC', sans-serif;
}

.fixed-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .title-sub {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .feature-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-content h3 {
        font-size: 1.8rem;
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
    }
    
    .rules-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .title-sub {
        font-size: 1.5rem;
    }
    
    .hero-cta, .main-cta {
        padding: 16px 32px;
        font-size: 1.1rem;
    }
    
    .fixed-cta-btn {
        padding: 15px 30px;
        font-size: 1rem;
    }
}
