body {
    max-width: 660px;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
    margin: 0 auto;
    padding: 0;
    background: #f0f7f5;
    color: #2d3436;
    line-height: 1.6;
}

.jdcsdb-navbar {
    max-width: 660px;
    display: flex;
    background: #b8d8d0;
    color: #2d3436;
    height: 80px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid #a0c8bc;
    position: relative;
    align-items: center;
    justify-content: space-between;
    padding: 0px 20px;
    border-radius: 0 0 16px 16px;
}

.jdcsdb-category-nav {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 0 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.jdcsdb-category-nav::-webkit-scrollbar {
    display: none;
}

.category-nav-item {
    color: #2d3436;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 4px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.category-nav-item:hover {
    background: #5ba89a;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(91, 168, 154, 0.3);
}

.category-nav-item:active {
    transform: translateY(-1px) scale(1.02);
}

#nav-open {
    display: block;
    position: relative;   
    height: 3vh;
}

#nav-close {
    display: none;
    position: relative;   
    height: 4vh;
}

.jdcsdb-nav-logo img {
    height: 4vh;
    display: block;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.jdcsdb-nav-logo img:hover {
    transform: scale(1.05);
}

.jdcsdb-nav-blog-btn {
    display: flex;
    align-items: center;
}

.jdcsdb-nav-blog-btn a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.jdcsdb-nav-blog-btn a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.jdcsdb-menu {
    display: flex;
    width: 30%;
    flex-direction: column;
    gap: 35px;
    background: #ffffff;
    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 15px rgba(0, 0, 0, 0.15);
    border-left: 1px solid #e0e0e0;
}

.jdcsdb-menu li {
    position: relative;
}

.jdcsdb-menu li a:hover {
    color: #c4956a;
}

.jdcsdb-menu.open {
    display: flex;
    flex-direction: column;
}

.jdcsdb-menu.open #nav-open {
    display: none;
}

.jdcsdb-menu.open #nav-close {
    display: block;
}

.jdcsdb-menu li a {
    font-size: 1rem;
    color: #333333;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
}

.jdcsdb-menu li a:hover {
    color: #5ba89a;
    background: rgba(91, 168, 154, 0.1);
    transform: translateX(5px);
}

#jdcsdb-menu {
    animation: fadeIn 0.1s ease-in-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0.3;
        width: 0%;
    }

    100% {
        opacity: 1;
        width: 30%;
    }
}

.jdcsdb-game-item {
    border-radius: 16px;
    position: relative;
    background: #f8faf9;
    padding: 16px;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.06), -4px -4px 10px rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #d8e8e2;
    overflow: hidden;
}

.jdcsdb-game-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #5ba89a;
    opacity: 1;
    border-radius: 16px 16px 0 0;
}

.jdcsdb-game-item:hover {
    transform: translateY(-4px);
    box-shadow: 6px 6px 16px rgba(0, 0, 0, 0.1), -6px -6px 16px rgba(255, 255, 255, 0.9);
    background: #f0f7f5;
    border-color: #5ba89a;
}

.jdcsdb-game-item a {
    text-decoration: none;
}

.jdcsdb-game-cover img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    filter: saturate(1) brightness(1);
    position: relative;
    border: 2px solid #ffffff;
}

.jdcsdb-game-cover img:hover {
    transform: scale(1.03);
    border-radius: 12px;
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.12);
    filter: saturate(1.05) brightness(1.02);
    border-color: #d8e8e2;
}

.jdcsdb-game-cover-recommend img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.jdcsdb-game-item h3 {
    color: #fff;
    margin: 5px 0px;
    font-size: 0.75rem;
}

.jdcsdb-game-item p {
    color: #000;
    margin: 0px;
    font-size: 1rem;
}

.jdcsdb-game-info {
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    padding: 5px;
}

.jdcsdb-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: #2d2d2d;
    font-weight: 700;
}

.jdcsdb-game-info p:last-child { 
    font-size: 0.9rem;
    color: #4a4a4a;
    font-weight: 400;
}

.common-game-right {
    display: flex;
    width: 20%;
    background: #5ba89a;
    border-radius: 2px;
    right: 0px;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 8px rgba(91, 168, 154, 0.3);
}

.jdcsdb-recomed-div {
    margin: 0px 10px;
    border-radius: 5px;
    padding: 10px 0px;
}

