body {
    max-width: 660px;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
    margin: 0 auto;
    padding: 0;
    background: linear-gradient(135deg, #F5F1EB 0%, #E8F0E8 30%, #F0EDE6 60%, #FAF8F5 100%);
    color: #2C3E2D;
    line-height: 1.6;
}

.tvfnv-navbar {
    max-width: 660px;
    display: flex;
    background: linear-gradient(135deg, #2D6A4F 0%, #40916C 50%, #52B788 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #FFFFFF;
    height: 72px;
    z-index: 10;
    box-shadow: 0 4px 30px rgba(45, 106, 79, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    align-items: center;
    justify-content: space-between;
    padding: 0px 20px;
    border-radius: 0 0 20px 20px;
}

.tvfnv-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;
}

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

.category-nav-item {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.category-nav-item:hover {
    background: linear-gradient(135deg, #C17C5A 0%, #D4956E 100%);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(193, 124, 90, 0.4);
    border-color: transparent;
}

.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;
}

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

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

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

.tvfnv-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;
}

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

.tvfnv-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.1);
    border-left: 1px solid #D4DDD4;
}

.tvfnv-menu li {
    position: relative;
}

.tvfnv-menu li a:hover {
    color: #C17C5A;
}

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

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

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

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

.tvfnv-menu li a:hover {
    color: #C17C5A;
    background: rgba(193, 124, 90, 0.1);
    transform: translateX(5px);
}

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

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

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

.tvfnv-game-item {
    border-radius: 20px;
    position: relative;
    background: linear-gradient(135deg, #FFFFFF 0%, #F5F8F5 100%);
    backdrop-filter: blur(10px);
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #D4DDD4;
    overflow: hidden;
}

.tvfnv-game-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #C17C5A, #52B788);
    opacity: 1;
    border-radius: 20px 20px 0 0;
}

.tvfnv-game-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(45, 106, 79, 0.15);
    background: linear-gradient(135deg, #FFFFFF 0%, #EDF5ED 100%);
    border-color: #52B788;
}

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

.tvfnv-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 #D4DDD4;
}

.tvfnv-game-cover img:hover {
    transform: scale(1.03);
    border-radius: 12px;
    box-shadow: 4px 4px 12px rgba(45, 106, 79, 0.2);
    filter: saturate(1.1) brightness(1.05);
    border-color: #C17C5A;
}

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

.tvfnv-game-item h3 {
    color: #2C3E2D;
    margin: 5px 0px;
    font-size: 0.75rem;
}

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

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

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

.tvfnv-game-info p:last-child { 
    font-size: 0.9rem;
    color: #7A8B7C;
    font-weight: 400;
}

.common-game-right {
    display: flex;
    width: 20%;
    background: linear-gradient(135deg, #C17C5A 0%, #D4956E 100%);
    border-radius: 2px;
    right: 0px;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 8px rgba(193, 124, 90, 0.3);
}

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

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

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

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

.tvfnv-gameplay-instructions-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #C17C5A 0%, #52B788 50%, #C17C5A 100%);
}

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

.gameplay-instruction-item:hover {
    box-shadow: 0 4px 12px rgba(82, 183, 136, 0.15);
    border-color: #52B788;
    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, #C17C5A 0%, #52B788 100%);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(193, 124, 90, 0.2);
}

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

.instruction-content {
    color: #5A6B5C;
    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%, #F5F8F5 100%);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    border-bottom: 3px solid #C17C5A;
    margin-bottom: 0;
}

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

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

.tvfnv-common-recommend-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F5F8F5 100%);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: visible;
    border: 1px solid #D4DDD4;
    margin-bottom: 18px;
    transition: all 0.3s ease;
}

.tvfnv-common-recommend-title:hover {
    box-shadow: 0 4px 12px rgba(82, 183, 136, 0.12);
    transform: translateY(-1px);
    border-color: #52B788;
}

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

.badge-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(82, 183, 136, 0.2);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.badge-icon:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 8px 24px rgba(82, 183, 136, 0.3);
}

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

