:root {
    color-scheme: dark;
    --text: #edf4ff;
    --muted: #9bacbf;
    --line: rgba(255,255,255,.1);
    --panel: #182131;
    --accent: #66c8f4;
    --green: #78d66b;
    --orange: #f0b15a;
    font-family: Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    min-height: 100vh;
    background: radial-gradient(circle at 15% 0%, rgba(102,200,244,.16), transparent 28rem), linear-gradient(140deg,#10151f,#152033 50%,#151922);
    color: var(--text);
}
button,input,select,textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.auth-shell { display: grid; place-items: center; }
.login-screen { width: min(92vw, 440px); }
.login-panel,.admin-card,.hero,.toolbar,.library-list,.library-detail {
    background: linear-gradient(180deg, rgba(32,43,61,.96), rgba(24,33,49,.96));
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 24px 80px rgba(0,0,0,.35);
}
.login-panel,.admin-card { padding: 24px; }
.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: linear-gradient(135deg,var(--accent),var(--green));
    color: #07131d;
    font-weight: 900;
}
.login-panel .brand-mark { margin-bottom: 18px; }
.brand-logo {
    height: 34px;
    width: auto;
    max-width: 100%;
    flex-shrink: 0;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.35));
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.login-panel .brand-logo {
    height: 60px;
    width: auto;
    margin-bottom: 24px;
}
.brand:hover .brand-logo {
    transform: scale(1.05);
}
h1,h2,h3,p { margin-top: 0; }
p { color: var(--muted); line-height: 1.55; }
.stacked-form { display: grid; gap: 14px; }
label { display: grid; gap: 7px; color: var(--muted); font-size: .84rem; font-weight: 700; }
input,select,textarea {
    width: 100%;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 6px;
    background: rgba(8,13,21,.78);
    color: var(--text);
    padding: 11px 12px;
    outline: 0;
}
input:focus,select:focus,textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(102,200,244,.14); }
.primary-button,.small-button,.logout-form button {
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 800;
}
.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    background: linear-gradient(90deg,#1a9fff,var(--green));
    color: #06111a;
}
.small-button { padding: 9px 13px; background: #26384e; color: var(--text); }
.link-button { width: fit-content; }
.login-hint { margin-top: 18px; color: var(--muted); line-height: 1.5; }
.flash { margin: 16px 0; border-radius: 6px; padding: 12px 14px; border: 1px solid var(--line); background: rgba(120,214,107,.14); color: #d7ffd1; }
.flash.error { background: rgba(255,121,121,.14); color: #ffd6d6; }
.app-shell { display: grid; grid-template-columns: 250px minmax(0,1fr); }
.sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 24px 16px;
    background: linear-gradient(180deg, #171a21 0%, #1b2838 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 4px 0 30px rgba(0,0,0,0.5);
    z-index: 100;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--text);
    padding: 0 10px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.main-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 24px;
    flex-grow: 1;
}
.main-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 4px;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}
.main-nav a.active {
    background: linear-gradient(90deg, rgba(102, 200, 244, 0.15) 0%, rgba(102, 200, 244, 0.02) 100%);
    color: #fff;
    border-left-color: var(--accent);
    text-shadow: 0 0 10px rgba(102, 200, 244, 0.3);
}
.main-nav a:hover:not(.active) {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    border-left-color: rgba(255,255,255,0.1);
}
.logout-form {
    margin-top: auto;
    padding: 16px 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.logout-form button {
    width: 100%;
    padding: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    color: var(--muted);
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}
.logout-form button:hover {
    background: rgba(235, 91, 91, 0.15);
    border-color: #eb5b5b;
    color: #ff8e8e;
}
.content { min-width: 0; padding: 26px; }
.topbar,.game-title-row,.meta-row,.card-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topbar { margin-bottom: 20px; }
.eyebrow { margin: 0 0 6px; color: var(--accent); font-size: .78rem; font-weight: 900; text-transform: uppercase; }
.user-chip { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: rgba(255,255,255,.06); border: 1px solid var(--line); border-radius: 8px; }
.user-chip > span,.avatar { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #06111a; font-weight: 900; }
.user-chip small,.admin-row small { display: block; color: var(--muted); }
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 430px);
    min-height: 320px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(102, 200, 244, 0.08) 0%, rgba(120, 214, 107, 0.03) 100%), linear-gradient(180deg, rgba(32,43,61,.96), rgba(24,33,49,.96));
}
.hero-copy {
    padding: 40px;
    align-self: center;
    z-index: 2;
}
.hero-copy h2 {
    max-width: 760px;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(90deg, var(--text), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-copy p {
    font-size: 1.02rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
    max-width: 580px;
}
.hero-cover {
    position: relative;
    min-height: 250px;
    background-size: cover;
    background-position: center;
}
.hero-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(24, 33, 49, 0.98) 0%, rgba(24, 33, 49, 0.5) 30%, transparent 100%);
}
.toolbar { display: flex; align-items: end; gap: 14px; margin: 20px 0; padding: 16px; }
.toolbar .search-box { flex: 1; }
.toolbar.compact { margin: 0 0 14px; box-shadow: none; }
.game-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 18px; }
.game-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: rgba(24,33,49,.86); transition: transform .16s ease,border-color .16s ease; }
.game-card:hover { transform: translateY(-3px); border-color: rgba(102,200,244,.45); }
.private-card { border-color: rgba(240,177,90,.36); }
.game-card-img-wrapper img { width: 100%; aspect-ratio: 460/215; object-fit: cover; background: #0b111b; }
.game-card-body { display: grid; gap: 12px; padding: 16px; }
.game-card h3 { margin: 0; font-size: 1.03rem; }
.price { flex: 0 0 auto; color: var(--green); font-weight: 900; }
.meta-row { color: var(--muted); font-size: .82rem; }
.download-badge,.visibility-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    padding: 5px 9px;
    border-radius: 6px;
    background: rgba(102,200,244,.14);
    color: #cbefff;
    font-size: .78rem;
    font-weight: 900;
}
.download-badge.torrent,.visibility-badge.private { background: rgba(240,177,90,.16); color: #ffe2b3; }
.visibility-badge.public { background: rgba(120,214,107,.14); color: #d7ffd1; }
.badge-icon { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: currentColor; color: #111722; font-size: .7rem; font-weight: 900; }
.owned { color: var(--green); font-size: .84rem; font-weight: 900; }

/* --- Steam-alike Library Layout --- */
.library-layout {
    display: grid;
    grid-template-columns: 280px minmax(0,1fr);
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    background: #141a26;
}
.library-list {
    padding: 0;
    background: rgba(10, 15, 23, 0.6);
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
}
.library-list .toolbar {
    margin: 0;
    padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--line);
}
.library-item {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 10px;
    padding: 10px 14px;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #9bacbf;
    text-align: left;
    cursor: pointer;
    border-left: 2px solid transparent;
    transition: all 0.15s ease;
}
.library-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}
.library-item.active {
    background: rgba(102, 200, 244, 0.15);
    color: var(--text);
    border-left-color: var(--accent);
}
.library-item img {
    width: 24px;
    height: 36px;
    border-radius: 2px;
    object-fit: cover;
    flex-shrink: 0;
}
.library-item span {
    font-size: 0.9rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}
.library-item small {
    font-size: 0.75rem;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.library-detail {
    min-height: 550px;
    background: #171d2b;
}
.library-panel {
    display: none;
}
.library-panel.active {
    display: block;
}
.detail-cover {
    height: 240px;
    background-size: cover;
    background-position: center 35%;
    position: relative;
    display: flex;
    align-items: flex-end;
}
.detail-cover-content {
    width: 100%;
    padding: 24px 30px;
    background: linear-gradient(to top, #171d2b 0%, rgba(23, 29, 43, 0.7) 60%, transparent 100%);
    z-index: 1;
}
.detail-genre-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.detail-cover h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 16px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}
.detail-action-row {
    display: flex;
    align-items: center;
    gap: 16px;
}
.steam-play-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, #75b022 0%, #588a1b 100%);
    color: #fff;
    font-weight: 800;
    font-size: 1.02rem;
    padding: 12px 26px;
    border-radius: 4px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(117,176,34,0.3);
    transition: all 0.2s ease;
    border: 1px solid rgba(255,255,255,0.1);
}
.steam-play-button:hover {
    background: linear-gradient(90deg, #8ad128 0%, #68a320 100%);
    box-shadow: 0 4px 20px rgba(117,176,34,0.5);
    transform: translateY(-1px);
}
.steam-play-button .play-icon {
    font-size: 1.15rem;
}
.steam-status-info {
    display: flex;
    flex-direction: column;
}
.steam-status-info span {
    font-size: 0.85rem;
    font-weight: 700;
    color: #75b022;
}
.steam-status-info small {
    font-size: 0.75rem;
    color: var(--muted);
}
.detail-stats-bar {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 12px 30px;
    gap: 40px;
}
.stat-box {
    display: flex;
    flex-direction: column;
}
.stat-box small {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--muted);
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}
.stat-box strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: #d1ecf1;
}
.detail-body-split {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 30px;
    padding: 30px;
}
.detail-main-col {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.detail-section h3 {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent);
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 8px;
}
.game-description {
    font-size: 0.95rem;
    color: #b8c6d4;
    line-height: 1.6;
}
.instructions-box {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 6px;
    padding: 20px;
}
.instructions-box.torrent {
    border-left: 3px solid var(--orange);
}
.instructions-box.direct {
    border-left: 3px solid var(--green);
}
.instructions-box h3 {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 18px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}
.inst-icon {
    font-size: 1.2rem;
}
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.step-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 15px;
    align-items: flex-start;
}
.step-number {
    display: grid;
    place-items: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 800;
}
.instructions-box.torrent .step-number {
    background: rgba(240, 177, 90, 0.15);
    color: var(--orange);
}
.instructions-box.direct .step-number {
    background: rgba(120, 214, 107, 0.15);
    color: var(--green);
}
.step-text strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text);
}
.step-text p {
    margin: 0;
    font-size: 0.88rem;
    color: #9bacbf;
}
.step-text a {
    color: var(--accent);
    text-decoration: underline;
}
.detail-side-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.detail-card {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 6px;
    padding: 20px;
}
.detail-card h4 {
    margin: 0 0 16px;
    font-size: 0.95rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--muted);
}
.side-info-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.side-info-row:last-child {
    border-bottom: none;
}
.side-info-row span {
    color: var(--muted);
}
.side-info-row strong {
    color: var(--text);
    font-weight: 600;
}
.empty-state { padding: 18px; border: 1px dashed rgba(255,255,255,.18); border-radius: 8px; color: var(--muted); }
.admin-tabs { display: flex; gap: 8px; margin-bottom: 18px; }
.admin-tabs a { padding: 10px 14px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); }
.admin-tabs a.active { background: rgba(102,200,244,.16); color: var(--text); }
.admin-grid { display: grid; grid-template-columns: minmax(280px,420px) minmax(0,1fr); gap: 18px; }
.admin-list { display: grid; gap: 10px; }
.admin-row { display: grid; grid-template-columns: 92px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 6px; background: rgba(255,255,255,.04); }
.admin-row img { width: 92px; height: 43px; border-radius: 4px; object-fit: cover; }
.admin-image-preview { display: none; width: 100%; aspect-ratio: 460/215; border: 1px solid var(--line); border-radius: 6px; object-fit: cover; background: rgba(255,255,255,.04); }
.admin-image-preview.visible { display: block; }
.user-row { grid-template-columns: auto minmax(0,1fr); }
.assignment-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 16px; }
.assignment-panel { display: grid; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.04); }
.checkbox-list { display: grid; gap: 8px; max-height: 340px; overflow: auto; padding-right: 6px; }
.checkbox-list label { grid-template-columns: 18px minmax(0,1fr); align-items: center; color: var(--text); font-weight: 600; }
.checkbox-list input { width: 16px; height: 16px; }
.checkbox-list em { color: var(--orange); font-style: normal; font-size: .78rem; }
@media (max-width: 920px) {
    .app-shell,.hero,.library-layout,.admin-grid { grid-template-columns: 1fr; }
    .sidebar { position: static; height: auto; }
    .logout-form { position: static; margin-top: 18px; }
    .hero-cover { border-left: 0; border-top: none; }
    .hero-cover::before {
        background: linear-gradient(180deg, rgba(24, 33, 49, 0.98) 0%, rgba(24, 33, 49, 0.5) 30%, transparent 100%);
    }
    .detail-body-split { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
    .detail-cover h2 { font-size: 1.8rem; }
    .detail-stats-bar { gap: 20px; padding: 12px 20px; flex-wrap: wrap; }
}
@media (max-width: 620px) {
    .content { padding: 16px; }
    .topbar,.toolbar,.game-title-row,.card-actions { align-items: stretch; flex-direction: column; }
    .hero-copy { padding: 24px; }
    .detail-stats { grid-template-columns: 1fr; }
}

/* --- Gallery & Lightbox --- */
.library-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 10px;
}
.gallery-thumb {
    aspect-ratio: 16/9;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid var(--line);
    cursor: pointer;
    background: #000;
    transition: border-color 0.2s, transform 0.2s;
}
.gallery-thumb:hover {
    border-color: var(--accent);
    transform: scale(1.03);
}
.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9999;
}
.lightbox.open {
    opacity: 1;
    pointer-events: auto;
}
.lightbox img {
    max-width: 90%;
    max-height: 85%;
    border: 3px solid var(--line);
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

/* --- Reviews & Thumbs --- */
.card-reviews-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-top: 4px;
    margin-bottom: 4px;
}
.card-reviews-badge.neutral {
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
}
.card-reviews-badge.positive, .card-reviews-badge.positive-mega, .card-reviews-badge.positive-light {
    background: rgba(120, 214, 107, 0.12);
    color: var(--green);
}
.card-reviews-badge.mixed {
    background: rgba(240, 177, 90, 0.1);
    color: var(--orange);
}
.card-reviews-badge.negative, .card-reviews-badge.negative-light {
    background: rgba(255, 121, 121, 0.12);
    color: #ff8e8e;
}
.thumbs-icon {
    font-size: 0.85rem;
}
.action-buttons-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

