:root {
    --primary-color: #f0c674;
    --secondary-color: #8abeb7;
    --bg-color: #1d1f21;
    --text-color: #c5c8c6;
    --accent-color: #cc6666;
    --modal-bg: rgba(29, 31, 33, 0.95);
    --nav-bg: rgba(29, 31, 33, 0.9);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /*background-color: #FFF;*/
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    /*background-color: #5b7834;*/
    background: url("../images/nav_bar.png") center/cover no-repeat;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid #333;
}

.logo img {
    height: 50px;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: #f4f2c7;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #b6ec60;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: 0.3s;
}

/* Video Showcase */
.video-showcase {
    text-align: center;
    padding: 40px 20px;
    background: url('../video_placeholder.png') no-repeat center center/cover;
    /*min-height: 60vh;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.video-container {
    position: relative;
    max-width: 800px;
    width: 100%;
    margin-bottom: 30px;
    border: none;
    box-shadow: 0 0 20px rgba(240, 198, 116, 0.3);
}

.video-thumb {
    width: 100%;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: var(--primary-color);
    background: rgba(0, 0, 0, 0.6);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}

.play-button:hover {
    background: rgba(240, 198, 116, 0.2);
    transform: translate(-50%, -50%) scale(1.1);
}

.game-intro-text h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 2rem;
}

.game-intro-text p {
    max-width: 700px;
    margin: 0 auto;
    color: #364330;
}

/* Reservation Section */
.reservation-section {
    padding: 60px 20px;
    text-align: center;
    background-color: #fff;
    border: none;
    margin-top: -3px;
}

.reservation-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.cta-button {
    width: 100%;
    max-width: 278px;
    aspect-ration: 20/9;
    margin-top: 20px;
    min-height: 74px;
    padding: 15px 50px;
    font-size: 1.2rem;
    /* background-color: var(--primary-color); */
    background: url("../images/cta_button_normal_4x.png") center/cover no-repeat;
    border: none;
    background-size: contain;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
}

.cta-button:hover {
    margin-top: 20px;
    padding: 15px 50px;
    font-size: 1.2rem;
    background: url("../images/cta_button_hover.png") center/cover no-repeat;
    border: none;
}

.cta-button:active {
    margin-top: 20px;
    padding: 15px 50px;
    font-size: 1.2rem;
    background: url("../images/cta_button_click.png") center/cover no-repeat;
    border: none;
    border-radius: 10px;
}


.tap-button {
    width: 100%;
    max-width: 199px;
    margin-top: 20px;
    padding: 15px 50px;
    font-size: 1.2rem;
    /* background-color: var(--primary-color); */
    background: url("../images/tap_normal.png") center/cover no-repeat;
    border: none;
    border-radius: 10px;
}

.tap-button:hover {
    margin-top: 20px;
    padding: 15px 50px;
    font-size: 1.2rem;
    background: url("../images/tap_hover.png") center/cover no-repeat;
    border: none;
}

.tap-button:active {
    margin-top: 20px;
    padding: 15px 50px;
    font-size: 1.2rem;
    background: url("../images/tap_click.png") center/cover no-repeat;
    border: none;
}

.banner-container {
    max-width: 100%;
    /*max-width: 800px;*/
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border: none;
    color: #225d1a;
}

#banner-title{
    width: 100%;
    max-width: 800px;
}

.banner-content {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin: 20px 0;
    font-weight: bold;
    align-content: center;
    color: #91ce3c;
    width: 100%;
    max-width: 800px;
}

.banner-content a{
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin: 20px 0;
    font-weight: bold;
    align-content: center;
    color: #91ce3c;
    /*text-decoration: none;*/
}


.banner-date {
    font-size: 0.9rem;
    color: #888;
}

/* Social Media */
.social-media {
    padding: 50px 20px;
    text-align: center;
    background-color: #15312d;
}

.social-media h2 {
    margin-bottom: 30px;
    color: #c5c5c5;
}

.qr-codes {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.qr-item {
    text-align: center;
    color: #c5c5c5;
}

.qr-item img {
    width: 150px;
    height: 150px;
    margin-bottom: 10px;
    border: 2px solid #444;
    padding: 5px;
    background: #fff;
}

/* Footer */
footer {
    background-color: #111;
    padding: 40px 20px;
    text-align: center;
    font-size: 0.8rem;
    color: #666;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    margin: 0 10px;
}

.footer-info p {
    margin: 5px 0;
}

.footer-info a {
    color: #888;
    text-decoration: none;
    margin: 0 10px;
}

/* Page Content (for subpages) */
.page-content {
    padding: 100px 20px;
    max-width: 800px;
    margin: 0 auto;
    min-height: 80vh;
}

.page-content h1 {
    color: var(--primary-color);
    margin-bottom: 30px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.news-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}

.news-item h3 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.news-item .date {
    font-size: 0.8rem;
    color: #666;
    display: block;
    margin-bottom: 10px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--nav-bg);
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .qr-codes {
        gap: 20px;
    }

    .qr-item img {
        width: 100px;
        height: 100px;
    }
}

/* Modal (Keep existing styles) */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: #ddd;
    padding: 40px;
    border: 1px solid #a9ca93;
    border-radius: 5px;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    transform: translateY(-50px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #364330;
}

.form-group placeholder {
    color: #d9e3ba;
}

.form-group input {
    width: 100%;
    padding: 10px;
    background-color: #b6c691;
    border: 1px solid #e3e3e3;
    color: #364330;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    /*border-color: var(--primary-color);*/
}

.verify-group {
    display: flex;
    gap: 10px;
}

.verify-group input {
    flex: 1;
}

.send-code-btn {
    padding: 0 15px;
    background-color: #719ac8;
    border: none;
    color: #fff;
    cursor: pointer;
    font-weight: bold;
}

.send-code-btn:disabled {
    background-color: #555;
    cursor: not-allowed;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #5b7834;
    border: none;
    color: #d9e3ba;
    font-size: 1.1rem;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #e0b664;
}

.hidden {
    display: none;
}

.success-message {
    text-align: center;
    color: var(--secondary-color);
}

.success-message h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.carousel-container {
    width:100%;
    max-width: 800px; /* 轮播图宽度 */
    aspect-ration: 16/9; /*关键，锁定长宽比，自动计算高度 */
    position: relative;
    overflow: hidden; /* 关键：隐藏溢出的图片 */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    margin: 0 auto;
}

.carousel-track {
    display: flex; /* 让图片横向排列 */
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.25,1,0.5,1); /* 关键：平滑过渡动画 */
}

.carousel-slide {
    min-width: 100%; /* 每张幻灯片占满容器宽度 */
    height: 100%;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保持图片比例填充 */
    display: block;
}

/* 按钮样式 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.3);
    color: #333;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 24px;
    z-index: 10;
    border-radius: 50%;
    backdrop-filter: blur(2px);
    transition: all 0.3s;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.carousel-btn:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

/* 底部指示点样式 */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    width:100%;
    display: flex;
    gap: 10px;
    justify-content: center;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s;
}

.dot.active {
    background-color: white;
    transform: scale(1.2);
}

/* --- 媒体查询：针对手机屏幕的特殊处理 --- */
@media (max-width: 600px) {
    /* 手机端按钮可以稍微小一点，或者依靠滑动 */
    .carousel-btn {
        width: 32px;
        height: 32px;
        font-size: 16px;
        /* 在手机上，左右按钮可能遮挡内容，可以考虑透明度降低 */
        opacity: 0.7; 
    }
    
    .prev-btn { left: 5px; }
    .next-btn { right: 5px; }
    
    .carousel-dots {
        bottom: 10px;
    }
}