/* GameGuide Hub - Main Stylesheet */
:root {
    --green-500: #22c55e;
    --green-600: #16a34a;
    --green-700: #15803d;
    --green-100: #dcfce7;
    --green-50: #f0fdf4;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --white: #ffffff;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -1px rgba(0,0,0,.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
    --transition: all 0.3s ease;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    color: var(--gray-800);
    background: var(--gray-50);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a { color: var(--green-600); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--green-700); }

img { max-width: 100%; height: auto; display: block; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }

/* Page Loader & Circular Progress */
.page-loader {
    position: fixed; inset: 0; background: var(--white); z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}
.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.circular-progress { width: 48px; height: 48px; }
.circular-progress.large { width: 72px; height: 72px; }
.circular-progress svg { transform: rotate(-90deg); width: 100%; height: 100%; }
.circular-progress .progress-bg { fill: none; stroke: var(--gray-200); stroke-width: 6; }
.circular-progress .progress-bar {
    fill: none; stroke: var(--green-500); stroke-width: 6; stroke-linecap: round;
    stroke-dasharray: 283; stroke-dashoffset: 70;
    animation: spin-progress 1.2s ease-in-out infinite;
}
@keyframes spin-progress {
    0% { stroke-dashoffset: 283; }
    50% { stroke-dashoffset: 70; }
    100% { stroke-dashoffset: 283; }
}

/* Page Transition */
.page-transition { animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Header */
.site-header {
    background: var(--white); border-bottom: 1px solid var(--gray-200);
    position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow);
}
.site-header .container {
    display: flex; align-items: center; justify-content: space-between; height: 64px;
}
.logo {
    display: flex; align-items: center; gap: 0.5rem;
    font-weight: 700; font-size: 1.25rem; color: var(--gray-900);
}
.logo i { color: var(--green-500); font-size: 1.5rem; }
.main-nav { display: flex; gap: 0.25rem; }
.nav-link {
    padding: 0.5rem 1rem; border-radius: var(--radius-sm); color: var(--gray-600);
    font-weight: 500; font-size: 0.9rem;
}
.nav-link:hover { background: var(--green-50); color: var(--green-600); }
.mobile-menu-btn {
    display: none; background: none; border: none; font-size: 1.25rem;
    color: var(--gray-700); cursor: pointer; padding: 0.5rem;
}

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.625rem 1.25rem; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 0.9rem; border: 2px solid transparent;
    cursor: pointer; transition: var(--transition); text-decoration: none;
    font-family: inherit;
}
.btn-primary { background: var(--green-500); color: var(--white); border-color: var(--green-500); }
.btn-primary:hover { background: var(--green-600); border-color: var(--green-600); color: var(--white); }
.btn-secondary { background: var(--gray-100); color: var(--gray-700); }
.btn-secondary:hover { background: var(--gray-200); }
.btn-outline { background: transparent; color: var(--green-600); border-color: var(--green-500); }
.btn-outline:hover { background: var(--green-50); }
.btn-lg { padding: 0.875rem 1.75rem; font-size: 1rem; }
.btn-sm { padding: 0.375rem 0.75rem; font-size: 0.8rem; }
.btn-block { width: 100%; justify-content: center; }

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--green-600) 0%, var(--green-500) 50%, #34d399 100%);
    color: var(--white); padding: 4rem 0;
}
.hero-content { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.hero h1 { font-size: 2.5rem; font-weight: 700; margin-bottom: 1rem; }
.hero p { font-size: 1.15rem; opacity: 0.95; margin-bottom: 2rem; }
.hero .btn-primary { background: var(--white); color: var(--green-600); border-color: var(--white); }
.hero .btn-primary:hover { background: var(--green-50); }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; max-width: 700px; margin: 0 auto; }
.stat-card {
    background: rgba(255,255,255,0.15); backdrop-filter: blur(8px);
    border-radius: var(--radius); padding: 1.5rem; text-align: center;
}
.stat-card i { font-size: 1.5rem; margin-bottom: 0.5rem; }
.stat-number { display: block; font-size: 2rem; font-weight: 700; }
.stat-label { font-size: 0.85rem; opacity: 0.9; }