/* --- Reviews Panel --- */
.game-reviews-panel {
    background: rgba(8, 13, 21, 0.95);
    border-top: 1px solid var(--line);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
}
.reviews-header h5 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--accent);
}
.close-reviews {
    background: transparent;
    border: none;
    color: var(--muted);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}
.close-reviews:hover {
    color: var(--text);
}
.review-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(255, 255, 255, 0.02);
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 6px;
}
.review-form .form-title {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
}
.vote-buttons {
    display: flex;
    gap: 10px;
}
.vote-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--muted);
    user-select: none;
    transition: all 0.2s;
}
.vote-label input {
    display: none;
}
.vote-label.up:hover, .vote-label.up.active {
    background: rgba(120, 214, 107, 0.15);
    border-color: var(--green);
    color: var(--green);
}
.vote-label.down:hover, .vote-label.down.active {
    background: rgba(255, 121, 121, 0.15);
    border-color: #ff8e8e;
    color: #ff8e8e;
}
.review-form textarea {
    width: 100%;
    padding: 8px 10px;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.2);
    color: var(--text);
    resize: vertical;
    min-height: 50px;
}
.review-form .small-btn {
    width: fit-content;
    min-height: auto;
    padding: 8px 16px;
    font-size: 0.82rem;
    align-self: flex-end;
}
.reviews-list-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.reviews-scroller {
    max-height: 240px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 6px;
}
.empty-reviews {
    font-size: 0.82rem;
    color: var(--muted);
    text-align: center;
    margin: 10px 0;
}
.community-review-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.review-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}
.review-meta .user-avatar {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
    font-weight: 800;
    background: var(--accent);
    color: #111;
    border-radius: 50%;
    display: grid;
    place-items: center;
}
.review-meta div {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    flex: 1;
}
.review-meta strong {
    font-size: 0.82rem;
    color: var(--text);
}
.review-meta small {
    font-size: 0.72rem;
    color: var(--muted);
}
.rev-vote-badge {
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
}
.rev-vote-badge.up {
    background: rgba(120, 214, 107, 0.1);
    color: var(--green);
}
.rev-vote-badge.down {
    background: rgba(255, 121, 121, 0.1);
    color: #ff8e8e;
}
.rev-comment-text {
    margin: 0;
    font-size: 0.85rem;
    color: #b8c6d4;
    line-height: 1.4;
}
.rev-date {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.2);
    align-self: flex-end;
}

