/* ── Reset & Variables ── */
:root {
    --bg:           #0a0c10;
    --bg-card:      #12151e;
    --bg-card-hover:#181c28;
    --bg-surface:   #151824;
    --bg-input:     #0e1018;
    --border:       #1e2235;
    --border-hover: #2d3352;
    --text:         #d5d8e8;
    --text-muted:   #7a7f9a;
    --text-dim:     #4a4f6a;
    --accent:       #7c6cf0;
    --accent-hover: #9080ff;
    --accent-glow:  rgba(124,108,240,0.25);
    --accent-light: rgba(124,108,240,0.1);
    --accent-rgb:   124,108,240;
    --green:        #34d399;
    --green-dark:   #059669;
    --green-light:  rgba(52,211,153,0.1);
    --red:          #f87171;
    --gold:         #fbbf24;
    --gold-dim:     #78621b;
    --radius:       10px;
    --radius-lg:    14px;
    --radius-xl:    20px;
    --shadow:       0 4px 24px rgba(0,0,0,0.35);
    --shadow-lg:    0 12px 48px rgba(0,0,0,0.5);
    --transition:   0.2s ease;
    --font:         'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width:    1340px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; color: #fff; }

/* ── Container ── */
.ge-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Layout ── */
.ge-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    align-items: start;
}

.ge-header {
    background: rgba(10,12,16,0.92);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(16px) saturate(1.8);
    -webkit-backdrop-filter: blur(16px) saturate(1.8);
}

/* ── Top bar: Logo + Search + Auth ── */
.ge-header-top {
    border-bottom: 1px solid var(--border);
}
.ge-header-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 70px;
}
.ge-header-left-group {
    display: flex;
    align-items: center;
    gap: 20px;
}
.ge-header-right-group {
    display: flex;
    align-items: center;
    gap: 20px;
}
.ge-quick-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}
.ge-quick-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    text-decoration: none;
    transition: color var(--transition);
}
.ge-quick-link:hover { color: #fff; }
.ge-quick-link svg { color: var(--accent); }

.ge-search-wrap {
    position: relative;
    width: 320px;
}

/* ── Bottom bar: Nav + Categories ── */
.ge-header-bottom-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 54px;
}

/* Logo */
.ge-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 800;
    font-size: 20px;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
}
.ge-logo:hover { color: #fff; }
.ge-logo:hover .ge-logo-mark { box-shadow: 0 0 16px var(--accent-glow); }

.ge-logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent) 0%, #a78bfa 100%);
    border-radius: 10px;
    color: #fff;
    transition: box-shadow var(--transition);
}

.ge-logo-text { letter-spacing: -0.3px; }
.ge-logo-accent { color: var(--accent); }

/* Search */
.ge-search-wrap {
    position: relative;
    max-width: 320px;
    width: 320px;
}

.ge-search-form {
    display: flex;
    align-items: center;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 50px;
    overflow: hidden;
    transition: all var(--transition);
    padding-left: 14px;
}
.ge-search-form:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.ge-search-icon { color: var(--text-dim); flex-shrink: 0; }

.ge-search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text);
    padding: 8px 12px;
    font-size: 14px;
    outline: none;
    font-family: var(--font);
}
.ge-search-input::placeholder { color: var(--text-dim); }

.ge-search-btn {
    background: var(--accent);
    border: none;
    color: #fff;
    padding: 7px 14px;
    cursor: pointer;
    display: flex;
    border-radius: 0 50px 50px 0;
    transition: background var(--transition);
}
.ge-search-btn:hover { background: var(--accent-hover); }

/* Live search results */
.ge-live-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 999;
    max-height: 400px;
    overflow-y: auto;
}

.ge-live-results.active { display: block; }

.ge-live-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
    color: var(--text);
}
.ge-live-result:last-child { border-bottom: none; }
.ge-live-result:hover { background: var(--bg-card-hover); }

.ge-live-result img {
    width: 40px;
    height: 52px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.ge-live-result-info { flex: 1; }
.ge-live-result-title { font-weight: 600; font-size: 14px; color: #fff; }
.ge-live-result-excerpt { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ── Navigation (bottom bar) ── */
.ge-nav { flex-shrink: 0; }

.ge-menu {
    display: flex;
    gap: 2px;
}

.ge-menu li { position: relative; }
.ge-menu li a {
    display: block;
    padding: 6px 12px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all var(--transition);
    white-space: nowrap;
}
.ge-menu li a:hover,
.ge-menu li.current-menu-item > a { color: #fff; background: var(--accent-light); }

/* Submenu */
.ge-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    min-width: 200px;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition);
    z-index: 100;
    padding: 6px;
}
.ge-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ── Header categories (bottom bar, right) ── */
.ge-header-cats {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    overflow: hidden;
}
.ge-header-cat-link {
    display: inline-block;
    padding: 4px 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dim);
    border-radius: 20px;
    transition: all var(--transition);
    white-space: nowrap;
    text-decoration: none;
    border: 1px solid transparent;
}
.ge-header-cat-link:hover {
    color: var(--accent);
    background: var(--accent-light);
    border-color: rgba(108,92,231,0.2);
}

/* ── Auth buttons ── */
.ge-auth-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* ── User Pill (now a button for dropdown) ── */
.ge-user-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 10px 4px 4px;
    background: var(--bg-surface);
    border-radius: 50px;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all var(--transition);
    font-family: var(--font);
    color: var(--text);
}
.ge-user-pill:hover {
    border-color: var(--accent);
    background: var(--accent-light);
}
.ge-user-avatar {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    flex-shrink: 0;
}
.ge-user-avatar-lg {
    width: 38px;
    height: 38px;
    font-size: 16px;
}
.ge-user-avatar.ge-vip {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    box-shadow: 0 0 10px rgba(245,158,11,0.4);
}
.ge-user-name {
    font-size: 14px;
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}
.ge-user-chevron {
    transition: transform var(--transition);
    color: var(--text-dim);
    flex-shrink: 0;
}
.ge-user-dropdown.open .ge-user-chevron {
    transform: rotate(180deg);
}

