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

:root {
    --color-deep-blue: #0a162e;
    --color-dark-red: #7a1818;
    --color-gold: #c9a85c;
    --color-white: #ffffff;
    --color-light-gray: #f0f2f5;
    --color-medium-gray: #5c667a;
    --color-dark-gray: #2a3342;
    --max-width: 1180px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
    color: var(--color-dark-gray);
    line-height: 1.6;
    background-color: var(--color-light-gray);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: var(--color-deep-blue);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--color-white);
    font-size: 20px;
    font-weight: 600;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--color-gold);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-deep-blue);
}

.btn-primary:hover {
    background: #b8974c;
}

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

.btn-secondary:hover {
    background: var(--color-gold);
    color: var(--color-deep-blue);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--color-white);
    border-radius: 1px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Top Poster Carousel */
.poster-carousel-container {
    position: relative;
    background: var(--color-deep-blue);
}

.poster-carousel {
    position: relative;
    overflow: hidden;
}

.poster-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.poster-slide {
    min-width: 100%;
    position: relative;
}

.poster-slide img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
}

.poster-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 22, 46, 0.98), rgba(10, 22, 46, 0.7), transparent);
    padding: 60px 20px 40px;
}

.poster-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.poster-content h1 {
    color: var(--color-white);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.poster-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    max-width: 600px;
    margin-bottom: 24px;
    line-height: 1.7;
}

.poster-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.poster-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    background: rgba(201, 168, 92, 0.95);
    border: none;
    cursor: pointer;
    font-size: 22px;
    color: var(--color-deep-blue);
    transition: all 0.3s ease;
    z-index: 10;
}

.poster-btn:hover {
    background: var(--color-gold);
}

.poster-btn-prev {
    left: 20px;
}

.poster-btn-next {
    right: 20px;
}

.poster-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px 0;
    background: var(--color-deep-blue);
}