/* --- New Steam Store Cards Grid --- */
.game-card-link {
    display: block;
    height: 100%;
}
.game-card-link:hover .game-card {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
.game-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(24,33,49,.86);
    transition: transform .2s cubic-bezier(0.25, 0.8, 0.25, 1), border-color .2s ease, box-shadow .2s ease;
}
.game-card-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 2/3;
    background: #0b111b;
    overflow: hidden;
}
.game-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.game-card-link:hover .game-card-img-wrapper img {
    transform: scale(1.03);
}
.card-private-badge, .card-owned-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
    z-index: 2;
}
.card-private-badge {
    background: #f0b15a;
    color: #111;
}
.card-owned-badge {
    background: #78d66b;
    color: #111;
}
.game-card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
    padding: 14px;
    gap: 10px;
}
.game-card-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}
.game-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--muted);
}
.game-card-genre {
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 6px;
    border-radius: 4px;
}
.platform-icons {
    letter-spacing: 2px;
}
.game-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 10px;
}
.rating-percentage {
    font-size: 0.8rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
}
.rating-percentage.neutral {
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
}
.rating-percentage.positive, .rating-percentage.positive-mega, .rating-percentage.positive-light {
    background: rgba(120, 214, 107, 0.12);
    color: var(--green);
}
.rating-percentage.mixed {
    background: rgba(240, 177, 90, 0.1);
    color: var(--orange);
}
.rating-percentage.negative, .rating-percentage.negative-light {
    background: rgba(255, 121, 121, 0.12);
    color: #ff8e8e;
}