/* ── User Dropdown Menu ── */
.ge-user-dropdown {
    position: relative;
}
.ge-user-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 240px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.15s ease;
    z-index: 1001;
    padding: 6px;
}
.ge-user-dropdown.open .ge-user-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.ge-user-menu-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 4px;
}
.ge-user-menu-name {
    font-weight: 700;
    font-size: 15px;
    color: #fff;
}
.ge-user-menu-role {
    font-size: 12px;
    color: var(--text-dim);
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ge-vip-badge {
    display: inline-block;
    padding: 1px 8px;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    border-radius: 20px;
    letter-spacing: 0.5px;
}
.ge-user-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: var(--radius);
    transition: all var(--transition);
    text-decoration: none;
}
.ge-user-menu-item:hover {
    background: var(--bg-card-hover);
    color: #fff;
}
.ge-user-menu-item.ge-user-menu-vip {
    color: #f59e0b;
}
.ge-user-menu-item.ge-user-menu-vip:hover {
    background: rgba(245,158,11,0.1);
    color: #f59e0b;
}
.ge-user-menu-item.ge-user-menu-logout { color: #ef4444; }
.ge-user-menu-item.ge-user-menu-logout:hover { background: rgba(239,68,68,0.1); }
.ge-fav-count {
    margin-left: auto;
    background: var(--accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 0 6px;
}
.ge-user-menu-sep {
    height: 1px;
    background: var(--border);
    margin: 4px 0;
}

/* ── Buttons ── */
.ge-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font);
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    white-space: nowrap;
    font-size: 14px;
    padding: 10px 22px;
    line-height: 1.4;
}

.ge-btn-primary {
    background: var(--accent);
    color: #fff;
}
.ge-btn-primary:hover { background: var(--accent-hover); color: #fff; }

.ge-btn-accent {
    background: var(--accent);
    color: #fff;
}
.ge-btn-accent:hover { background: var(--accent-hover); color: #fff; box-shadow: 0 4px 20px var(--accent-glow); }

.ge-btn-ghost {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
}
.ge-btn-ghost:hover { border-color: var(--text-dim); color: var(--text); }

.ge-btn-outline {
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
}
.ge-btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.ge-btn-green {
    background: var(--green);
    color: #0a0c10;
}
.ge-btn-green:hover { background: var(--green-dark); color: #fff; }

.ge-btn-sm { padding: 6px 16px; font-size: 13px; }
.ge-btn-lg { padding: 14px 30px; font-size: 16px; }
.ge-btn-block { width: 100%; justify-content: center; }

/* ── Burger ── */
.ge-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.ge-burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition);
}
.ge-burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.ge-burger.active span:nth-child(2) { opacity: 0; }
.ge-burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── Search Toggle (mobile only) ── */
.ge-search-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-muted);
    cursor: pointer;
    flex-shrink: 0;
    transition: all var(--transition);
}
.ge-search-toggle:hover,
.ge-search-toggle.active {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--accent-light);
}

.ge-breadcrumbs {
    padding: 16px 0 32px 0;
    font-size: 13px;
    color: var(--text-dim);
}
.ge-breadcrumbs a { color: var(--text-muted); }
.ge-breadcrumbs a:hover { color: var(--accent); }
.ge-bc-sep { margin: 0 6px; color: var(--text-dim); }

.ge-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}
.ge-games-grid-4 {
    grid-template-columns: repeat(5, 1fr);
}
/* Inside sidebar layout (front page) — 4 narrow columns */
.ge-content .ge-games-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}
/* Front page: taller poster images */
body.home .ge-card-poster {
    aspect-ratio: 3/2.6;
}

.ge-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.ge-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(108,92,231,0.15);
}

.ge-card-link {
    display: block;
    color: var(--text);
    text-decoration: none;
}

.ge-card-poster {
    position: relative;
    aspect-ratio: 3/2.2;
    overflow: hidden;
    background: var(--bg-surface);
}
.ge-card-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.ge-card:hover .ge-card-poster img { transform: scale(1.05); }

.ge-card-no-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: var(--text-dim);
}

.ge-card-rating {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    padding: 3px 8px;
    border-radius: 6px;
}

/* ── Favorite Button on Card ── */
.ge-card { position: relative; }
.ge-fav-btn {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: background var(--transition), color var(--transition), transform 0.2s;
    opacity: 0;
    pointer-events: none;
    padding: 0;
}
.ge-card:hover .ge-fav-btn,
.ge-fav-btn.active {
    opacity: 1;
    pointer-events: auto;
}
.ge-fav-btn:hover {
    background: rgba(0,0,0,0.75);
    transform: scale(1.12);
}
.ge-fav-btn.active {
    color: var(--red, #ef4444);
}
.ge-fav-btn.ge-fav-loading {
    opacity: 0.6;
    pointer-events: none;
}
.ge-fav-btn.ge-fav-pulse svg {
    animation: geFavPulse 0.4s ease;
}
@keyframes geFavPulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.35); }
    100% { transform: scale(1); }
}

