body {
    max-width: 660px;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
    margin: 0 auto;
    padding: 0;
    background: #f0f4f8;
    color: #2B2D42;
    line-height: 1.6;
}

.dcbdis-navbar {
    max-width: 660px;
    display: flex;
    background: #FF6B35;
    color: #FFFFFF;
    height: 80px;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    border-bottom: 3px solid #FFD166;
    position: relative;
}

#nav-open {
    display: block;
    position: relative;   
    height: 3vh;
}

#nav-close {
    display: none;
    position: relative;   
    height: 4vh;
}



.dcbdis-nav-logo img {
    height: 4vh;
    display: block;
}

.dcbdis-navbar {
    display: flex;
    background: #FF6B35;
    color: #FFFFFF;
    align-items: center;
    justify-content: space-between;
    padding: 0px 20px;
    position: relative;
}

.dcbdis-menu {
    display: flex;
    width: 30%;
    flex-direction: column;
    gap: 35px;
    background-color: #fff;
    position: absolute;
    align-items: start;
    height: 100vh;
    top: 6vh;
    right: 0px;
    padding: 35px 1rem;
    z-index: 10;
    margin: 0;
    list-style-type: none;
    display: none;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}

.dcbdis-menu li {
    position: relative;

}

.dcbdis-menu li a:hover {
    color: #ccc;
}

.dcbdis-menu.open {
    display: flex;
    flex-direction: column;
}

.dcbdis-menu.open #nav-open {
    display: none;
}

.dcbdis-menu.open #nav-close {
    display: block;
}

.dcbdis-menu li a {
    font-size: 1rem;
    color: #2B2D42;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.dcbdis-menu li a:hover {
    color: #FF6B35;
}

#dcbdis-menu {
    animation: fadeIn 0.1s ease-in-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0.3;
        width: 0%;
    }

    100% {
        opacity: 1;
        width: 30%;
    }
}

.dcbdis-game-item {
    border-radius: 16px;
    position: relative;
    background: #ffffff;
    padding: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    overflow: hidden;
}

.dcbdis-game-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(255, 107, 53, 0.25);
    border-color: #FF6B35;
}
.dcbdis-game-item a {
    
    text-decoration: none;
}

.dcbdis-game-cover img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
}

.dcbdis-game-cover img:hover {
    transform: scale(1.05);
    border-radius: 14px;
    box-shadow: 0px 8px 20px rgba(255, 107, 53, 0.3);
}

.dcbdis-game-cover-recommend img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.dcbdis-game-item h3 {
    color: #FF6B35;
    margin: 5px 0px;
    font-size: 0.75rem;
    font-weight: 600;
}

.dcbdis-game-item p {
    color: #2B2D42;
    margin: 0px;
    font-size: 1rem;
}

.dcbdis-game-info {
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    padding: 5px;
}

.dcbdis-game-info p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5em;
    max-height: 4.5em;
    font-size: 0.9rem;
    color: #555;
    font-weight: 400;
}

.dcbdis-game-info p:last-child { 
    font-size: 0.75rem;
    color: #888;
    font-weight: 400;
}

.common-game-right {
    display: flex;
    width: 20%;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    border-radius: 5px;
    right: 0px;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.common-game-right img {
    /* width: 60px; */
    /* height: 20px; */
}

.dcbdis-recomed-div {
    margin: 0px 10px;
    border-radius: 5px;
    padding: 10px 0px;

}

.dcbdis-detail-recomed-div {
    margin: 10px 20px;
    border-radius: 5px;
    padding: 10px 0px;

}

.dcbdis-common-recommend-title {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 20px;
    background: #FF6B35;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.25);
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid #FFD166;
}

.dcbdis-common-recommend-title p {
    color: #ffffff;
    font-size: 1.2rem;
    margin: 0;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.dcbdis-common-recommend-title img {
    width: 24px;
    height: 24px;
    position: absolute;
    right: 20px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.dcbdis-common-recommend-title img:hover {
    transform: translateX(5px);
}

.dcbdis-common-recommend-content {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Two columns layout */
    gap: 0.5rem;
    /* Gap between items */
}

.dcbdis-common-recommend-content-2 {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Two columns layout */
    gap: 0.5rem;
    /* Gap between items */
}

.dcbdis-game-big-2 {
    grid-column: span 2;
    grid-row: span 2;
}

.game-big-3 {
    grid-column: span 3;
    grid-row: span 3;
}



footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    background: #2B2D42;
    text-align: center;
    margin-top: 30px;
    border-radius: 20px 20px 0 0;
}

.dcbdis-footer-links a {
    font-size: 0.7em;
    color: #FFD166;
    text-decoration: none;
    transition: color 0.3s;
}

.dcbdis-footer-links a:hover {
    color: #FF6B35;
}

.dcbdis-footer-links a:hover {
    text-decoration: underline;
}

footer .dcbdis-copyright {
    font-size: 0.8em;
    color: #FFD166;
    margin: 10px 0px;
}

#back-top,
#back-home {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

#flow {
    position: fixed;
    bottom: 120px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: center;
    background: #ffffff;
    padding: 15px;
    gap: 15px;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 2px solid #FF6B35;
    z-index: 1000;
}

#flow:hover {
    background: #FF6B35;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4);
    transform: translateY(-5px);
}