/* --- Game Details View Styles --- */
.game-details-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px 0;
}
.details-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 20px;
}
.back-link {
    color: var(--accent);
    font-weight: 600;
    transition: color 0.2s;
}
.back-link:hover {
    color: var(--text);
    text-decoration: underline;
}
.active-crumb {
    color: var(--text);
    font-weight: 600;
}
.game-details-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}
.details-left-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}
.gallery-main {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}
.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.gallery-main img:hover {
    transform: scale(1.01);
}
.gallery-thumbs-container {
    width: 100%;
    overflow-x: auto;
}
.gallery-thumbs-row {
    display: flex;
    gap: 8px;
}
.gallery-thumb-item {
    flex: 0 0 100px;
    aspect-ratio: 16/9;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid transparent;
    background: #000;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s, border-color 0.2s;
}
.gallery-thumb-item:hover, .gallery-thumb-item.active {
    opacity: 1;
    border-color: var(--accent);
}
.gallery-thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.details-right-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}
.details-header-img {
    width: 100%;
    aspect-ratio: 460/215;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--line);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}
.details-short-desc {
    font-size: 0.92rem;
    color: #b8c6d4;
    line-height: 1.5;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}
.spec-table {
    display: flex;
    flex-direction: column;
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 6px;
    padding: 16px;
    gap: 12px;
}
.spec-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.spec-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.spec-label {
    color: var(--muted);
}
.spec-val {
    color: var(--text);
    font-weight: 600;
    text-align: right;
}
.rating-badge {
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
}
.rating-badge.neutral { background: rgba(255,255,255,0.05); color: var(--muted); }
.rating-badge.positive, .rating-badge.positive-mega, .rating-badge.positive-light { background: rgba(120,214,107,0.12); color: var(--green); }
.rating-badge.mixed { background: rgba(240,177,90,0.1); color: var(--orange); }
.rating-badge.negative, .rating-badge.negative-light { background: rgba(255,121,121,0.12); color: #ff8e8e; }

/* --- Purchase Banner --- */
.purchase-banner-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, #1f2d3d 0%, #152230 100%);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 6px;
    padding: 16px 24px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.purchase-title h3 {
    margin: 0 0 6px;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text);
}
.purchase-title .platform-icons {
    font-size: 0.78rem;
    color: var(--muted);
}
.purchase-action {
    display: flex;
    align-items: center;
    background: #000;
    border-radius: 4px;
    padding: 2px;
}
.price-tag {
    font-weight: 900;
    font-size: 1.1rem;
    padding: 0 20px;
    color: var(--text);
}
.steam-play-button.gray-btn {
    background: #4b5a6c;
    box-shadow: none;
}
.steam-play-button.gray-btn:hover {
    background: #5d6e82;
    box-shadow: none;
    transform: none;
}
.private-banner-badge {
    background: rgba(240, 177, 90, 0.15);
    color: var(--orange);
    font-size: 0.85rem;
    font-weight: 800;
    padding: 10px 18px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* --- Reviews Section --- */
.reviews-section-layout {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-top: 1px solid var(--line);
    padding-top: 24px;
}
.section-title {
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text);
    margin: 0;
}
.reviews-split-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 30px;
    align-items: start;
}
.review-form-container {
    position: sticky;
    top: 20px;
}
.review-form-container h4 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 700;
}
.review-form-container p {
    font-size: 0.85rem;
    margin-bottom: 16px;
}
.comment-field {
    width: 100%;
}
.details-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 8px;
}
.details-reviews-list::-webkit-scrollbar {
    width: 6px;
}
.details-reviews-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 3px;
}
.details-reviews-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}
.details-reviews-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 820px) {
    .game-details-layout, .reviews-split-grid {
        grid-template-columns: 1fr;
    }
    .purchase-banner-box {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    .purchase-action {
        justify-content: space-between;
    }
    .review-form-container {
        position: static;
    }
}

/* --- Category Pills Store & Sidebar Library Filters --- */
.category-pills-container {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    overflow-x: auto;
    padding-bottom: 8px;
}
.category-pills-container::-webkit-scrollbar {
    height: 4px;
}
.category-pills-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}
.category-pill {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.category-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.2);
}
.category-pill.active {
    background: var(--accent);
    color: #0b141d;
    border-color: var(--accent);
    box-shadow: 0 0 12px rgba(102, 200, 244, 0.4);
}
.library-filter-genre {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
    margin-top: 10px;
}
.library-filter-genre select {
    width: 100%;
    padding: 8px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    color: var(--text);
    font-size: 0.85rem;
    outline: none;
}
.library-filter-genre select:focus {
    border-color: var(--accent);
}
.library-list .toolbar.compact {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

/* --- Steampunk Animated Logo Styles --- */
.brand-logo .gear-element {
    transform-origin: 50px 50px;
    animation: rotate-gear 25s linear infinite;
}

.brand-logo .glowing-eye {
    animation: pulse-eye 2s ease-in-out infinite;
}

@keyframes rotate-gear {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes pulse-eye {
    0%, 100% {
        opacity: 0.75;
        fill: #00f3ff;
        filter: drop-shadow(0 0 2px rgba(0, 243, 255, 0.8));
    }
    50% {
        opacity: 1;
        fill: #00ffaa;
        filter: drop-shadow(0 0 8px rgba(0, 255, 170, 1)) drop-shadow(0 0 15px rgba(0, 243, 255, 0.6));
    }
}

/* --- Steam Profile Page Styles --- */
.profile-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0 auto;
    max-width: 1000px;
    --profile-accent: #66c8f4;
}

.theme-steam-blue { --profile-accent: #66c8f4; }
.theme-steampunk-gold { --profile-accent: #c9933b; }
.theme-toxic-green { --profile-accent: #78d66b; }
.theme-fire-red { --profile-accent: #ff6b6b; }

.profile-header-banner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(24, 33, 49, 0.95) 0%, rgba(32, 43, 61, 0.4) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 4px solid var(--profile-accent);
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    position: relative;
    overflow: hidden;
}

.profile-header-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    background: radial-gradient(circle at 100% 0%, rgba(102, 200, 244, 0.06), transparent 80%);
    pointer-events: none;
}

.profile-avatar-container {
    position: relative;
    width: 96px;
    height: 96px;
    flex-shrink: 0;
    padding: 4px;
    border-radius: 8px;
    background: linear-gradient(to bottom, #2b3b55, #171d2b);
    border: 1px solid var(--profile-accent);
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.profile-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.profile-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: var(--profile-accent);
    color: #0b141d;
    font-size: 2.2rem;
    font-weight: 900;
    border-radius: 4px;
}

.avatar-status-ring {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 14px;
    height: 14px;
    background: #78d66b;
    border: 2px solid #171d2b;
    border-radius: 50%;
    box-shadow: 0 0 8px #78d66b;
}

.profile-header-info {
    flex-grow: 1;
}

.profile-display-name {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.profile-username {
    margin: 4px 0 12px;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 600;
}

.profile-actions-bar {
    display: flex;
    gap: 8px;
}

.profile-header-badges {
    display: flex;
    align-items: center;
    padding-left: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.steam-level-box {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.2);
}

.level-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--muted);
    letter-spacing: 0.5px;
}

.level-badge {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--profile-accent);
    background: rgba(10, 15, 23, 0.8);
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 0 10px rgba(102, 200, 244, 0.2);
}

/* Profile Grid */
.profile-content-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.profile-main-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-section-card, .profile-side-card {
    background: rgba(24, 33, 49, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.profile-section-card h3, .profile-side-card h4 {
    margin: 0 0 16px;
    font-size: 1.05rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--profile-accent);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 8px;
}

.profile-bio-text {
    font-size: 0.95rem;
    color: #b8c6d4;
    line-height: 1.6;
}

/* Showcase Grid */
.profile-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
}

.profile-showcase-item {
    position: relative;
    aspect-ratio: 2/3;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: all 0.25s ease;
}

.profile-showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-showcase-item:hover {
    transform: translateY(-4px) scale(1.03);
    border-color: var(--profile-accent);
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
}

.profile-showcase-item .item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 8px;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: flex-end;
}

.profile-showcase-item:hover .item-overlay {
    opacity: 1;
}

.profile-showcase-item .item-overlay span {
    font-size: 0.72rem;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

/* Muro de comentarios */
.profile-comment-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.profile-comment-form textarea {
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    border-radius: 6px;
    padding: 12px;
    font-size: 0.9rem;
    resize: none;
    outline: none;
    transition: border-color 0.2s;
}

.profile-comment-form textarea:focus {
    border-color: var(--profile-accent);
}

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

.profile-comment-item {
    display: flex;
    gap: 14px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 6px;
}

.comment-author-avatar {
    width: 36px;
    height: 36px;
    border-radius: 4px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    overflow: hidden;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    font-weight: 800;
    color: var(--profile-accent);
}

.comment-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-body {
    flex-grow: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 0.85rem;
    position: relative;
}

.comment-header strong a {
    color: #fff;
    font-weight: 700;
}

.comment-header strong a:hover {
    color: var(--profile-accent);
}

.comment-time {
    color: var(--muted);
    font-size: 0.76rem;
}

.delete-comment-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--muted);
    font-size: 1.2rem;
    cursor: pointer;
    line-height: 1;
}

