/* ========================================
   ROOT VARIABLES & RESET
   ======================================== */
:root {
    --bg-primary: #0a0e14;
    --bg-secondary: #111820;
    --bg-card: #151e28;
    --bg-card-hover: #1c2836;
    --bg-input: #0d141c;
    --bg-sidebar: #0d141c;
    
    --text-primary: #f0f4f8;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-cyan: #06b6d4;
    --accent-green: #22c55e;
    --accent-orange: #f59e0b;
    --accent-pink: #ec4899;
    
    --border-color: #1e293b;
    --border-light: #2d3a4f;
    
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.15);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    
    --transition: all 0.25s ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* ========================================
   SCROLLBAR
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-blue);
}

/* ========================================
   UTILITY
   ======================================== */
.container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glow-text {
    background: linear-gradient(135deg, #60a5fa, #a78bfa, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    justify-content: center;
    color: white;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white !important;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.4);
    color: white;
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}
.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-light);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-light);
}
.btn-outline:hover {
    border-color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.08);
}

.btn-success {
    background: linear-gradient(135deg, var(--accent-green), #16a34a);
    color: white;
}
.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(34, 197, 94, 0.3);
    color: white;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}
.btn-lg {
    padding: 16px 36px;
    font-size: 17px;
}
.btn-full {
    width: 100%;
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 14, 20, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
}

.nav {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}
.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}
.nav-links a:hover {
    color: var(--text-primary);
}
.nav-links a.active {
    color: var(--accent-blue);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 12px 6px 6px;
    border-radius: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}
.user-menu:hover {
    border-color: var(--border-light);
}
.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: white;
    flex-shrink: 0;
}
.user-name {
    font-size: 14px;
    font-weight: 500;
}
.user-badge {
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 50px;
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent-blue);
    font-weight: 600;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.08), transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.06), transparent 70%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: clamp(40px, 5.5vw, 64px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}
.hero-content p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 32px;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--border-color);
}
.hero-stats-item {
    text-align: left;
}
.hero-stats-item .number {
    font-size: 28px;
    font-weight: 700;
}
.hero-stats-item .label {
    font-size: 14px;
    color: var(--text-muted);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-card-placeholder {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 16/10;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 16px;
    box-shadow: var(--shadow-glow);
}
.hero-card-placeholder .icon {
    font-size: 48px;
}
.hero-card-placeholder h3 {
    font-size: 20px;
}
.hero-card-placeholder p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features {
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
}
.section-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-top: 8px;
}
.section-header p {
    color: var(--text-secondary);
    font-size: 17px;
    max-width: 500px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: var(--transition);
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-light);
    box-shadow: var(--shadow-card);
}
.feature-card .icon {
    font-size: 36px;
    margin-bottom: 16px;
}
.feature-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
}
.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* ========================================
   AUTH SECTION
   ======================================== */
.auth-section {
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
}

.auth-grid {
    display: grid;
    grid-template-columns: 1fr 480px;
    gap: 60px;
    align-items: start;
}

.auth-left h2 {
    font-size: 36px;
    font-weight: 700;
    margin-top: 8px;
}
.auth-left p {
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.7;
    margin-top: 12px;
}
.auth-benefits {
    margin-top: 24px;
    list-style: none;
}
.auth-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 15px;
}
.auth-benefits li .check {
    color: var(--accent-green);
    font-weight: 700;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-card);
}

.auth-card .tab-group {
    display: flex;
    gap: 4px;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    padding: 4px;
    margin-bottom: 24px;
}
.auth-card .tab-group button {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}
.auth-card .tab-group button.active {
    background: var(--bg-card);
    color: var(--text-primary);
}

.auth-card form {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.auth-card form label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 12px;
}
.auth-card form label:first-of-type {
    margin-top: 0;
}

.auth-card input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 15px;
    transition: var(--transition);
}
.auth-card input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.auth-card input::placeholder {
    color: var(--text-muted);
}

.auth-card .divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 20px 0 16px;
    color: var(--text-muted);
    font-size: 13px;
}
.auth-card .divider::before,
.auth-card .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.auth-error {
    padding: 12px 16px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: var(--radius-sm);
    color: #f87171;
    font-size: 14px;
    margin-bottom: 16px;
}

/* ========================================
   DASHBOARD LAYOUT
   ======================================== */
.dashboard-wrapper {
    display: flex;
    min-height: calc(100vh - 72px);
}

