@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;700;900&family=ZCOOL+KuaiLe&display=swap');

:root {
    --red: #c62828;
    --red-dark: #a01c1c;
    --red-light: #e53935;
    --gold: #ffd54f;
    --gold-dark: #f9a825;
    --gold-light: #ffe082;
    --warm-bg: #ffe0b2;
    --warm-bg-light: #fff3e0;
    --brown: #3e2723;
    --brown-light: #5d4037;
    --white: #ffffff;
    --shadow: 0 8px 32px rgba(198, 40, 40, 0.25);
    --shadow-hover: 0 16px 48px rgba(198, 40, 40, 0.4);
    --radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Serif SC', serif;
    color: var(--brown);
    background: var(--warm-bg-light);
    line-height: 1.8;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: var(--red);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--gold-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4 {
    font-family: 'ZCOOL KuaiLe', cursive;
    color: var(--red);
    line-height: 1.3;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Header / Navigation ===== */
.site-header {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 28px;
    color: var(--gold);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 36px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    flex-wrap: wrap;
}

.nav-menu a {
    color: var(--white);
    font-weight: 700;
    padding: 10px 18px;
    border-radius: var(--radius);
    transition: var(--transition);
    font-size: 15px;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: var(--gold);
    color: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 32px;
    cursor: pointer;
}

/* ===== Hero Section ===== */
.hero {
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(255, 213, 79, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(255, 213, 79, 0.15) 0%, transparent 50%),
        linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, var(--gold) 2px, transparent 3px),
        radial-gradient(circle at 90% 80%, var(--gold) 2px, transparent 3px),
        radial-gradient(circle at 30% 70%, var(--gold-light) 1px, transparent 2px),
        radial-gradient(circle at 70% 30%, var(--gold-light) 1px, transparent 2px);
    background-size: 100px 100px, 150px 150px, 80px 80px, 120px 120px;
    opacity: 0.4;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(36px, 6vw, 72px);
    color: var(--gold);
    text-shadow: 3px 3px 8px rgba(0,0,0,0.4);
    margin-bottom: 20px;
    animation: glow 2s ease-in-out infinite alternate;
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 22px);
    color: var(--gold-light);
    margin-bottom: 30px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

@keyframes glow {
    from { text-shadow: 3px 3px 8px rgba(0,0,0,0.4), 0 0 20px rgba(255,213,79,0.5); }
    to { text-shadow: 3px 3px 8px rgba(0,0,0,0.4), 0 0 40px rgba(255,213,79,0.8); }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-weight: 700;
    font-family: 'Noto Serif SC', serif;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--red-dark);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: var(--red-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--red-dark);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--red);
    border: 2px solid var(--red);
}

.btn-outline:hover {
    background: var(--red);
    color: var(--white);
}

/* ===== Section Titles ===== */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: clamp(28px, 4vw, 42px);
    position: relative;
    display: inline-block;
    padding: 0 20px;
}

.section-title h2::before,
.section-title h2::after {
    content: '❋';
    color: var(--gold-dark);
    margin: 0 12px;
    font-size: 0.7em;
}

.section-title p {
    color: var(--brown-light);
    font-size: 16px;
    margin-top: 12px;
}

/* ===== Lantern Decoration ===== */
.lanterns {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 20px 0;
}

.lantern {
    width: 50px;
    height: 65px;
    background: radial-gradient(ellipse at center, var(--red-light) 0%, var(--red) 70%, var(--red-dark) 100%);
    border-radius: 50%;
    position: relative;
    animation: sway 3s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.lantern::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 8px;
    background: var(--gold-dark);
    border-radius: 4px;
}

.lantern::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 15px;
    background: var(--gold-dark);
    border-radius: 2px;
}

.lantern:nth-child(2) { animation-delay: 0.5s; }
.lantern:nth-child(3) { animation-delay: 1s; }

