body {
    max-width: 660px;
    font-family: Arial, sans-serif;
    margin: 0 auto;
    padding: 0;
    background: #ffffff;
}

header {
    width: 100%;
    max-width: 660px;
    display: flex;
    background: #6B21A8;
    color: #ffffff;
    height: 6vh;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

#nav-open {
    display: block;
    position: relative;   
    height: 3vh;
}

#nav-close {
    display: none;
    position: relative;   
    height: 4vh;
}



.udcb-nav-logo img {
    height: 4vh;
    display: block;
}

.udcb-navbar {
    display: flex;
    color: #fff;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0px 20px;
    position: relative;
}

.udcb-menu {
    display: flex;
    width: 30%;
    flex-direction: column;
    gap: 35px;
    background: #059669;
    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.3);
}

.udcb-menu li {
    position: relative;

}

.udcb-menu li a:hover {
    color: #F59E0B;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.udcb-menu.open {
    display: flex;
    flex-direction: column;
}

.udcb-menu.open #nav-open {
    display: none;
}

.udcb-menu.open #nav-close {
    display: block;
}

.udcb-menu li a {
    font-size: 1rem;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
}

#udcb-menu {
    animation: fadeIn 0.1s ease-in-out;
}

@keyframes fadeIn {
    0% {
        opacity: 0.3;
        width: 0%;
    }

    100% {
        opacity: 1;
        width: 30%;
    }
}

.udcb-game-item {
    border-radius: 15px;
    position: relative;
    padding: 15px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 3px solid #F59E0B;
}

.udcb-game-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(107, 33, 168, 0.3);
    border-color: #6B21A8;
}
.udcb-game-item a {
    
    text-decoration: none;
}

.udcb-game-cover img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    box-shadow: 0px 6px 18px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.udcb-game-cover img:hover {
    transform: scale(1.05);
}

.udcb-game-cover-recommend img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.udcb-game-item h3 {
    color: #2563EB;
    margin: 10px 0px 5px 0px;
    font-size: 0.85rem;
    font-weight: bold;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);

}

.udcb-game-item p {
    color: #000;
    margin: 0px;
    font-size: 1rem;
}

.udcb-game-info {
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    padding: 5px;
}

.udcb-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: 1rem;
    color: #57606f;
    font-weight: 500;
}

.udcb-game-info p:last-child { 
 font-size: 0.8rem;
    color: #777777;
}

.common-game-right {
    display: flex;
    width: 20%;
    height: 30px;
    background: #2563EB;
    border-radius: 20px;
    right: 0px;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.common-game-right img {
    /* width: 60px; */
    /* height: 20px; */
}

.udcb-recomed-div {
    margin: 0px 10px;
    border-radius: 5px;
    padding: 10px 0px;

}

.udcb-detail-recomed-div {
    margin: 10px 20px;
    border-radius: 5px;
    padding: 10px 0px;

}

.udcb-common-recommend-title {
    display: flex;
    align-items: center;
    padding: 0px 10px;
    background: #F59E0B;
    border-radius: 10px;
    position: relative;
}

.udcb-common-recommend-title p {
    color: #fff;
    font-size: 1rem;
    margin: 10px 0px;
    font-weight: bold;
    width: 100%;
    text-align: center;
}

.udcb-common-recommend-title img {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
}

.udcb-common-recommend-content {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Two columns layout */
    gap: 0.5rem;
    /* Gap between items */
}

.udcb-common-recommend-content-2 {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Two columns layout */
    gap: 0.5rem;
    /* Gap between items */
}

.udcb-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: #059669;
    text-align: center;
}

.udcb-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    /* Space between links */
    margin-bottom: 10px;
}

.udcb-footer-links a {
    font-size: 0.7em;
    color: 	#ffffff ;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.udcb-footer-links a:hover {
    text-decoration: underline;
    color: #F59E0B;
}

footer .udcb-copyright {
    font-size: 0.8em;
    color: 	#ffffff ;
    margin: 10px 0px;
    font-weight: bold;
}

#back-top,
#back-home {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

#flow {
    position: fixed;
    bottom: 10rem;
    right: 0.6rem;
    display: none;
    flex-direction: column;
    align-items: center;
    background: #6B21A8;
    padding: 0.5rem;
    gap: 10PX;
    border-radius: 10rem;
    box-shadow: 0 0px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, box-shadow 0.3s;
}

#flow:hover {
    background: #2563EB;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.udcb-game-detail-title {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0px 1rem;
    border-radius: 10px;
}

.game-detail-iframe {
    width: 100%;
}