.jdcsdb-detail-recomed-div {
    margin: 10px 20px;
    border-radius: 5px;
    padding: 10px 0px;
}

.jdcsdb-gameplay-instructions-section {
    margin: 20px 20px 10px 20px;
    border-radius: 8px;
    padding: 10px 0px;
}

.jdcsdb-gameplay-instructions-content {
    background: linear-gradient(135deg, #f8faf9 0%, #ffffff 100%);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8e8e8;
    padding: 25px;
    margin-top: 15px;
    position: relative;
    overflow: hidden;
}

.jdcsdb-gameplay-instructions-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #5ba89a 0%, #4a9688 50%, #5ba89a 100%);
}

.gameplay-instruction-item {
    margin-bottom: 20px;
    padding: 15px 15px 15px 50px;
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    position: relative;
    transition: all 0.3s ease;
}

.gameplay-instruction-item:hover {
    box-shadow: 0 4px 12px rgba(91, 168, 154, 0.12);
    border-color: #5ba89a;
    transform: translateX(5px);
}

.gameplay-instruction-item:last-child {
    margin-bottom: 0;
}

.gameplay-instruction-item::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #5ba89a 0%, #4a9688 100%);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(91, 168, 154, 0.2);
}

.instruction-title {
    color: #3d3d3d;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.instruction-content {
    color: #555555;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8faf9 100%);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid #5ba89a;
    margin-bottom: 0;
}

.section-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #5ba89a 0%, #4a9688 100%);
}

.section-title p {
    color: #3d3d3d;
    font-size: 1.15rem;
    margin: 14px 0px;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
    padding-left: 12px;
}

.jdcsdb-common-recommend-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: #f8faf9;
    border-radius: 12px;
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.06), -3px -3px 8px rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: visible;
    border: 1px solid #d8e8e2;
    margin-bottom: 18px;
    transition: all 0.3s ease;
}

.jdcsdb-common-recommend-title:hover {
    box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.08), -4px -4px 12px rgba(255, 255, 255, 0.9);
    transform: translateY(-1px);
    border-color: #a0c8bc;
}

.badge-card {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.badge-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.1), -2px -2px 6px rgba(255, 255, 255, 0.7);
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.badge-icon:hover {
    transform: scale(1.08);
    box-shadow: 3px 3px 8px rgba(0, 0, 0, 0.12), -3px -3px 8px rgba(255, 255, 255, 0.8);
}

.badge-icon svg {
    fill: #ffffff;
    width: 26px;
    height: 26px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

.badge-icon-pink {
    background: #5ba89a;
}

.badge-icon-purple {
    background: #6bb8a8;
}

.badge-icon-orange {
    background: #4a9688;
}

.badge-icon-blue {
    background: #7ac8b8;
}

.badge-icon-green {
    background: #8ad8c8;
}

.badge-icon-yellow {
    background: #9ae8d8;
}

.badge-icon-red {
    background: #a8f0e0;
}

.badge-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.badge-title {
    color: #3d7a6a;
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.badge-subtitle {
    color: #666666;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.badge-more-btn {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5ba89a;
    text-decoration: none;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    flex-shrink: 0;
    border: 1px solid #e0e0e0;
}

.badge-more-btn:hover {
    background: #5ba89a;
    color: #ffffff;
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(91, 168, 154, 0.3);
}

.badge-more-btn:active {
    transform: translateX(2px) scale(1.02);
}

.badge-more-btn svg {
    transition: transform 0.3s ease;
}

.badge-more-btn:hover svg {
    transform: scale(1.2);
}

.jdcsdb-common-recommend-content {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.jdcsdb-common-recommend-content-2 {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.jdcsdb-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: 20px;
    background: #f8faf9;
    text-align: center;
    margin-top: 35px;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.06);
    border-top: 2px solid #d8e8e2;
}

.jdcsdb-footer-links a {
    font-size: 0.7em;
    color: #5ba89a;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 4px;
}

.jdcsdb-footer-links a:hover {
    color: #4a9688;
    background: rgba(91, 168, 154, 0.1);
    transform: translateY(-1px);
}

footer .jdcsdb-copyright {
    font-size: 0.8em;
    color: #666666;
    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: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    z-index: 1000;
}

#flow:hover {
    background: #fafafa;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-3px);
}

#back-top,
#back-home {
    width: 35px;
    height: 35px;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: none;
}

