@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root {
    /* Core palette - "Sunset Glow" theme */
    --c-primary: #1E1B4B;
    --c-primary-2: #312E81;
    --c-accent: #FF6B35;
    --c-accent-2: #E11D48;
    --c-accent-3: #F59E0B;
    --c-mint: #14B8A6;

    /* Surfaces */
    --c-bg: #FFFBF5;
    --c-bg-soft: #FFF4E6;
    --c-card: #FFFFFF;

    /* Text */
    --c-text: #1E1B4B;
    --c-text-2: #4B5563;
    --c-text-3: #94A3B8;
    --c-text-inv: #FFFFFF;

    /* Borders */
    --c-border: #F3E8D7;
    --c-border-soft: #FAEBD7;

    /* Gradients */
    --g-brand: linear-gradient(135deg, #FF6B35 0%, #E11D48 50%, #8B5CF6 100%);
    --g-warm: linear-gradient(135deg, #FF6B35 0%, #F59E0B 100%);
    --g-sunset: linear-gradient(135deg, #E11D48 0%, #FF6B35 50%, #F59E0B 100%);
    --g-aurora: linear-gradient(135deg, #8B5CF6 0%, #E11D48 50%, #FF6B35 100%);
    --g-dark: linear-gradient(135deg, #1E1B4B 0%, #312E81 60%, #4C1D95 100%);
    --g-card: linear-gradient(135deg, #FFFFFF 0%, #FFFBF5 100%);

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(30, 27, 75, 0.04);
    --shadow-sm: 0 2px 8px rgba(30, 27, 75, 0.06), 0 1px 2px rgba(30, 27, 75, 0.04);
    --shadow-md: 0 8px 24px rgba(30, 27, 75, 0.08), 0 2px 6px rgba(30, 27, 75, 0.04);
    --shadow-lg: 0 16px 40px rgba(30, 27, 75, 0.12), 0 4px 12px rgba(30, 27, 75, 0.06);
    --shadow-glow: 0 8px 28px rgba(255, 107, 53, 0.25);
    --shadow-glow-2: 0 8px 28px rgba(225, 29, 72, 0.25);

    /* Radii */
    --radius-xs: 8px;
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 22px;
    --radius-xl: 28px;
    --radius-full: 999px;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    max-width: 680px;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin: 0 auto;
    padding: 0;
    background-color: var(--c-bg);
    background-image:
        radial-gradient(ellipse 70% 50% at 20% 0%, rgba(255, 107, 53, 0.10) 0%, transparent 60%),
        radial-gradient(ellipse 60% 60% at 90% 25%, rgba(225, 29, 72, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 50% 90%, rgba(139, 92, 246, 0.07) 0%, transparent 60%);
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--c-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========== HEADER ========== */
header {
    width: 100%;
    max-width: 680px;
    display: flex;
    color: #FFFFFF;
    height: 68px;
    z-index: 50;
    position: sticky;
    top: 0;
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.95) 0%, rgba(49, 46, 129, 0.93) 50%, rgba(76, 29, 149, 0.92) 100%);
    box-shadow: 0 4px 30px rgba(30, 27, 75, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#nav-open {
    display: block;
    position: relative;
    height: 20px;
    filter: brightness(0) invert(1);
}

#nav-close {
    display: none;
    position: relative;
    height: 20px;
    filter: brightness(0) invert(1);
}

.rvfvdb-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 16px;
    position: relative;
}

.rvfvdb-nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    flex: 1;
    min-width: 0;
}

/* Rounded logo container */
.rvfvdb-logo-wrap {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--g-sunset);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 6px 20px rgba(255, 107, 53, 0.35),
        0 2px 6px rgba(225, 29, 72, 0.2),
        inset 0 0 0 1.5px rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
    position: relative;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

.rvfvdb-logo-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.rvfvdb-nav-logo:hover .rvfvdb-logo-wrap {
    transform: translateY(-1px) rotate(-3deg);
    box-shadow:
        0 8px 24px rgba(255, 107, 53, 0.45),
        0 3px 8px rgba(225, 29, 72, 0.25),
        inset 0 0 0 1.5px rgba(255, 255, 255, 0.3);
}

.rvfvdb-nav-logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}

.rvfvdb-nav-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
    min-width: 0;
}

.rvfvdb-nav-logo .site-title {
    font-family: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.2px;
    background: linear-gradient(90deg, #FFFFFF 0%, #FFE4D6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rvfvdb-nav-logo .site-tagline {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-top: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rvfvdb-menu-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.rvfvdb-menu-icon:hover {
    background: var(--g-sunset);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 107, 53, 0.35);
}

/* ========== SIDE MENU ========== */
.rvfvdb-menu {
    display: flex;
    width: 78%;
    max-width: 320px;
    flex-direction: column;
    gap: 2px;
    background: linear-gradient(180deg, #FFFFFF 0%, #FFFBF5 100%);
    position: absolute;
    align-items: stretch;
    height: calc(100vh - 68px);
    top: 68px;
    right: 0;
    padding: 16px 12px;
    z-index: 60;
    margin: 0;
    list-style-type: none;
    display: none;
    box-shadow: -16px 0 50px rgba(30, 27, 75, 0.18);
    border-left: 1px solid var(--c-border);
    border-radius: 24px 0 0 24px;
    overflow-y: auto;
}

.rvfvdb-menu li {
    position: relative;
    width: 100%;
    border-radius: var(--radius-sm);
    transition: all 0.25s ease;
}

.rvfvdb-menu li:hover {
    background: linear-gradient(90deg, rgba(255, 107, 53, 0.08), rgba(225, 29, 72, 0.04));
    transform: translateX(4px);
}

.rvfvdb-menu li:not(:last-child) {
    border-bottom: 1px solid var(--c-border-soft);
}

.rvfvdb-menu.open {
    display: flex;
    flex-direction: column;
}

.rvfvdb-menu.open #nav-open {
    display: none;
}

.rvfvdb-menu.open #nav-close {
    display: block;
}

.rvfvdb-menu li a {
    font-size: 0.95rem;
    color: var(--c-text);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    padding: 13px 14px;
    letter-spacing: 0.1px;
    border-radius: var(--radius-sm);
}

.rvfvdb-menu li a::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--g-sunset);
    margin-right: 12px;
    opacity: 0.6;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.rvfvdb-menu li a:hover {
    color: var(--c-primary);
}

