:root {
    --bg-main: #F3F8F2; /* Soft nature green tint */
    --accent-primary: #FF884B; /* Warm orange */
    --accent-primary-hover: #E87135;
    --accent-secondary: #5C946E; /* Forest green */
    --accent-gold: #F4C271; 
    --text-primary: #2C3E35; /* Dark forest */
    --text-secondary: #6B7A71;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 1);
    --glass-shadow: 0 10px 40px 0 rgba(44, 62, 53, 0.08);
}

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

body {
    font-family: 'Noto Sans TC', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Blobs */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out;
}

.blob-1 {
    top: -10%; left: -10%; width: 50vw; height: 50vw;
    background: radial-gradient(circle, rgba(255,136,75,0.2) 0%, rgba(255,255,255,0) 70%);
}

.blob-2 {
    bottom: -20%; right: -10%; width: 60vw; height: 60vw;
    background: radial-gradient(circle, rgba(92,148,110,0.2) 0%, rgba(255,255,255,0) 70%);
    animation-delay: -5s;
}

.blob-3 {
    top: 40%; left: 30%; width: 40vw; height: 40vw;
    background: radial-gradient(circle, rgba(244,194,113,0.2) 0%, rgba(255,255,255,0) 70%);
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(3%, 5%) scale(1.05); }
    66% { transform: translate(-3%, 2%) scale(0.95); }
}

/* Glassmorphism */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
}

/* Header */
.header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.5rem 5%; position: fixed; top: 0; width: 100%; z-index: 100;
    background: rgba(243, 248, 242, 0.85); backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.6); transition: all 0.3s ease;
}

.logo { font-size: 1.5rem; font-weight: 800; color: var(--accent-primary); letter-spacing: 2px; }
nav a { color: var(--text-primary); text-decoration: none; margin-left: 2rem; font-size: 1rem; font-weight: 600; transition: color 0.3s ease; }
nav a:hover { color: var(--accent-primary); }

