/*
Theme Name: liteapks
Theme URI: foodcenter.live@gmail.com
Author: Henry Themes
Author URI: mailto:foodcenter.live@gmail.com
Description: APK & MOD themes. contact via foodcenter.live@gmail.com
Version: 1.0
Text Domain: liteapks
*/

html,
body {
    overflow-x: hidden;
    scroll-behavior: smooth;
    background-color: #fbfbfb9c !important;
    font-family: 'Nunito', sans-serif !important;

}
body {
    font-family: 'Nunito', sans-serif;
}

.hide-sb::-webkit-scrollbar {
    display: none
}

.hide-sb {
    -ms-overflow-style: none;
    scrollbar-width: none
}

.chip.active {
    background: #d2e3fc;
    border-color: transparent;
    color: #1a73e8
}

.tab-pill.active {
    background: #7bbf3a;
    border-color: transparent;
    color: white;
}

.chart-col {
    flex: 0 0 33.333%;
    min-width: 33.333%
}

@media (max-width: 1024px) {
    .chart-col {
        flex: 0 0 80%;
        min-width: 80%
    }
}

@media (max-width: 480px) {
    .chart-col {
        flex: 0 0 90%;
        min-width: 90%
    }
}

/* ========== Entry Content – reusable rich-text typography ========== */
.entry-content {
    font-size: 1rem;
    line-height: 1.85;
    color: #5a5b5c
}

.entry-content p {
    margin-bottom: 1.25rem
}

.entry-content h2 {
    font-size: 1.375rem;
    font-weight: 700;
    margin: 2.5rem 0 1rem;
    color: #202124;
    border-left: 4px solid #e8710a;
    padding-left: 0.75rem
}

.entry-content h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
    color: #202124;
    border-left: 3px solid #e8710a;
    padding-left: 0.75rem
}

.entry-content h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 1.5rem 0 0.5rem;
    color: #202124;
    border-left: 3px solid #e8710a;
    padding-left: 0.75rem
}

.entry-content img {
    border-radius: 12px;
    margin: 1.5rem 0;
    width: 100%;
    height: auto
}

.entry-content blockquote {
    border-left: 4px solid #e8710a;
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #5f6368
}

.entry-content ul,
.entry-content ol {
    margin: 1rem 0 1.25rem 1.5rem
}

.entry-content ul {
    list-style-type: disc
}

.entry-content ol {
    list-style-type: decimal
}

.entry-content li {
    margin-bottom: 0.5rem;
    line-height: 1.75
}

.entry-content a {
    text-decoration: underline
}
.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0
}

.entry-content th,
.entry-content td {
    border: 1px solid #dadce0;
    padding: 0.5rem 0.75rem;
    text-align: left
}

.entry-content th {
    background: #f8f9fa;
    font-weight: 600
}

.entry-content pre {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    overflow-x: auto;
    margin: 1.5rem 0
}

.entry-content code {
    font-size: 0.875em;
    background: #f1f3f4;
    padding: 0.15em 0.4em;
    border-radius: 4px
}

.entry-content pre code {
    background: none;
    padding: 0
}

.entry-content hr {
    border: none;
    border-top: 1px solid #dadce0;
    margin: 2rem 0
}

.page-content.entry-content p {
    margin-bottom: 1.5rem;
    font-size: 16px;
    font-weight: 600;
    color: #8d8d8d;
    text-align: justify;
}

/* ===== APP INFORMATION META GRID ===== */
.app-info-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

/* Mobile: 2-column grid */
.info-bar-scroll {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 0;
}

.info-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px 12px;
    gap: 4px;
}

.info-bar-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #80868b;
    white-space: nowrap;
}

.info-bar-value {
    font-size: 20px;
    font-weight: 700;
    color: #202124;
    line-height: 1.1;
    white-space: nowrap;
}

.info-bar-value--sm {
    font-size: 16px;
}

.info-bar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: #202124;
}

.info-bar-icon svg {
    width: 28px;
    height: 28px;
}

.info-bar-sub {
    font-size: 11px;
    color: #80868b;
    max-width: 120px;
    white-space: wrap;
    text-align: center;
}

.info-bar-stars {
    color: #e8710a;
    letter-spacing: 1px;
}

/* Large screen: single flex row, all items visible */
@media (min-width: 1024px) {
    .info-bar-scroll {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        padding: 16px 0;
    }

    .info-bar-item {
        flex: 1;
        min-width: 0;
        padding: 0 16px;
    }
}

/* ===== HERO + APP INFO COMBINED ===== */
.single-hero {
    position: relative;
    overflow: hidden;
    background: #202124;
}

