body {
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #ffffff;
    margin: 0;
    padding: 0;
    padding-bottom: 60px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #1e1e1e;
    position: relative;
}

.menu-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    /* 添加其他样式 */
}

.register-btn {
    background-color: #1e1e1e;
    border: none;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    cursor: pointer;
    /* 添加其他样式 */
}

.nav-menu {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    background-color: #1e1e1e;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
}

.nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: center;
}

.nav-menu ul li {
    margin: 10px 0;
}

.nav-menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.nav-menu.hidden {
    display: none;
}

.nav-menu.visible {
    display: flex;
}

.banner-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 10px;
}

.banner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.banner img {
    width: 100%;
    flex-shrink: 0;
}

.banner-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.dot.active {
    background-color: #ffffff;
}

.feature-buttons {
    display: flex;
    justify-content: space-between;
    padding: 10px;
}

.feature-item {
    width: 32%;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.feature-item img {
    width: 100%;
    display: block;
}

.jackpot-container {
    position: relative;
    width: 100%;
    margin: 10px 0;
}

.jackpot-background {
    width: 100%;
    display: block;
}

.jackpot-amount-container {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.jackpot-amount {
    font-size: 32px;
    color: #ffd700;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.notification {
    background-color: #2a2a2a;
    padding: 10px;
    display: flex;
    align-items: center;
    margin: 10px;
    border-radius: 5px;
    justify-content: space-between;
    overflow: hidden; /* 确保文本不会溢出 */
}

.notification-icon {
    font-size: 18px;
}

.notification-text-container {
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.notification-text {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-text 10s linear infinite;
}

@keyframes scroll-text {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}
.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
}

.search-container {
    display: flex;
    margin: 10px;
}

.search-bar {
    flex-grow: 1;
    padding: 10px;
    border: none;
    border-radius: 5px 0 0 5px;
    background-color: #1e1e1e;
    color: white;
}

.search-btn {
    background-color: #1e1e1e;
    border: none;
    color: white;
    padding: 10px 15px;
    border-radius: 0 5px 5px 0;
    font-size: 18px;
    cursor: pointer;
}

.icon-container {
    display: flex;
    justify-content: space-around;
    padding: 10px;
    background-color: #1e1e1e;
    border-radius: 10px;
    margin: 10px 10px;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffd700;
}

.icon-item .icon {
    font-size: 24px; /* 调整图标大小 */
}

.game-categories {
    display: flex;
    justify-content: space-around;
    margin: 10px 0;
}

.category-btn {
    background: none;
    border: none;
    color: white;
    padding: 10px;
    font-size: 16px;
}

.category-btn.active {
    color: #4CAF50;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 10px;
}

.game-item {
    position: relative;
    background-color: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
}

.game-item img {
    width: 100%;
    height: auto;
    display: block;
}

.game-item p {
    margin: 5px 0;
    font-size: 14px;
}

.favorite-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1e1e1e;
    display: flex;
    justify-content: space-around;
    padding: 10px 0;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 12px;
}

.nav-item.active {
    color: #4CAF50;
}

.icon {
    font-size: 24px;
    margin-bottom: 5px;
}

.menu-btn:active, .register-btn:active {
    transform: scale(0.95);
    /* 添加点击效果 */
}

.menu-btn, .register-btn {
    cursor: pointer;
    /* 添加其他样式 */
}

.menu-btn i, .register-btn i {
    font-size: 24px;
}

.notification-icon i {
    font-size: 18px;
}

.icon i {
    font-size: 24px;
    margin-bottom: 5px;
}