:root {
    --color-green: #658D1B;
    --color-white: #F0EEE9;
    --color-black: #373A36;
    --color-gray: #808080;
    --color-light-gray: #E0DDD9;
    --color-red: #C63527;
    --color-yellow: #BE6A14;
    --color-blue: #006272;
    --color-brown: #6F5137;
    font-family: 'Noto Sans SC', sans-serif;
}

a[target="_blank"]::after {
    content: '↗';
    margin-left: 4px;
    font-size: 0.8em;
    opacity: 0.7;
}

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

::selection {
    background-color: var(--color-green);
    color: var(--color-white);
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-boxes {
    display: flex;
    gap: 20px;
}

.loading-box {
    width: 40px;
    height: 40px;
    opacity: 0;
}

.loading-blue {
    background-color: var(--color-blue);
    animation: loadingFade 0.5s ease-in-out;
}

.loading-yellow {
    background-color: var(--color-yellow);
    animation: loadingFade 0.5s ease-in-out 0.1s;
}

.loading-black {
    background-color: var(--color-black);
    animation: loadingFade 0.5s ease-in-out 0.2s;
}

.loading-green {
    background-color: var(--color-green);
    animation: loadingFade 0.5s ease-in-out 0.3s;
}

.loading-red {
    background-color: var(--color-red);
    animation: loadingFade 0.5s ease-in-out 0.4s;
}

@keyframes loadingFade {
    0% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    color: var(--color-black);
    background-color: var(--color-white);
}

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

.header {
    background-color: var(--color-white);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-top {
    padding: 10px 0;
    border-bottom: 4px solid var(--color-green);
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 48px;
    width: auto;
}

.logo-placeholder {
    width: 48px;
    height: 48px;
    background-color: var(--color-green);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 16px;
}

.logo-text {
    font-size: 12px;
    color: var(--color-black);
    font-weight: 600;
}

.nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    color: var(--color-black);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.nav-link:hover {
    border-bottom-color: var(--color-green);
    color: var(--color-green);
}

.nav-link.active {
    border-bottom-color: var(--color-green);
    color: var(--color-green);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    background-color: var(--color-white);
    border: 2px solid var(--color-green);
    padding: 8px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 3px;
    background-color: var(--color-green);
}

.countdown-bar {
    background-color: var(--color-brown);
    padding: 8px 0;
}

.countdown-bar .container {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.countdown-label {
    color: var(--color-white);
    font-size: 12px;
    font-weight: 500;
}

.countdown-time {
    color: var(--color-white);
    font-size: 24px;
    font-weight: 900;
}

main {
    margin-top: 120px;
}

.banner {
    height: calc(100vh - 120px);
    background-color: var(--color-light-gray);
    display: flex;
    align-items: center;
    min-height: 400px;
    position: relative;
}

.banner-text {
    text-align: left;
}

.banner-btn {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 32px;
    background-color: var(--color-green);
    color: var(--color-white);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid var(--color-green);
}

.banner-btn:hover {
    background-color: var(--color-white);
    color: var(--color-green);
    border-color: var(--color-green);
}

.banner-chinese {
    font-size: 48px;
    font-weight: 900;
    color: var(--color-white);
    margin-bottom: 16px;
    line-height: 1.2;
}

.banner-english {
    font-size: 24px;
    font-weight: 500;
    color: var(--color-white);
    opacity: 0.9;
}

.color-yellow {
    color: var(--color-yellow);
}

.color-blue {
    color: var(--color-blue);
}

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

.color-green {
    color: var(--color-green);
}

.color-brown {
    color: var(--color-brown);
}

.countdown-section {
    padding: 60px 0;
    background-color: var(--color-white);
}

.countdown-content {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: center;
}

.emblem-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.countdown-main {
    text-align: center;
}

.countdown-main h2 {
    font-size: 24px;
    font-weight: 900;
    color: var(--color-black);
    margin-bottom: 12px;
}

.countdown-date {
    font-size: 14px;
    color: var(--color-gray);
    margin-bottom: 24px;
}

.countdown-display {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--color-brown);
    padding: 16px 24px;
    min-width: 100px;
    width: 100px;
}

.countdown-number {
    font-size: 48px;
    font-weight: 900;
    color: var(--color-white);
}

.countdown-unit {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-white);
}

.philosophy-section {
    padding: 60px 0;
    background-color: var(--color-light-gray);
}

.philosophy-section h2 {
    font-size: 28px;
    font-weight: 900;
    color: var(--color-black);
    margin-bottom: 30px;
}

.philosophy-content {
    display: block;
}

.quote-text {
    width: 100%;
}

.quote-text p {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-black);
    line-height: 1.8;
    margin-bottom: 16px;
}