.poster-dot {
    width: 14px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.poster-dot.active {
    width: 36px;
    background: var(--color-gold);
}

/* Status Ticker */
.status-ticker {
    background: var(--color-white);
    border-bottom: 2px solid var(--color-gold);
}

.status-ticker-inner {
    display: flex;
    justify-content: space-around;
    padding: 16px 0;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 16px 20px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-number {
    width: 28px;
    height: 28px;
    background: var(--color-deep-blue);
    color: var(--color-gold);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.status-text {
    color: var(--color-dark-gray);
    font-size: 14px;
    font-weight: 500;
}

/* Section */
.section {
    padding: 60px 0;
}

.section-alt {
    background: var(--color-white);
}

.section-dark {
    background: var(--color-deep-blue);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 30px;
    color: var(--color-deep-blue);
    margin-bottom: 12px;
}

.section-dark .section-header h2 {
    color: var(--color-white);
}

.section-header p {
    color: var(--color-medium-gray);
    font-size: 15px;
}

.section-dark .section-header p {
    color: rgba(255, 255, 255, 0.75);
}

/* Featured Section */
.featured-board {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 36px;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-panel {
    background: var(--color-white);
    border-top: 3px solid var(--color-gold);
}

.featured-panel-header {
    background: var(--color-deep-blue);
    padding: 20px 24px;
}

.featured-panel-header h3 {
    color: var(--color-white);
    font-size: 18px;
    font-weight: 600;
}

.featured-item {
    padding: 20px 24px;
    border-bottom: 1px solid #e4e7ed;
}

.featured-item:last-child {
    border-bottom: none;
}

.featured-item h4 {
    color: var(--color-deep-blue);
    font-size: 16px;
    margin-bottom: 6px;
}

.featured-item p {
    color: var(--color-medium-gray);
    font-size: 14px;
    line-height: 1.6;
}

/* Schedule Board */
.schedule-board {
    background: var(--color-white);
}

.schedule-board-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.schedule-board-image {
    text-align: center;
    margin-bottom: 36px;
}

.schedule-board-image img {
    max-width: 360px;
    width: 100%;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
}

.schedule-table th {
    background: var(--color-deep-blue);
    color: var(--color-white);
    padding: 16px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.schedule-table td {
    padding: 16px 12px;
    border-bottom: 1px solid #e4e7ed;
    color: var(--color-dark-gray);
    font-size: 14px;
}

.schedule-table tr:last-child td {
    border-bottom: none;
}

.schedule-type {
    color: var(--color-dark-red);
    font-weight: 600;
}

.schedule-note {
    color: var(--color-gold);
    font-weight: 500;
}

/* Lobby Section */
.lobby-section {
    background: var(--color-deep-blue);
}

.lobby-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.lobby-item {
    background: var(--color-white);
    padding: 32px 24px;
    text-align: center;
}

.lobby-icon {
    margin-bottom: 16px;
}

.lobby-icon img {
    width: 56px;
    height: auto;
}

.lobby-item h3 {
    color: var(--color-deep-blue);
    font-size: 16px;
    margin-bottom: 8px;
}

.lobby-item p {
    color: var(--color-medium-gray);
    font-size: 14px;
    line-height: 1.6;
}

.lobby-image {
    margin-top: 36px;
    text-align: center;
}

.lobby-image img {
    width: 100%;
    max-width: 800px;
    object-fit: cover;
}

/* Timeline Path */
.path-timeline {
    position: relative;
    padding: 20px 0;
}

.path-timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-gold), var(--color-dark-red));
    transform: translateX(-50%);
}

.path-items {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.path-item {
    width: 18%;
    text-align: center;
    position: relative;
}

.path-dot {
    width: 36px;
    height: 36px;
    background: var(--color-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-deep-blue);
    margin: 0 auto 16px;
    position: relative;
    z-index: 1;
}

.path-item h4 {
    color: var(--color-deep-blue);
    font-size: 14px;
    margin-bottom: 6px;
}

.path-item p {
    color: var(--color-medium-gray);
    font-size: 13px;
    line-height: 1.5;
}

.path-image {
    text-align: center;
    margin-bottom: 36px;
}

.path-image img {
    max-width: 360px;
    width: 100%;
}

/* Rules Manual */
.rules-manual {
    background: var(--color-white);
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.rule-card {
    background: var(--color-light-gray);
    border-left: 3px solid var(--color-gold);
    padding: 24px 20px;
}

.rule-card h4 {
    color: var(--color-deep-blue);
    font-size: 15px;
    margin-bottom: 10px;
    font-weight: 600;
}

.rule-card p {
    color: var(--color-medium-gray);
    font-size: 14px;
    line-height: 1.6;
}

.rules-image {
    text-align: center;
    margin-bottom: 36px;
}

.rules-image img {
    max-width: 360px;
    width: 100%;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #d4d9e3;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    background: transparent;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-deep-blue);
    cursor: pointer;
    text-align: left;
}

.faq-question:hover {
    color: var(--color-dark-red);
}

.faq-icon {
    font-size: 18px;
    color: var(--color-gold);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-inner {
    padding: 0 0 18px;
    color: var(--color-medium-gray);
    font-size: 14px;
    line-height: 1.7;
}

/* Bottom CTA */
.cta-section {
    background: url("../pic/wpt-board-bg.webp") center/cover no-repeat;
    position: relative;
    color: var(--color-white);
    text-align: center;
    padding: 60px 0;
}

.cta-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 22, 46, 0.97), rgba(10, 22, 46, 0.92));
}

.cta-section > .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: 28px;
    margin-bottom: 14px;
}

.cta-section p {
    font-size: 15px;
    opacity: 0.85;
    margin-bottom: 28px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--color-deep-blue);
    color: var(--color-white);
    padding: 36px 0;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-logo {
    font-size: 18px;
    font-weight: 600;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-link {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 13px;
}

.footer-link:hover {
    color: var(--color-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
}

.footer-disclaimer {
    font-size: 12px;
    opacity: 0.7;
    line-height: 1.7;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 50px;
    height: 50px;
    background: var(--color-gold);
    color: var(--color-deep-blue);
    border: none;
    border-radius: 2px;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #b8974c;
}

/* Responsive */
@media (max-width: 992px) {
    .featured-board {
        grid-template-columns: 1fr;
    }
    
    .featured-image img {
        height: 360px;
    }
    
    .lobby-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .path-timeline::before {
        display: none;
    }
    
    .path-items {
        flex-direction: column;
        gap: 24px;
    }
    
    .path-item {
        width: 100%;
        display: flex;
        align-items: center;
        gap: 20px;
        text-align: left;
    }
    
    .path-dot {
        margin: 0;
        flex-shrink: 0;
    }
    
    .rules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .poster-slide img {
        height: 460px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--color-deep-blue);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 16px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .poster-slide img {
        height: 520px;
    }
    
    .poster-overlay {
        padding: 50px 16px 30px;
    }
    
    .poster-content h1 {
        font-size: 26px;
    }
    
    .poster-content p {
        font-size: 14px;
    }
    
    .poster-btn {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    
    .poster-btn-prev {
        left: 10px;
    }
    
    .poster-btn-next {
        right: 10px;
    }
    
    .status-ticker-inner {
        flex-direction: column;
        gap: 12px;
        padding: 14px 20px;
    }
    
    .section {
        padding: 44px 0;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .lobby-grid {
        grid-template-columns: 1fr;
    }
    
    .rules-grid {
        grid-template-columns: 1fr;
    }
    
    .schedule-table {
        display: block;
        overflow-x: auto;
    }
    
    .footer-top {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .container {
        padding: 0 18px;
    }
}