.delete-comment-btn:hover {
    color: #ff6b6b;
}

.comment-text {
    font-size: 0.9rem;
    color: #b8c6d4;
    line-height: 1.5;
    word-break: break-word;
}

/* Columna Lateral */
.profile-side-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.level-progress-bar-container {
    height: 8px;
    background: rgba(0,0,0,0.3);
    border-radius: 4px;
    overflow: hidden;
    margin: 8px 0 6px;
}

.level-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--profile-accent) 0%, rgba(255,255,255,0.8) 100%);
    border-radius: 4px;
}

.profile-side-card small {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 600;
}

/* Friends grid */
.profile-friends-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.profile-friend-link-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.profile-friend-link-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--profile-accent);
}

.friend-avatar-wrap {
    width: 28px;
    height: 28px;
    border-radius: 2px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 0.8rem;
    color: var(--profile-accent);
}

.friend-avatar-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.friend-name-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-friend-link-item:hover .friend-name-label {
    color: #fff;
}

.empty-text {
    font-size: 0.86rem;
    color: var(--muted);
    text-align: center;
    font-style: italic;
    margin: 10px 0;
}

@media (max-width: 800px) {
    .profile-content-layout {
        grid-template-columns: 1fr;
    }
}

/* Custom Profile Background & Glassmorphism effects */
.profile-container.has-background .profile-header-banner,
.profile-container.has-background .profile-section-card,
.profile-container.has-background .profile-side-card {
    background: rgba(16, 25, 39, 0.78) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* --- Detailed Description & Video Overlay --- */
.detailed-description-box {
    margin-top: 30px;
    margin-bottom: 30px;
    background: rgba(24, 33, 49, 0.5);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 30px;
    max-width: 100%;
    overflow: hidden;
}
.video-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    pointer-events: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    padding-left: 2px;
}
.gallery-thumb-item:hover .video-play-overlay {
    background: var(--accent);
    border-color: #fff;
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 0 12px var(--accent);
}
.steam-html-description {
    color: #b8c6d4;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 100%;
    overflow: hidden;
}
.steam-html-description * {
    max-width: 100% !important;
    box-sizing: border-box !important;
}
.steam-html-description img {
    max-width: 100% !important;
    height: auto !important;
    margin: 14px auto;
    display: block;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.steam-html-description table {
    width: 100% !important;
    table-layout: fixed;
    border-collapse: collapse;
    margin: 14px 0;
}
.steam-html-description td, .steam-html-description th {
    padding: 8px;
    border: 1px solid rgba(255,255,255,0.06);
    word-wrap: break-word;
}
.steam-html-description h2, .steam-html-description h3, .steam-html-description h4 {
    color: #fff;
    font-weight: 700;
    margin-top: 28px;
    margin-bottom: 14px;
    letter-spacing: 0.3px;
}
.steam-html-description ul, .steam-html-description ol {
    padding-left: 24px;
    margin: 14px 0;
}
.steam-html-description li {
    margin-bottom: 8px;
}
.steam-html-description p {
    margin: 14px 0;
}
.steam-html-description a {
    color: var(--accent);
    text-decoration: underline;
}
.steam-html-description a:hover {
    color: #fff;
}
.steam-html-description video, .steam-html-description iframe {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16/9;
    border-radius: 6px;
    margin: 14px 0;
}

/* --- Platform Icons Styles --- */
.platform-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 3px;
    display: inline-block;
    filter: brightness(0.85) contrast(1.1);
    transition: filter 0.2s ease, transform 0.2s ease;
}
.platform-icon:hover {
    filter: brightness(1) contrast(1.2);
    transform: scale(1.1);
}
.plat-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    padding: 3px 8px;
}