/* Favorite Button on Hero */
.ge-hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.ge-fav-btn-hero {
    position: static;
    opacity: 1;
    pointer-events: auto;
    width: auto;
    height: auto;
    border-radius: var(--radius);
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font);
    gap: 8px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.15);
    color: #fff;
}
.ge-fav-btn-hero:hover {
    background: rgba(255,255,255,0.18);
    transform: none;
}
.ge-fav-btn-hero.active {
    color: var(--red, #ef4444);
    border-color: var(--red, #ef4444);
    background: rgba(239,68,68,0.12);
}
.ge-fav-label {
    white-space: nowrap;
}

.ge-card-body { padding: 12px; }

.ge-card-title {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.ge-card-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.ge-card-genre, .ge-card-platform {
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 20px;
    background: var(--accent-light);
    color: var(--accent);
    font-weight: 600;
}
.ge-card-platform { background: rgba(0,230,118,0.1); color: var(--green); }

.ge-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-dim);
}
.ge-card-version { font-weight: 600; }
.ge-card-views {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ge-section-title {
    font-size: 28px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ge-section-desc {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 24px;
}
.ge-section-heading {
    font-size: 20px;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

/* ── Archive / Page Header ── */
.ge-archive-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.ge-archive-header .ge-section-title {
    margin-bottom: 8px;
}
.ge-archive-desc {
    color: var(--text-muted);
    font-size: 15px;
    margin: 0;
}
.ge-section-header {
    margin-bottom: 24px;
}

.ge-hero-section {
    margin-bottom: 30px;
}

.ge-hero {
    position: relative;
    margin: -16px -20px 30px;
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    overflow: hidden;
    min-height: 360px;
}

.ge-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    filter: blur(30px) brightness(0.3);
    transform: scale(1.2);
}
.ge-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ge-hero-content {
    position: relative;
    display: flex;
    gap: 30px;
    padding: 40px 30px;
    align-items: flex-end;
}

.ge-hero-poster {
    flex-shrink: 0;
    width: 220px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.ge-hero-poster img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.ge-hero-info { flex: 1; }

.ge-hero-title {
    font-size: 32px;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.ge-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.ge-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(6px);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.ge-hero-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}
.ge-hero-rating .star { font-size: 18px; }
.ge-hero-rating .star.full,
.ge-hero-rating .star.half { color: var(--gold); }
.ge-hero-rating .star.empty { color: var(--gold-dim); }
.ge-rating-num { font-weight: 700; font-size: 16px; color: var(--gold); }
.ge-views-count {
    display: flex;
    align-items: center;
    gap: 4px;
    color: var(--text-muted);
    font-size: 14px;
    margin-left: 10px;
}

.ge-download-hero { font-size: 16px; }

.ge-single-layout { margin-top: 0; }

.ge-info-table-wrap {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 30px;
    border: 1px solid var(--border);
}

.ge-info-table {
    width: 100%;
    border-collapse: collapse;
}
.ge-info-table th,
.ge-info-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    font-size: 14px;
}
.ge-info-table tr:last-child th,
.ge-info-table tr:last-child td { border-bottom: none; }
.ge-info-table th {
    color: var(--text-muted);
    font-weight: 600;
    width: 180px;
}
.ge-info-table td { color: var(--text); }

/* ── Related Materials (plugin) ── */
.ge-related-materials {
    margin-bottom: 30px;
}


/* ── Description ── */
.ge-description {
    margin-bottom: 30px;
}
.ge-post-content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text);
}
.ge-post-content p { margin-bottom: 16px; }
.ge-post-content h2, .ge-post-content h3 { margin: 24px 0 12px; }
.ge-post-content ul, .ge-post-content ol { margin: 12px 0; padding-left: 24px; }
.ge-post-content ul { list-style: disc; }
.ge-post-content ol { list-style: decimal; }
.ge-post-content a { color: var(--accent); text-decoration: underline; }
.ge-post-content img { border-radius: var(--radius); margin: 16px 0; }
.ge-post-content blockquote {
    border-left: 4px solid var(--accent);
    margin: 16px 0;
    padding: 12px 20px;
    background: var(--accent-light);
    border-radius: 0 var(--radius) var(--radius) 0;
}

/* ── Trailer ── */
.ge-trailer { margin-bottom: 30px; }
.ge-video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #000;
}
.ge-video-wrap iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ── Gallery ── */
.ge-screenshots { margin-bottom: 30px; }

.ge-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.ge-gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
}
.ge-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.ge-gallery-item:hover img { transform: scale(1.08); }

/* Lightbox */
.ge-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}
.ge-lightbox.active { opacity: 1; visibility: visible; }
.ge-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.ge-lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ge-lightbox-prev,
.ge-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition);
}
.ge-lightbox-prev:hover,
.ge-lightbox-next:hover { background: rgba(255,255,255,0.2); }
.ge-lightbox-prev { left: 20px; }
.ge-lightbox-next { right: 20px; }

/* ── System Requirements ── */
.ge-sysreq { margin-bottom: 30px; }

.ge-sysreq-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 16px;
}

.ge-tab {
    padding: 8px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    font-family: var(--font);
    transition: all var(--transition);
}
.ge-tab.active,
.ge-tab:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

.ge-tab-panel {
    display: none;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
}
.ge-tab-panel.active { display: block; }

.ge-sysreq-text {
    font-family: var(--font);
    font-size: 14px;
    line-height: 1.8;
    color: var(--text);
    white-space: pre-wrap;
    word-wrap: break-word;
    background: none;
    border: none;
    margin: 0;
}

/* Structured system requirements table (from microservice) */
.ge-sysreq-table {
    width: 100%;
    border-collapse: collapse;
}
.ge-sysreq-table th,
.ge-sysreq-table td {
    padding: 10px 14px;
    font-size: 14px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}
.ge-sysreq-table tr:last-child th,
.ge-sysreq-table tr:last-child td { border-bottom: none; }
.ge-sysreq-table th {
    width: 180px;
    color: var(--text-muted);
    font-weight: 600;
    white-space: nowrap;
}
.ge-sysreq-table td { color: var(--text); }

/* ── Changes notice ── */
.ge-changes { margin-bottom: 24px; }
.ge-changes-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 18px;
    background: rgba(var(--accent-rgb), 0.08);
    border: 1px solid rgba(var(--accent-rgb), 0.2);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text);
    line-height: 1.6;
}
.ge-changes-notice svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--accent);
}

/* ── Downloads section ── */
.ge-downloads-section { margin-bottom: 30px; }

.ge-download-cards { display: flex; flex-direction: column; gap: 12px; }

.ge-dl-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    transition: border-color var(--transition);
}
.ge-dl-card:hover { border-color: var(--accent); }

