/* 
   GameShip Hub - Core Styles 
   No external frameworks. Pure CSS3.
*/

:root {
    /* Color Palette - Dark Gaming Theme */
    --bg-body: #020617;       /* Deep Slate */
    --bg-card: #0f172a;       /* Slate 900 */
    --bg-glass: rgba(15, 23, 42, 0.85);
    
    --primary: #4f46e5;       /* Indigo */
    --primary-hover: #4338ca;
    --accent: #8b5cf6;        /* Violet */
    --accent-glow: rgba(139, 92, 246, 0.5);
    
    --wiki-orange: #f97316;   /* Wiki Orange */
    
    --text-main: #f8fafc;     /* White/Slate 50 */
    --text-muted: #94a3b8;    /* Slate 400 */
    
    --border-glass: 1px solid rgba(255, 255, 255, 0.1);
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    
    /* Layout */
    --container-width: 1280px;
    --header-height: 80px;
    --radius: 4px; /* Sharp/Slightly rounded for gaming feel */
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; font-weight: 900; letter-spacing: 1px; }
h2 { font-size: 2rem; font-weight: 700; }
h3 { font-size: 1.5rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }

.text-accent { color: var(--accent); }
/* Removed gradient text class that caused visibility issues */
.text-glow {
    color: #fff;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.6);
}

/* Utility Layouts */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-center { text-align: center; }

.grid {
    display: grid;
    gap: 20px;
}

.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }

.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }
.py-5 { padding-top: 5rem; padding-bottom: 5rem; }

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    border-bottom: var(--border-glass);
    z-index: 1000;
}

.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px var(--accent-glow);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Specific Wiki Link Style */
.nav-link.wiki-link {
    color: var(--wiki-orange);
}
.nav-link.wiki-link::after {
    background: var(--wiki-orange);
}

.cta-button {
    background: linear-gradient(90deg, var(--primary), var(--accent));
    color: white;
    padding: 10px 24px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section - UPDATED HEIGHT */
.hero {
    margin-top: var(--header-height);
    height: 380px; /* Reduced from 450px */
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.4), var(--bg-body)), 
                url('../img/hero-bg.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-body) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero h1 {
    font-size: 3rem; /* Slightly smaller */
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 4px 12px rgba(0,0,0,0.9);
}

.hero p {
    font-size: 1.1rem;
    color: #cbd5e1;
    margin-bottom: 1.5rem;
    max-width: 600px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

/* --- LIVE MARKET TICKER STYLES (COMPACT) --- */
.live-market-section {
    padding: 20px 0; /* Reduced from 60px */
    background: rgba(15, 23, 42, 0.5);
    border-bottom: var(--border-glass);
    overflow: hidden;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px #22c55e;
    animation: pulse 2s infinite;
}

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

.ticker-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-top: 15px; /* Reduced margin */
}

.ticker-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scroll 80s linear infinite;
}

.ticker-card {
    /* Compact Size */
    flex: 0 0 220px; /* Reduced from 300px */
    background: #0f172a;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    transition: transform 0.2s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.ticker-card:hover {
    border-color: #22c55e;
    transform: translateY(-3px);
}

.ticker-card img {
    width: 100%;
    height: 110px; /* Reduced from 160px */
    object-fit: cover;
}

.ticker-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #22c55e;
    color: #020617;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 3px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    gap: 4px;
}

.ticker-badge i {
    font-size: 0.6rem;
}

.ticker-info {
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.ticker-game-name {
    color: white;
    font-weight: 700;
    font-size: 0.9rem; /* Smaller font */
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ticker-status {
    color: #22c55e;
    font-size: 0.75rem; /* Smaller font */
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 
   -----------------------------------------
   NEW GIANT CARD STYLES FOR TOP 50
   -----------------------------------------
*/
.game-giant-card {
    background: var(--bg-card);
    border: var(--border-glass);
    border-radius: 8px;
    margin-bottom: 60px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transition: border-color 0.3s ease;
}

.game-giant-card:hover {
    border-color: var(--accent);
}

.rank-ribbon {
    position: absolute;
    top: 20px;
    left: -10px;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    color: white;
    padding: 10px 20px 10px 25px;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    z-index: 10;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.5);
    clip-path: polygon(0 0, 100% 0, 95% 50%, 100% 100%, 0 100%);
}

.giant-card-visual {
    width: 100%;
    aspect-ratio: 21 / 9; /* Cinematic Ratio */
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.giant-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-giant-card:hover .giant-card-visual img {
    transform: scale(1.03);
}

.game-specs {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(2,6,23, 0.95), transparent);
    padding: 40px 30px 20px;
    display: flex;
    gap: 20px;
    align-items: flex-end;
}

.spec-badge {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.spec-badge i { color: var(--accent); }

.giant-card-content {
    padding: 30px;
}

.giant-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: white;
    border-left: 4px solid var(--accent);
    padding-left: 20px;
}

.giant-description {
    font-size: 1.05rem;
    color: #cbd5e1;
    margin-bottom: 30px;
    max-width: 90%;
    line-height: 1.8;
}

/* SEO Q&A Section */
.seo-qa-grid {
    background: rgba(2, 6, 23, 0.5);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    border: 1px dashed rgba(255,255,255,0.1);
}

.qa-item {
    margin-bottom: 15px;
}

.qa-question {
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}
.qa-question::before {
    content: '?';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--wiki-orange);
    border-radius: 50%;
    font-size: 0.8rem;
    color: white;
}

.qa-answer {
    color: var(--text-muted);
    font-size: 0.95rem;
    padding-left: 30px;
}

.gameship-action-bar {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 20px;
}

.price-tag {
    font-family: 'Orbitron';
    font-size: 1.2rem;
    color: #22c55e;
}

/* Wiki Specific Styles */
.wiki-hero {
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.8), var(--bg-body)), 
                url('https://cdn.akamai.steamstatic.com/steam/apps/1245620/library_hero.jpg') center/cover no-repeat;
    height: 300px;
    margin-top: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}