#back-top:hover,
#back-home:hover {
    transform: scale(1.1);
}

.jdcsdb-game-detail-title {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 30px 2rem;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    margin: 20px;
    border: 1px solid #e0e0e0;
}

.jdcsdb-game-detail-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #c4956a;
    border-radius: 4px 4px 0 0;
}

.game-detail-wrapper {
    margin: 20px;
    position: relative;
}

.game-detail-hero-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    overflow: hidden;
    position: relative;
    min-height: 520px;
}

.game-detail-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #c4956a;
    z-index: 10;
}

.game-detail-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 520px;
    overflow: hidden;
}

.game-detail-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.game-detail-hero-section:hover .game-detail-image-container img {
    transform: scale(1.05);
}

.image-shine-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.8s ease;
    pointer-events: none;
}

.game-detail-hero-section:hover .image-shine-effect {
    left: 100%;
}

.game-detail-content-container {
    padding: 50px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
    position: relative;
    z-index: 5;
}

.game-detail-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-badge {
    display: inline-block;
    background: #c4956a;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(196, 149, 106, 0.3);
    width: fit-content;
}

.game-detail-main-title {
    color: #333333;
    font-size: 3rem;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1.15;
}

.game-detail-main-desc {
    color: #666666;
    font-size: 1.15rem;
    margin: 0;
    line-height: 1.8;
    font-weight: 400;
    opacity: 0.9;
}

.game-detail-cta-section {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.game-detail-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: #c4956a;
    border-radius: 4px;
    padding: 18px 42px;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(196, 149, 106, 0.3);
    border: 1px solid #c4956a;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-detail-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(196, 149, 106, 0.4);
}

.game-detail-cta-btn:active {
    transform: translateY(-1px);
}

.game-detail-cta-btn svg {
    transition: transform 0.3s ease;
}

.game-detail-cta-btn:hover svg {
    transform: scale(1.1);
}

.game-detail-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 16px 28px;
    color: #c4956a;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
}

.game-detail-share-btn:hover {
    background: #c4956a;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(196, 149, 106, 0.3);
}

.game-detail-share-btn svg {
    transition: transform 0.3s ease;
}

.game-detail-share-btn:hover svg {
    transform: scale(1.1);
}

.game-detail-stats {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666666;
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.85;
}

.stat-item svg {
    color: #c4956a;
}

.game-detail-container {
    margin: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    overflow: hidden;
    position: relative;
}

.game-detail-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #c4956a;
    z-index: 10;
}

.game-detail-main-image {
    position: relative;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
    border-radius: 2px;
    margin: 10px;
}

.game-detail-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 2px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.6s ease;
}

.game-detail-container:hover .game-detail-main-image img {
    transform: scale(1.02);
}

.image-glow-effect {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: radial-gradient(circle at center, rgba(0, 255, 136, 0.2), transparent 70%);
    filter: blur(30px);
    z-index: -1;
    opacity: 0.6;
    pointer-events: none;
}

.game-detail-info-panel {
    padding: 40px 40px 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
}

.info-panel-header {
    position: relative;
    padding-bottom: 20px;
}

.info-panel-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 2px;
    background: #c4956a;
    border-radius: 2px;
}

.game-detail-title-text {
    color: #333333;
    font-size: 2.8rem;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.game-detail-description {
    color: #666666;
    font-size: 1.15rem;
    margin: 0;
    line-height: 1.8;
    font-weight: 400;
    opacity: 0.9;
}

.game-detail-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.game-detail-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #c4956a;
    border-radius: 4px;
    padding: 18px 40px;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(196, 149, 106, 0.3);
    border: 1px solid #c4956a;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-detail-play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(196, 149, 106, 0.4);
}

.game-detail-play-btn:active {
    transform: translateY(-1px);
}

.game-detail-play-btn svg {
    transition: transform 0.3s ease;
}

.game-detail-play-btn:hover svg {
    transform: scale(1.1);
}

.game-detail-hero {
    margin: 20px;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    overflow: hidden;
    position: relative;
}

.game-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: #4a90d9;
    z-index: 10;
}