.ge-dl-info { display: flex; align-items: center; gap: 12px; }
.ge-dl-info strong { color: #fff; font-size: 15px; }
.ge-dl-size {
    background: var(--accent-light);
    color: var(--accent);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.schema-faq.wp-block-yoast-faq-block {
    margin: 36px 0;
}

.schema-faq-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin-bottom: 12px;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.schema-faq-section:hover {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}

.schema-faq-question {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    cursor: default;
}

.schema-faq-question::before {
    content: '?';
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--accent) 0%, #a78bfa 100%);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
}

.schema-faq-answer {
    margin: 10px 0 0 38px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
}

.ge-comments { margin-bottom: 30px; }
.ge-comments-count { font-weight: 400; color: var(--text-muted); font-size: 18px; }

.ge-comment-list { padding: 0; }
.ge-comment-list .ge-comment { margin-bottom: 20px; }

.ge-comment-body {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px;
}

.ge-comment-header {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px;
}

.ge-comment-avatar img { border-radius: 50%; }

.ge-comment-meta { flex: 1; }
.ge-comment-author { color: #fff; font-size: 14px; }
.ge-comment-date {
    display: block;
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 2px;
}

.ge-comment-rating {
    display: inline-flex;
    gap: 1px;
    margin-top: 4px;
}
.ge-comment-rating .star { font-size: 14px; }
.ge-comment-rating .star.full,
.ge-comment-rating .star.half { color: var(--gold); }
.ge-comment-rating .star.empty { color: var(--gold-dim); }

.ge-comment-content {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text);
}

.ge-comment-actions {
    margin-top: 10px;
    display: flex;
    gap: 12px;
    font-size: 13px;
}
.ge-comment-actions a { color: var(--text-muted); }
.ge-comment-actions a:hover { color: var(--accent); }

.ge-comment-awaiting {
    margin-top: 8px;
    font-size: 13px;
    color: var(--gold);
    font-style: italic;
}

/* Nested comments */
.ge-comment-list .children {
    margin-left: 30px;
    margin-top: 16px;
    border-left: 2px solid var(--border);
    padding-left: 20px;
}

/* ── VIP in comments ── */
.ge-comment-author.ge-vip-name {
    background: linear-gradient(90deg, #f59e0b, #ef4444, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}
.ge-comment-vip-tag {
    display: inline-block;
    padding: 1px 6px;
    font-size: 9px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    border-radius: 20px;
    letter-spacing: 0.5px;
    margin-left: 6px;
    vertical-align: middle;
}

/* ── Comment Form ── */
.ge-comment-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-top: 20px;
}

.ge-form-group {
    margin-bottom: 16px;
}
.ge-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.ge-form-group input,
.ge-form-group textarea,
.ge-form-group select {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 14px;
    color: var(--text);
    font-size: 14px;
    font-family: var(--font);
    transition: border-color var(--transition);
    outline: none;
}
.ge-form-group input:focus,
.ge-form-group textarea:focus,
.ge-form-group select:focus { border-color: var(--accent); }

.ge-form-group .required { color: var(--red); }

/* ── Rating input ── */
.ge-rating-field { margin-bottom: 16px; }
.ge-rating-field > label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
    display: block;
}

.ge-stars-input {
    display: flex;
    align-items: center;
    gap: 2px;
}
.ge-stars-input input[type="radio"] { display: none; }
.ge-star-label {
    font-size: 22px;
    cursor: pointer;
    color: var(--gold-dim);
    transition: color var(--transition);
    user-select: none;
}
.ge-star-label.active { color: var(--gold); }
.ge-rating-value {
    margin-left: 10px;
    font-weight: 700;
    font-size: 14px;
    color: var(--gold);
}

/* Honeypot */
.ge-hp { position: absolute !important; left: -9999px !important; }

/* ── WordPress Default Comment Fields ── */
.ge-comment-form .comment-form-author,
.ge-comment-form .comment-form-email,
.ge-comment-form .comment-form-url {
    margin-bottom: 16px;
}
.ge-comment-form .comment-form-author label,
.ge-comment-form .comment-form-email label,
.ge-comment-form .comment-form-url label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.ge-comment-form .comment-form-author input,
.ge-comment-form .comment-form-email input,
.ge-comment-form .comment-form-url input {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 14px;
    color: var(--text);
    font-size: 14px;
    font-family: var(--font);
    transition: border-color var(--transition);
    outline: none;
    box-sizing: border-box;
}
.ge-comment-form .comment-form-author input:focus,
.ge-comment-form .comment-form-email input:focus,
.ge-comment-form .comment-form-url input:focus {
    border-color: var(--accent);
}
.ge-comment-form .comment-form-cookies-consent {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 13px;
    color: var(--text-muted);
}
.ge-comment-form .comment-form-cookies-consent input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--accent);
    flex-shrink: 0;
}
.ge-comment-form .form-submit {
    margin-top: 16px;
    margin-bottom: 0;
}
.ge-comment-form .comment-reply-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text);
}
.ge-comment-form .comment-reply-title small {
    display: block;
    font-size: 13px;
    font-weight: 400;
    margin-top: 4px;
}
.ge-comment-form .comment-reply-title small a {
    color: var(--accent);
}

.ge-sidebar {
    position: sticky;
    top: 110px;
}

.widget {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-bottom: 16px;
    font-size: 13px;
}

.widget-title {
    font-size: 14px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
    color: #fff;
}

/* ── TOP 10 Widget ── */
.ge-top-games { display: flex; flex-direction: column; gap: 10px; }

.ge-top-game-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border-radius: var(--radius);
    transition: background var(--transition);
    color: var(--text);
    text-decoration: none;
}
.ge-top-game-item:hover { background: var(--bg-card-hover); }

.ge-top-rank {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    color: var(--accent);
    font-weight: 800;
    font-size: 11px;
    border-radius: 5px;
}

