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

html {
    scroll-behavior: smooth;
}

body {
    font-family: siyuansong, sans-serif;
    line-height: 1.6;
    color: #333;
}

@font-face {
    font-family: siyuansong;
    src: url('../fonts/SourceHanSerifCN-Bold-2-fix.otf');
}

.error-description {
    margin-top: 2rem;
    text-align: center;
}

.error-description p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.btn-home {
    display: inline-block;
    padding: 10px 20px;
    background-color: #fc931b;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-home:hover {
    background-color: #e88518;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: 0.5s ease-in-out;
}

body.loaded .loader-wrapper {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-image {
    max-width: 100px;
}

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

.navbar {
    background-color: transparent;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    transition: 0.3s ease;
    height: 80px;
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    background-color: #fff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: 60px;
}

.navbar.scrolled .nav-link {
    color: #333;
    text-shadow: none;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.nav-logo img {
    height: 35px;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-item:not(:last-child) {
    margin-right: 2rem;
}

.nav-link {
    text-decoration: none;
    color: rgb(32, 24, 0);
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    font-weight: 500;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-link.black {
    color: #333;
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active,
.nav-link:hover,
.nav-link.active {
    color: #ff8800;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 21px;
    position: relative;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 3px;
    transition: 0.3s ease;
    transform-origin: center;
}

.hamburger span:nth-child(1) {
    transform: translateY(0px);
}

.hamburger span:nth-child(2) {
    margin: 6px 0;
    opacity: 1;
}

.hamburger span:nth-child(3) {
    transform: translateY(0px);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.hero-section {
    height: 100vh;
    background: url('../img/bg.webp') no-repeat center center/cover;
    background-blend-mode: overlay;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    padding: 100px 2rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-404-section {
    height: 100vh;
    background-blend-mode: overlay;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: rgb(53, 53, 53);
}

body.loaded .hero-content {
    margin-top: 10px;
    margin-left: 35px;
    color: rgb(32, 24, 0);
    animation: titleAnimation 3s cubic-bezier(0.00, 0.00, 0.00, 1.00);
}

@keyframes titleAnimation {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }

    15% {
        opacity: 0;
        transform: translateX(20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: left;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: left;
}

body.loaded .countdown {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    color: rgb(32, 24, 0);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: countdownAnimation 3s cubic-bezier(0.00, 0.00, 0.00, 1.00);
}

@keyframes countdownAnimation {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }

    15% {
        opacity: 0;
        transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.countdown-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-align: right;
}

.countdown-timer {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: right;
}

.countdown-days,
.countdown-hours,
.countdown-minutes,
.countdown-seconds {
    font-weight: bold;
}

.info-section {
    padding: 5rem 0;
}

.title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: -5px;
    color: #333;
}

.subtitle {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #9e5f00;
    font-weight: 400;
}

.info-text {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.venue-section {
    padding: 5rem 0;
}

.venue-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.venue-image {
    flex: 1;
    min-width: 300px;
}

.venue-image img {
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
}

.venue-info {
    flex: 1;
    min-width: 300px;
}

.venue-name {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

.venue-name span {
    font-size: 1rem;
    color: #583319;
    font-weight: 500;
}

.venue-address {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #555;
    font-weight: 500;
}

.venue-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #666;
}

.activities-section {
    padding: 5rem 0;
}

.activity-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.activity-tab {
    background: none;
    border: none;
    font-size: 1.2rem;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    padding: 0.5rem 1.5rem;
    margin: 0 0.5rem;
    position: relative;
    transition: color 0.3s ease;
}

.activity-tab.active {
    color: #9e5f00;
}

.activity-tab::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #9e5f00;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.activity-tab.active::after {
    transform: scaleX(1);
}

.activity-content {
    position: relative;
}

.activity-item {
    display: none;
}

.activity-item.active {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
}

.activity-image {
    flex: 1;
    min-width: 300px;
}

.activity-image img {
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
}

.activity-info {
    flex: 1;
    min-width: 300px;
}

.activity-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

.activity-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #666;
}

.activity-details p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #555;
}

.qa-section {
    padding: 5rem 0;
}

.qa-container {
    max-width: 800px;
    margin: 0 auto;
}

.qa-item {
    background-color: white;
    border: 1px solid #e0e0e0;
    margin-bottom: 1rem;
    overflow: hidden;
}

.qa-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
}

.qa-question:hover {
    background-color: rgba(252, 147, 27, 0.05);
}

.qa-question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
}

.qa-icon {
    font-size: 1.2rem;
    font-weight: bold;
    color: #fc931b;
    transition: transform 0.3s ease;
}

.qa-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.qa-answer p {
    margin: 0;
    padding: 1.5rem 0;
    line-height: 1.6;
    color: #666;
}

.qa-item.active .qa-icon {
    transform: rotate(45deg);
}

.qa-item.active .qa-answer {
    max-height: 500px;
}

@media (max-width: 768px) {
    .qa-section {
        padding: 3rem 0;
    }

    .qa-question {
        padding: 1.2rem;
    }

    .qa-question h3 {
        font-size: 1rem;
    }

    .qa-answer p {
        padding: 1.2rem 0;
    }
}

.tickets-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.ticket-card {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    padding: 2rem;
    position: relative;
}

.ticket-card.welfare {
    border-color: #9e5f00;
    background-color: #fff9f0;
}

.ticket-header {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.ticket-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 0;
}

.welfare-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: #9e5f00;
    color: white;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: 600;
}

.ticket-body {
    text-align: center;
}

.ticket-price {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
}

.ticket-card.welfare .price {
    color: #9e5f00;
}

.period {
    font-size: 1rem;
    color: #666;
    margin-left: 5px;
}

.original-price {
    position: absolute;
    top: -10px;
    right: -60px;
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
}

.welfare-conditions {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
    text-align: left;
}

.ticket-includes {
    list-style: none;
    text-align: left;
    margin-bottom: 1rem;
}

.ticket-includes li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.ticket-includes li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #9e5f00;
    font-weight: bold;
}

.welfare-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.welfare-tab {
    padding: 8px 16px;
    background-color: transparent;
    border: 1px solid #9e5f00;
    color: #9e5f00;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.welfare-tab:hover {
    background-color: rgba(252, 147, 27, 0.1);
}

.welfare-tab.active {
    background-color: #9e5f00;
    color: white;
}

.welfare-content {
    display: none;
    margin-bottom: 1.5rem;
}

.welfare-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.welfare-list {
    background-color: rgba(252, 147, 27, 0.1);
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.welfare-list li::before {
    content: '•';
    color: #9e5f00;
}

.activity-details strong {
    color: #333;
}

.footer {
    background-color: #ffebdd;
    color: #000;
    padding: 2rem 0;
    position: relative;
    overflow: hidden;
    min-height: 150px;
}

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

.footer-left {
    flex: 1;
    min-width: 200px;
    text-align: left;
}

.footer-logo img {
    height: 50px;
    display: block;
    margin-bottom: 1rem;
}

.copyright {
    font-size: 0.9rem;
    margin: 0;
    color: #000;
}

.copyright a {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-right {
    flex: 1;
    min-width: 200px;
    text-align: right;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    color: #000;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.copyright a:hover,
.footer-links a:hover {
    color: #9e5f00;
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .navbar {
        background-color: #fff;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: left 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1rem 0 !important;
    }

    .nav-link {
        color: #333 !important;
        font-size: 1.2rem;
    }

    .nav-container {
        flex-direction: row;
        padding: 0 1rem;
    }

    .navbar.scrolled .nav-menu {
        top: 60px;
        height: calc(100vh - 60px);
    }

    .hero-content h1 {
        font-size: 2rem;
        text-align: left;
    }

    .hero-content p {
        font-size: 1rem;
        text-align: left;
    }

    .countdown {
        right: 1rem;
        bottom: 1rem;
        left: auto;
    }

    .countdown-title {
        font-size: 1rem;
    }

    .countdown-timer {
        font-size: 1.2rem;
    }

    .info-title {
        font-size: 2rem;
    }

    .venue-title {
        font-size: 2rem;
    }

    .info-subtitle {
        font-size: 1rem;
    }

    .venue-subtitle {
        font-size: 1rem;
    }

    .venue-content {
        flex-direction: column;
        gap: 1.5rem;
    }

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

    .venue-name {
        font-size: 1.5rem;
    }

    .venue-address {
        font-size: 1.1rem;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-left,
    .footer-right {
        text-align: center;
        min-width: 100%;
    }

    .footer-logo img {
        margin: 0 auto 1rem;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-links li {
        margin: 0.5rem;
    }

    .activity-item.active {
        flex-direction: column;
        gap: 1.5rem;
    }

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

    .activity-title {
        font-size: 1.5rem;
    }

    .tickets-container {
        gap: 2rem;
    }

    .ticket-card {
        width: 100%;
        max-width: none;
    }

    .error-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}

@keyframes rgbColorShift {
    0% {
        color: #ff0000;
    }

    16.66% {
        color: #ff8800;
    }

    33.33% {
        color: #ffff00;
    }

    50% {
        color: #00ff00;
    }

    66.66% {
        color: #0088ff;
    }

    83.33% {
        color: #8800ff;
    }

    100% {
        color: #ff0000;
    }
}

.rainbow {
    animation: rgbColorShift 3s infinite;
}