.rvfvdb-menu li a:hover::before {
    transform: scale(1.5);
    opacity: 1;
    box-shadow: 0 0 8px rgba(255, 107, 53, 0.5);
}

#rvfvdb-menu {
    animation: slideIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateX(40px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========== GAME CARD ========== */
.rvfvdb-game-item {
    border-radius: var(--radius-md);
    position: relative;
    background: var(--g-card);
    padding: 6px;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    border: 1px solid var(--c-border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.rvfvdb-game-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    padding: 1px;
    background: var(--g-sunset);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.rvfvdb-game-item:hover {
    transform: translateY(-4px);
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}

.rvfvdb-game-item:hover::before {
    opacity: 1;
}

.rvfvdb-game-item a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* ========== GAME COVER ========== */
.rvfvdb-game-cover img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.rvfvdb-game-item:hover .rvfvdb-game-cover img {
    transform: scale(1.08);
}

.rvfvdb-game-cover-recommend img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.rvfvdb-game-item:hover .rvfvdb-game-cover-recommend img {
    transform: scale(1.08);
}

/* ========== GAME TEXT ========== */
.rvfvdb-game-item h3 {
    color: var(--c-text);
    margin: 6px 4px 4px;
    font-size: 0.78rem;
    font-weight: 700;
}

.rvfvdb-game-item p {
    color: var(--c-text-2);
    margin: 0;
    font-size: 1rem;
}

.rvfvdb-game-info {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    padding: 6px 6px 4px;
    gap: 2px;
}

.rvfvdb-game-info p:first-child {
    font-size: 0.82rem;
    color: var(--c-text);
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rvfvdb-game-info p:last-child {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.45em;
    max-height: 2.9em;
    font-size: 0.72rem;
    color: var(--c-text-2);
    font-weight: 500;
}

/* ========== SECTION DIVIDERS ========== */
.rvfvdb-recomed-div {
    margin: 8px 12px 20px;
    border-radius: var(--radius-lg);
}

.rvfvdb-detail-recomed-div {
    margin: 12px 20px;
    border-radius: var(--radius-lg);
    padding: 12px 0;
}

/* ========== SECTION TITLE BAR ========== */
.rvfvdb-common-recommend-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: var(--g-sunset);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.25);
    position: relative;
    overflow: hidden;
}

.rvfvdb-common-recommend-title::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), transparent 60%);
    pointer-events: none;
}

.rvfvdb-common-recommend-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
    pointer-events: none;
}