.ge-top-poster {
    flex-shrink: 0;
    width: 36px;
    height: 46px;
    border-radius: 4px;
    overflow: hidden;
}
.ge-top-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ge-top-title {
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

/* ── Grouped Categories Widget ── */
.ge-cat-groups { display: flex; flex-direction: column; gap: 16px; }
.ge-cat-group-title {
    font-size: 13px;
    color: var(--accent);
    margin-bottom: 6px;
    font-weight: 700;
}
.ge-cat-list li { margin-bottom: 2px; }
.ge-cat-list a {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
    padding: 3px 0;
    transition: color var(--transition);
}
.ge-cat-list a:hover { color: var(--accent); }
.ge-cat-list a span { color: var(--text-dim); font-size: 12px; }

.ge-download-page {
    max-width: 700px;
    margin: 40px auto;
}

.ge-dl-page-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.ge-dl-page-info {
    display: flex;
    gap: 20px;
    padding: 24px;
    border-bottom: 1px solid var(--border);
}

.ge-dl-page-poster {
    flex-shrink: 0;
    width: 140px;
    border-radius: var(--radius);
    overflow: hidden;
}
.ge-dl-page-poster img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.ge-dl-page-details h1 {
    font-size: 22px;
    margin-bottom: 12px;
}
.ge-dl-page-meta {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.ge-dl-page-meta li { margin-bottom: 4px; }
.ge-dl-page-meta strong { color: var(--text); }

.ge-dl-page-links {
    padding: 24px;
}
.ge-dl-page-links h2 {
    font-size: 18px;
    margin-bottom: 20px;
}

/* ── Timer ── */
.ge-timer-wrap {
    text-align: center;
    padding: 30px;
}
.ge-timer-wrap p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.ge-timer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 20px;
}
.ge-timer-num {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}
.ge-timer-label {
    font-size: 14px;
    color: var(--text-muted);
}

.ge-timer-progress {
    height: 4px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}
.ge-timer-bar {
    width: 100%;
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
    transition: width 1s linear;
}

/* ── Download links ── */
.ge-dl-links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ge-dl-link-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-weight: 600;
    transition: all var(--transition);
}
.ge-dl-link-item:hover {
    border-color: var(--green);
    background: rgba(0,230,118,0.05);
    color: var(--green);
}
.ge-dl-link-desc { flex: 1; }
.ge-dl-link-size {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
}

.ge-download-error {
    text-align: center;
    padding: 60px 20px;
}
.ge-download-error h1 { margin-bottom: 12px; }

.ge-auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    padding: 40px 20px;
}

.ge-auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 36px;
    width: 100%;
    max-width: 420px;
}

.ge-auth-title {
    font-size: 24px;
    margin-bottom: 24px;
    text-align: center;
}

.ge-auth-error {
    background: rgba(255,82,82,0.1);
    border: 1px solid rgba(255,82,82,0.3);
    color: var(--red);
    padding: 10px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    margin-bottom: 16px;
}

.ge-auth-form { margin-bottom: 20px; }

.ge-form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.ge-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-muted);
    cursor: pointer;
}
.ge-checkbox input { accent-color: var(--accent); }

.ge-forgot-link { font-size: 13px; color: var(--text-muted); }
.ge-forgot-link:hover { color: var(--accent); }

.ge-auth-switch {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
}
.ge-auth-switch a { color: var(--accent); font-weight: 600; }

.ge-pagination {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}
.ge-pagination ul {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}
.ge-pagination a,
.ge-pagination span,
.ge-pagination li a,
.ge-pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    transition: all var(--transition);
    border: 1px solid var(--border);
    color: var(--text-muted);
    background: var(--bg-card);
    text-decoration: none;
    line-height: 1;
}
.ge-pagination a:hover,
.ge-pagination li a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--bg-card-hover);
}
.ge-pagination .current,
.ge-pagination li .current {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    pointer-events: none;
}
.ge-pagination .dots,
.ge-pagination .page-numbers.dots {
    border-color: transparent;
    background: none;
    color: var(--text-dim);
    min-width: 30px;
    padding: 0;
}
.ge-pagination .prev,
.ge-pagination .next {
    font-size: 18px;
    font-weight: 700;
}
.ge-pagination .prev svg,
.ge-pagination .next svg {
    width: 18px;
    height: 18px;
}

.ge-search-header { margin-bottom: 24px; }
.ge-search-filter {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.ge-search-filter .ge-search-input {
    flex: 1;
    min-width: 200px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 14px;
    color: var(--text);
    font-size: 14px;
    font-family: var(--font);
    outline: none;
}
.ge-search-filter .ge-search-input:focus { border-color: var(--accent); }

.ge-select {
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 14px;
    color: var(--text);
    font-size: 14px;
    font-family: var(--font);
    outline: none;
    min-width: 180px;
}
.ge-select:focus { border-color: var(--accent); }

.ge-search-count {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.ge-404 {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}
.ge-404-content {
    text-align: center;
    padding: 40px 0;
}
.ge-404-icon {
    margin-bottom: 24px;
}
.ge-404-icon svg {
    width: 80px;
    height: 80px;
}
.ge-404 h1 {
    font-size: clamp(28px, 5vw, 48px);
    color: var(--accent);
    line-height: 1.2;
    margin-bottom: 12px;
    font-weight: 800;
}
.ge-404 p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.ge-404-search {
    display: flex;
    gap: 8px;
    max-width: 420px;
    margin: 0 auto 24px;
}
.ge-404-search .ge-search-input {
    flex: 1;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 14px;
    color: var(--text);
    font-size: 14px;
    font-family: var(--font);
    outline: none;
}
.ge-404-search .ge-search-input:focus {
    border-color: var(--accent);
}
.ge-404-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}
.ge-404-popular,
.ge-404-cats {
    margin-top: 32px;
    text-align: left;
}
.ge-404-popular .ge-section-heading,
.ge-404-cats .ge-section-heading {
    text-align: center;
    margin-bottom: 20px;
}
.ge-404-cats .ge-header-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.ge-no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}
.ge-no-results svg { margin: 0 auto 16px; color: var(--text-dim); }
.ge-no-results h2 { margin-bottom: 8px; }

.ge-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    margin-top: 60px;
}

.ge-footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
    padding: 40px 0;
}

.ge-logo-footer { margin-bottom: 12px; }
.ge-logo-footer .ge-logo-mark { width: 32px; height: 32px; }
.ge-logo-footer .ge-logo-mark svg { width: 20px; height: 20px; }

.ge-footer-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
}

.ge-footer-col h4 {
    font-size: 15px;
    margin-bottom: 16px;
    color: #fff;
}

.ge-footer-menu li { margin-bottom: 8px; }
.ge-footer-menu a {
    font-size: 14px;
    color: var(--text-muted);
    transition: color var(--transition);
}
.ge-footer-menu a:hover { color: var(--accent); }