.badge-icon-pink {
    background: linear-gradient(135deg, #E8A87C 0%, #F0C4A8 100%);
}

.badge-icon-purple {
    background: linear-gradient(135deg, #52B788 0%, #74C69D 100%);
}

.badge-icon-orange {
    background: linear-gradient(135deg, #C17C5A 0%, #D4956E 100%);
}

.badge-icon-blue {
    background: linear-gradient(135deg, #40916C 0%, #52B788 100%);
}

.badge-icon-green {
    background: linear-gradient(135deg, #2D6A4F 0%, #40916C 100%);
}

.badge-icon-yellow {
    background: linear-gradient(135deg, #D4956E 0%, #E8B88A 100%);
}

.badge-icon-red {
    background: linear-gradient(135deg, #C17C5A 0%, #D4956E 100%);
}

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

.badge-title {
    color: #2C3E2D;
    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: #F5F8F5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C17C5A;
    text-decoration: none;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    flex-shrink: 0;
    border: 1px solid #D4DDD4;
}

.badge-more-btn:hover {
    background: linear-gradient(135deg, #C17C5A 0%, #D4956E 100%);
    color: #FFFFFF;
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(193, 124, 90, 0.4);
}

.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);
}

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

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

.tvfnv-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: 25px 20px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F5F8F5 100%);
    backdrop-filter: blur(20px);
    text-align: center;
    margin-top: 35px;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.06);
    border-top: 1px solid #D4DDD4;
}

.tvfnv-footer-links a {
    font-size: 0.7em;
    color: #C17C5A;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 500;
}

.tvfnv-footer-links a:hover {
    color: #52B788;
    background: rgba(82, 183, 136, 0.1);
    transform: translateY(-1px);
}

footer .tvfnv-copyright {
    font-size: 0.8em;
    color: #7A8B7C;
    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;
    backdrop-filter: blur(10px);
    padding: 15px;
    gap: 15px;
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #D4DDD4;
    z-index: 1000;
}

#flow:hover {
    background: #F5F8F5;
    box-shadow: 0 4px 16px rgba(82, 183, 136, 0.15);
    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);
}

.tvfnv-game-detail-title {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 30px 2rem;
    background: linear-gradient(135deg, #FFFFFF 0%, #F5F8F5 100%);
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin: 20px;
    border: 1px solid #D4DDD4;
}

.tvfnv-game-detail-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #C17C5A, #52B788);
    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: linear-gradient(135deg, #FFFFFF 0%, #F5F8F5 100%);
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #D4DDD4;
    overflow: hidden;
    position: relative;
    min-height: 520px;
}

.game-detail-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #C17C5A, #52B788);
    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: linear-gradient(135deg, #C17C5A 0%, #D4956E 100%);
    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(193, 124, 90, 0.3);
    width: fit-content;
}

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

.game-detail-main-desc {
    color: #5A6B5C;
    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: linear-gradient(135deg, #C17C5A 0%, #D4956E 100%);
    border-radius: 4px;
    padding: 18px 42px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(193, 124, 90, 0.3);
    border: 1px solid #C17C5A;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-detail-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(193, 124, 90, 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: #F5F8F5;
    border: 1px solid #D4DDD4;
    border-radius: 4px;
    padding: 16px 28px;
    color: #C17C5A;
    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: linear-gradient(135deg, #C17C5A 0%, #D4956E 100%);
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(193, 124, 90, 0.4);
}

.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 #D4DDD4;
}

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

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

.game-detail-container {
    margin: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    background: linear-gradient(135deg, #FFFFFF 0%, #F5F8F5 100%);
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #D4DDD4;
    overflow: hidden;
    position: relative;
}

.game-detail-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #C17C5A, #52B788);
    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: linear-gradient(90deg, #C17C5A, #52B788);
    border-radius: 2px;
}

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

.game-detail-description {
    color: #5A6B5C;
    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: linear-gradient(135deg, #C17C5A 0%, #D4956E 100%);
    border-radius: 4px;
    padding: 18px 40px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(193, 124, 90, 0.3);
    border: 1px solid #C17C5A;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-detail-play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(193, 124, 90, 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: linear-gradient(135deg, rgba(26, 16, 53, 0.9) 0%, rgba(30, 18, 69, 0.9) 100%);
    border-radius: 4px;
    box-shadow: 0 2px 12px rgba(124, 58, 237, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.2);
    overflow: hidden;
    position: relative;
}

.game-detail-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #C17C5A, #52B788);
    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(26, 16, 53, 0.95) 0%, rgba(26, 16, 53, 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: #E8E0F0;
    font-size: 2.5rem;
    margin: 0 0 15px 0;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.game-detail-description {
    color: #B8A8D0;
    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: linear-gradient(135deg, #C17C5A 0%, #D4956E 100%);
    border-radius: 4px;
    padding: 16px 36px;
    color: #1A1035;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.3);
    border: 1px solid #C17C5A;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.game-detail-play-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 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);
}

.tvfnv-game-detail-title {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 30px 2rem;
    background: linear-gradient(135deg, rgba(26, 16, 53, 0.9) 0%, rgba(30, 18, 69, 0.9) 100%);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.2);
    margin: 20px;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.tvfnv-game-detail-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #C17C5A, #52B788);
    border-radius: 4px 4px 0 0;
}

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

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

.tvfnv-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;
}

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

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

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

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

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

.tvfnv-game-instructions {
    display: flex;
    flex-wrap: wrap;
    margin: 20px;
    background: linear-gradient(135deg, rgba(26, 16, 53, 0.9) 0%, rgba(30, 18, 69, 0.9) 100%);
    padding: 25px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.tvfnv-game-instructions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #C17C5A, #52B788);
    border-radius: 4px 4px 0 0;
}

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

.tvfnv-game-gameplay-button {
    display: flex;
    background: linear-gradient(135deg, #C17C5A 0%, #D4956E 100%);
    border-radius: 4px;
    padding: 20px 40px;
    width: fit-content;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
    border: 1px solid #C17C5A;
    position: relative;
    overflow: hidden;
    margin: 30px auto 0;
    transition: all 0.3s ease;
}

.tvfnv-game-gameplay-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

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

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

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

.tvfnv-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;
}

.tvfnv-news-detail{
    color: #E8E0F0;
    text-align: start;
    padding: 2.5rem;
    margin-top: 30px;
    background: linear-gradient(135deg, rgba(26, 16, 53, 0.9) 0%, rgba(30, 18, 69, 0.9) 100%);
    border-radius: 8px;
    margin-left: 20px;
    margin-right: 20px;
    border: 1px solid rgba(168, 85, 247, 0.2);
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.15);
    line-height: 1.8;
    position: relative;
    overflow: hidden;
}

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

.tvfnv-news-detail h3 {
    color: #E8E0F0;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(168, 85, 247, 0.15);
    position: relative;
}

.tvfnv-news-detail h3::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #C17C5A, #52B788);
}

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

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

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

.tvfnv-news-detail strong {
    color: #C17C5A;
    font-weight: 700;
}

.tvfnv-news-detail ul {
    padding-left: 1.5rem;
    margin-bottom: 1.2rem;
    background: rgba(26, 16, 53, 0.5);
    padding: 1.2rem 1.2rem 1.2rem 2.5rem;
    border-radius: 6px;
    border-left: 3px solid #C17C5A;
}

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

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

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

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

.tvfnv-news-detail a:hover {
    color: #52B788;
    border-bottom-color: #52B788;
}

.tvfnv-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);
}

.tvfnv-news-detail em {
    color: #8B7BA8;
    font-style: italic;
}

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

@media (max-width: 480px) {
    .tvfnv-news-detail {
        padding: 1.2rem;
        margin-left: 10px;
        margin-right: 10px;
        border-radius: 14px;
    }
    
    .tvfnv-news-detail h3 {
        font-size: 1.3rem;
    }
    
    .tvfnv-news-detail h4 {
        font-size: 1.05rem;
        margin-top: 1.5rem;
    }
    
    .tvfnv-news-detail p,
    .tvfnv-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: #C17C5A;
}

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

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

.tvfnv-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;
}

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

