/* Reset and Basic Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0e0e12;
    color: #ffffff;
    font-family: 'PingFang TC', 'Microsoft JhengHei', sans-serif;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header */
.header {
    background-color: rgba(14, 14, 18, 0.95);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

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

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-size: 14px;
    font-weight: bold;
    color: #ccc;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ffd700;
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 96px; 
    background-color: #0e0e12;
    min-height: 300px;
}

.hero-banner {
    width: 100%;
    display: block;
}

.hero-info-overlay {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
    text-align: center;
    pointer-events: none; /* 防止遮挡图片点击 */
}

.activity-date-tag {
    background: rgba(0, 0, 0, 0.7);
    color: #ffd700;
    padding: 6px 20px;
    border-radius: 20px;
    border: 1px solid #ffd700;
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
}

/* Common Section Containers */
.section-container {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title img {
    max-width: 100%;
    height: auto;
}

/* Rule Blocks */
.rule-block {
    margin-bottom: 40px;
}

.rule-block h3 {
    color: #ffd700;
    font-size: 18px;
    margin-bottom: 15px;
}

.rule-block ul {
    list-style: disc;
    padding-left: 20px;
    color: #bbb;
}

.rule-block li {
    margin-bottom: 10px;
}

.rule-block p {
    color: #bbb;
}

.game-card {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: #1a1a24;
    padding: 15px;
    border-radius: 10px;
}

.game-card img {
    border-radius: 10px;
}

/* Rewards Table */
.rewards-tables {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.reward-table h3 {
    text-align: center;
    color: #ffd700;
    margin-bottom: 10px;
}

.reward-table table {
    width: 100%;
    border-collapse: collapse;
    background: #1a1a24;
}

.reward-table th, .reward-table td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #333;
}

.reward-table th {
    background: #252535;
    color: #888;
    font-size: 14px;
}

/* Leaderboards */
.board-title {
    text-align: center;
    margin-bottom: 30px;
}

.board-title span {
    font-size: 32px;
    color: #ffd700;
}

.board-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.filter-dropdown select {
    background: #1a1a24;
    color: #fff;
    border: 1px solid #444;
    padding: 8px 15px;
    border-radius: 5px;
}

.countdown-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.timer {
    display: flex;
    gap: 5px;
    align-items: center;
    font-weight: bold;
}

.timer-box {
    background: #fff;
    color: #000;
    padding: 5px 8px;
    border-radius: 4px;
}

/* Leaderboard Table */
.table-scroll {
    overflow-x: auto;
}

.leader-table {
    width: 100%;
    border-collapse: collapse;
    background: #1a1a24;
    border-radius: 10px;
    overflow: hidden;
}

.leader-table th, .leader-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #2a2a34;
}

.leader-table th {
    background: #252535;
    color: #888;
    font-size: 14px;
}

.leader-table .highlight {
    color: #ffd700;
    font-weight: bold;
}

/* Rank Icons */
.rank-icon {
    width: 50px;
    height: 50px;
    /* background: #555; */
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 0;
    color: #555;
    font-size: 12px;
    border-top: 1px solid #222;
}

/* Responsive */
@media (max-width: 768px) {
    .rewards-tables {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 40px;
    }
    .prize-amount {
        font-size: 32px;
    }
    .nav-links {
        display: none; /* Simple mobile nav hiding */
    }
}

.logo img {
    height: 68px;
}

.lang-selector img {
    width: 40px;
}

.game-card img {
    width: 200px;
}dth: 768px) {
    .rewards-tables {
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 40px;
    }
    .prize-amount {
        font-size: 32px;
    }
    .nav-links {
        display: none; /* Simple mobile nav hiding */
    }
}

.logo img {
    height: 68px;
}

.lang-selector img {
    width: 40px;
}

.game-card img {
    width: 200px;
}

.board-title img,
.section-title img {
    height: 56px;
}

.game-img {
    width: 50px;
}

.rank-icon img {
    width: 50px;
}