.ge-footer-bottom {
    border-top: 1px solid var(--border);
    padding: 16px 0;
}
.ge-footer-bottom p {
    font-size: 13px;
    color: var(--text-dim);
    text-align: center;
}

.ge-fp-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 440px;
    overflow: hidden;
    margin: 0 -20px 48px;
}

.ge-fp-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(4px) brightness(0.35);
    transform: scale(1.05);
    transition: transform 8s ease;
}
.ge-fp-hero:hover .ge-fp-hero-bg { transform: scale(1.12); }

.ge-fp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,12,16,0.92) 0%, rgba(10,12,16,0.4) 60%, transparent 100%);
}

.ge-fp-hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    padding: 48px 40px;
    max-width: 600px;
}

.ge-fp-hero-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}
.ge-fp-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.ge-fp-badge-genre {
    background: var(--accent-light);
    color: var(--accent);
}
.ge-fp-badge-new {
    background: var(--green-light);
    color: var(--green);
}

.ge-fp-hero-title {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 12px;
    color: #fff;
}

.ge-fp-hero-excerpt {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.ge-fp-hero-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    font-size: 14px;
    color: var(--text-muted);
}
.ge-fp-hero-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    color: var(--gold);
}
.ge-fp-hero-platform {
    background: var(--green-light);
    color: var(--green);
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}
.ge-fp-hero-views {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ge-fp-hero-cta {
    box-shadow: 0 4px 24px var(--accent-glow);
}
.ge-fp-hero-cta:hover {
    box-shadow: 0 8px 32px rgba(124,108,240,0.4);
    transform: translateY(-2px);
}

.ge-fp-hero-poster {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    width: 240px;
    margin-right: 48px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: perspective(600px) rotateY(-4deg);
    transition: transform 0.4s ease;
}
.ge-fp-hero:hover .ge-fp-hero-poster { transform: perspective(600px) rotateY(0deg); }
.ge-fp-hero-poster img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.ge-fp-section {
    margin-bottom: 48px;
}

.ge-fp-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.ge-fp-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 800;
    color: #fff;
}

.ge-fp-see-all {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    transition: color var(--transition);
}
.ge-fp-see-all:hover { color: var(--accent); }

.ge-fp-genres {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.ge-fp-genre-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 160px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    text-decoration: none;
    transition: all 0.3s ease;
}
.ge-fp-genre-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(124,108,240,0.12);
}

.ge-fp-genre-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.3) saturate(0.6);
    transition: filter 0.3s, transform 0.4s;
}
.ge-fp-genre-card:hover .ge-fp-genre-bg {
    filter: brightness(0.4) saturate(0.8);
    transform: scale(1.08);
}

.ge-fp-genre-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,12,16,0.95) 0%, transparent 100%);
}

.ge-fp-genre-content {
    position: relative;
    z-index: 2;
    padding: 16px;
    width: 100%;
}
.ge-fp-genre-content svg {
    color: var(--accent);
    margin-bottom: 6px;
}
.ge-fp-genre-name {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}
.ge-fp-genre-count {
    font-size: 12px;
    color: var(--text-muted);
}

.ge-fp-cta-section {
    margin-bottom: 48px;
}
.ge-fp-cta-inner {
    position: relative;
    text-align: center;
    padding: 56px 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
}
.ge-fp-cta-glow {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 200px;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}
.ge-fp-cta-inner h2 {
    font-size: 28px;
    margin-bottom: 10px;
    position: relative;
}
.ge-fp-cta-inner p {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}
.ge-fp-cta-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    position: relative;
}
.ge-fp-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ge-fp-stat-num {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 4px;
}
.ge-fp-stat-label {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ge-related {
    margin-top: 40px;
}
.ge-related .ge-games-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.ge-archive-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 24px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}
.ge-archive-filters .ge-select {
    background: var(--bg-input);
    color: var(--text);
    border: 1px solid var(--border);
    padding: 8px 14px;
    border-radius: var(--radius);
    font-size: 14px;
    font-family: var(--font);
    cursor: pointer;
    transition: border-color var(--transition);
    min-width: 160px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a7f9a' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 32px;
}
.ge-archive-filters .ge-select:hover,
.ge-archive-filters .ge-select:focus {
    border-color: var(--accent);
    outline: none;
}
.ge-archive-filters .ge-filter-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}
.ge-archive-filters .ge-btn {
    margin-left: auto;
}
.ge-archive-sort {
    display: flex;
    gap: 6px;
    margin-left: auto;
}
.ge-archive-sort a {
    padding: 6px 14px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-input);
    border: 1px solid var(--border);
    transition: all var(--transition);
}
.ge-archive-sort a:hover,
.ge-archive-sort a.active {
    color: #fff;
    background: var(--accent);
    border-color: var(--accent);
}

@media (max-width: 1024px) {
    .ge-layout {
        grid-template-columns: 1fr;
    }
    .ge-sidebar {
        position: static;
    }
    .ge-header-bottom { display: none; }
    .ge-burger { display: flex; }
    .ge-auth-buttons { display: none; }
    .ge-footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .ge-footer-col:first-child {
        grid-column: 1 / -1;
    }
    .ge-games-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
    .ge-content .ge-games-grid-4 {
        grid-template-columns: repeat(3, 1fr);
    }
    .ge-fp-hero-poster { width: 180px; margin-right: 24px; }
    .ge-fp-hero-title { font-size: 28px; }
    .ge-fp-cta-stats { gap: 32px; }
}

@media (max-width: 1024px) {
    .ge-quick-nav { display: none; }
    .ge-header-left-group { flex: 1; }
    .ge-header-right-group { justify-content: flex-end; }
    
    /* Search expands to fill available space on tablet if needed, or stays fixed width */
    .ge-search-wrap { width: 100%; max-width: 400px; }
}