.udcb-game-detail-img {
    width: 80%;
}

.udcb-game-detail-img img {
    width: 100%;
    /* Adjusted height for better appearance */
    border-radius: 10px;
    object-fit: cover;
    aspect-ratio: 1 / 0.8;
    display: block;
   
}

.udcb-detail-info {
    /* z-index: 15; */
    position: relative;
    /* width: 100%; */
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin: 0px 20px;
    order: 1;
}

.udcb-detail-info h2 {
    color: #000;
    font-size: 1rem;
    margin: 10px;
    font-weight: 300;
}

.udcb-detail-info p {
    color: #000;
    font-size: 1rem;
    margin: 10px 0px;

}

.udcb-detail-info a {
    text-decoration: none;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    order: -1;
}

.udcb-game-instructions {
    display: flex;
    flex-wrap: wrap;
    margin: 10px 20px;
    background: #059669;
    padding: 20px;
    border-radius: 10px;
} 


.udcb-game-instructions p {
    color: #fff;
    line-height: 1.5rem;
    font-size : 1rem;
}



.udcb-game-gameplay-button {
    display: flex;
    background: #F59E0B;
    border-radius: 10px;
    margin: 10px;
    width: 50%;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -140px; 
    right: -10px;   
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.udcb-game-gameplay-button img {
    width: 120px;
    height: 120px;

}
.udcb-game-gameplay-button p {
    color: #fff;
    margin: 0px;


}

.udcb-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;
}
.udcb-news-detail{
    color: #000;
    text-align: start;
    padding: 1rem;
    margin-top: 30px;
}
.udcb-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: #000;
}
.error-page p{
    font-size: 1.4em;
    color: #000;
    padding: 1rem;
    
}
.error-page img{
    width: 100%;
    padding: 2rem 1rem;
}

.udcb-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;
}

.udcb-game-mark img{
    width: 50px;
    height: 25px;
   
}

.udcb-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;
}

.udcb-game-new img{
    width: 50px;
    height: 50px;
   
}

.udcb-game-mark p {
    color: #fff;
    font-size: 1rem;
    margin: 0px 10px;
}

#udcb-game-body {
    margin-top: 30px;
}

.iframe-menu {
    display: flex;
    width: 60%;
    flex-direction: column;
    gap: 35px;
    background: #ffffff;
    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;
    border-left: 3px solid #6B21A8;
}

/* 展开菜单时的导航栏样式 */
.iframe-menu.open {
    display: flex;
    flex-direction: column;
}

.iframe-menu li a {
    font-size: 1rem;
    color: #3A86FF;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.iframe-menu li a:hover {
    color: #FF2E63;
    transform: translateX(5px);
}

.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;
}

.udcb-search-box {
    display: flex;
    align-items: center;
    position: relative;
    flex: 1;
    max-width: 300px;
    margin: 0 20px;
}

.udcb-search-box input {
    width: 100%;
    padding: 8px 40px 8px 15px;
    border: 2px solid #F59E0B;
    border-radius: 25px;
    background: #ffffff;
    color: #333;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
}

.udcb-search-box input:focus {
    border-color: #6B21A8;
    box-shadow: 0 0 10px rgba(107, 33, 168, 0.2);
}

.udcb-search-icon {
    position: absolute;
    right: 12px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.udcb-search-icon:hover {
    transform: scale(1.1);
    stroke: #2563EB;
}

.udcb-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 2px solid #F59E0B;
    border-radius: 10px;
    margin-top: 5px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    display: none;
    z-index: 100;
}

.udcb-search-results.active {
    display: block;
}

.udcb-search-result-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.udcb-search-result-item:last-child {
    border-bottom: none;
}

.udcb-search-result-item:hover {
    background-color: #f8f8f8;
}

.udcb-search-result-item img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    margin-right: 10px;
    object-fit: cover;
}

.udcb-search-result-item .result-info {
    flex: 1;
}

.udcb-search-result-item .result-info h4 {
    margin: 0;
    font-size: 0.9rem;
    color: #6B21A8;
}

.udcb-search-result-item .result-info p {
    margin: 5px 0 0;
    font-size: 0.8rem;
    color: #666;
}

.udcb-game-guides-section {
    margin: 30px 10px;
    padding: 20px;
    background: linear-gradient(135deg, #6B21A8 0%, #2563EB 100%);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(107, 33, 168, 0.3);
}

.udcb-game-guides-section .udcb-common-recommend-title {
    background: transparent;
    margin-bottom: 20px;
}

.udcb-game-guides-section .udcb-common-recommend-title p {
    font-size: 1.2rem;
}

.udcb-guides-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.udcb-guide-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.udcb-guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(107, 33, 168, 0.2);
}