.wiki-search {
    width: 100%;
    max-width: 600px;
    padding: 15px 25px;
    border-radius: 50px;
    border: 2px solid rgba(249, 115, 22, 0.5);
    background: rgba(15, 23, 42, 0.9);
    color: white;
    font-size: 1.1rem;
    outline: none;
    transition: box-shadow 0.3s, border-color 0.3s;
}
.wiki-search:focus {
    border-color: var(--wiki-orange);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
}

.wiki-card {
    background: var(--bg-card);
    border: var(--border-glass);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.wiki-card:hover {
    transform: translateY(-5px);
    border-color: var(--wiki-orange);
}
.wiki-card-img {
    height: 140px;
    width: 100%;
    object-fit: cover;
}
.wiki-card-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.wiki-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: white;
}
.wiki-btn {
    margin-top: auto;
    display: block;
    width: 100%;
    padding: 10px;
    text-align: center;
    background: rgba(249, 115, 22, 0.1);
    color: var(--wiki-orange);
    border: 1px solid var(--wiki-orange);
    border-radius: 4px;
    font-weight: 700;
    transition: all 0.2s;
}
.wiki-btn:hover {
    background: var(--wiki-orange);
    color: white;
}

/* Wiki Sidebar Navigation */
.wiki-sidebar {
    position: sticky;
    top: 100px;
}
.wiki-nav-item {
    display: block;
    padding: 10px 15px;
    color: var(--text-muted);
    border-left: 2px solid rgba(255,255,255,0.1);
    margin-bottom: 5px;
    font-size: 0.95rem;
}
.wiki-nav-item:hover, .wiki-nav-item.active {
    color: var(--wiki-orange);
    border-left-color: var(--wiki-orange);
    background: rgba(249, 115, 22, 0.05);
}

/* Steam Recommendations Row */
.steam-row {
    padding: 20px 0;
    margin-bottom: 4rem;
}
.steam-scroll {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 15px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--bg-card);
}
.steam-card {
    flex: 0 0 200px;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s;
    box-shadow: var(--shadow-card);
}
.steam-card:hover {
    transform: scale(1.05);
    z-index: 2;
}
.steam-card img {
    width: 100%;
    height: auto;
}

/* Category Blocks (Rectangular) */
.category-section {
    padding: 1rem 0 3rem; /* Reduced top padding */
}
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 4rem;
}
.cat-block {
    height: 250px;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: var(--border-glass);
    text-decoration: none;
}
.cat-block-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}
.cat-block-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(2, 6, 23, 0.9), rgba(79, 70, 229, 0.3));
    transition: background 0.3s;
}
.cat-block:hover .cat-block-bg {
    transform: scale(1.1);
}
.cat-block:hover .cat-block-overlay {
    background: linear-gradient(to top, rgba(2, 6, 23, 0.95), rgba(139, 92, 246, 0.4));
}
.cat-title {
    position: relative;
    z-index: 2;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    border: 2px solid rgba(255,255,255,0.2);
    padding: 10px 20px;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
}