@media (max-width: 768px) {
    /* ── Header mobile ── */
    .ge-header-top-inner {
        height: 50px;
        gap: 10px;
    }
    .ge-header-left-group {
        gap: 10px;
        flex: 1;
    }
    .ge-header-right-group {
        gap: 10px;
        flex: 0 0 auto;
    }
    
    /* Hide desktop search */
    .ge-header-left-group .ge-search-wrap { display: none; }

    /* Mobile search overlay */
    .ge-header-left-group .ge-search-wrap.mobile-open {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 998;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        padding: 10px 16px;
        max-width: 100%;
        width: 100%;
        flex: none;
        animation: slideDown .2s ease;
    }
    .ge-search-toggle { display: flex; }

    /* Logo compact on small screens */
    .ge-logo { font-size: 16px; gap: 8px; }
    .ge-logo-mark { width: 34px; height: 34px; }

    /* ── Hero (single post) ── */
    .ge-hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px 16px;
    }
    .ge-hero-poster { width: 160px; }
    .ge-hero-title { font-size: 24px; }
    .ge-hero-meta { justify-content: center; }
    .ge-hero-rating { justify-content: center; }

    /* ── Grids ── */
    .ge-games-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 12px;
    }
    .ge-games-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .ge-content .ge-games-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .ge-card-body { padding: 10px; }
    .ge-card-title { font-size: 13px; }

    /* ── Misc ── */
    .ge-info-table th { width: 120px; }
    .ge-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    .ge-dl-page-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .ge-section-title { font-size: 22px; }
    .ge-comment-list .children {
        margin-left: 12px;
        padding-left: 12px;
    }

    /* ── Front page hero ── */
    .ge-fp-hero {
        flex-direction: column-reverse;
        min-height: auto;
    }
    .ge-fp-hero-poster {
        width: 180px;
        margin: 24px auto 0;
        transform: none;
    }
    .ge-fp-hero:hover .ge-fp-hero-poster { transform: none; }
    .ge-fp-hero-content {
        padding: 24px 20px 32px;
        text-align: center;
        max-width: 100%;
    }
    .ge-fp-hero-badges { justify-content: center; }
    .ge-fp-hero-meta { justify-content: center; }
    .ge-fp-hero-title { font-size: 24px; }
    .ge-fp-cta-inner { padding: 36px 20px; }
    .ge-fp-cta-inner h2 { font-size: 22px; }
    .ge-fp-cta-stats { gap: 24px; }
    .ge-fp-stat-num { font-size: 24px; }
    .ge-fp-genres { grid-template-columns: repeat(2, 1fr); }

    /* ── Related games ── */
    .ge-related .ge-games-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    /* ── Archive filters ── */
    .ge-archive-filters {
        flex-direction: column;
        align-items: stretch;
    }
    .ge-archive-filters .ge-select {
        width: 100%;
    }
    .ge-archive-sort {
        margin-left: 0;
        justify-content: center;
    }

    /* ── Footer mobile ── */
    .ge-footer { margin-top: 40px; }
    .ge-footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 28px 0;
        text-align: center;
    }
    .ge-footer-col:first-child {
        grid-column: auto;
    }
    .ge-logo-footer { justify-content: center; }
    .ge-footer-desc { max-width: 320px; margin: 0 auto; }
    .ge-footer-col h4 { margin-bottom: 12px; }
    .ge-footer-menu { display: inline-block; text-align: center; }
    .ge-footer-menu li { margin-bottom: 6px; }
    .ge-footer-bottom { padding: 12px 0; }
}

@media (max-width: 480px) {
    /* Extra-small screens */
    .ge-container { padding: 0 12px; }
    .ge-header-top-inner { gap: 8px; }
    .ge-logo-text { display: none; }
    .ge-logo-mark { width: 38px; height: 38px; }
    .ge-games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .ge-games-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .ge-fp-hero-poster { width: 140px; }
    .ge-fp-hero-title { font-size: 20px; }
    .ge-fp-genres { grid-template-columns: 1fr; }
    .ge-fp-cta-stats {
        flex-direction: column;
        gap: 16px;
    }
    .ge-section-title { font-size: 20px; }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Mobile Nav Overlay ── */
.ge-mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    z-index: 9999;
    padding-top: 20px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.ge-mobile-nav.open {
    display: block;
    animation: slideDown .2s ease;
}
.ge-mobile-nav-main .ge-menu {
    flex-direction: column;
    gap: 0;
}
.ge-mobile-nav-main .ge-menu li a {
    padding: 14px 20px;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
    border-radius: 0;
}
.ge-mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}
.ge-mobile-nav-header .ge-logo { font-size: 18px; }
.ge-mobile-nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text);
    cursor: pointer;
    transition: all var(--transition);
}
.ge-mobile-nav-close:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}
.ge-mobile-nav-main .ge-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 20px;
    min-width: auto;
}
.ge-mobile-nav-cats {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}
.ge-mobile-nav-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dim);
    margin-bottom: 10px;
}
.ge-mobile-nav-cat-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.ge-mobile-nav-cat-list .ge-header-cat-link {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    padding: 6px 12px;
    font-size: 13px;
}

/* Mobile auth inside overlay */
.ge-mobile-auth {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
}

/* 
   SIDEBAR (CUSTOM)
    */

.ge-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.ge-sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
}

.ge-sidebar-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/*  Sidebar Search  */
.ge-sidebar-search-form {
    display: flex;
    align-items: center;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 6px 6px 6px 14px;
    transition: all var(--transition);
}
.ge-sidebar-search-form:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-light);
}
.ge-sidebar-search-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 14px;
    font-family: var(--font);
    outline: none;
    width: 100%;
}
.ge-sidebar-search-btn {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition);
}
.ge-sidebar-search-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/*  Genre List  */
.ge-genre-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.ge-genre-list li { width: 100%; }
.ge-genre-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: var(--bg-surface);
    border: 1px solid transparent;
    border-radius: var(--radius);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    transition: all var(--transition);
    text-decoration: none;
}
.ge-genre-link:hover {
    background: var(--bg-surface);
    border-color: var(--accent);
    color: #fff;
    transform: translateX(4px);
}
.ge-genre-count {
    font-size: 11px;
    background: var(--bg);
    color: var(--text-dim);
    padding: 2px 8px;
    border-radius: 10px;
}
.ge-genre-link:hover .ge-genre-count {
    color: var(--accent);
}