.rvfvdb-common-recommend-title p {
    color: #fff;
    font-size: 0.95rem;
    margin: 0;
    font-weight: 700;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.rvfvdb-common-recommend-title p::before {
    content: '';
    width: 4px;
    height: 18px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.rvfvdb-common-recommend-title img {
    width: 20px;
    height: 20px;
    opacity: 0.9;
    transition: all 0.3s ease;
    filter: brightness(0) invert(1);
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.rvfvdb-common-recommend-title img:hover {
    opacity: 1;
    transform: translateX(3px) scale(1.1);
}

/* ========== GRIDS ========== */
.rvfvdb-recommend-content {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 12px;
    background: var(--c-card);
    border: 1px solid var(--c-border);
    border-top: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.rvfvdb-common-recommend-content {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.rvfvdb-common-recommend-content-2 {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.rvfvdb-game-big-2 {
    grid-column: span 2;
    grid-row: span 2;
}

.game-big-3 {
    grid-column: span 3;
    grid-row: span 3;
}

/* ========== FOOTER ========== */
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 20px 28px;
    background: var(--g-dark);
    text-align: center;
    margin-top: 40px;
    border-radius: 28px 28px 0 0;
    box-shadow: 0 -8px 40px rgba(30, 27, 75, 0.35);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--g-sunset);
}

footer::after {
    content: '';
    position: absolute;
    top: -40%;
    right: -10%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15), transparent 70%);
    pointer-events: none;
}

.rvfvdb-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.rvfvdb-footer-links a {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.rvfvdb-footer-links a:hover {
    color: #fff;
    background: var(--g-sunset);
    border-color: transparent;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(255, 107, 53, 0.35);
}

footer .rvfvdb-copyright {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 10px 0 0;
    font-weight: 500;
    position: relative;
    z-index: 1;
    letter-spacing: 0.2px;
}

/* ========== FLOATING BUTTONS ========== */
#back-top,
#back-home {
    width: 24px;
    height: 24px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

#back-top:hover,
#back-home:hover {
    transform: scale(1.2) translateY(-2px);
}

#flow {
    position: fixed;
    bottom: 80px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    padding: 8px 6px;
    gap: 8px;
    border-radius: 22px;
    box-shadow: 0 10px 28px rgba(30, 27, 75, 0.18), 0 2px 6px rgba(30, 27, 75, 0.06);
    transition: all 0.3s ease;
    border: 1px solid var(--c-border);
    z-index: 40;
}

#flow:hover {
    box-shadow: 0 14px 36px rgba(255, 107, 53, 0.25);
    transform: translateY(-3px);
    border-color: rgba(255, 107, 53, 0.3);
}

#flow > div,
#flow > img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c-bg-soft), var(--c-card));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

#flow > div:hover,
#flow > img:hover {
    background: var(--g-sunset);
    filter: brightness(0) invert(1);
}

/* ========== GAME DETAIL ========== */
.rvfvdb-game-detail-title {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0 16px;
    border-radius: var(--radius-lg);
}

.game-detail-iframe {
    width: 100%;
}

.rvfvdb-game-detail-img {
    width: 100%;
}

.rvfvdb-game-detail-img img {
    width: 100%;
    border-radius: var(--radius-md);
    object-fit: cover;
    aspect-ratio: 1 / 0.8;
    display: block;
    box-shadow: var(--shadow-md);
}

.rvfvdb-detail-info {
    position: relative;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    margin: 0 16px;
    order: 1;
}

.rvfvdb-detail-info h2 {
    color: var(--c-text);
    font-size: 1.1rem;
    margin: 12px 8px;
    font-weight: 700;
}

.rvfvdb-detail-info p {
    color: var(--c-text-2);
    font-size: 0.95rem;
    margin: 10px 0;
    line-height: 1.7;
}

.rvfvdb-detail-info a {
    text-decoration: none;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    order: -1;
}

/* ========== GAME INSTRUCTIONS ========== */
.rvfvdb-game-instructions {
    display: flex;
    flex-wrap: wrap;
    margin: 14px 16px;
    background: var(--g-sunset);
    padding: 22px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

.rvfvdb-game-instructions::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 70%);
    pointer-events: none;
}

.rvfvdb-game-instructions::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.rvfvdb-game-instructions p {
    color: #FFFFFF;
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

/* ========== PLAY BUTTON ========== */
.rvfvdb-game-gameplay-button {
    display: flex;
    background: var(--g-sunset);
    border-radius: var(--radius-md);
    margin: 10px;
    width: 50%;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -140px;
    right: -30px;
    box-shadow: 0 10px 28px rgba(255, 107, 53, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.rvfvdb-game-gameplay-button:hover {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 16px 40px rgba(255, 107, 53, 0.55);
}

.rvfvdb-game-gameplay-button img {
    width: 120px;
    height: 120px;
}

.rvfvdb-game-gameplay-button p {
    color: #fff;
    margin: 0;
}

/* ========== IFRAME / GAME PAGE ========== */
.rvfvdb-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;
    width: 40px;
}

#iframe-back-btn {
    margin-top: 20px;
    margin-left: 20px;
    position: absolute;
    height: 50px;
    width: 50px;
}

/* ========== NEWS / ARTICLE PAGES ========== */
.rvfvdb-news-detail {
    color: var(--c-text-2);
    text-align: start;
    padding: 28px 26px;
    margin: 20px 12px;
    background: var(--g-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow-md);
    line-height: 1.8;
    position: relative;
    overflow: hidden;
}

.rvfvdb-news-detail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--g-sunset);
}