.quote-source {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-black);
    margin-top: 24px !important;
}

.join-section {
    padding: 60px 0;
    background-color: var(--color-white);
}

.join-section h2 {
    font-size: 28px;
    font-weight: 900;
    color: var(--color-black);
    margin-bottom: 30px;
}

.join-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.join-image {
    flex: 1;
}

.image-placeholder {
    width: 100%;
    height: 280px;
    background-color: var(--color-green);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder span {
    color: var(--color-white);
    font-size: 16px;
    font-weight: 600;
}

.join-qrcode {
    width: 100%;
    height: 280px;
    object-fit: contain;
}

.join-info {
    flex: 1;
}

.join-info p {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-black);
    margin-bottom: 16px;
    line-height: 1.6;
}

.join-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.group-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-black);
}

.group-number {
    font-size: 24px;
    font-weight: 900;
    color: var(--color-green);
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    background-color: var(--color-green);
    color: var(--color-white);
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: 3px solid var(--color-green);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--color-white);
    color: var(--color-green);
    border-color: var(--color-green);
}

.faq-section {
    padding: 60px 0;
    background-color: var(--color-light-gray);
}

.faq-section h2 {
    font-size: 28px;
    font-weight: 900;
    color: var(--color-black);
    margin-bottom: 30px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    width: 100%;
}

.faq-question {
    width: 100%;
    padding: 16px;
    background-color: var(--color-green);
    color: var(--color-white);
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-align: left;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 16px;
    background-color: var(--color-white);
    transition: all 0.3s ease;
}

.faq-answer.active {
    max-height: 200px;
    padding: 16px;
}

.faq-answer a {
    color: var(--color-green);
    text-decoration: underline;
}

.faq-answer p {
    font-size: 14px;
    font-weight: 400;
    color: var(--color-black);
    line-height: 1.6;
}

.footer {
    background-color: var(--color-black);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    gap: 60px;
}

.footer-section {
    flex: 1;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 900;
    color: var(--color-white);
    margin-bottom: 16px;
}

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

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

.footer-section ul li a {
    text-decoration: none;
    color: var(--color-white);
    font-size: 14px;
    font-weight: 400;
}

.footer-section ul li a:hover {
    color: var(--color-green);
}