.game-detail-hero-image {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.game-detail-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.game-detail-hero:hover .game-detail-hero-image img {
    transform: scale(1.03);
}

.hero-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.7) 50%, transparent 100%);
    pointer-events: none;
}

.game-detail-hero-content {
    padding: 30px 40px 40px;
    position: relative;
    z-index: 5;
}

.game-detail-title-text {
    color: #333333;
    font-size: 2.5rem;
    margin: 0 0 15px 0;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.game-detail-description {
    color: #666666;
    font-size: 1.1rem;
    margin: 0 0 30px 0;
    line-height: 1.7;
    font-weight: 400;
    max-width: 800px;
    opacity: 0.9;
}

.game-detail-play-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #4a90d9;
    border-radius: 4px;
    padding: 16px 36px;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(74, 144, 217, 0.3);
    border: 1px solid #4a90d9;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-detail-play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 144, 217, 0.4);
}

.game-detail-play-btn:active {
    transform: translateY(-1px);
}

.game-detail-play-btn svg {
    transition: transform 0.3s ease;
}

.game-detail-play-btn:hover svg {
    transform: scale(1.15);
}

.jdcsdb-game-detail-title {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 30px 2rem;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 20px;
    border: 1px solid #e0e0e0;
}

.jdcsdb-game-detail-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #4a90d9;
    border-radius: 4px 4px 0 0;
}

.game-detail-iframe {
    width: 100%;
}

.jdcsdb-game-detail-img {
    width: 100%;
    position: relative;
}

.jdcsdb-game-detail-img img {
    width: 100%;
    border-radius: 2px;
    object-fit: cover;
    aspect-ratio: 1 / 0.8;
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.jdcsdb-game-detail-img::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: radial-gradient(circle at center, rgba(0, 255, 136, 0.2), transparent 70%);
    border-radius: 4px;
    filter: blur(15px);
    z-index: 0;
    opacity: 0.6;
}

.jdcsdb-detail-info {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    padding: 20px;
    order: 1;
}

.jdcsdb-detail-info h2 {
    color: #4a90d9;
    font-size: 1.8rem;
    margin: 0 0 15px 0;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.jdcsdb-detail-info p {
    color: #666666;
    font-size: 1rem;
    margin: 8px 0;
    line-height: 1.6;
    font-weight: 300;
}

.jdcsdb-detail-info a {
    text-decoration: none;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    order: -1;
}

.jdcsdb-game-instructions {
    display: flex;
    flex-wrap: wrap;
    margin: 20px;
    background: #ffffff;
    padding: 25px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
}

.jdcsdb-game-instructions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #4a90d9;
    border-radius: 4px 4px 0 0;
}

.jdcsdb-game-instructions p {
    color: #666666;
    line-height: 1.6rem;
    font-size: 1rem;
    font-weight: 300;
}

.jdcsdb-game-gameplay-button {
    display: flex;
    background: #4a90d9;
    border-radius: 4px;
    padding: 20px 40px;
    width: fit-content;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 8px rgba(74, 144, 217, 0.3);
    border: 1px solid #4a90d9;
    position: relative;
    overflow: hidden;
    margin: 30px auto 0;
    transition: all 0.3s ease;
}

.jdcsdb-game-gameplay-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(74, 144, 217, 0.4);
}

.jdcsdb-game-gameplay-button img {
    width: 60px;
    height: 60px;
    transition: all 0.3s ease;
}

.jdcsdb-game-gameplay-button:hover img {
    transform: scale(1.05);
}

.jdcsdb-game-gameplay-button p {
    color: #ffffff;
    margin: 0 15px 0 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.jdcsdb-game-iframe {
    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;
}

.jdcsdb-news-detail{
    color: #333333;
    text-align: start;
    padding: 2.5rem;
    margin-top: 30px;
    background: #ffffff;
    border-radius: 8px;
    margin-left: 20px;
    margin-right: 20px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    line-height: 1.8;
    position: relative;
    overflow: hidden;
}

.jdcsdb-news-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4a90d9 0%, #357ab8 50%, #4a90d9 100%);
}

.jdcsdb-news-detail h3 {
    color: #2c3e50;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
    position: relative;
}

.jdcsdb-news-detail h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #4a90d9;
}

.jdcsdb-news-detail h4 {
    color: #4a90d9;
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-left: 15px;
    position: relative;
}