/* --- Download Mirrors Selector Styles --- */
.steam-mirror-container {
    display: inline-flex;
    align-items: stretch;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(117,176,34,0.25);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    border: 1px solid rgba(255,255,255,0.08);
}
.steam-mirror-container:hover {
    box-shadow: 0 4px 20px rgba(117,176,34,0.4);
}
.steam-mirror-container .steam-play-button {
    border: none;
    border-radius: 3px 0 0 3px;
    box-shadow: none;
    margin: 0;
}
.steam-mirror-container .steam-play-button:hover {
    box-shadow: none;
    transform: none;
}
.mirror-select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(180deg, #3d5a17 0%, #2f4512 100%);
    border-left: 1px solid rgba(255,255,255,0.15);
    border-radius: 0 3px 3px 0;
    transition: background 0.2s ease;
}
.mirror-select-wrapper:hover {
    background: linear-gradient(180deg, #4b6f1c 0%, #365015 100%);
}
.steam-mirror-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: transparent;
    border: none;
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 0 30px 0 15px;
    height: 100%;
    min-height: 48px;
    cursor: pointer;
    outline: none;
    text-transform: uppercase;
    font-family: inherit;
    transition: all 0.2s ease;
}
.mirror-select-wrapper::after {
    content: '▼';
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.7);
    position: absolute;
    right: 12px;
    pointer-events: none;
    transition: color 0.2s ease;
}
.mirror-select-wrapper:hover::after {
    color: #fff;
}
.steam-mirror-select option {
    background: #1b2838;
    color: #e0e0e0;
    font-weight: normal;
    text-transform: none;
    padding: 10px;
}

