/* --- Root Variables & Color Palette --- */
:root {
    --bg: #050505;
    --card-bg: rgba(20, 20, 25, 0.7);
    --accent: #f39c12;
    /* Brand Orange */
    --accent-alt: #e67e22;
    --text-main: #ffffff;
    --text-dim: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.08);
    --status-green: #22c55e;
    --status-red: #ef4444;
    --version-blue: #818cf8;
}

/* --- Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
    /* Enables magnetic scroll snapping */
}

body {
    background-color: var(--bg);
    /* Radial gradient matching the high-end gaming aesthetic */
    background-image: radial-gradient(circle at top center, #1a1005 0%, #050505 70%);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Navigation --- */
.navbar {
    display: flex;
    justify-content: space-between;
    padding: 2rem 0;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent);
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    margin-left: 2.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--accent);
}

/* --- Hero Section (Full Screen) --- */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    scroll-snap-align: start;
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -3px;
    margin-bottom: 20px;
    line-height: 1.1;
}

.gradient-text {
    background: linear-gradient(90deg, var(--accent), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--text-dim);
    font-size: 1.25rem;
    max-width: 650px;
    margin: 0 auto;
}

/* Bouncing Arrow */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--accent);
    text-decoration: none;
    transition: 0.3s;
}

.scroll-indicator .material-symbols-outlined {
    font-size: 3rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-12px);
    }

    60% {
        transform: translateY(-6px);
    }
}

/* --- Product Grid Section --- */
#mods {
    scroll-snap-align: start;
    padding-top: 100px;
    padding-bottom: 100px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1180px) {
    .grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

@media (max-width: 860px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 540px) {
    .grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.8rem;
    }
}

/* --- Product Card --- */
.card {
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 24px 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(243, 156, 18, 0.45);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(243, 156, 18, 0.08);
}

.card-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    flex: 1;
}

.card-header h3 {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.version-tag {
    color: var(--version-blue);
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
    margin-bottom: 12px;
}

.status-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--status-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--status-green);
    flex-shrink: 0;
}

.status-text {
    color: var(--status-green);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.status-row.detected .status-dot {
    background: var(--status-red);
    box-shadow: 0 0 8px var(--status-red);
}

.status-row.detected .status-text {
    color: var(--status-red);
}

.size-info {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 0.85rem;
    margin-bottom: 14px;
}

.size-info .material-symbols-outlined {
    font-size: 18px;
    color: #94a3b8;
}

.card-desc {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 16px;
    /* Truncate long descriptions with ellipsis while preserving full HTML for SEO */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 4.2em; /* Ensures equal baseline across all cards */
}

/* Tags & Requirements */
.tags,
.req-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 0.72rem;
    color: #94a3b8;
    white-space: nowrap;
}

.requirements {
    margin-top: auto;
    margin-bottom: 14px;
}

.req-label {
    font-size: 0.68rem;
    color: #475569;
    font-weight: 800;
    display: block;
    margin-bottom: 6px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.req-tag {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #334155;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.72rem;
    color: #cbd5e1;
    white-space: nowrap;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.price-label {
    font-weight: 700;
    color: #fff;
    font-size: 0.85rem;
}

.arrow {
    color: var(--accent);
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.card:hover .arrow {
    transform: translateX(6px);
}

/* --- Installation Section --- */
.installation-section {
    background: rgba(10, 10, 15, 0.4);
    padding: 100px 0;
    border-top: 1px solid var(--glass-border);
    scroll-snap-align: start;
}

.installation-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.installation-section .section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 40%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.installation-section .section-header p {
    color: var(--text-dim);
    font-size: 1.05rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.step-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 28px;
    padding: 40px 25px;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), var(--accent-alt));
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.5rem;
    margin: 0 auto 25px;
}

.code-inline {
    background: rgba(243, 156, 18, 0.1);
    color: var(--accent);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}

.key-bind {
    background: #1a1a1f;
    border: 1px solid var(--glass-border);
    color: var(--accent);
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 700;
    box-shadow: 0 2px 0 #000;
}

/* --- Detail Page Specifics --- */
.detail-container {
    padding-top: 120px;
    margin-bottom: 80px;
}

.detail-top-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .detail-top-grid {
        grid-template-columns: 1fr;
    }
}

.main-info-card,
.info-card,
.stat-box,
.media-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
}

.media-card {
    aspect-ratio: 16 / 9;
    padding: 0;
    overflow: hidden;
    display: flex;
}