/* Banner image */
.single-hero .hero-bg {
    position: relative;
    width: 100%;
}

.single-hero .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* DESKTOP: banner absolute, fixed height, app-info on top */
@media (min-width: 769px) {
    .single-hero {
        min-height: 600px;
    }

    .single-hero .hero-bg {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 420px;
        z-index: 0;
    }

    .single-hero .hero-bg::after {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 1;
        background: linear-gradient(to bottom,
                rgba(32, 33, 36, 0.2) 0%,
                rgba(32, 33, 36, 0.5) 50%,
                rgba(32, 33, 36, 0.9) 60%,
                #202124 100%);
    }

    .app-info-section {
        position: relative;
        z-index: 2;
        padding-top: 180px !important;
        background: transparent !important;
    }
}

/* MOBILE: stacked, banner then info */
@media (max-width: 768px) {
    .single-hero .hero-bg {
        aspect-ratio: 16/9;
    }

    .single-hero .hero-bg::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom,
                transparent 20%,
                rgba(32, 33, 36, 0.7) 70%,
                #202124 100%);
    }

    .app-info-section {
        margin-top: -72px;
    }
}

/* ===== APP INFO SECTION ===== */
.app-info-section {
    color: #fff;
    padding: 24px 0 32px;
    position: relative;
    z-index: 2;
}

.app-info-icon {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.app-info-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-info-text {
    flex: 1;
    min-width: 0;
}

.app-info-text h1 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 4px;
    line-height: 1.3;
}

.app-info-text .developer {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.app-info-text .developer a:hover {
    text-decoration: underline;
}

/* Stats Row */
.app-stat {
    flex: 0 0 auto;
    min-width: 80px;
    text-align: center;
    position: relative;
}

.app-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 4px;
    bottom: 4px;
    width: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.app-stat .value {
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.app-stat .label {
    font-size: 12px;
    color: #9aa0a6;
    margin-top: 2px;
}

/* CTA Buttons */
.app-cta {
    margin-top: 24px;
}

.btn-install {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px;
    background: #7bbf3a;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
    text-align: center;
    text-decoration: none;
}

.app-actions {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
}

.app-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.app-action-btn:hover {
    text-decoration: underline;
}

.device-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
    color: #9aa0a6;
}

@media (min-width: 769px) {
    .app-info-icon {
        width: 100px;
        height: 100px;
    }

    .app-info-text h1 {
        font-size: 28px;
    }

    .btn-install {
        max-width: 320px;
    }

    .app-actions {
        justify-content: flex-start;
    }
}

/* ===== SCREENSHOT GALLERY ===== */
.screenshot-section {
    padding: 24px 0;
}

.screenshot-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    max-width: 100%;
}

.screenshot-scroll::-webkit-scrollbar {
    display: none;
}

.screenshot-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.screenshot-scroll img {
    width: auto;
    height: 200px;
    border-radius: 12px;
    scroll-snap-align: start;
    flex-shrink: 0;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s;
}

@media (min-width: 1024px) {
    .screenshot-scroll img {
        height: 320px;
    }
}

.screenshot-scroll img:hover {
    transform: scale(1.02);
}

/* ===== CONTENT TABS ===== */
.content-tabs {
    display: flex;
    border-bottom: 2px solid #dadce0;
    gap: 0;
    padding-top: 10px;
    overflow-x: auto;
}

.content-tabs::-webkit-scrollbar {
    display: none;
}

.content-tabs {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.content-tab {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: #5f6368;
    cursor: pointer;
    border: none;
    background: none;
    white-space: nowrap;
    position: relative;
    font-family: inherit;
    transition: color 0.2s;
}

.content-tab::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: transparent;
    border-radius: 3px 3px 0 0;
    transition: background 0.2s;
}

.content-tab:hover {
    color: #202124;
}

.content-tab.active {
    color: #7bbf3a;
}

.content-tab.active::after {
    background: #7bbf3a;
}

.tab-content {
    display: none;
    padding: 24px 0;
}

.tab-content.active {
    display: block;
}

/* ===== DESCRIPTION CONTENT ===== */
.desc-content {
    max-height: 300px;
    overflow: hidden;
    position: relative;
    transition: max-height 0.4s ease;
}

.desc-content.expanded {
    max-height: none;
}

.desc-content::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(transparent, #ffffff);
    pointer-events: none;
    transition: opacity 0.3s;
}

.desc-content.expanded::after {
    opacity: 0;
}

.desc-content h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 20px 0 8px;
}