/* Games Grid */
.games-section { padding: 3rem 0; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.section-header h2 { font-size: 1.75rem; color: var(--gray-900); }
.view-all { font-weight: 600; }
.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.game-card {
    background: var(--white); border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow); transition: var(--transition);
}
.game-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.game-card-link { color: inherit; display: block; }
.game-card-image { aspect-ratio: 1; overflow: hidden; background: var(--gray-100); }
.game-card-image img { width: 100%; height: 100%; object-fit: cover; }
.game-card-placeholder {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--green-100), var(--green-50));
    font-size: 3rem; color: var(--green-500);
}
.game-card-body { padding: 1.25rem; }
.game-card-body h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--gray-900); }
.game-card-body p { color: var(--gray-500); font-size: 0.9rem; margin-bottom: 0.75rem; }
.game-card-meta { font-size: 0.8rem; color: var(--gray-400); }

/* Features */
.features-section { padding: 3rem 0; background: var(--white); }
.features-section h2 { text-align: center; font-size: 1.75rem; margin-bottom: 2rem; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem; }
.feature-card {
    padding: 2rem; border-radius: var(--radius-lg); background: var(--gray-50);
    text-align: center; transition: var(--transition);
}
.feature-card:hover { background: var(--green-50); }
.feature-icon {
    width: 56px; height: 56px; border-radius: 50%; background: var(--green-500);
    color: var(--white); display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; margin: 0 auto 1rem;
}
.feature-card h3 { margin-bottom: 0.5rem; color: var(--gray-900); }
.feature-card p { color: var(--gray-500); font-size: 0.9rem; }

/* Page Header */
.page-header { padding: 2.5rem 0; background: var(--white); border-bottom: 1px solid var(--gray-200); }
.page-header h1 { font-size: 2rem; margin-bottom: 1.5rem; }

/* Search */
.search-form { display: flex; gap: 0.75rem; max-width: 600px; }
.search-input-wrap { flex: 1; position: relative; }
.search-input-wrap i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--gray-400); }
.search-input-wrap input {
    width: 100%; padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: 2px solid var(--gray-200); border-radius: var(--radius-sm);
    font-size: 1rem; font-family: inherit; transition: var(--transition);
}
.search-input-wrap input:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(34,197,94,.15); }

/* Game Page */
.game-hero {
    background-size: cover; background-position: center; min-height: 320px;
    position: relative;
}
.game-hero-overlay {
    background: linear-gradient(to top, rgba(0,0,0,.8) 0%, rgba(0,0,0,.4) 100%);
    min-height: 320px; display: flex; align-items: flex-end; padding: 2rem 0; color: var(--white);
}
.game-hero-content { display: flex; align-items: center; gap: 1.5rem; }
.game-icon { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.game-hero h1 { font-size: 2.25rem; margin-bottom: 0.5rem; }
.breadcrumb { font-size: 0.85rem; margin-bottom: 1rem; opacity: 0.85; }
.breadcrumb a { color: var(--white); opacity: 0.8; }
.breadcrumb i { font-size: 0.65rem; margin: 0 0.5rem; }

.game-layout { padding: 2rem 0; }
.game-section-layout { margin-top: 0; }
.game-section-main-wrap { min-width: 0; }
.game-section-panel { display: none; }
.game-section-panel.active { display: block; }
.game-section-panel h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    color: var(--gray-900);
}
.section-list button.game-section-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--gray-600);
    font-size: 0.9rem;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}
.section-list button.game-section-nav i { color: var(--green-500); width: 18px; text-align: center; }
.section-list button.game-section-nav.active,
.section-list button.game-section-nav:hover {
    background: var(--green-50);
    color: var(--green-600);
}