/* Buttons */
.btn-primary, .btn-primary-outline, .btn-secondary {
    display: inline-block; padding: 0.8rem 2rem; border-radius: 50px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; cursor: pointer; border: none;
}
.btn-primary { background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-primary-hover) 100%); color: #ffffff; box-shadow: 0 4px 15px rgba(255, 136, 75, 0.3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(255, 136, 75, 0.4); color: #ffffff;}
.btn-primary-outline { background: transparent; border: 2px solid var(--accent-primary); color: var(--accent-primary); padding: 0.7rem 1.9rem; }
.btn-primary-outline:hover { background: rgba(255, 136, 75, 0.1); transform: translateY(-2px); }
.btn-secondary { background: #ffffff; border: 2px solid #ffffff; color: var(--text-primary); box-shadow: 0 4px 15px rgba(0,0,0, 0.05); }
.btn-secondary:hover { border-color: var(--accent-secondary); color: var(--accent-secondary); transform: translateY(-2px); }

/* Layout */
main { padding-top: 100px; max-width: 1200px; margin: 0 auto; }

/* Hero */
.hero { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2rem 5%; gap: 2rem; }

/* Swinging Bell */
.swinging-bell {
    font-size: 4.5rem;
    display: inline-block;
    transform-origin: top center;
    animation: swing 2.5s infinite ease-in-out alternate;
    margin-bottom: 1rem;
    filter: drop-shadow(0 10px 15px rgba(255, 136, 75, 0.3));
}

@keyframes swing {
    0% { transform: rotate(-20deg); }
    100% { transform: rotate(20deg); }
}

.badge { display: inline-block; padding: 0.4rem 1.2rem; background: rgba(92, 148, 110, 0.1); border: 1px solid rgba(92, 148, 110, 0.3); color: var(--accent-secondary); border-radius: 50px; font-size: 0.9rem; font-weight: 700; margin-bottom: 1.5rem; letter-spacing: 1px; }
.title { font-size: clamp(2rem, 10vw, 4.5rem); font-weight: 900; line-height: 1.1; margin-bottom: 1rem; color: var(--accent-secondary); white-space: nowrap; }
.subtitle { font-size: clamp(1.2rem, 5vw, 1.8rem); color: var(--text-primary); font-weight: 600; margin-bottom: 1.5rem; letter-spacing: 2px; }
.description { font-size: 1.15rem; color: var(--text-secondary); margin: 0 auto 2.5rem; max-width: 600px; }
.cta-group { display: flex; gap: 1.5rem; justify-content: center; }

/* Video container */
.video-container { width: 100%; max-width: 900px; margin: 0 auto; overflow: hidden; padding: 0; background-color: #fff; }

/* Sections */
.about, .details { padding: 4rem 5%; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { font-size: 2.5rem; font-weight: 800; margin-bottom: 1rem; color: var(--text-primary); }
.divider { height: 4px; width: 60px; background: var(--accent-secondary); margin: 0 auto; border-radius: 4px; }

/* Info Grid */
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.info-card { padding: 2rem; text-align: center; background: rgba(255, 255, 255, 0.85); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.info-card:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0, 0.08); border-color: rgba(92, 148, 110, 0.3); }
.icon { font-size: 3rem; margin-bottom: 1rem; }
.info-card h3 { font-size: 1.3rem; color: var(--text-primary); margin-bottom: 0.8rem; font-weight: 700; }
.info-card p { color: var(--text-secondary); font-size: 1rem; }

/* Details List */
.about-list { list-style: none; }
.about-list li { display: flex; align-items: flex-start; margin-bottom: 1.5rem; font-size: 1.1rem; color: var(--text-primary); line-height: 1.6; }

/* Register Form */
.register { padding: 2rem 5% 6rem; display: flex; justify-content: center; }
.form-container { width: 100%; max-width: 700px; padding: 3rem; background: rgba(255, 255, 255, 0.95); }
.form-header { text-align: center; margin-bottom: 2rem; }
.form-header h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 0.5rem; }
.form-tabs { display: flex; justify-content: center; gap: 1rem; margin: 1.5rem 0; }
.tab-btn { background: transparent; border: none; padding: 0.5rem 1.5rem; font-size: 1.1rem; font-weight: 700; color: var(--text-secondary); cursor: pointer; border-bottom: 3px solid transparent; transition: all 0.3s ease; }
.tab-btn:hover, .tab-btn.active { color: var(--accent-primary); border-bottom-color: var(--accent-primary); }

.form-group { margin-bottom: 1.5rem; }
label { display: block; margin-bottom: 0.5rem; color: var(--text-primary); font-weight: 600; font-size: 1rem; }
input[type="text"], input[type="tel"], input[type="number"], textarea { width: 100%; background: #ffffff; border: 2px solid rgba(0,0,0,0.1); border-radius: 12px; padding: 1rem; color: var(--text-primary); font-family: inherit; font-size: 1rem; transition: all 0.3s ease; }
input:focus, textarea:focus { outline: none; border-color: var(--accent-secondary); box-shadow: 0 0 0 4px rgba(92, 148, 110, 0.15); }

/* Radio Buttons */
.radio-label { display: flex; align-items: center; background: #fff; padding: 1rem; border-radius: 12px; border: 2px solid rgba(0,0,0,0.1); cursor: pointer; transition: all 0.2s; flex: 1; min-width: 250px; }
.radio-label:hover { border-color: var(--accent-secondary); }
.radio-label input { margin-right: 10px; width: auto; accent-color: var(--accent-secondary); }

/* Price Rows */
.price-row { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
.price-label { flex: 1; display: flex; flex-direction: column; }
.price-desc { font-size: 0.85rem; color: var(--text-secondary); margin-top: 0.2rem; }
.count-input { width: 100px !important; text-align: center; }

.submit-btn { width: 100%; padding: 1.2rem; font-size: 1.2rem; margin-top: 1rem; border-radius: 12px; }

.footer { text-align: center; padding: 2rem; color: var(--text-secondary); background: #ffffff; }

/* Animations */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-up { opacity: 0; transform: translateY(50px); transition: all 0.8s ease; }
.reveal-up.active { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
    .header { padding: 1rem 3%; justify-content: center; }
    .logo { display: none; }
    nav { display: flex; align-items: center; justify-content: center; gap: 0.5rem; width: 100%; }
    nav a { margin-left: 0 !important; font-size: 0.9rem; white-space: nowrap; padding: 0.2rem; }
    nav .btn-primary { padding: 0.5rem 1rem; font-size: 0.9rem; margin-left: 0 !important; }
    .title { font-size: clamp(2rem, 10vw, 3.5rem); }
    .form-container { padding: 1.5rem; }
    .price-row { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .count-input { width: 100% !important; }
}