.tvfnv-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;
}

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

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

#tvfnv-game-body {
    margin-top: 30px;
}

.iframe-menu {
    display: flex;
    width: 60%;
    flex-direction: column;
    gap: 35px;
    background: linear-gradient(135deg, #1A1035 0%, #1E1245 100%);
    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;
    box-shadow: -5px 0 15px rgba(124, 58, 237, 0.3);
    border-left: 1px solid rgba(168, 85, 247, 0.3);
}

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

.iframe-menu li a {
    font-size: 1rem;
    color: #C17C5A;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s, text-shadow 0.3s;
}

.iframe-menu li a:hover {
    color: #52B788;
    text-shadow: 0 2px 8px rgba(236, 72, 153, 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) {
    .tvfnv-game-item:active {
        transform: translateY(-3px) scale(0.98);
        box-shadow: 0 0 20px rgba(245, 158, 11, 0.5);
    }
    
    .tvfnv-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(245, 158, 11, 0.6);
    }
    
    #back-top:active,
    #back-home:active {
        transform: scale(0.9);
    }
    
    .tvfnv-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) {
    .tvfnv-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) {
    .tvfnv-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;
    }
}

.tvfnv-game-item,
.recommend-item-btn,
.tvfnv-common-recommend-title,
.tvfnv-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;
    }
}