/* --- Completed Status Badge / Buttons inside Library --- */
.steam-status-badge-button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e0e0e0;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.steam-status-badge-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}
.steam-status-badge-button.completed-badge {
    background: linear-gradient(90deg, rgba(197, 160, 89, 0.2) 0%, rgba(158, 122, 60, 0.2) 100%);
    border: 1px solid #c5a059;
    color: #ffd700;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.steam-status-badge-button.completed-badge:hover {
    background: linear-gradient(90deg, rgba(197, 160, 89, 0.35) 0%, rgba(158, 122, 60, 0.35) 100%);
    border-color: #e5c07b;
    color: #fff2a3;
}

/* --- Completed Games Showcase inside Profile --- */
.profile-completed-showcase {
    border-left: 3px solid #ffd700 !important;
}
.profile-showcase-item.completed-item {
    position: relative;
    border: 1px solid rgba(197, 160, 89, 0.4);
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.15);
}
.profile-showcase-item.completed-item:hover {
    border-color: #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}
.completed-trophy-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid #ffd700;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* --- Steam Activity Showcase inside Profile --- */
.steam-activity-card {
    border-left: 3px solid #107c10 !important;
    background: rgba(16, 124, 16, 0.03) !important;
}
.steam-recent-game-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: rgba(0,0,0,0.18);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 4px;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.steam-recent-game-item:hover {
    background: rgba(0,0,0,0.3);
    border-color: rgba(255,255,255,0.08);
}
.steam-game-logo {
    width: 92px;
    height: 43px;
    object-fit: cover;
    border-radius: 3px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
    background: #000;
}
.steam-game-info {
    flex: 1;
}
.playtime-info span {
    font-weight: 600;
}
.steam-sync-link {
    color: var(--accent);
    text-decoration: none;
}
.steam-sync-link:hover {
    text-decoration: underline;
    color: #fff;
}

/* --- Steam Carousel Redesign --- */
.steam-carousel {
    position: relative;
    width: 100%;
    margin-bottom: 24px;
    border-radius: 6px;
    overflow: hidden;
    background: #0a0f18;
    border: 1px solid rgba(255, 255, 255, 0.04);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}
.carousel-track-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.carousel-track {
    position: relative;
    display: block;
    width: 100%;
    height: 380px;
}
.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    display: flex;
    overflow: hidden;
}
.carousel-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}
.slide-blur-bg {
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background-size: cover;
    background-position: center;
    filter: blur(40px) brightness(0.22);
    z-index: 1;
    pointer-events: none;
}
.slide-content-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    width: 100%;
    height: 100%;
    z-index: 2;
}
.slide-main-image {
    background-size: cover;
    background-position: center;
    height: 100%;
    position: relative;
    box-shadow: inset -20px 0 30px rgba(10, 15, 24, 0.7);
}
.slide-owned-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #5c7e10;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 3px;
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    letter-spacing: 0.5px;
}
.slide-details {
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(90deg, rgba(10, 15, 24, 0.8) 0%, rgba(10, 15, 24, 0.95) 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}
.slide-eyebrow {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 8px;
}
.slide-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 15px 0;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.slide-desc {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #acb2be;
    margin-bottom: 20px;
}
.slide-meta-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 25px;
    font-size: 0.82rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 12px;
}
.meta-item {
    display: flex;
    gap: 8px;
}
.meta-label {
    color: var(--muted);
}
.meta-value {
    color: #fff;
    font-weight: 600;
}
.slide-price-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.slide-price-box {
    background: rgba(0,0,0,0.4);
    padding: 6px 14px;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.05);
}
.slide-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
}
.slide-pricefree {
    font-size: 1.1rem;
    font-weight: 800;
    color: #75b022;
}
.carousel-dots {
    position: absolute;
    bottom: 20px;
    right: 40px;
    display: flex;
    gap: 10px;
    z-index: 10;
}
.carousel-dot {
    width: 15px;
    height: 9px;
    border-radius: 4px;
    background: rgba(255,255,255,0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}
.carousel-dot.active {
    width: 35px;
    background: var(--accent);
}

/* --- Glassmorphism Toolbar & Pills --- */
.toolbar .search-box input {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(10px);
    border-radius: 4px;
    padding: 10px 14px;
    color: #fff;
    transition: all 0.2s ease;
}
.toolbar .search-box input:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 10px rgba(102, 192, 244, 0.2);
    background: rgba(255, 255, 255, 0.05) !important;
}
.category-pills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.category-pill {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    color: #acb2be !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: all 0.2s ease;
}
.category-pill:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    transform: translateY(-1px);
}
.category-pill.active {
    background: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #171d2b !important;
    box-shadow: 0 4px 12px rgba(102, 192, 244, 0.3);
}

/* --- Premium Game Card Animations & Hover Effects --- */
.game-card-link {
    text-decoration: none;
}
.game-card {
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease, border-color 0.3s ease !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    background: rgba(23, 29, 43, 0.4) !important;
    backdrop-filter: blur(8px);
}
.game-card-link:hover .game-card {
    transform: translateY(-5px);
    border-color: var(--accent) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 0 12px rgba(102, 192, 244, 0.2) !important;
}
.game-card-img-wrapper {
    overflow: hidden;
    position: relative;
}
.game-card-img-wrapper img {
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}
.game-card-link:hover .game-card-img-wrapper img {
    transform: scale(1.06);
}

/* --- Multiple Genre Tags in Game Cards --- */
.game-card-genre-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
}
.game-card-genre-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #acb2be;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
}
.game-card-link:hover .game-card-genre-tag {
    background: rgba(102, 192, 244, 0.08);
    border-color: rgba(102, 192, 244, 0.15);
    color: #66c0f4;
}