/*  Folder List  */
.ge-folder-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ge-folder-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-card) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all var(--transition);
}
.ge-folder-link:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transform: translateY(-2px);
    color: #fff;
}
.ge-folder-icon { font-size: 18px; }

/*  Years Cloud  */
.ge-years-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.ge-year-tag {
    display: inline-block;
    padding: 6px 12px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition);
}
.ge-year-tag:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/*  Comments List  */
.ge-comments-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.ge-sidebar-comment {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.ge-sidebar-comment:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.ge-comment-header {
    display: flex;
    align-items: center;
    gap: 10px;
}
.ge-comment-avatar img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}
.ge-comment-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.ge-comment-author {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}
.ge-comment-post-link {
    font-size: 11px;
    color: var(--accent);
    text-decoration: none;
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ge-comment-text {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ge-favorites-empty {
    text-align: center;
    padding: 60px 20px;
}
.ge-favorites-empty-icon {
    margin-bottom: 20px;
    color: var(--text-dim);
}
.ge-favorites-empty h2 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--text);
}
.ge-favorites-empty p {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 400px;
    margin: 0 auto 24px;
}

/* Mobile: always show fav btn */
@media (hover: none) {
    .ge-fav-btn {
        opacity: 1;
        pointer-events: auto;
    }
}

.ge-profile {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 0 60px;
}

/* --- Profile Card --- */
.ge-profile-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 30px;
}
.ge-profile-card-bg {
    height: 100px;
    background: linear-gradient(135deg, var(--accent) 0%, #6366f1 50%, #a855f7 100%);
    position: relative;
}
.ge-profile-card-body {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    padding: 0 28px 24px;
    margin-top: -44px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}
.ge-profile-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--bg-card);
    flex-shrink: 0;
    text-transform: uppercase;
}
.ge-profile-info {
    flex: 1;
    min-width: 180px;
    padding-top: 48px;
}
.ge-profile-name {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--text);
}
.ge-profile-email {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0 0 2px;
}
.ge-profile-member {
    font-size: 13px;
    color: var(--text-dim);
}

/* --- Stats --- */
.ge-profile-stats {
    display: flex;
    gap: 0;
    border-top: 1px solid var(--border);
}
.ge-profile-stat {
    flex: 1;
    text-align: center;
    padding: 16px 10px;
}
.ge-profile-stat + .ge-profile-stat {
    border-left: 1px solid var(--border);
}
.ge-profile-stat-num {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1.2;
}
.ge-profile-stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-dim);
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* --- Alert --- */
.ge-profile-alert {
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.5;
}
.ge-profile-alert.success {
    background: rgba(34,197,94,.12);
    border: 1px solid rgba(34,197,94,.3);
    color: var(--green);
}
.ge-profile-alert.error {
    background: rgba(239,68,68,.12);
    border: 1px solid rgba(239,68,68,.3);
    color: var(--red);
}

/* --- Grid Layout --- */
.ge-profile-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    align-items: start;
}

/* --- Sections --- */
.ge-profile-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}
.ge-profile-section:last-child {
    margin-bottom: 0;
}
.ge-profile-section h2 {
    font-size: 17px;
    font-weight: 700;
    margin: 0;
    color: var(--text);
}
.ge-profile-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.ge-profile-see-all {
    font-size: 13px;
    color: var(--accent);
    text-decoration: none;
    transition: var(--transition);
}
.ge-profile-see-all:hover {
    text-decoration: underline;
}

/* --- Games Grid inside Profile --- */
.ge-games-grid-profile {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* --- Empty State --- */
.ge-profile-empty {
    text-align: center;
    padding: 32px 16px;
    color: var(--text-dim);
    font-size: 14px;
}
.ge-profile-empty svg {
    display: block;
    margin: 0 auto 12px;
    color: var(--text-dim);
    opacity: .5;
}

/* --- Form --- */
.ge-profile-form-wrap {
    /* wrapper */
}
.ge-profile-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: .3px;
}
.ge-profile-form input[type="text"],
.ge-profile-form input[type="email"],
.ge-profile-form input[type="password"] {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 14px;
    font-family: var(--font);
    margin-bottom: 16px;
    transition: var(--transition);
    box-sizing: border-box;
}
.ge-profile-form input:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(99,102,241,.15);
}
.ge-profile-form .ge-form-hint {
    display: block;
    font-size: 12px;
    color: var(--text-dim);
    margin: -12px 0 16px;
}
.ge-profile-form button[type="submit"] {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    transition: var(--transition);
}
.ge-profile-form button[type="submit"]:hover {
    opacity: .85;
}

/* --- Quick Links --- */
.ge-profile-links {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ge-profile-link-item {
    margin: 0;
}
.ge-profile-link-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 4px;
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
}
.ge-profile-link-item:last-child a {
    border-bottom: none;
}
.ge-profile-link-item a:hover {
    color: var(--accent);
}
.ge-profile-link-item a svg {
    flex-shrink: 0;
    color: var(--text-dim);
    transition: var(--transition);
}
.ge-profile-link-item a:hover svg {
    color: var(--accent);
}
.ge-chevron {
    margin-left: auto;
    color: var(--text-dim);
}
.ge-profile-link-danger a {
    color: var(--red) !important;
}
.ge-profile-link-danger a svg {
    color: var(--red) !important;
}

/* --- Profile Responsive --- */
@media (max-width: 900px) {
    .ge-profile-grid {
        grid-template-columns: 1fr;
    }
    .ge-profile-sidebar {
        order: -1;
    }
}
@media (max-width: 640px) {
    .ge-profile {
        padding: 20px 0 40px;
    }
    .ge-profile-card-body {
        padding: 0 16px 16px;
        gap: 14px;
    }
    .ge-profile-avatar {
        width: 72px;
        height: 72px;
        font-size: 28px;
    }
    .ge-profile-info {
        padding-top: 40px;
    }
    .ge-profile-name {
        font-size: 18px;
    }
    .ge-games-grid-profile {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .ge-profile-section {
        padding: 16px;
    }
}