.jdcsdb-news-detail h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: linear-gradient(180deg, #4a90d9 0%, #357ab8 100%);
    border-radius: 2px;
}

.jdcsdb-news-detail p {
    color: #444444;
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
    text-align: justify;
}

.jdcsdb-news-detail strong {
    color: #4a90d9;
    font-weight: 700;
}

.jdcsdb-news-detail ul {
    padding-left: 1.5rem;
    margin-bottom: 1.2rem;
    background: #f8f9fa;
    padding: 1.2rem 1.2rem 1.2rem 2.5rem;
    border-radius: 6px;
    border-left: 3px solid #4a90d9;
}

.jdcsdb-news-detail li {
    color: #444444;
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
    line-height: 1.7;
}

.jdcsdb-news-detail ol {
    padding-left: 1.5rem;
    margin-bottom: 1.2rem;
}

.jdcsdb-news-detail ol li {
    color: #444444;
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
    line-height: 1.7;
    padding-left: 8px;
}

.jdcsdb-news-detail a {
    color: #4a90d9;
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.jdcsdb-news-detail a:hover {
    color: #357ab8;
    border-bottom-color: #357ab8;
}

.jdcsdb-news-detail img{
    width: 100%;
    object-fit: contain;
    border-radius: 6px;
    margin: 1rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.jdcsdb-news-detail em {
    color: #555555;
    font-style: italic;
}

@media (max-width: 768px) {
    .jdcsdb-news-detail {
        padding: 1.5rem;
        margin-left: 15px;
        margin-right: 15px;
        border-radius: 16px;
    }
    
    .jdcsdb-news-detail h3 {
        font-size: 1.5rem;
    }
    
    .jdcsdb-news-detail h4 {
        font-size: 1.15rem;
    }
    
    .jdcsdb-news-detail p,
    .jdcsdb-news-detail li {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .jdcsdb-news-detail {
        padding: 1.2rem;
        margin-left: 10px;
        margin-right: 10px;
        border-radius: 14px;
    }
    
    .jdcsdb-news-detail h3 {
        font-size: 1.3rem;
    }
    
    .jdcsdb-news-detail h4 {
        font-size: 1.05rem;
        margin-top: 1.5rem;
    }
    
    .jdcsdb-news-detail p,
    .jdcsdb-news-detail li {
        font-size: 0.95rem;
        line-height: 1.7;
    }
}

.error-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.error-page h1{
    font-size: 2em;
    color: #00ff88;
}

.error-page p{
    font-size: 1.4em;
    color: #cccccc;
    padding: 1rem;
}

.error-page img{
    width: 100%;
    padding: 2rem 1rem;
}

.jdcsdb-game-mark {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    height: 4vh;
    position: absolute;
    border-radius: 0px 0px 10px 10px;
    top: -10px;
    left: -10px;
}

.jdcsdb-game-mark img{
    width: 50px;
    height: 25px;
}

.jdcsdb-game-new {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    height: 4vh;
    position: absolute;
    border-radius: 0px 0px 10px 10px;
    top: 0px;
    left: -10px;
}

.jdcsdb-game-new img{
    width: 50px;
    height: 50px;
}

.jdcsdb-game-mark p {
    color: #fff;
    font-size: 1rem;
    margin: 0px 10px;
}

#jdcsdb-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: #6a11cb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s, text-shadow 0.3s;
}

.iframe-menu li a:hover {
    color: #2575fc;
    text-shadow: 0 2px 8px rgba(37, 117, 252, 0.3);
}

.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) {
    .jdcsdb-game-item:active {
        transform: translateY(-3px) scale(0.98);
        box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
    }
    
    .jdcsdb-game-cover img:active {
        transform: scale(1.05);
        filter: saturate(1.3) brightness(1.1);
    }
    
    .recommend-item-btn:active {
        transform: translateY(-2px) scale(0.95);
        box-shadow: 0 0 15px rgba(0, 255, 136, 0.6);
    }
    
    #back-top:active,
    #back-home:active {
        transform: scale(0.9);
    }
    
    .jdcsdb-common-recommend-title:active {
        transform: translateY(-2px);
    }
    
    .badge-icon:active {
        transform: scale(1.05);
    }
    
    .badge-more-btn:active {
        transform: translateX(3px) scale(1.05);
    }
}