.desc-content h3:first-child {
    margin-top: 0;
}

.desc-content p {
    margin: 0 0 12px;
    color: #3c4043;
    line-height: 1.7;
}

.desc-content ul {
    margin: 0 0 12px;
    padding-left: 20px;
    color: #3c4043;
}

.desc-content ul li {
    margin-bottom: 6px;
    line-height: 1.6;
}

.desc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.desc-tag {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
}


.read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    font-size: 14px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    margin-top: 8px;
}

/* ===== HELP TAB ===== */
.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.help-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #dadce0;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.help-card:hover {
    border-color: #7bbf3a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.help-card svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
}

.help-card h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 4px;
}

.help-card p {
    font-size: 13px;
    color: #5f6368;
    margin: 0;
}

.help-card--block {
    display: block;
}

.help-card__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px;
}

.help-card__body {
    font-size: 13px;
    color: #5f6368;
    margin: 0;
}

/* ===== FILES TAB ===== */
.file-card {
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #dadce0;
    margin-bottom: 12px;
    transition: border-color 0.2s;
}

.file-card:hover {
    border-color: #7bbf3a;
}

.file-card .file-label {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    background: #e6f4ea;
    color: #7bbf3a;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.file-card .file-name {
    font-size: 14px;
    color: #5f6368;
    margin-bottom: 12px;
    word-break: break-all;
}

.file-card .btn-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 28px;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.file-info-box {
    margin-top: 16px;
    padding: 16px;
    border-radius: 10px;
    background: #f8f9fa;
    font-size: 13px;
    color: #5f6368;
    line-height: 1.7;
}

/* ===== REQUEST UPDATE MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: scale(0.95) translateY(8px);
    transition: transform 0.2s ease;
    overflow: hidden;
}

.modal-overlay.active .modal-box {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid #dadce0;
}

.modal-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.modal-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: #5f6368;
    border-radius: 6px;
    line-height: 1;
    transition: background 0.15s;
}

.modal-close-btn:hover {
    background: #f1f3f4;
}

.modal-body {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 6px;
}

.modal-current-version {
    padding: 10px 14px;
    background: #f1f3f4;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #202124;
}

.modal-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    font-size: 14px;
    color: #202124;
    font-family: inherit;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.modal-input:focus {
    border-color: #7bbf3a;
    box-shadow: 0 0 0 3px rgba(123, 191, 58, 0.15);
}

.modal-input.input-error {
    border-color: #e91e63;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px 20px;
    border-top: 1px solid #dadce0;
}

.modal-btn-cancel {
    padding: 9px 20px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    background: #fff;
    color: #5f6368;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s;
}

.modal-btn-cancel:hover {
    background: #f1f3f4;
}

.modal-btn-submit {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    border: none;
    border-radius: 8px;
    background: #7bbf3a;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}

.modal-btn-submit:hover {
    background: #659f2f;
}

.modal-btn-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* ===== DATA SAFETY ===== */
.data-safety {
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #dadce0;
}

.data-safety h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 12px;
}

.safety-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
}

.safety-item svg {
    width: 20px;
    height: 20px;
    color: #5f6368;
    flex-shrink: 0;
    margin-top: 1px;
}

.safety-item p {
    margin: 0;
    font-size: 13px;
    color: #3c4043;
}

/* ===== RATING BAR ===== */
.rating-big {
    text-align: center;
    flex-shrink: 0;
}

.rating-big .number {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
}

.rating-big .stars {
    display: flex;
    gap: 2px;
    justify-content: center;
    margin-top: 6px;
}

.rating-big .stars svg {
    width: 16px;
    height: 16px;
    color: #e8710a;
}

.rating-big .count {
    font-size: 12px;
    color: #5f6368;
    margin-top: 4px;
}

.rating-bars {
    flex: 1;
    max-width: 300px;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.rating-bar-row .label {
    font-size: 12px;
    color: #5f6368;
    width: 8px;
    text-align: center;
}

.rating-bar-row .bar {
    flex: 1;
    height: 10px;
    background: #e8eaed;
    border-radius: 5px;
    overflow: hidden;
}

.rating-bar-row .bar .fill {
    height: 100%;
    background: #01875f;
    border-radius: 5px;
}

@media (max-width: 480px) {
    .rating-overview {
        flex-direction: column;
        align-items: center;
    }

    .rating-bars {
        max-width: 100%;
        width: 100%;
    }
}

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 12px;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lightbox-nav.prev {
    left: 16px;
}

.lightbox-nav.next {
    right: 16px;
}

/* ===== SIMILAR GAMES ===== */
.similar-section {
    padding: 32px 0 0;
}

.similar-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    max-width: 100%;
}