.dashboard-sidebar {
    width: 240px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    padding: 24px 16px;
    flex-shrink: 0;
    position: sticky;
    top: 72px;
    height: calc(100vh - 72px);
    overflow-y: auto;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.sidebar-nav .nav-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    padding: 12px 12px 6px;
}
.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}
.sidebar-nav a:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}
.sidebar-nav a.active {
    background: rgba(59, 130, 246, 0.12);
    color: var(--accent-blue);
}
.sidebar-nav a .badge {
    margin-left: auto;
    background: var(--accent-blue);
    color: white;
    font-size: 11px;
    padding: 1px 10px;
    border-radius: 50px;
    font-weight: 600;
}

.dashboard-main {
    flex: 1;
    padding: 32px 40px 60px;
    overflow-y: auto;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}
.dashboard-header h1 {
    font-size: 28px;
    font-weight: 700;
}
.dashboard-header .subtitle {
    color: var(--text-secondary);
    font-size: 16px;
}
.dashboard-header-actions {
    display: flex;
    gap: 12px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px 24px;
}
.stat-card .stat-value {
    font-size: 32px;
    font-weight: 700;
}
.stat-card .stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}
.stat-card .stat-change {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 50px;
    margin-top: 6px;
}
.stat-card .stat-change.positive {
    background: rgba(34, 197, 94, 0.15);
    color: var(--accent-green);
}
.stat-card .stat-change.negative {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}
.stat-card .stat-change.neutral {
    background: rgba(100, 116, 139, 0.15);
    color: var(--text-muted);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.section-head h2 {
    font-size: 20px;
    font-weight: 600;
}
.section-head a {
    font-size: 14px;
    color: var(--accent-blue);
    font-weight: 500;
}

/* ========================================
   GAME GRID
   ======================================== */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}
.game-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-light);
    box-shadow: var(--shadow-card);
}
.game-card .game-thumb {
    aspect-ratio: 920 / 430;
    background: linear-gradient(135deg, var(--bg-card-hover), var(--bg-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}
.game-card .game-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.game-card .game-body {
    padding: 20px;
}
.game-card .game-body h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px;
    transition: var(--transition);
}
.game-card .game-body a:hover h3 {
    color: var(--accent-blue);
}
.game-card .game-body .game-meta {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    flex-wrap: wrap;
}
.game-card .game-body .game-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}
.game-card .game-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.game-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 14px;
}
.game-rating .stars {
    color: #fbbf24;
    font-weight: 600;
}
.game-rating .review-count {
    color: var(--text-muted);
    font-size: 13px;
}
.game-date {
    color: var(--text-muted);
    font-size: 13px;
}

/* ========================================
   STATUS BADGE
   ======================================== */
.status-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}
.status-badge.draft {
    background: rgba(100, 116, 139, 0.2);
    color: var(--text-muted);
}
.status-badge.published {
    background: rgba(34, 197, 94, 0.15);
    color: var(--accent-green);
}
.status-badge.earlyaccess {
    background: rgba(139, 92, 246, 0.15);
    color: var(--accent-purple);
}
.status-badge.indevelopment {
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent-blue);
}
.status-badge.onhold {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
}
.status-badge.completed {
    background: rgba(34, 197, 94, 0.15);
    color: var(--accent-green);
}
/* ========================================
   EMPTY STATE
   ======================================== */
.empty-state {
    background: var(--bg-card);
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 60px 40px;
    text-align: center;
}
.empty-state .icon {
    font-size: 56px;
    margin-bottom: 16px;
}
.empty-state h3 {
    font-size: 20px;
    margin-bottom: 6px;
}
.empty-state p {
    color: var(--text-secondary);
    font-size: 15px;
}
.empty-state .btn {
    color: white;
}
.empty-state .btn-primary {
    color: white;
}
.empty-state .btn-primary:hover {
    text-decoration: none;
    opacity: 0.9;
}

/* ========================================
   BROWSE PAGE
   ======================================== */
.browse-page {
    padding: 40px 0 60px;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}
.page-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin: 4px 0 0;
}
.page-header .subtitle {
    color: var(--text-secondary);
    font-size: 16px;
}

.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}

.filter-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    flex: 1;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0 12px;
    min-width: 240px;
}
.search-box .search-icon {
    color: var(--text-muted);
    font-size: 14px;
}
.search-box input {
    background: transparent;
    border: none;
    padding: 10px 0;
    color: var(--text-primary);
    font-size: 14px;
    width: 100%;
}
.search-box input:focus {
    outline: none;
}