.section-nav { display: flex; flex-direction: column; gap: 0.5rem; max-width: 960px; }
.section-nav-item {
    display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.25rem;
    background: var(--white); border: 2px solid var(--gray-200); border-radius: var(--radius);
    cursor: pointer; font-family: inherit; font-size: 0.95rem; font-weight: 500;
    color: var(--gray-700); transition: var(--transition); text-align: left; width: 100%;
}
.section-nav-item i:first-child { color: var(--green-500); width: 20px; text-align: center; }
.section-nav-item .toggle-icon { margin-left: auto; font-size: 0.75rem; transition: transform 0.3s; }
.section-nav-item.active, .section-nav-item:hover { border-color: var(--green-500); background: var(--green-50); }
.section-nav-item.active .toggle-icon { transform: rotate(180deg); }
.community-link { text-decoration: none; }
.section-panel {
    display: none; padding: 1.5rem; background: var(--white);
    border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 0.5rem;
    animation: fadeIn 0.3s ease;
}
.section-panel.active { display: block; }
.section-content { margin-bottom: 1rem; }
.prose h1, .prose h2, .prose h3 { margin: 1rem 0 0.5rem; color: var(--gray-900); }
.prose ul { padding-left: 1.5rem; margin: 0.5rem 0; }
.prose p { margin-bottom: 0.75rem; }
.markdown-table-wrap {
    overflow-x: auto;
    margin: 1.25rem 0;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
}
.markdown-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    font-size: 0.92rem;
}
.markdown-table th,
.markdown-table td {
    border: 1px solid var(--gray-200);
    padding: 0.75rem 0.875rem;
    text-align: left;
    vertical-align: top;
}
.markdown-table thead th {
    background: var(--green-50);
    color: var(--gray-900);
    font-weight: 600;
}
.markdown-table tbody tr:nth-child(even) {
    background: var(--gray-50);
}
.markdown-table tbody tr:hover {
    background: #f0fdf4;
}

.guide-image { margin: 0 0 1rem; }
.guide-image img {
    display: block;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    background: var(--gray-100);
}
.guide-image--inline img {
    width: 100%;
    max-width: 520px;
    max-height: 220px;
    object-fit: cover;
}
.guide-image--inline.guide-image--poster img {
    max-width: 640px;
    max-height: 260px;
}
.guide-image--feature img {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    margin-bottom: 0.5rem;
}
.guide-image--feature.guide-image--poster img {
    max-height: 360px;
}

/* Section Page */
.section-page { padding: 2rem 0; }
.section-page-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; margin-top: 1.5rem; }
.section-sidebar { background: var(--white); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); height: fit-content; position: sticky; top: 80px; }
.section-list { list-style: none; }
.section-list a {
    display: flex; align-items: center; gap: 0.5rem; padding: 0.625rem 0.75rem;
    border-radius: var(--radius-sm); color: var(--gray-600); font-size: 0.9rem;
}
.section-list a.active, .section-list a:hover { background: var(--green-50); color: var(--green-600); }
.section-main { background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); }
.section-main h1 { font-size: 1.75rem; margin-bottom: 1.5rem; color: var(--gray-900); }