#back-top,
#back-home {
    width: 35px;
    height: 35px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#back-top:hover,
#back-home:hover {
    transform: scale(1.2);
}

.dcbdis-game-detail-title {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 30px 2rem;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin: 20px;
    border: 2px solid #00B4D8;
}

.dcbdis-game-detail-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #00B4D8;
    border-radius: 20px 20px 0 0;
}

.game-detail-iframe {
    width: 100%;
}

.dcbdis-game-detail-img {
    width: 100%;
    position: relative;
}

.dcbdis-game-detail-img img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    aspect-ratio: 1 / 0.8;
    display: block;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.dcbdis-game-detail-img::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: rgba(0, 180, 216, 0.1);
    border-radius: 20px;
    filter: blur(15px);
    z-index: 0;
    opacity: 0.6;
}

.dcbdis-detail-info {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    padding: 20px;
    order: 1;
}

.dcbdis-detail-info h2 {
    color: #00B4D8;
    font-size: 1.8rem;
    margin: 0 0 15px 0;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.dcbdis-detail-info p {
    color: #555;
    font-size: 1rem;
    margin: 8px 0;
    line-height: 1.6;
    font-weight: 400;
}

.dcbdis-detail-info a {
    text-decoration: none;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    order: -1;
}

.dcbdis-game-instructions {
    display: flex;
    flex-wrap: wrap;
    margin: 20px;
    background: #ffffff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #00B4D8;
}

.dcbdis-game-instructions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #00B4D8;
    border-radius: 16px 16px 0 0;
}

.dcbdis-game-instructions p {
    color: #555;
    line-height: 1.6rem;
    font-size: 1rem;
    font-weight: 400;
}



.dcbdis-game-gameplay-button {
    display: flex;
    background: #FF6B35;
    border-radius: 16px;
    padding: 20px 40px;
    width: fit-content;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    border: 2px solid #FFD166;
    position: relative;
    overflow: hidden;
    margin: 30px auto 0;
    transition: all 0.3s ease;
}

.dcbdis-game-gameplay-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.5);
    background: #FF8C5A;
}

.dcbdis-game-gameplay-button img {
    width: 60px;
    height: 60px;
    transition: transform 0.3s ease;
}

.dcbdis-game-gameplay-button:hover img {
    transform: scale(1.1);
}

.dcbdis-game-gameplay-button p {
    color: #ffffff;
    margin: 0 15px 0 0;
    font-size: 1.2rem;
    font-weight: 700;
}

.dcbdis-game-iframe {
    /* width: 100%; */
    /* max-width: 560px; */
    /* margin: 1rem 0; */
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 100vh;
    position: relative;
}
#iframe-menu-btn  {
    margin-top: 20px;
    margin-left: 60px;
    position: absolute;
    height: 40px;
    height: 40px;
}
#iframe-back-btn {
    margin-top: 20px;
    margin-left: 20px ;
    position: absolute;
    height: 50px;
    height: 50px;
}
.dcbdis-news-detail{
    color: #000;
    text-align: start;
    padding: 1rem;
    margin-top: 30px;
}
.dcbdis-news-detail img{
    width: 100%;
    object-fit: contain;
}