@keyframes sway {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

/* ===== Card Grid ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(198, 40, 40, 0.1);
    position: relative;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--gold);
}

.card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: var(--warm-bg);
}

.card-body {
    padding: 24px;
}

.card-tag {
    display: inline-block;
    background: var(--red);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}

.card-tag.gold {
    background: var(--gold);
    color: var(--red-dark);
}

.card h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.card p {
    color: var(--brown-light);
    font-size: 14px;
    margin-bottom: 12px;
}

.card-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--brown-light);
    flex-wrap: wrap;
}

.card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ===== Highlight Cards (贺岁) ===== */
.highlight-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--warm-bg-light) 100%);
    border: 2px solid var(--gold);
}

.highlight-card .card-tag {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--red-dark);
}

/* ===== Hero Banner on Content Pages ===== */
.page-banner {
    background: 
        radial-gradient(ellipse at center, rgba(255,213,79,0.2) 0%, transparent 60%),
        linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: var(--white);
    padding: 60px 0 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner h1 {
    color: var(--gold);
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 12px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.4);
}

.page-banner p {
    font-size: 18px;
    color: var(--gold-light);
    max-width: 700px;
    margin: 0 auto;
}

.breadcrumb {
    background: var(--warm-bg);
    padding: 12px 0;
    font-size: 14px;
    color: var(--brown-light);
}

.breadcrumb a {
    color: var(--red);
}

.breadcrumb .separator {
    margin: 0 8px;
    color: var(--gold-dark);
}

/* ===== Wishes Wall ===== */
.wishes-wall {
    background: linear-gradient(135deg, var(--warm-bg-light) 0%, var(--warm-bg) 100%);
}

.wishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.wish-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 4px solid var(--red);
    position: relative;
}

.wish-card::before {
    content: '福';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: var(--red);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 18px;
}

.wish-card h4 {
    color: var(--red);
    margin-bottom: 12px;
    font-size: 18px;
}

.wish-card p {
    color: var(--brown-light);
    font-size: 14px;
    line-height: 1.7;
}

.wish-card .wish-meta {
    margin-top: 16px;
    font-size: 13px;
    color: var(--gold-dark);
    font-style: italic;
}

/* ===== Countdown / Feature Banner ===== */
.feature-banner {
    background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
    color: var(--white);
    border-radius: var(--radius);
    padding: 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 40px 0;
}

.feature-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(255,213,79,0.2) 0%, transparent 40%),
                radial-gradient(circle at 80% 70%, rgba(255,213,79,0.2) 0%, transparent 40%);
}

.feature-banner > * {
    position: relative;
    z-index: 1;
}

.feature-banner h2 {
    color: var(--gold);
    font-size: clamp(28px, 4vw, 44px);
    margin-bottom: 16px;
}

.feature-banner p {
    font-size: 18px;
    color: var(--gold-light);
    margin-bottom: 24px;
}

/* ===== Program List (Gala) ===== */
.program-list {
    list-style: none;
}

.program-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-left: 4px solid var(--gold);
}

.program-item:hover {
    transform: translateX(8px);
    border-left-color: var(--red);
}

.program-num {
    width: 48px;
    height: 48px;
    background: var(--red);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 20px;
    flex-shrink: 0;
}

.program-info {
    flex: 1;
}

.program-info h4 {
    color: var(--brown);
    font-size: 18px;
    margin-bottom: 4px;
    font-family: 'Noto Serif SC', serif;
}

.program-info p {
    color: var(--brown-light);
    font-size: 14px;
}

.program-type {
    background: var(--warm-bg);
    color: var(--red);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

/* ===== Timeline (Gala History) ===== */
.timeline {
    position: relative;
    padding-left: 40px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--red), var(--gold));
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 6px;
    width: 14px;
    height: 14px;
    background: var(--red);
    border: 3px solid var(--gold);
    border-radius: 50%;
    z-index: 1;
}