/* Discussions */
.discussions-page { padding-bottom: 2rem; }
.discussions-page > .container { padding-top: 2rem; }
.discussions-header { display: flex; justify-content: space-between; align-items: center; margin: 0 0 1.5rem; flex-wrap: wrap; gap: 1rem; }
.discussions-header h2 { font-size: 1.75rem; color: var(--gray-900); }
.discussion-list { list-style: none; }
.discussion-item {
    display: block; padding: 1.25rem; background: var(--white); border-radius: var(--radius);
    margin-bottom: 0.75rem; box-shadow: var(--shadow); transition: var(--transition); color: inherit;
}
.discussion-item:hover { border-left: 4px solid var(--green-500); transform: translateX(4px); }
.discussion-item h3 { font-size: 1.05rem; margin-bottom: 0.5rem; color: var(--gray-900); display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem 0.75rem; }
.discussion-vote-summary { display: inline-flex; align-items: center; gap: 0.75rem; font-size: 0.85rem; font-weight: 500; color: var(--gray-500); }
.vote-stat { display: inline-flex; align-items: center; gap: 0.3rem; }
.vote-stat-up { color: var(--green-600); }
.vote-stat-down { color: #dc2626; }
.question-meta .discussion-vote-summary { margin-left: auto; }
.discussion-meta { display: flex; gap: 1.5rem; font-size: 0.85rem; color: var(--gray-400); }

/* Discussion Detail */
.discussion-detail { padding-bottom: 2rem; }
.discussion-detail > .container { padding-top: 2rem; }
.question-block { background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); margin-bottom: 2rem; }
.question-block h1 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.question-meta { display: flex; gap: 1.5rem; font-size: 0.85rem; color: var(--gray-400); margin-bottom: 1rem; }
.reply-card { background: var(--white); border-radius: var(--radius); padding: 1.25rem; margin-bottom: 1rem; box-shadow: var(--shadow); }
.reply-votes { display: flex; align-items: center; gap: 0.75rem; margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid var(--gray-100); }
.vote-btn {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.4rem 0.75rem; border: 1px solid var(--gray-200); border-radius: 999px;
    background: var(--white); color: var(--gray-600); font-size: 0.875rem; font-family: inherit;
    cursor: pointer; transition: var(--transition);
}
.vote-btn:hover { border-color: var(--gray-300); background: var(--gray-50); }
.vote-btn.is-active.vote-up { color: var(--green-700); border-color: var(--green-500); background: var(--green-50); }
.vote-btn.is-active.vote-down { color: #b91c1c; border-color: #fca5a5; background: #fef2f2; }
.vote-btn:disabled { opacity: 0.6; cursor: wait; }
.vote-count { min-width: 1rem; text-align: center; font-weight: 600; }
.system-reply { border-left: 4px solid var(--green-500); background: var(--green-50); }
.reply-header { display: flex; justify-content: space-between; margin-bottom: 0.75rem; font-size: 0.85rem; }
.reply-author { font-weight: 600; color: var(--gray-700); }
.reply-date { color: var(--gray-400); }
.reply-form-section { margin-top: 2rem; }
.reply-form textarea, .ask-form textarea {
    width: 100%; padding: 1rem; border: 2px solid var(--gray-200); border-radius: var(--radius-sm);
    font-family: inherit; font-size: 1rem; resize: vertical; margin-bottom: 1rem;
}
.reply-form textarea:focus, .ask-form textarea:focus { outline: none; border-color: var(--green-500); }

/* Ask Page */
.ask-page { padding: 2rem 0; }
.ask-page h1 { margin-bottom: 1.5rem; }
.ask-form { max-width: 700px; }

/* Auth */
.auth-page { padding: 3rem 0; flex: 1; display: flex; align-items: center; }
.auth-card {
    max-width: 440px; margin: 0 auto; background: var(--white);
    border-radius: var(--radius-lg); padding: 2.5rem; box-shadow: var(--shadow-lg);
}
.auth-card h1 { text-align: center; margin-bottom: 1.5rem; font-size: 1.5rem; }
.auth-form .form-group { margin-bottom: 1.25rem; }
.auth-footer { text-align: center; margin-top: 1.5rem; color: var(--gray-500); font-size: 0.9rem; }

/* Forms */
.form-group { margin-bottom: 1.25rem; position: relative; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.5rem; color: var(--gray-700); font-size: 0.9rem; }
.form-group input, .form-group textarea, .form-group select {
    width: 100%; padding: 0.75rem 1rem; border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm); font-size: 1rem; font-family: inherit; transition: var(--transition);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--green-500); box-shadow: 0 0 0 3px rgba(34,197,94,.15); }
.form-group small { display: block; margin-top: 0.25rem; color: var(--gray-400); font-size: 0.8rem; }

.login-gate {
    background: var(--green-50); border: 2px dashed var(--green-500); border-radius: var(--radius);
    padding: 1.5rem; text-align: center; margin-bottom: 1.5rem;
}
.login-gate.prominent { padding: 2rem; }
.input-login-overlay {
    position: absolute; inset: 0; background: rgba(255,255,255,0.85);
    display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); z-index: 2;
}