.rvfvdb-news-detail img {
    width: 100%;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.rvfvdb-news-detail h3 {
    color: var(--c-text);
    font-weight: 700;
    font-size: 1.45rem;
    margin: 0 0 14px;
    letter-spacing: -0.3px;
    background: var(--g-sunset);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rvfvdb-news-detail h4 {
    color: var(--c-text);
    font-weight: 700;
    font-size: 1.05rem;
    margin-top: 24px;
    margin-bottom: 10px;
    padding-left: 14px;
    border-left: 3px solid transparent;
    border-image: var(--g-sunset) 1;
    position: relative;
}

.rvfvdb-news-detail p strong {
    color: var(--c-text);
}

.rvfvdb-news-detail a {
    color: var(--c-accent);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.rvfvdb-news-detail a:hover {
    border-bottom-color: var(--c-accent);
    color: var(--c-accent-2);
}

.rvfvdb-news-detail ul {
    padding-left: 22px;
}

.rvfvdb-news-detail li {
    margin-bottom: 8px;
    line-height: 1.7;
}

/* ========== ERROR PAGE ========== */
.error-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 80vh;
    justify-content: center;
    padding: 0 20px;
}

.error-page h1 {
    font-size: 2.4em;
    color: var(--c-text);
    margin: 0;
    font-weight: 800;
    background: var(--g-sunset);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-page p {
    font-size: 1.1em;
    color: var(--c-text-2);
    padding: 1rem;
    max-width: 400px;
    line-height: 1.6;
}

.error-page img {
    width: 100%;
    max-width: 320px;
    padding: 1.5rem 1rem;
}

/* ========== GAME MARKS ========== */
.rvfvdb-game-mark {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    height: 26px;
    position: absolute;
    border-radius: 0 0 10px 10px;
    top: -10px;
    left: -10px;
    z-index: 2;
}

.rvfvdb-game-mark img {
    width: 50px;
    height: 25px;
}

.rvfvdb-game-new {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
    height: 4vh;
    position: absolute;
    border-radius: 0 0 10px 10px;
    top: 0;
    left: -10px;
    z-index: 2;
}

.rvfvdb-game-new img {
    width: 50px;
    height: 50px;
}

.rvfvdb-game-mark p {
    color: #fff;
    font-size: 0.85rem;
    margin: 0 8px;
    font-weight: 700;
}

#rvfvdb-game-body {
    margin-top: 18px;
}

/* ========== IFRAME MENU ========== */
.iframe-menu {
    display: flex;
    width: 70%;
    max-width: 320px;
    flex-direction: column;
    gap: 18px;
    background: linear-gradient(180deg, #FFFFFF, #FFFBF5);
    position: absolute;
    align-items: start;
    height: 100vh;
    top: 0;
    right: 0;
    z-index: 8;
    margin: 0;
    list-style-type: none;
    display: none;
    padding: 12px 10px;
    box-shadow: -8px 0 32px rgba(30, 27, 75, 0.18);
    border-left: 1px solid var(--c-border);
    border-radius: 20px 0 0 20px;
}

.iframe-menu.open {
    display: flex;
    flex-direction: column;
}

.iframe-menu li a {
    font-size: 0.95rem;
    color: var(--c-text);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    display: block;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    width: 100%;
}

.iframe-menu li a:hover {
    color: var(--c-primary);
    background: linear-gradient(90deg, rgba(255, 107, 53, 0.08), rgba(225, 29, 72, 0.04));
    transform: translateX(4px);
}

.iframe-list-item a {
    display: flex;
    flex-direction: row;
    margin: 0;
    justify-content: space-between;
    align-items: center;
}

.iframe-list-item a img {
    margin: 0;
    height: 40px;
    width: 40px;
    border-radius: 10px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    display: block;
}

.iframe-list-item a p {
    margin: 0 16px;
    position: relative;
    color: var(--c-text);
    font-weight: 600;
}

.iframe-list-item-close a {
    display: flex;
    flex-direction: row;
    margin: 0;
    justify-content: end;
    align-items: center;
}

.iframe-list-item-close img {
    margin: 0;
    height: 40px;
    width: 40px;
    border-radius: 10px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    display: block;
}

#iframe-close-btn {
    right: 0;
    top: 0;
}

/* ========== UTILITY ========== */
::selection {
    background: rgba(255, 107, 53, 0.25);
    color: var(--c-text);
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 53, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 107, 53, 0.5);
}