.timeline-year {
    font-family: 'ZCOOL KuaiLe', cursive;
    font-size: 22px;
    color: var(--red);
}

.timeline-item h4 {
    color: var(--brown);
    font-size: 17px;
    margin: 4px 0;
    font-family: 'Noto Serif SC', serif;
}

.timeline-item p {
    color: var(--brown-light);
    font-size: 14px;
}

/* ===== Contact Form ===== */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 700;
    color: var(--brown);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--warm-bg);
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    color: var(--brown);
    transition: var(--transition);
    background: var(--warm-bg-light);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ===== Info Boxes ===== */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.info-box {
    text-align: center;
    padding: 36px 28px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--red);
}

.info-box:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.info-box-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.info-box h3 {
    color: var(--red);
    margin-bottom: 12px;
    font-size: 22px;
}

.info-box p {
    color: var(--brown-light);
    font-size: 15px;
    line-height: 1.7;
}

/* ===== Footer ===== */
.site-footer {
    background: linear-gradient(135deg, var(--brown) 0%, #1b0e0a 100%);
    color: var(--warm-bg);
    padding: 60px 0 0;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-col h4 {
    color: var(--gold);
    font-size: 18px;
    margin-bottom: 20px;
    font-family: 'ZCOOL KuaiLe', cursive;
    position: relative;
    padding-bottom: 12px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gold);
    border-radius: 2px;
}

.footer-col p {
    color: var(--warm-bg);
    opacity: 0.8;
    font-size: 14px;
    line-height: 1.8;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: var(--warm-bg);
    opacity: 0.8;
    font-size: 14px;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: var(--gold);
    opacity: 1;
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--warm-bg);
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding: 24px 20px;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    color: var(--warm-bg);
    opacity: 0.6;
}

/* ===== Badge / Labels ===== */
.badge-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--red);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
    animation: pulse 2s infinite;
}

.badge-live::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    50% { opacity: 0.3; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

/* ===== Video Card ===== */
.video-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.video-thumb {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--warm-bg);
}

.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.video-card:hover .video-thumb img {
    transform: scale(1.05);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background: rgba(198, 40, 40, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 24px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.video-card:hover .play-btn {
    background: var(--red);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 20px;
}

.video-info h4 {
    color: var(--brown);
    font-size: 17px;
    margin-bottom: 8px;
    font-family: 'Noto Serif SC', serif;
}

.video-info p {
    color: var(--brown-light);
    font-size: 13px;
}

/* ===== Activity List ===== */
.activity-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.activity-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.activity-header {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.activity-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.activity-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--red);
    color: var(--gold);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    z-index: 2;
}

.activity-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.activity-body h3 {
    color: var(--red);
    font-size: 20px;
    margin-bottom: 10px;
}

.activity-body p {
    color: var(--brown-light);
    font-size: 14px;
    margin-bottom: 16px;
    flex: 1;
}

.activity-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--brown-light);
}

.activity-footer .btn {
    padding: 8px 20px;
    font-size: 14px;
}

/* ===== Tiger Mascot ===== */
.tiger-mascot {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    background: radial-gradient(circle, var(--gold) 0%, var(--gold-dark) 70%, var(--red) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    animation: bounce 2s ease-in-out infinite;
}

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

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--red-dark);
        flex-direction: column;
        padding: 20px;
        gap: 8px;
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        box-shadow: var(--shadow);
    }

    .nav-menu.open {
        transform: translateY(0);
    }

    .nav-menu a {
        display: block;
        text-align: center;
        padding: 14px 20px;
    }

    .hero {
        padding: 50px 0;
    }

    .section {
        padding: 50px 0;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .feature-banner {
        padding: 30px 20px;
    }

    .program-item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .contact-form {
        padding: 24px;
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== Utility ===== */
.text-center { text-align: center; }
.text-red { color: var(--red); }
.text-gold { color: var(--gold); }
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.mb-40 { margin-bottom: 40px; }