.filter-select select,
.sort-group select {
    padding: 10px 32px 10px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}
.filter-select select:focus,
.sort-group select:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.results-count {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 20px;
}

/* ========================================
   GAME PAGE
   ======================================== */
.game-page {
    padding: 30px 0 60px;
}

.breadcrumb {
    margin-bottom: 12px;
}
.breadcrumb a {
    color: var(--accent-blue);
    font-size: 14px;
    font-weight: 500;
}
.breadcrumb a:hover {
    text-decoration: underline;
}

.game-header {
    margin-bottom: 40px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}
.game-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 12px;
}
.game-header-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--text-secondary);
}
.genre-badge {
    background: var(--bg-card);
    padding: 2px 12px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
}
.game-header-rating {
    margin-top: 12px;
    font-size: 18px;
}
.game-header-rating .big-stars {
    font-weight: 700;
    color: #fbbf24;
}
.game-header-rating .review-count {
    color: var(--text-secondary);
    font-size: 15px;
    margin-left: 8px;
}

.game-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.game-main-image {
    width: 100%;
    aspect-ratio: 920 / 430;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-main-image .image-placeholder {
    font-size: 64px;
}

.game-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 12px;
}
.gallery-thumb {
    aspect-ratio: 16/9;
    background: var(--bg-card);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}
.gallery-thumb.active {
    border-color: var(--accent-blue);
}
.gallery-thumb:hover {
    border-color: var(--border-light);
}
.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-details {
    margin-top: 24px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
}
.game-details h2 {
    font-size: 18px;
    margin-bottom: 12px;
}
.game-details p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}
.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}
.detail-row:last-child {
    border-bottom: none;
}
.detail-label {
    color: var(--text-secondary);
    font-weight: 500;
}

/* ========================================
   REVIEW FORM
   ======================================== */
.review-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 32px;
}
.review-form-card h3 {
    font-size: 18px;
    margin-bottom: 16px;
}
.review-form-card label {
    display: block;
    margin-bottom: 4px;
}
.review-form-card textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-input);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 15px;
    resize: vertical;
}
.review-form-card textarea:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.rating-input .star-label {
    cursor: pointer;
    font-size: 28px;
    padding: 2px;
    transition: transform 0.2s;
    display: inline-block;
}
.rating-input .star-label:hover {
    transform: scale(1.1);
}
.rating-input .star-label input {
    display: none;
}
.rating-input .star-label span {
    color: #4a5568;
    transition: color 0.2s;
}
.rating-input .star-label.active span {
    color: #fbbf24;
}
.rating-input .star-label.hover-active span {
    color: #fbbf24;
}
.rating-input {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}

/* ========================================
   REVIEWS LIST
   ======================================== */
.reviews-section h3 {
    font-size: 18px;
    margin-bottom: 16px;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 12px;
}
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.review-user {
    display: flex;
    align-items: center;
    gap: 10px;
}
.review-username {
    font-weight: 600;
    font-size: 14px;
}
.review-rating {
    font-size: 16px;
    color: #fbbf24;
}
.review-body {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 8px;
}
.review-date {
    font-size: 12px;
    color: var(--text-muted);
}

/* ========================================
   REVIEW ACTIONS
   ======================================== */
.review-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-top: 10px;
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
}

.review-actions .btn-delete {
    color: #f87171;
    border-color: #f87171;
}
.review-actions .btn-delete:hover {
    background: rgba(248, 113, 113, 0.1);
}

/* ========================================
   SUBMIT GAME PAGE
   ======================================== */
.submit-page {
    padding: 40px 0 60px;
}

.submit-form {
    margin-top: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    align-items: start;
}

.form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 28px;
    margin-bottom: 24px;
}

.form-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-input);
    color: var(--text-primary);
    font-size: 15px;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-group textarea {
    resize: vertical;
}

.form-group small {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    margin-top: 4px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.file-upload-area {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-sm);
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-input);
}

.file-upload-area:hover {
    border-color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.05);
}

.file-upload-area.dragover {
    border-color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.1);
}

.file-upload-content p {
    color: var(--text-secondary);
    margin: 8px 0;
}

.file-upload-content small {
    color: var(--text-muted);
    font-size: 12px;
}

.file-list {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.file-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 13px;
}