@media (max-width: 768px) {
    .jdcsdb-common-recommend-title {
        padding: 10px 14px;
        margin-bottom: 12px;
    }
    
    .badge-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
    }
    
    .badge-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .badge-title {
        font-size: 1.5rem;
    }
    
    .badge-subtitle {
        font-size: 0.75rem;
    }
    
    .badge-more-btn {
        width: 36px;
        height: 36px;
        border-radius: 10px;
    }
    
    .badge-more-btn svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .jdcsdb-common-recommend-title {
        padding: 8px 12px;
        margin-bottom: 10px;
        border-radius: 16px;
    }
    
    .badge-card {
        gap: 10px;
    }
    
    .badge-icon {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }
    
    .badge-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .badge-title {
        font-size: 1.5rem;
    }
    
    .badge-subtitle {
        font-size: 0.7rem;
    }
    
    .badge-more-btn {
        width: 32px;
        height: 32px;
        border-radius: 8px;
    }
    
    .badge-more-btn svg {
        width: 16px;
        height: 16px;
    }
}

.jdcsdb-game-item,
.recommend-item-btn,
.jdcsdb-common-recommend-title,
.jdcsdb-game-gameplay-button {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}

html {
    scroll-behavior: smooth;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .game-detail-wrapper {
        margin: 15px;
    }
    
    .game-detail-hero-section {
        grid-template-columns: 1fr;
        min-height: auto;
        border-radius: 24px;
    }
    
    .game-detail-image-container {
        min-height: 320px;
        height: 320px;
    }
    
    .game-detail-content-container {
        padding: 35px 30px;
        gap: 20px;
    }
    
    .detail-badge {
        font-size: 0.7rem;
        padding: 5px 14px;
    }
    
    .game-detail-main-title {
        font-size: 2.2rem;
    }
    
    .game-detail-main-desc {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .game-detail-cta-section {
        gap: 12px;
    }
    
    .game-detail-cta-btn {
        padding: 16px 32px;
        font-size: 1.15rem;
        width: 100%;
        justify-content: center;
    }
    
    .game-detail-share-btn {
        padding: 14px 24px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    .game-detail-stats {
        gap: 18px;
        padding-top: 12px;
    }
    
    .stat-item {
        font-size: 0.85rem;
    }
    
    .game-detail-hero {
        margin: 15px;
        border-radius: 20px;
    }
    
    .game-detail-hero-image {
        height: 280px;
    }
    
    .game-detail-hero-content {
        padding: 20px 25px 30px;
    }
    
    .game-detail-title-text {
        font-size: 1.8rem;
    }
    
    .game-detail-description {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    
    .game-detail-play-btn {
        padding: 14px 28px;
        font-size: 1.05rem;
    }
    
    .game-detail-play-btn svg {
        width: 24px;
        height: 24px;
    }
    
    .game-detail-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 15px;
        border-radius: 20px;
    }
    
    .game-detail-main-image {
        min-height: 300px;
        margin: 10px;
    }
    
    .game-detail-info-panel {
        padding: 0 30px 30px;
        gap: 20px;
    }
    
    .info-panel-header::after {
        width: 60px;
        height: 3px;
    }
    
    .game-detail-title-text {
        font-size: 2rem;
    }
    
    .game-detail-description {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .game-detail-play-btn {
        padding: 16px 32px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .game-detail-hero {
        margin: 10px;
        border-radius: 16px;
    }
    
    .game-detail-hero-image {
        height: 220px;
    }
    
    .game-detail-hero-content {
        padding: 15px 20px 25px;
    }
    
    .game-detail-title-text {
        font-size: 1.5rem;
    }
    
    .game-detail-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .game-detail-play-btn {
        padding: 12px 24px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    .game-detail-container {
        margin: 10px;
        border-radius: 16px;
    }
    
    .game-detail-main-image {
        min-height: 250px;
        margin: 8px;
    }
    
    .game-detail-info-panel {
        padding: 0 20px 25px;
        gap: 15px;
    }
    
    .info-panel-header::after {
        width: 50px;
        height: 3px;
    }
    
    .game-detail-title-text {
        font-size: 1.6rem;
    }
    
    .game-detail-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .game-detail-actions {
        flex-direction: column;
    }
    
    .game-detail-play-btn {
        padding: 14px 28px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
}