.media-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.status-badge {
    background: rgba(34, 197, 94, 0.1);
    color: var(--status-green);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.status-badge.detected {
    background: rgba(239, 68, 68, 0.15);
    color: var(--status-red);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.action-btns {
    display: flex;
    gap: 15px;
    margin-top: 35px;
}

.btn-download {
    background: linear-gradient(135deg, var(--accent), var(--accent-alt));
    padding: 14px 35px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    color: #000;
    transition: 0.3s;
}

.btn-download:hover {
    transform: translateY(-3px);
    filter: brightness(1.1);
}

.btn-back {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 14px 25px;
    border-radius: 12px;
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--accent);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.stat-box strong {
    display: block;
    font-size: 1.1rem;
    color: #fff;
    margin-top: 5px;
}

.detail-bottom-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 900px) {
    .detail-bottom-grid {
        grid-template-columns: 1fr;
    }
}

.detail-list {
    list-style: none;
    padding-top: 15px;
}

.detail-list li {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.detail-list li::before {
    content: "•";
    color: var(--accent);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Update this section in your style.css */
.step-card a {
    color: var(--accent);
    /* Forces the link to be brand orange */
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.step-card a:hover {
    text-decoration: underline;
    filter: brightness(1.2);
}

/* Optional: Ensure it stays orange even after being clicked */
.step-card a:visited {
    color: var(--accent);
}

/* --- Warning Modal Popup for Detected Mods --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-box {
    background: #111116;
    border: 1px solid rgba(239, 68, 68, 0.4);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 50px rgba(239, 68, 68, 0.2);
    border-radius: 24px;
    max-width: 480px;
    width: 100%;
    padding: 35px 30px;
    text-align: center;
    transform: scale(0.92) translateY(15px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.modal-overlay.active .modal-box {
    transform: scale(1) translateY(0);
}

.modal-icon-wrapper {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.25);
}

.modal-icon-wrapper .material-symbols-outlined {
    font-size: 38px;
    color: var(--status-red);
}

.modal-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.modal-warning-text {
    color: var(--status-red);
    font-weight: 800;
    font-size: 1.05rem;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    line-height: 1.4;
    text-transform: uppercase;
}

.modal-desc {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 28px;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn-modal-cancel {
    flex: 1;
    padding: 13px 20px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    font-family: inherit;
    transition: 0.2s;
}

.btn-modal-cancel:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.btn-modal-proceed {
    flex: 1;
    padding: 13px 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    border: none;
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    transition: 0.2s;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.btn-modal-proceed:hover {
    filter: brightness(1.15);
    transform: translateY(-2px);
}

/* --- Version Selection Modal --- */
.version-modal-box {
    max-width: 520px;
    border-color: rgba(243, 156, 18, 0.35);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 50px rgba(243, 156, 18, 0.15);
    padding: 35px 28px;
    text-align: left;
    position: relative;
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    background: transparent;
    border: none;
    color: #64748b;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s, transform 0.2s;
}

.modal-close-btn:hover {
    color: #fff;
    transform: rotate(90deg);
}

.version-modal-header {
    text-align: center;
    margin-bottom: 20px;
}

.version-modal-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: rgba(243, 156, 18, 0.12);
    border: 1px solid rgba(243, 156, 18, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(243, 156, 18, 0.2);
}

.version-modal-icon .material-symbols-outlined {
    font-size: 34px;
    color: var(--accent);
}

.version-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.version-item-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    transition: all 0.25s ease;
}

.version-item-card:hover {
    background: rgba(243, 156, 18, 0.06);
    border-color: rgba(243, 156, 18, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.version-item-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.version-item-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.version-item-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: #fff;
}

.version-badge {
    font-size: 0.7rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    background: rgba(243, 156, 18, 0.2);
    color: var(--accent);
    border: 1px solid rgba(243, 156, 18, 0.4);
    letter-spacing: 0.5px;
}

.version-badge.green,
.version-badge.latest,
.version-badge.active {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border-color: rgba(34, 197, 94, 0.35);
}

.version-badge.blue,
.version-badge.opsec,
.version-badge.fabric {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border-color: rgba(59, 130, 246, 0.35);
}

.version-badge.purple,
.version-badge.bypass {
    background: rgba(168, 85, 247, 0.15);
    color: #c084fc;
    border-color: rgba(168, 85, 247, 0.35);
}

.version-badge.alt,
.version-badge.gray,
.version-badge.legacy {
    background: rgba(148, 163, 184, 0.12);
    color: #94a3b8;
    border-color: rgba(148, 163, 184, 0.25);
}

.version-item-desc {
    font-size: 0.82rem;
    color: var(--text-dim);
    line-height: 1.35;
}

.version-item-meta {
    font-size: 0.78rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-version-download {
    padding: 10px 18px;
    background: linear-gradient(135deg, var(--accent), var(--accent-alt));
    color: #000 !important;
    font-weight: 800;
    font-size: 0.88rem;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: 0.2s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.btn-version-download:hover {
    filter: brightness(1.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.4);
}

/* --- Category Filter Tabs --- */
.category-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    padding: 9px 18px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.filter-btn:hover {
    background: rgba(243, 156, 18, 0.08);
    border-color: rgba(243, 156, 18, 0.3);
    color: #fff;
    transform: translateY(-1px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-alt));
    color: #000;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.35);
}

/* --- FAQ Section --- */
.faq-section {
    padding: 100px 0;
    border-top: 1px solid var(--glass-border);
    background: radial-gradient(circle at 50% 0%, rgba(243, 156, 18, 0.04) 0%, rgba(10, 10, 15, 0.6) 70%);
}

.faq-container {
    max-width: 860px !important;
    margin: 0 auto;
    padding: 0 24px;
}

.faq-header-wrapper {
    text-align: center;
    margin-bottom: 45px;
}

.faq-badge {
    display: inline-block;
    background: rgba(243, 156, 18, 0.12);
    color: var(--accent);
    border: 1px solid rgba(243, 156, 18, 0.3);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.faq-title {
    font-size: 2.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 40%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.faq-subtitle {
    color: var(--text-dim);
    font-size: 1.05rem;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.6;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.faq-item {
    background: rgba(18, 18, 24, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.faq-item:hover {
    border-color: rgba(243, 156, 18, 0.35);
    background: rgba(25, 25, 33, 0.85);
    transform: translateY(-1px);
}

.faq-item.active {
    border-color: rgba(243, 156, 18, 0.5);
    background: rgba(22, 22, 30, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(243, 156, 18, 0.08);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    font-family: inherit;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-icon {
    font-size: 24px;
    color: var(--accent);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 400px;
    padding: 0 24px 22px 24px;
}

.faq-answer p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
}

.faq-answer strong {
    color: #ffffff;
}

.faq-answer code {
    background: rgba(243, 156, 18, 0.12);
    color: var(--accent);
    padding: 2px 7px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9em;
}

/* --- Live Stats Dashboard Styles --- */
.stats-container {
    padding-top: 130px;
    padding-bottom: 80px;
}

.stats-header-box {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 40px auto;
}

.stats-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.1);
    color: var(--status-green);
    border: 1px solid rgba(34, 197, 94, 0.25);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--status-green);
    box-shadow: 0 0 10px var(--status-green);
    animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.stats-title {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 40%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.stats-subtitle {
    color: var(--text-dim);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* KPI Cards */
.stats-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 35px;
}

@media (max-width: 1024px) {
    .stats-kpi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 550px) {
    .stats-kpi-grid {
        grid-template-columns: 1fr;
    }
}

.kpi-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all 0.3s ease;
}

.kpi-card:hover {
    border-color: rgba(243, 156, 18, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.kpi-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(243, 156, 18, 0.12);
    border: 1px solid rgba(243, 156, 18, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.kpi-icon-wrap.trophy {
    background: rgba(234, 179, 8, 0.15);
    border-color: rgba(234, 179, 8, 0.3);
    color: #eab308;
}

.kpi-icon-wrap.shield {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.25);
    color: var(--status-green);
}

.kpi-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.8px;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.kpi-val {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.kpi-val.highlight {
    font-size: 1.15rem;
    color: var(--accent);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 170px;
}

.kpi-val.green {
    color: var(--status-green);
}

/* Stats Toolbar */
.stats-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.live-status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dim);
    font-size: 0.85rem;
    font-weight: 600;
}

.btn-refresh-stats {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px 18px;
    border-radius: 12px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.25s ease;
}

.btn-refresh-stats:hover {
    background: rgba(243, 156, 18, 0.12);
    border-color: rgba(243, 156, 18, 0.4);
    color: var(--accent);
}

.spin {
    animation: spinRotate 0.8s linear infinite;
}

@keyframes spinRotate {
    100% { transform: rotate(360deg); }
}

/* Stats Table Card */
.stats-table-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 24px;
    overflow-x: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    min-width: 780px;
}

.stats-table th {
    background: rgba(255, 255, 255, 0.03);
    padding: 18px 22px;
    font-size: 0.72rem;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 1px;
    border-bottom: 1px solid var(--glass-border);
}

.stats-table td {
    padding: 20px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
}

.stats-table tr:last-child td {
    border-bottom: none;
}

.stats-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.rank-badge {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 8px;
}

.rank-badge.gold {
    background: rgba(234, 179, 8, 0.15);
    color: #facc15;
    border: 1px solid rgba(234, 179, 8, 0.35);
}

.rank-badge.silver {
    background: rgba(148, 163, 184, 0.15);
    color: #e2e8f0;
    border: 1px solid rgba(148, 163, 184, 0.3);
}

.rank-badge.bronze {
    background: rgba(217, 119, 6, 0.15);
    color: #fb923c;
    border: 1px solid rgba(217, 119, 6, 0.3);
}

.rank-badge.other {
    background: rgba(255, 255, 255, 0.04);
    color: #64748b;
}

.mod-cell-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.mod-cell-name {
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
}

.mod-cell-tags {
    font-size: 0.75rem;
    color: #64748b;
}

.version-pill {
    background: rgba(129, 140, 248, 0.1);
    color: var(--version-blue);
    border: 1px solid rgba(129, 140, 248, 0.25);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.size-pill {
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 600;
}

.dl-count-cell {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.dl-count-num {
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    font-variant-numeric: tabular-nums;
}

.live-increment-badge {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--status-green);
    background: rgba(34, 197, 94, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.btn-table-view {
    display: inline-block;
    background: rgba(243, 156, 18, 0.12);
    color: var(--accent);
    border: 1px solid rgba(243, 156, 18, 0.3);
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.btn-table-view:hover {
    background: linear-gradient(135deg, var(--accent), var(--accent-alt));
    color: #000;
    border-color: transparent;
    transform: translateY(-2px);
}