.file-item .remove {
    cursor: pointer;
    color: var(--text-muted);
    font-weight: 700;
}
.file-item .remove:hover {
    color: #f87171;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    background: var(--bg-secondary);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer-grid h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}
.footer-grid p,
.footer-grid a {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 2;
}
.footer-grid a:hover {
    color: var(--text-primary);
}
.footer-bottom {
    border-top: 1px solid var(--border-color);
    margin-top: 32px;
    padding-top: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 820px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content p {
        margin: 0 auto 32px;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
    }
    .hero-visual {
        order: -1;
    }
    .hero-card-placeholder {
        max-width: 100%;
    }

    .auth-grid {
        grid-template-columns: 1fr;
    }
    .feature-grid {
        grid-template-columns: 1fr 1fr;
    }

    .dashboard-sidebar {
        display: none;
    }
    .dashboard-main {
        padding: 24px 20px 40px;
    }

    .nav-links {
        display: none;
    }

    .game-layout {
        grid-template-columns: 1fr;
    }
    .game-page {
        padding: 20px 0 40px;
    }
    .game-header h1 {
        font-size: 28px;
    }
    
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .filter-group {
        flex-direction: column;
    }
    .search-box {
        min-width: auto;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .dashboard-header {
        flex-direction: column;
        gap: 16px;
    }
    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .nav-right .btn-secondary {
        display: none;
    }
    .game-grid {
        grid-template-columns: 1fr;
    }
    .game-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .game-header-meta {
        gap: 10px;
        font-size: 13px;
    }
    .game-header h1 {
        font-size: 24px;
    }
    .game-header-rating {
        font-size: 16px;
    }
    .review-form-card {
        padding: 16px;
    }
    .rating-input {
        gap: 2px;
    }
    .star-label {
        font-size: 22px;
        padding: 2px 4px;
    }
    .form-card {
        padding: 20px;
    }
}
/* ========================================
   FEATURED CAROUSEL
   ======================================== */
.featured-section {
    padding: 40px 0 40px;
}

.featured-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.featured-header h2 {
    font-size: 28px;
    font-weight: 700;
}
.featured-header .eyebrow {
    font-size: 14px;
    margin-bottom: 4px;
}

.featured-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    aspect-ratio: 920 / 430;
}

.featured-slide {
    display: none;
    width: 100%;
    height: 100%;
    animation: fadeIn 0.8s ease-in-out;
}
.featured-slide.active {
    display: block;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.featured-image {
    position: relative;
    width: 100%;
    height: 100%;
}
.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--bg-primary);
}
.featured-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    background: linear-gradient(135deg, var(--bg-card-hover), var(--bg-primary));
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.featured-info {
    max-width: 500px;
}
.featured-info .featured-genre {
    display: inline-block;
    padding: 2px 12px;
    border-radius: 50px;
    background: rgba(59, 130, 246, 0.2);
    color: var(--accent-blue);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}
.featured-info h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 4px;
}
.featured-info p {
    color: var(--text-secondary);
    font-size: 14px;
}
.featured-info .featured-rating {
    display: flex;
    gap: 8px;
    align-items: center;
    margin: 8px 0 12px;
    color: #fbbf24;
    font-weight: 600;
}
.featured-info .featured-rating span:last-child {
    color: var(--text-secondary);
    font-weight: 400;
}

/* ========================================
   CAROUSEL CONTROLS
   ======================================== */
.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
}

.carousel-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-btn:hover {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

.carousel-dots {
    display: flex;
    gap: 6px;
}
.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}
.carousel-dots .dot.active {
    background: var(--accent-blue);
}
.carousel-dots .dot:hover {
    background: var(--accent-blue);
}

.carousel-timer {
    display: flex;
    align-items: center;
}