.udcb-guide-card h4 {
    color: #6B21A8;
    margin: 0 0 10px;
    font-size: 1rem;
    font-weight: bold;
}

.udcb-guide-card .guide-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 0.8rem;
    color: #888;
}

.udcb-guide-card .guide-meta span {
    display: flex;
    align-items: center;
}

.udcb-guide-card p {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.udcb-guide-card .read-more {
    display: inline-block;
    margin-top: 15px;
    color: #2563EB;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.2s ease;
}

.udcb-guide-card .read-more:hover {
    color: #6B21A8;
}

.udcb-newsletter-section {
    margin: 30px 10px;
    padding: 30px 20px;
    background: linear-gradient(135deg, #059669 0%, #2563EB 100%);
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.3);
}

.udcb-newsletter-content {
    text-align: center;
}

.udcb-newsletter-content h3 {
    color: #ffffff;
    margin: 0 0 10px;
    font-size: 1.3rem;
    font-weight: bold;
}

.udcb-newsletter-content > p {
    color: #ffffff;
    margin: 0 0 20px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.udcb-newsletter-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.udcb-newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid #ffffff;
    border-radius: 25px;
    font-size: 0.95rem;
    outline: none;
    background: #ffffff;
    transition: all 0.3s ease;
}

.udcb-newsletter-form input:focus {
    border-color: #F59E0B;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.3);
}

.udcb-newsletter-form button {
    padding: 12px 30px;
    background: #F59E0B;
    color: #ffffff;
    border: none;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.udcb-newsletter-form button:hover {
    background: #d97706;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

#newsletter-message {
    margin-top: 15px;
    color: #ffffff;
    font-size: 0.9rem;
    min-height: 20px;
}

.udcb-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 10px 0;
}

.udcb-rating .star {
    font-size: 1.5rem;
    color: #ddd;
    cursor: pointer;
    transition: color 0.2s ease;
}

.udcb-rating .star.active,
.udcb-rating .star:hover {
    color: #F59E0B;
}

.udcb-rating-text {
    margin-left: 10px;
    color: #666;
    font-size: 0.9rem;
}

.udcb-comments-section {
    margin: 20px 0;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.udcb-comments-section h3 {
    color: #6B21A8;
    margin: 0 0 15px;
    font-size: 1.1rem;
}

.udcb-comment-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.udcb-comment-form input,
.udcb-comment-form textarea {
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.udcb-comment-form input:focus,
.udcb-comment-form textarea:focus {
    border-color: #6B21A8;
}

.udcb-comment-form textarea {
    min-height: 80px;
    resize: vertical;
}

.udcb-comment-form button {
    padding: 10px 20px;
    background: #6B21A8;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.udcb-comment-form button:hover {
    background: #2563EB;
    transform: translateY(-2px);
}

.udcb-comment-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.udcb-comment {
    padding: 15px;
    background: #f8f8f8;
    border-radius: 8px;
    border-left: 3px solid #6B21A8;
}

.udcb-comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.udcb-comment-author {
    font-weight: bold;
    color: #6B21A8;
    font-size: 0.95rem;
}

.udcb-comment-date {
    color: #999;
    font-size: 0.8rem;
}

.udcb-comment p {
    margin: 0;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .udcb-search-box {
        max-width: 150px;
        margin: 0 10px;
    }
    
    .udcb-newsletter-form {
        flex-direction: column;
    }
    
    .udcb-newsletter-form button {
        width: 100%;
    }
    
    .udcb-guides-container {
        grid-template-columns: 1fr;
    }
}

.udcb-theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    cursor: pointer;
    margin-right: 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.udcb-theme-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(180deg);
}

.udcb-theme-toggle svg {
    width: 20px;
    height: 20px;
}

body.dark-mode {
    background: #1a1a2e;
    color: #e0e0e0;
}

body.dark-mode header {
    background: #16213e;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

body.dark-mode .udcb-menu {
    background: #0f3460;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
}

body.dark-mode .udcb-game-item {
    background: #16213e;
    border-color: #F59E0B;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

body.dark-mode .udcb-game-item:hover {
    box-shadow: 0 10px 25px rgba(107, 33, 168, 0.5);
}

body.dark-mode .udcb-game-item h3 {
    color: #818cf8;
}

body.dark-mode .udcb-game-info p {
    color: #b0b0b0;
}

body.dark-mode .udcb-common-recommend-title {
    background: #F59E0B;
}

body.dark-mode .udcb-common-recommend-title p {
    color: #1a1a2e;
}

body.dark-mode .udcb-search-box input {
    background: #16213e;
    color: #e0e0e0;
    border-color: #F59E0B;
}

body.dark-mode .udcb-search-results {
    background: #16213e;
    border-color: #F59E0B;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

body.dark-mode .udcb-search-result-item {
    border-bottom-color: #2a2a4a;
}

body.dark-mode .udcb-search-result-item:hover {
    background-color: #1f2937;
}

body.dark-mode .udcb-search-result-item .result-info h4 {
    color: #818cf8;
}

body.dark-mode .udcb-search-result-item .result-info p {
    color: #b0b0b0;
}

body.dark-mode .udcb-game-guides-section {
    background: linear-gradient(135deg, #16213e 0%, #0f3460 100%);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

body.dark-mode .udcb-guide-card {
    background: #16213e;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

body.dark-mode .udcb-guide-card:hover {
    box-shadow: 0 8px 25px rgba(107, 33, 168, 0.4);
}

body.dark-mode .udcb-guide-card h4 {
    color: #818cf8;
}

body.dark-mode .udcb-guide-card p {
    color: #b0b0b0;
}

body.dark-mode .udcb-newsletter-section {
    background: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

body.dark-mode .udcb-newsletter-form input {
    background: #16213e;
    color: #e0e0e0;
    border-color: #e0e0e0;
}

body.dark-mode .udcb-newsletter-form input:focus {
    border-color: #F59E0B;
}

body.dark-mode footer {
    background: #0f3460;
}

body.dark-mode .udcb-footer-links a {
    color: #e0e0e0;
}

body.dark-mode .udcb-footer-links a:hover {
    color: #F59E0B;
}

body.dark-mode footer .udcb-copyright {
    color: #e0e0e0;
}

body.dark-mode #flow {
    background: #16213e;
    box-shadow: 0 0px 6px rgba(0, 0, 0, 0.5);
}

body.dark-mode #flow:hover {
    background: #0f3460;
}

body.dark-mode .udcb-game-instructions {
    background: #16213e;
}

body.dark-mode .udcb-game-detail-title {
    background: #16213e;
}

body.dark-mode .udcb-detail-info h2,
body.dark-mode .udcb-detail-info p {
    color: #e0e0e0;
}

body.dark-mode .udcb-comments-section {
    background: #16213e;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

body.dark-mode .udcb-comments-section h3 {
    color: #818cf8;
}

body.dark-mode .udcb-comment-form input,
body.dark-mode .udcb-comment-form textarea {
    background: #1f2937;
    color: #e0e0e0;
    border-color: #2a2a4a;
}

body.dark-mode .udcb-comment-form input:focus,
body.dark-mode .udcb-comment-form textarea:focus {
    border-color: #6B21A8;
}

body.dark-mode .udcb-comment {
    background: #1f2937;
    border-left-color: #6B21A8;
}

body.dark-mode .udcb-comment-author {
    color: #818cf8;
}

body.dark-mode .udcb-comment p {
    color: #b0b0b0;
}

body.dark-mode .udcb-news-detail {
    color: #e0e0e0;
}

body.dark-mode .error-page h1,
body.dark-mode .error-page p {
    color: #e0e0e0;
}

body.dark-mode .iframe-menu {
    background: #16213e;
    border-left-color: #6B21A8;
}

body.dark-mode .iframe-menu li a {
    color: #818cf8;
}

body.dark-mode .iframe-menu li a:hover {
    color: #F59E0B;
}

body.dark-mode .recommend-item {
    background: #16213e;
    border-color: #F59E0B;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

body.dark-mode .recommend-item:hover {
    box-shadow: 0 12px 25px rgba(107, 33, 168, 0.5);
}

body.dark-mode .recommend-item-info h3 {
    color: #818cf8;
}

body.dark-mode .recommend-item-info p {
    color: #b0b0b0;
}

body.dark-mode .udcb-game-title p {
    color: #e0e0e0;
}

body.dark-mode .udcb-nav-game-info p {
    color: #e0e0e0;
}

body.dark-mode .common-game-right {
    background: #2563EB;
}

body.dark-mode .udcb-game-gameplay-button {
    background: #F59E0B;
}

body.dark-mode .udcb-game-mark p {
    color: #e0e0e0;
}

body.dark-mode .udcb-game-new p {
    color: #e0e0e0;
}

@media (prefers-color-scheme: dark) {
    body:not(.light-mode) {
        background: #1a1a2e;
        color: #e0e0e0;
    }
}