/* Account */
.account-page { padding: 2rem 0; }
.account-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin: 1.5rem 0; }
.account-card { background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.account-card.full-width { grid-column: 1 / -1; }
.account-card h2 { font-size: 1.1rem; margin-bottom: 1rem; color: var(--gray-900); }
.profile-info dt { font-weight: 600; color: var(--gray-500); font-size: 0.85rem; margin-top: 0.75rem; }
.profile-info dd { color: var(--gray-800); }
.my-questions-list { list-style: none; }
.my-questions-list li { border-bottom: 1px solid var(--gray-100); }
.my-questions-list a { display: block; padding: 1rem 0; color: inherit; }
.my-questions-list a:hover strong { color: var(--green-600); }
.my-question-title { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem 0.75rem; margin-bottom: 0.35rem; }
.my-question-title strong { font-size: 1rem; color: var(--gray-900); }
.vote-stat-replies { color: var(--gray-500); }
.question-game, .question-date { display: block; font-size: 0.85rem; color: var(--gray-400); margin-top: 0.25rem; }
.account-actions { display: flex; gap: 1rem; margin-top: 1rem; flex-wrap: wrap; }
.account-logout { margin-left: auto; color: var(--gray-700); border-color: var(--gray-300); }
.account-logout:hover { color: #b91c1c; border-color: #fca5a5; background: #fef2f2; }

/* Alerts */
.alert { padding: 1rem 1.25rem; border-radius: var(--radius-sm); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.5rem; }
.alert-success { background: var(--green-50); color: var(--green-700); border: 1px solid var(--green-500); }
.alert-error { background: #fef2f2; color: #b91c1c; border: 1px solid #fca5a5; }

/* Pagination */
.pagination { margin-top: 2rem; }
.pagination-list { display: flex; gap: 0.5rem; list-style: none; justify-content: center; flex-wrap: wrap; }
.pagination-link {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: var(--radius-sm);
    background: var(--white); border: 2px solid var(--gray-200); color: var(--gray-600); font-weight: 600;
}
.pagination-link.active, .pagination-link:hover { background: var(--green-500); border-color: var(--green-500); color: var(--white); }

/* Empty State */
.empty-state { text-align: center; padding: 4rem 2rem; color: var(--gray-400); }
.empty-state i { font-size: 3rem; margin-bottom: 1rem; color: var(--gray-300); }
.empty-state h3 { color: var(--gray-600); margin-bottom: 0.5rem; }
.empty-state .btn { margin-top: 1rem; }

/* Error Page */
.error-page { padding: 4rem 0; text-align: center; flex: 1; display: flex; align-items: center; }
.error-content h1 { font-size: 6rem; color: var(--green-500); font-weight: 700; }
.error-content h2 { font-size: 1.5rem; margin-bottom: 1rem; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; }
.modal.active { display: flex; }
.modal-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.modal-content {
    position: relative; background: var(--white); border-radius: var(--radius-lg);
    padding: 2rem; max-width: 420px; width: 90%; text-align: center; box-shadow: var(--shadow-lg);
    animation: fadeIn 0.3s ease;
}
.modal-content h3 { margin-bottom: 0.75rem; }
.modal-content p { color: var(--gray-500); margin-bottom: 1.5rem; }
.modal-actions { display: flex; gap: 0.75rem; justify-content: center; }

/* Footer */
.site-footer { background: var(--gray-900); color: var(--gray-400); padding: 3rem 0 1.5rem; margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-col h3, .footer-col h4 { color: var(--white); margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: var(--gray-400); }
.footer-col a:hover { color: var(--green-500); }
.footer-bottom { border-top: 1px solid var(--gray-700); padding-top: 1.5rem; text-align: center; font-size: 0.85rem; }

.site-main { flex: 1; }

.text-muted { color: var(--gray-400); }
.text-center { text-align: center; }

/* Responsive */
@media (max-width: 768px) {
    .main-nav {
        display: none; position: absolute; top: 64px; left: 0; right: 0;
        background: var(--white); flex-direction: column; padding: 1rem;
        border-bottom: 1px solid var(--gray-200); box-shadow: var(--shadow-md);
    }
    .main-nav.open { display: flex; }
    .mobile-menu-btn { display: block; }
    .hero h1 { font-size: 1.75rem; }
    .hero-stats { grid-template-columns: 1fr; }
    .game-layout, .game-section-layout, .section-page-layout, .account-grid, .footer-grid { grid-template-columns: 1fr; }
    .section-sidebar { position: static; }
    .discussions-header { flex-direction: column; align-items: stretch; }
    .search-form { flex-direction: column; }
}