/* --- Admin Form Tabs & Grid Layouts --- */
.admin-form-tabs {
    display: flex;
    gap: 4px;
    background: rgba(0, 0, 0, 0.3);
    padding: 6px;
    border-radius: 8px;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.form-tab-btn {
    flex: 1;
    padding: 12px 16px;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}
.form-tab-btn:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
}
.form-tab-btn.active {
    background: rgba(102, 200, 244, 0.15);
    color: #fff;
    border: 1px solid rgba(102, 200, 244, 0.25);
    box-shadow: 0 4px 15px rgba(102, 200, 244, 0.1);
}
.admin-tab-content {
    animation: fadeIn 0.25s ease-out;
}
.form-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 4px;
}
.form-row-grid-three {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 4px;
}
.steam-import-box {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 8px;
}
.import-help {
    display: block;
    margin-top: 8px;
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.4;
}
.torrent-file-label {
    background: rgba(102, 200, 244, 0.04);
    border: 1px dashed rgba(102, 200, 244, 0.25);
    padding: 12px 16px;
    border-radius: 6px;
    margin-top: 4px;
    margin-bottom: 4px;
    transition: background 0.2s ease;
}
.torrent-file-label:hover {
    background: rgba(102, 200, 244, 0.06);
}
.torrent-file-label input[type="file"] {
    background: transparent;
    border: none;
    padding: 8px 0 0 0;
    cursor: pointer;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .form-row-grid, .form-row-grid-three {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* --- Sidebar Friends Search Widget --- */
.sidebar-friends-search {
    position: relative;
    margin: 20px 10px 10px;
    z-index: 105;
}
.sidebar-friends-search .search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.sidebar-friends-search .search-icon {
    position: absolute;
    left: 12px;
    font-size: 0.85rem;
    color: var(--muted);
    pointer-events: none;
}
.sidebar-friends-search input {
    padding: 10px 12px 10px 34px !important;
    font-size: 0.85rem;
    background: rgba(0, 0, 0, 0.25) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 6px !important;
    color: var(--text) !important;
    transition: all 0.2s ease;
    width: 100%;
}
.sidebar-friends-search input:focus {
    border-color: var(--accent) !important;
    background: rgba(0, 0, 0, 0.35) !important;
    box-shadow: 0 0 10px rgba(102, 200, 244, 0.15) !important;
}
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    margin-top: 6px;
    background: #1b2838;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    display: none;
    max-height: 280px;
    overflow-y: auto;
}
.search-result-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: background 0.15s ease;
    text-decoration: none;
    color: inherit;
}
.search-result-item:last-child {
    border-bottom: none;
}
.search-result-item:hover {
    background: rgba(255, 255, 255, 0.05);
}
.search-result-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.search-result-avatar-placeholder {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent);
    color: #111;
    font-size: 0.75rem;
    font-weight: 800;
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.search-result-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex-grow: 1;
}
.search-result-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.search-result-username {
    font-size: 0.72rem;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.search-result-status {
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 3px;
    white-space: nowrap;
}
.search-result-status.friend {
    background: rgba(120, 214, 107, 0.12);
    color: var(--green);
}
.search-result-status.stranger {
    background: rgba(255, 255, 255, 0.05);
    color: var(--muted);
}
.search-results-empty {
    padding: 12px;
    text-align: center;
    color: var(--muted);
    font-size: 0.8rem;
}

/* --- Steam Alike Login Screen --- */
.auth-shell {
    background: radial-gradient(circle at 50% 50%, #1a2736 0%, #0c111a 100%) !important;
}
.login-screen {
    width: min(92vw, 420px);
}
.login-panel {
    background: #18202c !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 4px !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6) !important;
    padding: 36px 30px !important;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.login-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
}
.login-header .brand-logo {
    height: 48px;
}
.login-subtitle {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #fff;
    text-transform: uppercase;
}
.login-form-steam {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.login-field-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.login-field-group label {
    font-size: 0.72rem;
    font-weight: 800;
    color: #199eff;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.login-field-group input {
    background: #10141d !important;
    border: 1px solid #232d3d !important;
    border-radius: 3px !important;
    color: #fff !important;
    padding: 12px !important;
    font-size: 0.9rem !important;
}
.login-field-group input:focus {
    border-color: #199eff !important;
    box-shadow: 0 0 8px rgba(25, 158, 255, 0.25) !important;
}
.login-remember-row {
    margin-top: -6px;
}
.remember-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    color: #acb2be;
    font-weight: normal;
}
.remember-checkbox-label input[type="checkbox"] {
    width: 15px;
    height: 15px;
    background: #10141d;
    border: 1px solid #232d3d;
    accent-color: #199eff;
}
.steam-login-submit-btn {
    width: 100%;
    min-height: 44px;
    background: linear-gradient(90deg, #199eff 0%, #1377c8 100%) !important;
    border: none !important;
    border-radius: 3px !important;
    color: #fff !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(25, 158, 255, 0.2);
}
.steam-login-submit-btn:hover {
    background: linear-gradient(90deg, #2babff 0%, #1583db 100%) !important;
    box-shadow: 0 4px 20px rgba(25, 158, 255, 0.35);
    transform: translateY(-1px);
}
.login-footer-links {
    margin-top: 10px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 20px;
}
.login-footer-links a {
    font-size: 0.78rem;
    color: #acb2be;
    transition: color 0.2s;
    text-decoration: underline;
}
.login-footer-links a:hover {
    color: #199eff;
}