.play-btn-with-ring {
    position: relative;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.progress-ring-svg {
    width: 40px;
    height: 40px;
    transform: rotate(-90deg);
    position: absolute;
    top: 0;
    left: 0;
}

.progress-ring-track {
    fill: none;
    stroke: var(--border-color);
    stroke-width: 2.5;
}

.progress-ring-fill {
    fill: none;
    stroke: var(--accent-blue);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 106.81;
    stroke-dashoffset: 106.81;
    transition: stroke-dashoffset 0.1s linear;
}

.progress-ring-fill.paused {
    stroke: var(--text-muted);
}

.play-icon {
    position: relative;
    z-index: 1;
    font-size: 14px;
    color: var(--text-primary);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.play-btn-with-ring:hover .play-icon {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

/* ========================================
   LATEST GAMES SECTION
   ======================================== */
.latest-section {
    padding: 40px 0 60px;
}
.latest-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}
.latest-section .section-header h2 {
    font-size: 28px;
    font-weight: 700;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
}
.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.cta-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 12px;
}
.cta-content p {
    color: var(--text-secondary);
    font-size: 17px;
    margin-bottom: 24px;
}/* ========================================
   HAMBURGER MENU
   ======================================== */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

.mobile-menu {
    display: none;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 16px 20px;
}
.mobile-menu.open {
    display: block;
}
.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.mobile-nav-links a {
    display: block;
    padding: 10px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}
.mobile-nav-links a:hover {
    color: var(--text-primary);
}
.mobile-nav-links .mobile-logout {
    color: #f87171;
    border-bottom: none;
}
.mobile-nav-links .mobile-logout:hover {
    color: #fca5a5;
}

.desktop-logout {
    display: inline-flex;
}

@media (max-width: 820px) {
    .nav-links {
        display: none !important;
    }
    .hamburger {
        display: flex;
    }
    .desktop-logout {
        display: none;
    }
}

@media (min-width: 821px) {
    .mobile-menu {
        display: none !important;
    }
}
/* ========================================
   FEATURED CAROUSEL FADE TRANSITION
   ======================================== */
.featured-slide {
    display: none;
    width: 100%;
    height: 100%;
    animation: fadeIn 0.8s ease-in-out;
}
.featured-slide.active {
    display: block;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}/* ========================================
   PROFILE PAGE
   ======================================== */
.profile-page {
    padding: 40px 0 60px;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 40px;
}

.profile-avatar-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.profile-info h1 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 4px;
}

.profile-joined {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 12px;
}

.profile-stats {
    display: flex;
    gap: 32px;
    margin: 12px 0 16px;
}

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

.profile-stat .stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
}

.profile-stat .stat-label {
    font-size: 13px;
    color: var(--text-secondary);
}

.profile-games h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

/* ========================================
   SETTINGS PAGE
   ======================================== */
.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.settings-grid .form-card {
    margin-bottom: 0;
}
.settings-grid .form-card:last-child {
    grid-column: 1 / -1;
}

@media (max-width: 820px) {
    .settings-grid {
        grid-template-columns: 1fr;
    }
    .settings-grid .form-card:last-child {
        grid-column: 1;
    }
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    .profile-stats {
        justify-content: center;
    }
}
/* ========================================
   PROFILE REVIEWS
   ======================================== */
.profile-reviews {
    margin-top: 40px;
}

.profile-reviews h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
}

.review-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    transition: var(--transition);
}
.review-card:hover {
    border-color: var(--border-light);
}

.review-card-game a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.review-card-thumb {
    width: 160px;
	aspect-ratio: 920 / 430;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.review-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.review-card-thumb span {
    font-size: 36px;
}

.review-card-info h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}
.review-card-info .game-genre {
    font-size: 13px;
    color: var(--text-secondary);
}

.review-card-rating {
    margin: 8px 0 4px;
    color: #fbbf24;
    font-size: 16px;
}

