body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: #111;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/image/bg1.png') center/400% no-repeat;
    opacity: 0.8;
    z-index: -1;
}



.container {
    position: relative;
    z-index: 2;
}

.main-wrapper {
    width: 40%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.content-container {
    width: 100%;
    margin: 0 auto;
    position: relative;
}

header {
    position: absolute;
    left: -150px;
    top: 60px;
    z-index: 100;
}

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

.logo img {
    width: 200px;
    height: auto;
    object-fit: contain;
    filter: invert(50%) sepia(91%) saturate(861%) hue-rotate(6deg) brightness(112%) contrast(103%);
}

@media screen and (max-width: 768px) {
    .corner-decoration {
        width: 100px;
        height: 100px;
    }

    .main-wrapper {
        width: 90%;
    }

    header {
        position: relative;
        left: 0;
        top: 0;
        margin-bottom: 20px;
    }

    .logo img {
        width: 100px;

        padding: 10px 0;
    }

    header {
        padding: 15px;

    }

}

/* 桌面端样式 */
@media screen and (min-width: 769px) {
    header {
        width: 140%;
        left: 50%;
        transform: translateX(-50%);
    }

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

    .rules {
        display: block !important;
        position: relative;
        z-index: 10;
    }
    .rules-link {
        pointer-events: auto;
    }
    .rules-menu,
    .rules-menu-btn,
    .rules-menu-list {
        display: none !important;
    }
    
    .rules-link {
    display: inline-block;
    background: #FFA500;
    color: #000;
    font-weight: bold;
    font-size: 20px;
    padding: 10px 32px;
    text-decoration: none;
    transition: background 0.2s;
}
.rules-link:hover {
    background: #ffb733;
}

    .rules img {
        width: 200px;
        height: auto;
    }

}

@media screen and (max-width: 768px) {
    header {
        position: relative;
        padding-top: 30px;
    }

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

        box-sizing: border-box;
    }

    .logo {
        position: static;
    }

    .logo img {
        width: 100px;
        height: auto;
    }

    .rules {
        position: static;
    }
    
    .rules-link {
        display: inline-block;
        background: #FFA500;
        color: #000;
        font-weight: bold;
        font-size: 16px;         /* 更小的字体 */
        padding: 6px 18px;       /* 更合适的内边距 */
        border-radius: 6px;      /* 圆角更明显 */
        text-align: center;
        margin: 0 4px;
        box-sizing: border-box;
        width: auto;
        min-width: 80px;
    }
    .rules {
        text-align: center;      /* 居中按钮 */
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .rules img {
        width: 120px;
        height: auto;
    }
}

.hero-section {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tickets {
    position: relative;
    width: 50%;
    height: 100px;
    font-size: 20px;
    background-color: rgba(255, 165, 0, 0.5);
    border-radius: 5px;
}

.tickets:hover {
    box-shadow: 2px 2px 5px 2px #ee8800;
    transform: translate(2px, -2px);
}

.tickets:active {
    box-shadow: 2px 2px 5px 2px #ee8800;
    transform:translate(2px,-1px);
}

.tickets span {
    display: block;
    position: absolute;
    width: 100%;
    height: 100px;
    color: white;
    text-align: center;
    line-height: 100px;
    font-weight: bold;
}

@media screen and (min-width: 769px) {
    .hero-section {
        height: 100vh;
    }

    .core-image {
        max-width: 140%;
        height: auto;
    }

    .content-container {
        min-height: 100vh;
    }

    .box2-images {
        width: 140%;
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media screen and (max-width: 768px) {
    .hero-section {
        margin: 20px 0;
    }

    .core-image {
        max-width: 100%;
        height: auto;
    }

    .box2-images {
        width: 100%;
        position: static;
        transform: none;
    }
}


.date-range {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    position: relative;
}

.date-decorations {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.chevrons {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.chevron {
    width: 20px;
    height: 4px;
    background: #ffa500;
    margin-right: 10px;
}

.dates {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ffa500;
    font-size: 2em;
    font-weight: bold;
    padding: 0 40px;
}

@media screen and (max-width: 768px) {
    .schedule-container {
        padding: 15px;
    }

    .dates {
        font-size: 1.5em;
        padding: 0 30px;
    }

    .chevron {
        width: 15px;
        height: 3px;
    }
}

.box2-images {
    width: 150%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.image-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 90px;

}

.image-list img {
    max-width: 80%;
    height: auto;
}

@media screen and (max-width: 768px) {
    .box2-images {
        padding: 20px 0;
        width: 100%;
    }

    .image-list {
        gap: 60px;
        padding: 30px 0;
    }

    .image-list img {
        max-width: 90%;
    }
}

.icon-footer {
    width: 40%;
    height: auto;
    object-fit: contain;
    filter: invert(50%) sepia(91%) saturate(861%) hue-rotate(6deg) brightness(112%) contrast(103%);
    margin-bottom: 80px;
}

@media screen and (max-width: 768px) {
    .icon-footer {
        margin-bottom: 40px;
    }
}

table {
    width: 100%;
    max-width: 700px;
    margin: 30px auto;
    border-collapse: collapse;
    table-layout: fixed;
    font-family: Arial, sans-serif;
}

td {
    border: none;
    color: #FFA500;
    text-align: center;
    padding: 12px;
    font-size: 16px;
}

th {
    background-color: rgba(255, 165, 0);
    border: 2px solid #FFA500;
    color: #000000;
    text-align: center;
    padding: 12px;
    font-size: 16px;
}

td+td,
th+th {
    border-left: none;
}

.score-table-list tbody tr:nth-child(even) {
    background-color: rgba(255, 165, 0, 0.08); /* 浅橙色，可根据需要调整 */
}

.score-table-list th:nth-child(1),
.score-table-list td:nth-child(1) { width: 10%; }
.score-table-list th:nth-child(2),
.score-table-list td:nth-child(2) { width: 40%; }
.score-table-list th:nth-child(3),
.score-table-list td:nth-child(3) { width: 30%; }
.score-table-list th:nth-child(4),
.score-table-list td:nth-child(4) { width: 20%; }

tr:nth-child(even) td {
    background-color: rgba(255, 165, 0, 0.15);
}

th:nth-child(1),
td:nth-child(1) {
    width: 60%;
}

th:nth-child(2),
td:nth-child(2) {
    width: 10%;
}

th:nth-child(3),
td:nth-child(3) {
    width: 10%;
}

th:nth-child(4),
td:nth-child(4) {
    width: 10%;
}

th:nth-child(5),
td:nth-child(5) {
    width: 10%;
}

table a {
  color: #FFA500;
}

h1 {
    color: #FFA500;
    text-decoration: none;
    text-align: center;
    
}

h2 {
    color: #FFA500;
    text-decoration: none;
    text-align: center;
}

@font-face {
    font-family: 'PMTWebsite';
    src: url('assets/fonts/PMTWebsiteOTF.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

* {
    font-family: 'PMTWebsite', sans-serif;
}

.kanban-girl {
    position: fixed;
    width: 50%;
    opacity: 0;
    pointer-events: none;
    z-index: 10;
    transition: all 1.2s ease-out;
}

/* 桌面端初始位置在右侧之外 
@media screen and (min-width: 769px) {
  .kanban-girl {
    bottom: 0;
    right: -300px;
  }

  .kanban-girl.loaded {
    right: 0;
    opacity: 0.3;
  }
}

@media screen and (max-width: 768px) {
  .kanban-girl {
    bottom: 50%;
    right: 50%;
    width: 120%;
    transform: translate(50%, 50%);
  }

  .kanban-girl.loaded {
    opacity: 0.1;
  }
}*/

/* 菜单按钮样式 */
@media screen and (max-width: 768px) {
.rules-menu {
    position: relative;
    display: inline-block;
}



.rules-menu-btn {
    background: #FFA500;
    color: #000;
    font-weight: bold;
    font-size: 18px;
    padding: 10px 28px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    outline: none;
    transition: background 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.rules-menu-btn:hover {
    background: #ffb733;
}

/* 下拉菜单样式 */
.rules-menu-list {
    display: none;
    position: absolute;
    left: 0;
    top: 110%;
    min-width: 140px;
    background: #FFA500;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    z-index: 10;
    padding: 0;
    margin: 0;
}

.rules-menu-list .rules-link {
    display: block;
    padding: 10px 24px;
    color: #000;
    text-decoration: none;
    font-size: 16px;
    border-radius: 0;
    border: none;
    background: none;
    transition: background 0.2s;
}

.rules-menu-list .rules-link:hover {
    background: #ffd580;
    color: #000;
    text-decoration: none;
}

/* 展开菜单时显示 */
.rules-menu.open .rules-menu-list {
    display: block;
}

/* 移动端适配 */

    .rules-menu-btn {
        font-size: 16px;
        padding: 8px 18px;
    }
    .rules-menu-list .rules-link {
        font-size: 15px;
        padding: 8px 16px;
    }
    .rules-menu-list {
        position: static;
        width: 50%;
        box-sizing: border-box;
        border-radius: 0;
        margin-top: 2px;
        background: #FFA500;
        box-shadow: none;
    }
    .rules-menu {
        width: 40%;
        text-align: center;
    }
}

/* 移动端隐藏 .rules 区块 */
@media screen and (max-width: 768px) {
    .rules {
        display: none !important;
    }
}

@media screen and (min-width: 769px) {
    .rules-menu,
    .rules-menu-btn,
    .rules-menu-list {
        display: none !important;
    }
    .rules {
        display: block !important;
    }
}