.similar-scroll::-webkit-scrollbar {
    display: none;
}

.similar-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.similar-card {
    flex-shrink: 0;
    width: 120px;
    text-decoration: none;
    color: inherit;
    text-align: center;
}

.similar-card .icon {
    width: 86px;
    height: 86px;
    border-radius: 16px;
    overflow: hidden;
    margin: 0 auto 8px;
}

.similar-card .icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.similar-card .name {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.similar-card .rating {
    font-size: 12px;
    color: #5f6368;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin-top: 4px;
}

.similar-card .rating svg {
    width: 12px;
    height: 12px;
}

/* ── Category Archive ── */

/* Filter strip: hide scrollbar on initial no-wrap state */
.cat-filter-strip { scrollbar-width: none; -ms-overflow-style: none; }
.cat-filter-strip::-webkit-scrollbar { display: none; }

/* Sort select chevron background (data URI, impractical as Tailwind arbitrary) */
.sort-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px 12px;
}

/* Pagination: WordPress paginate_links() generates .page-numbers — can't apply Tailwind to it */
.archive-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #dadce0;
    background: #ffffff;
    color: #202124;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.archive-pagination .page-numbers:hover {
    background: #f0f9e8;
    border-color: #7bbf3a;
    color: #4a7a1c;
    text-decoration: none;
}
.archive-pagination .page-numbers.current {
    background: #7bbf3a;
    border-color: #7bbf3a;
    color: #ffffff;
    cursor: default;
}
.archive-pagination .page-numbers.dots {
    border: none;
    background: transparent;
    color: #6b7280;
    width: auto;
    padding: 0 4px;
    cursor: default;
}

/* Badge */
.list-view .game-card .badge-item {
    top: -10px;
    left: -10px;
}

/* Article card hover */
.article-card:hover .article-thumb img {
    transform: scale(1.05);
}

.article-card:hover .article-title {
    color: #7bbf3a;
}

.list-view .articles-grid {
    grid-template-columns: 1fr !important;
}

.list-view .article-card {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
}

.list-view .article-thumb {
    width: 280px;
    flex-shrink: 0;
    aspect-ratio: 16/10;
}

.list-view .article-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.list-view .article-excerpt {
    display: block !important;
}

/* View modes */
.list-view .game-card {
    display: flex;
    flex-direction: row;
    padding: 1rem;
    border-radius: 0;
}

.list-view .game-card .game-card-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
}

.list-view .game-thumb {
    width: 76px;
    height: 76px;
    flex-shrink: 0;
    margin-bottom: 0;
    margin-right: 1rem;
}

.list-view .game-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.list-view .game-info {
    text-align: left;
}

.list-view .game-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.list-view .game-download {
    display: block !important;
}

.list-view .game-category-inline {
    display: flex !important;
}

.grid-view .game-download {
    display: none !important;
}

.grid-view .game-category-inline {
    display: none !important;
}


/**
Hide scrollbar
 */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

/**
Menu
 */
#sidebar .menu-active svg {
    color: white !important;
}

/* ===== DOWNLOAD PAGE ===== */
button.dl-version-tab.active {
    background-color: #7bbf3a;
    color: white;
}

.dl-version-tab {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 15px;
    font-weight: 600;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    color: #202124;
    text-align: left;
    transition: background 0.15s;
}
.dl-version-tab:hover { background: #f8f9fa; }
.dl-version-tab .chevron {
    transition: transform 0.2s;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.dl-version-tab.active .chevron { transform: rotate(180deg); }

.dl-version-panel {
    display: none;
    border-top: 1px solid #dadce0;
}
.dl-version-panel.active { display: block; }

.dl-item {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 10px 14px;
    border-radius: 10px;
    background: #f8f9fa;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
    min-height: 52px;
}
.dl-item:hover { background: #e8f5e9; }

.dl-progress-bar {
    height: 6px;
    background: #e8eaed;
    border-radius: 3px;
    overflow: hidden;
    max-width: 300px;
    margin: 0 auto;
}
.dl-progress-fill {
    height: 100%;
    background: #7bbf3a;
    border-radius: 3px;
    animation: dl-progress 5s ease-in-out;
    width: 100%;
}
@keyframes dl-progress {
    0%   { width: 0; }
    100% { width: 100%; }
}

/* Fix for dynamic animate-spin via JS */
@keyframes spin {
    to { transform: rotate(360deg); }
}
.animate-spin {
    animation: spin 1s linear infinite;
}