/* News Grid */
.news-card {
    background: var(--bg-card);
    border: var(--border-glass);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s;
}
.news-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}
.news-img-wrapper {
    height: 200px;
    overflow: hidden;
    position: relative;
}
.news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.news-card:hover .news-img-wrapper img {
    transform: scale(1.1);
}
.news-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.news-meta {
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
}
.news-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
}
.news-excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.5;
}
.read-more {
    margin-top: auto;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* SEO Content Section */
.seo-article {
    color: #cbd5e1;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 2rem;
}
.seo-article h2 {
    color: var(--accent);
    margin-top: 2rem;
}
.seo-article h3 {
    font-family: 'Inter', sans-serif;
    color: white;
    margin-top: 1.5rem;
    font-size: 1.25rem;
}
.seo-article ul {
    list-style: disc;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}
.seo-article li {
    margin-bottom: 0.5rem;
}
.seo-article p {
    margin-bottom: 1rem;
}

/* Footer (Updated for new design) */
footer {
    background: #0d0015; /* Darker purple/black background from image */
    border-top: var(--border-glass);
    padding: 4rem 0 2rem;
    margin-top: auto;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 3rem;
}
.footer-brand h4 {
    margin-bottom: 1rem;
    color: white;
    font-weight: 700;
}
.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}
.social-links a {
    color: white;
    font-size: 1.2rem;
    opacity: 0.8;
    transition: opacity 0.2s, color 0.2s;
}
.social-links a:hover {
    opacity: 1;
    color: var(--accent);
}
.lang-dropdown {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
}
.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 1.2rem;
    color: white;
    font-weight: 600;
}
.footer-links ul li {
    margin-bottom: 0.8rem;
}
.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.footer-links a:hover {
    color: white;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
    text-align: right;
    color: #888;
    font-size: 0.85rem;
}

/* --- NEW ARTICLE PAGE STYLES (Single Page Layout) --- */
.article-grid-layout {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr 320px;
    margin-top: 40px;
}
.content-panel, .sidebar-panel {
    background: var(--bg-card);
    border: var(--border-glass);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-card);
}
.article-hero-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin-bottom: 20px;
    border: var(--border-glass);
}
.article-meta {
    display: flex;
    gap: 15px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
/* Article Content Typography */
.content-panel p { margin-bottom: 1.5rem; color: #cbd5e1; }
.content-panel figure {
    margin: 20px 0;
    background: rgba(15, 23, 42, 0.5);
    border: var(--border-glass);
    border-radius: 8px;
    padding: 10px;
}
.content-panel figcaption {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 8px;
    text-align: center;
}

/* FAQ Details */
.faq-section details {
    background: rgba(30, 41, 59, 0.5);
    border: var(--border-glass);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
}
.faq-section summary {
    font-weight: 600;
    color: white;
    list-style: none; /* Hide default triangle */
    position: relative;
    padding-left: 20px;
}
.faq-section summary::before {
    content: '▶';
    font-size: 0.7rem;
    position: absolute;
    left: 0;
    top: 4px;
    transition: transform 0.2s;
    color: var(--accent);
}
.faq-section details[open] summary::before {
    transform: rotate(90deg);
}

/* Comments */
.comments-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.comment-item {
    padding: 15px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.1);
}
.comment-name { color: var(--accent); font-weight: 700; font-size: 0.95rem; }
.comment-date { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 5px; }

/* Comment Form */
.comment-form {
    background: rgba(30, 41, 59, 0.5);
    padding: 20px;
    border-radius: var(--radius);
    margin-top: 20px;
    border: var(--border-glass);
}
.comment-form label { display: block; font-size: 0.9rem; margin: 10px 0 5px; color: var(--text-muted); }
.comment-form input, .comment-form textarea {
    width: 100%;
    padding: 12px;
    border-radius: 4px;
    background: rgba(2, 6, 23, 0.8);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    font-family: inherit;
}
.comment-form input:focus, .comment-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

/* Sidebar Specifics */
.author-profile {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 30px;
}
.author-profile img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid var(--accent);
}
.sidebar-list li {
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 10px;
}
.sidebar-list a:hover { color: var(--accent); text-decoration: underline; }

/* Top 50 List Styles */
.top-game-item {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: var(--border-glass);
    margin-bottom: 15px;
    padding: 15px;
    border-radius: var(--radius);
    transition: transform 0.2s;
}
.top-game-item:hover {
    transform: translateX(10px);
    border-color: var(--accent);
}
.rank-badge {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: rgba(255,255,255,0.1);
    width: 60px;
    text-align: center;
}
.top-game-item:nth-child(-n+3) .rank-badge {
    color: var(--accent);
}
.game-info {
    flex-grow: 1;
    padding-left: 20px;
}
.score-badge {
    background: var(--bg-glass);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 5px 10px;
    border-radius: 4px;
    font-weight: 700;
}

/* Sidebar Links (Fix for Top Games) */
.sidebar-filter-link {
    color: var(--text-muted);
    transition: all 0.2s ease;
    display: block;
}
.sidebar-filter-link:hover {
    color: white;
    transform: translateX(5px);
    color: var(--accent);
}

/* Responsive */
@media (max-width: 1024px) {
    .category-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-cols-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .article-grid-layout { grid-template-columns: 1fr; } /* Stack article on mobile */
    :root { --container-width: 95%; }
}

@media (max-width: 768px) {
    .nav-links { display: none; } /* Hide desktop nav */
    .mobile-menu-btn { display: block; }
    .hero h1 { font-size: 2.5rem; }
    .grid-cols-2, .grid-cols-3, .grid-cols-4 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .category-grid { grid-template-columns: 1fr; }
    
    /* Mobile Menu Active State */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--bg-card);
        padding: 20px;
        border-bottom: var(--border-glass);
        box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    }
}