.review-card-body {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-card-date {
    font-size: 12px;
    color: var(--text-muted);
}

@media (max-width: 560px) {
    .review-grid {
        grid-template-columns: 1fr;
    }
    .review-card-game a {
        flex-direction: row;
        align-items: center;
    }
    .review-card-thumb {
        width: 120px;
		aspect-ratio: 920 / 430;
    }
}
/* ========================================
   LEADERBOARD
   ======================================== */
.leaderboard-page {
    padding: 40px 0 60px;
}

.leaderboard-list {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.leaderboard-header {
    display: grid;
    grid-template-columns: 60px 1fr 100px 120px 90px;
    padding: 14px 24px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.leaderboard-header .rank { grid-column: 1; }
.leaderboard-header .user { grid-column: 2; }
.leaderboard-header .reviews { grid-column: 3; text-align: center; }
.leaderboard-header .rating { grid-column: 4; text-align: center; }
.leaderboard-header .games { grid-column: 5; text-align: center; }

.leaderboard-row {
    display: grid;
    grid-template-columns: 60px 1fr 100px 120px 90px;
    padding: 12px 24px;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}
.leaderboard-row:last-child {
    border-bottom: none;
}
.leaderboard-row:hover {
    background: var(--bg-card-hover);
}
.leaderboard-row.top-three {
    background: rgba(251, 191, 36, 0.05);
}
.leaderboard-row.top-three:hover {
    background: rgba(251, 191, 36, 0.1);
}

.leaderboard-row .rank {
    font-weight: 700;
    font-size: 16px;
    color: var(--text-secondary);
    grid-column: 1;
}
.leaderboard-row.top-three .rank {
    font-size: 20px;
}

.leaderboard-row .user {
    grid-column: 2;
}
.leaderboard-row .user a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
}
.leaderboard-row .user a:hover {
    color: var(--accent-blue);
}

.leaderboard-row .reviews {
    font-weight: 600;
    color: var(--accent-blue);
    grid-column: 3;
    text-align: center;
}
.leaderboard-row.top-three .reviews {
    color: #fbbf24;
}

.leaderboard-row .rating {
    color: #fbbf24;
    grid-column: 4;
    text-align: center;
}

.leaderboard-row .games {
    color: var(--text-secondary);
    grid-column: 5;
    text-align: center;
}

@media (max-width: 560px) {
    .leaderboard-header {
        grid-template-columns: 40px 1fr 60px 70px 55px;
        font-size: 10px;
        padding: 10px 12px;
    }
    .leaderboard-row {
        grid-template-columns: 40px 1fr 60px 70px 55px;
        padding: 10px 12px;
        font-size: 12px;
    }
    .leaderboard-row .rank {
        font-size: 14px;
    }
    .leaderboard-row.top-three .rank {
        font-size: 16px;
    }
}
/* ========================================
   LEADERBOARD CONTROLS
   ======================================== */
.leaderboard-controls {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.sort-btn {
    padding: 8px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}
.sort-btn:hover {
    border-color: var(--border-light);
    color: var(--text-primary);
}
.sort-btn.active {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: white;
}
.sort-btn.active:hover {
    background: var(--accent-blue);
    color: white;
}
/* ========================================
   LEGAL PAGES
   ======================================== */
.legal-page {
    padding: 40px 0 60px;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px;
}

.legal-content h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 4px;
}

.legal-content .legal-date {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 24px;
}

.legal-content h2 {
    font-size: 20px;
    font-weight: 600;
    margin-top: 28px;
    margin-bottom: 12px;
}

.legal-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.legal-content ul {
    margin: 8px 0 16px 20px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.legal-content ul li {
    margin-bottom: 4px;
}
/* ========================================
   REVIEW VOTES
   ======================================== */
.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border-color);
}

.review-votes {
    display: flex;
    gap: 8px;
    align-items: center;
}

.vote-btn {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 4px 10px;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 13px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
}

.vote-btn:hover {
    border-color: var(--border-light);
    color: var(--text-primary);
}

.vote-btn.voted-up {
    border-color: var(--accent-green);
    color: var(--accent-green);
    background: rgba(34, 197, 94, 0.1);
}

.vote-btn.voted-down {
    border-color: #f87171;
    color: #f87171;
    background: rgba(248, 113, 113, 0.1);
}

.vote-count {
    font-weight: 600;
    min-width: 16px;
}
/* ========================================
   BRANDING SECTION
   ======================================== */
.branding-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.branding-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

.branding-text .eyebrow {
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.branding-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-top: 8px;
    margin-bottom: 16px;
    line-height: 1.2;
    color: var(--text-primary);
}

.branding-text > p {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.8;
    max-width: 600px;
    margin-bottom: 32px;
}

.branding-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.branding-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.branding-feature:hover {
    border-color: var(--border-light);
    transform: translateX(4px);
}

.branding-feature span:first-child {
    font-size: 28px;
    flex-shrink: 0;
    margin-top: 2px;
}

.branding-feature h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
}

.branding-feature p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.branding-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    align-self: stretch;
}

.branding-stat {
    text-align: center;
    padding: 20px 16px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.branding-stat:last-child {
    border-bottom: none;
}

.branding-stat .stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-blue);
    line-height: 1.2;
}

.branding-stat .stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 500;
}

@media (max-width: 820px) {
    .branding-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .branding-text h2 {
        font-size: 28px;
    }
    .branding-text > p {
        font-size: 16px;
    }
    .branding-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    .branding-stat {
        border-bottom: none;
        border-right: 1px solid var(--border-color);
        padding: 20px 16px;
    }
    .branding-stat:last-child {
        border-right: none;
    }
    .branding-stat .stat-number {
        font-size: 28px;
    }
}

@media (max-width: 560px) {
    .branding-stats {
        grid-template-columns: 1fr;
    }
    .branding-stat {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    .branding-stat:last-child {
        border-bottom: none;
    }
    .branding-feature {
        padding: 14px 16px;
    }
}