.footer-section ul li:not(:has(a)) {
    color: var(--color-white);
    font-size: 14px;
    font-weight: 400;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-image {
    width: 120px;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer-copyright {
    color: var(--color-white);
    font-size: 12px;
    font-weight: 400;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--color-white);
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--color-white);
        padding: 20px;
        border-bottom: 4px solid var(--color-green);
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 12px;
    }

    .nav-link {
        display: block;
        text-align: center;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .banner-chinese {
        font-size: 32px;
    }

    .banner-english {
        font-size: 18px;
    }

    .countdown-content {
        flex-direction: column;
        gap: 24px;
    }

    .countdown-display {
        flex-wrap: wrap;
        gap: 12px;
    }

    .countdown-item {
        padding: 12px 16px;
    }

    .countdown-number {
        font-size: 32px;
    }

    .join-content {
        flex-direction: column;
        gap: 24px;
    }

    .join-image,
    .join-info {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .countdown-bar .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .countdown-time {
        font-size: 18px;
    }
}

.about-banner {
    padding: 60px 0;
    background-color: var(--color-light-gray);
}

.about-banner .container {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

.about-banner h1 {
    font-size: 32px;
    font-weight: 900;
    color: var(--color-black);
    text-align: left;
}

.about-banner .member-photo-container {
    margin-bottom: 0;
    flex-shrink: 0;
}

.about-banner .member-photo-container .committee-photo {
    width: 120px;
    height: 120px;
}

.about-banner .member-info {
    text-align: left;
    margin-bottom: 0;
}

.about-banner .member-info h1 {
    font-size: 32px;
    font-weight: 900;
    color: var(--color-black);
    margin-bottom: 16px;
    text-align: left;
}

.about-banner .member-positions p {
    font-size: 16px;
    color: var(--color-black);
    margin: 4px 0;
}

.about-content {
    padding: 60px 0;
    background-color: var(--color-white);
}

.about-section {
    margin-bottom: 40px;
}

.about-section:last-child {
    margin-bottom: 0;
}

.about-section h2 {
    font-size: 24px;
    font-weight: 900;
    color: var(--color-green);
    margin-bottom: 20px;
}

.committee-section {
    padding: 60px 0;
    background-color: var(--color-white);
}

.committee-section h2 {
    font-size: 24px;
    font-weight: 900;
    color: var(--color-green);
    margin-bottom: 40px;
    text-align: center;
}

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

.committee-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.committee-photo {
    width: 180px;
    height: 180px;
    background-color: var(--color-light-gray);
    margin-bottom: 16px;
    object-fit: cover;
    border-width: 4px;
    border-style: solid;
    border-top-color: var(--color-green);
    border-right-color: var(--color-red);
    border-bottom-color: var(--color-blue);
    border-left-color: var(--color-yellow);
}

.committee-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-green);
    margin-bottom: 4px;
}

.committee-card h3 a {
    color: var(--color-green);
    text-decoration: none;
}

.committee-card p {
    font-size: 14px;
    color: var(--color-black);
    margin: 2px 0;
}

.member-content {
    padding: 60px 0;
}

.member-content .container {
    max-width: 800px;
}

.member-photo-container {
    text-align: center;
    margin-bottom: 30px;
}

.member-photo-container .committee-photo {
    width: 220px;
    height: 220px;
}

.member-info {
    text-align: center;
    margin-bottom: 40px;
}

.member-info h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--color-green);
    margin-bottom: 16px;
}

.member-positions p {
    font-size: 16px;
    color: var(--color-black);
    margin: 4px 0;
}

.member-description {
    line-height: 1.8;
    text-align: left;
}

.member-description p {
    font-size: 16px;
    color: var(--color-black);
    margin-bottom: 16px;
}

@media (max-width: 992px) {
    .committee-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    .committee-photo {
        width: 150px;
        height: 150px;
    }

    .member-photo-container .committee-photo {
        width: 180px;
        height: 180px;
    }

    .member-info h2 {
        font-size: 24px;
    }

    .member-description p {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .committee-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .committee-photo {
        width: 120px;
        height: 120px;
    }

    .about-banner .container {
        flex-direction: column;
        text-align: center;
    }

    .about-banner .member-info {
        text-align: center;
    }

    .about-banner h1 {
        text-align: center;
    }
}

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

    .committee-photo {
        width: 100px;
        height: 100px;
    }
}

.about-section p {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-black);
    line-height: 1.8;
    margin-bottom: 16px;
    text-align: justify;
}

.about-section p:last-child {
    margin-bottom: 0;
}

@media (max-width: 480px) {
    .banner-chinese {
        font-size: 24px;
    }

    .banner-english {
        font-size: 14px;
    }

    .countdown-main h2 {
        font-size: 18px;
    }

    .countdown-number {
        font-size: 24px;
    }

    .footer-section ul li {
        font-size: 12px;
    }

    .countdown-time {
        font-size: 14px;
    }
}