.error-page {

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.error-page h1{
    font-size: 2em;
    color: #2D3436;
}
.error-page p{
    font-size: 1.4em;
    color: #2D3436;
    padding: 1rem;
    
}
.error-page img{
    width: 100%;
    padding: 2rem 1rem;
}

.dcbdis-game-mark {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    /* background-color: #000; */
    height: 4vh;
    position: absolute;
    border-radius: 0px 0px 10px 10px;
    top: -10px;
    left: -10px;
}

.dcbdis-game-mark img{
    width: 50px;
    height: 25px;
   
}

.dcbdis-game-new {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    /* background-color: #000; */
    height: 4vh;
    position: absolute;
    border-radius: 0px 0px 10px 10px;
    top: 0px;
    left: -10px;
}

.dcbdis-game-new img{
    width: 50px;
    height: 50px;
   
}

.dcbdis-game-mark p {
    color: #fff;
    font-size: 1rem;
    margin: 0px 10px;
}

#dcbdis-game-body {
    margin-top: 30px;
}

.iframe-menu {
    display: flex;
    width: 60%;
    flex-direction: column;
    gap: 35px;
    background-color: #fff;
    position: absolute;
    align-items: start;
    height: 100vh;
    top: 0vh;
    right: 0px;
    z-index: 8;
    margin: 0;
    list-style-type: none;
    display: none;
    padding: 10px 10px;
}

/* 展开菜单时的导航栏样式 */
.iframe-menu.open {
    display: flex;
    flex-direction: column;
}

.iframe-menu li a {
    font-size: 1rem;
    color: #2B2D42;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.iframe-menu li a:hover {
    color: #FF6B35;
}

.iframe-list-item a{
    display: flex;
    flex-direction: row;
    margin: 0px;
    justify-content: space-between;
    align-items: center;
  
}

.iframe-list-item a img {
    margin: 0px;
    height: 40px;
    height: 40px;
    border-radius: 5px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    display: block;
}

.iframe-list-item a p {
    margin: 0px 20px;
    position: relative;
}

.iframe-list-item-close a{
    display: flex;
    flex-direction: row;
    margin: 0px;
    justify-content: end;
    align-items: center;
  
}

.iframe-list-item-close img {
    margin: 0px;
    height: 40px;
    height: 40px;
    border-radius: 5px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    display: block;
}


#iframe-close-btn {
    right: 0px;
    top: 0px;
}

/* 为移动端添加触摸友好的交互效果 */
@media (hover: none) and (pointer: coarse) {
    .dcbdis-game-item:active {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
        border-color: #FF6B35;
    }
    
    .dcbdis-game-cover img:active {
        transform: scale(1.05);
    }
    
    .recommend-item-btn:active {
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    }
    
    #back-top:active,
    #back-home:active {
        transform: scale(0.9);
    }
}

/* 手指可点击的组件优化 */
.dcbdis-game-item,
.recommend-item-btn,
.dcbdis-common-recommend-title,
.dcbdis-game-gameplay-button {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dcbdis-game-item {
    animation: fadeInUp 0.6s ease forwards;
}

.dcbdis-game-item:nth-child(1) { animation-delay: 0.1s; }
.dcbdis-game-item:nth-child(2) { animation-delay: 0.2s; }
.dcbdis-game-item:nth-child(3) { animation-delay: 0.3s; }
.dcbdis-game-item:nth-child(4) { animation-delay: 0.4s; }

/* 响应式设计 - 小屏幕优化 */
@media (max-width: 480px) {
    .dcbdis-game-item-div {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .dcbdis-recommend-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dcbdis-recommend-content-hot {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dcbdis-game-detail-title {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    #flow {
        bottom: 80px;
        right: 15px;
        padding: 12px;
        gap: 12px;
    }
}

/* 响应式设计 - 中屏幕优化 */
@media (min-width: 481px) and (max-width: 768px) {
    .dcbdis-game-item-div {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .dcbdis-recommend-content {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .dcbdis-recommend-content-hot {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 优化滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(30, 30, 63, 0.8);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0066ff, #00a8ff);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #00a8ff, #0097e6);
}

/* 添加3D变换效果提升现代感 */
.dcbdis-navbar {
    perspective: 1000px;
}

.dcbdis-game-cover img {
    transform-style: preserve-3d;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.dcbdis-game-cover img:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(5deg) scale(1.05);
}

/* 添加粒子效果背景增强科技感 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(2px 2px at 20px 30px, #00a8ff, transparent),
        radial-gradient(2px 2px at 40px 70px, #0066ff, transparent),
        radial-gradient(1px 1px at 90px 40px, #0097e6, transparent);
    background-size: 100px 100px;
    animation: particles 60s linear infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes particles {
    0% { background-position: 0 0; }
    100% { background-position: 1000px 1000px; }
}






