
:root {
    --fontFamilyVar: "Inter", sans-serif;
    --fontFamilyNoVar: "Inter", sans-serif;
    color-scheme: dark;
}
body, button, input, select, textarea,
.interface, .caption, .title1, .title2, .title3, .title4, .title5,
.display-title, .button-text, .navigation-item {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}
html, body { margin: 0; padding: 0; background: #12151c; color: #e7ecef; }

/* ===========================
   SIDEBAR
   =========================== */
#ign-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    background: #1a1f2e;
    color: #d3ddd9;
    z-index: 200;
    display: flex;
    flex-direction: column;
    box-shadow: 2px 0 10px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}
/* Admin bar offsets */
body.admin-bar #ign-sidebar { top: 32px; }
@media screen and (max-width: 782px) {
    body.admin-bar #ign-sidebar { top: 46px; }
}

/* Sidebar toggle (collapse/expand handle) — hidden on mobile */
.sidebar-toggle.action-button {
    position: absolute;
    top: 14px;
    right: -17px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: #283044;
    border: 1px solid rgba(138,147,153,0.35);
    color: #d3ddd9;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    padding: 0;
}
.sidebar-toggle .ign-icon {
    display: inline-block;
    width: 14px; height: 14px;
    mask: url('https://kraken.ignimgs.com/_next/static/media/LeftChevron.c64b87f1.svg?cors=1') center center / contain no-repeat;
    -webkit-mask: url('https://kraken.ignimgs.com/_next/static/media/LeftChevron.c64b87f1.svg?cors=1') center center / contain no-repeat;
    background: currentcolor;
}
@media (min-width: 1281px) {
    .sidebar-toggle.action-button { display: none !important; }
}

/* Sidebar content wrapper */
.sidebar-content-nav {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}
.sidebar-main {
    flex: 1;
    overflow: hidden;
    position: relative;
}

/* ===========================
   SIDEBAR SECTIONS (Home + Submenus)
   The home section shows the top-level nav.
   Submenus (reviews, news, etc.) slide in.
   =========================== */
.sidebar-content-section {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    transform: translateX(100%);
    overflow: hidden;
}
.sidebar-content-section.is-home-section {
    transform: translateX(0); /* home section always starts visible */
}
.sidebar-content-section.isActive {
    transform: translateX(0); /* active submenu is visible */
}
.sidebar-content-section.slide-left {
    transform: translateX(-100%); /* home slides left when submenu opens */
}

/* Back button row */
.sidebar-header {
    display: flex;
    align-items: center;
    padding: 12px 16px 10px;
    border-bottom: 1px solid rgba(138,147,153,0.15);
    flex-shrink: 0;
}
.sidebar-header-back-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none !important;
    border: none;
    color: #8a9399 !important;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
    font-family: inherit;
}
.sidebar-header-back-button:hover { color: #d3ddd9 !important; }
.sidebar-header-back-button .back-chevron {
    display: inline-block;
    width: 10px; height: 10px;
    mask: url('https://kraken.ignimgs.com/_next/static/media/LeftChevron.c64b87f1.svg?cors=1') center center / contain no-repeat;
    -webkit-mask: url('https://kraken.ignimgs.com/_next/static/media/LeftChevron.c64b87f1.svg?cors=1') center center / contain no-repeat;
    background: currentcolor;
    flex-shrink: 0;
}

/* Scrollable section content */
.sidebar-scroll {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 12px;
    -ms-overflow-style: none;
    scrollbar-width: thin;
    scrollbar-color: rgba(138,147,153,0.3) transparent;
}
.sidebar-scroll::-webkit-scrollbar { width: 3px; }
.sidebar-scroll::-webkit-scrollbar-track { background: transparent; }
.sidebar-scroll::-webkit-scrollbar-thumb { background: rgba(138,147,153,0.3); border-radius: 2px; }

/* Section heading (REVIEWS, NEWS, etc.) */
.sidebar-section-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #8a9399;
    padding: 12px 16px 4px;
    margin: 0;
}

/* Nav links */
.sidebar-item {
    display: block;
    padding: 9px 16px;
    color: #d3ddd9;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 400;
    transition: background 0.1s;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
}
.sidebar-item:hover {
    background: rgba(138,147,153,0.2);
    color: #fff;
}

/* Home section top-level items (with right arrow) */
.sidebar-home-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    color: #d3ddd9;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.1s;
    cursor: pointer;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
    border-bottom: 1px solid rgba(138,147,153,0.1);
}
.sidebar-home-item:hover {
    background: rgba(138,147,153,0.15);
    color: #fff;
}
.sidebar-home-item .right-arrow {
    display: inline-block;
    width: 10px; height: 10px;
    mask: url('https://kraken.ignimgs.com/_next/static/media/LeftChevron.c64b87f1.svg?cors=1') center center / contain no-repeat;
    -webkit-mask: url('https://kraken.ignimgs.com/_next/static/media/LeftChevron.c64b87f1.svg?cors=1') center center / contain no-repeat;
    background: currentcolor;
    transform: rotate(180deg);
    opacity: 0.6;
    flex-shrink: 0;
}

/* Sidebar footer */
.sidebar-footer {
    padding: 12px 16px;
    border-top: 1px solid rgba(138,147,153,0.2);
    flex-shrink: 0;
}
.sidebar-footer .join-btn {
    background: #bf1313;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 9px 16px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    font-family: inherit;
}
.sidebar-footer .join-btn:hover { background: #a00f0f; }

/* Mobile overlay (dark backdrop) */
.sidebar-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    border: none;
    padding: 0;
    z-index: 199;
    cursor: pointer;
}
.sidebar-mobile-overlay.is-visible { display: block; }

/* ===========================
   PAGE LAYOUT
   =========================== */
#page {
    margin-left: 300px;
    min-height: 100vh;
    box-sizing: border-box;
    background: #12151c;
}

/* Mobile page header (hamburger + logo) — hidden on desktop */
.ign-page-header {
    display: none !important;
}

/* ===========================
   ARTICLE HEADER
   =========================== */
.page-header.short {
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px 32px 16px;
}
.page-header .article-object-link {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #e0602a;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 8px;
}
.page-header .article-object-link:hover { color: #f07040; }
.display-title.jsx-560310519 {
    font-size: 2.1rem;
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 10px;
}
.title3.jsx-37621054 {
    font-size: 1.05rem;
    font-weight: 400;
    color: #9aa4ad;
    margin: 0 0 4px;
}

/* ===========================
   HEADER IMAGE + BYLINE
   =========================== */
.page-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 32px;
}
.article-header-image { margin: 0 0 0; }
.article-header-image img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 500px;
    object-fit: cover;
}

.byline {
    padding: 14px 0;
    border-bottom: 1px solid rgba(138,147,153,0.2);
    margin-bottom: 20px;
}
.byline-stack {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 10px;
}
.article-authors { display: flex; align-items: center; gap: 8px; }
.author-thumb.profile-thumb {
    width: 26px; height: 26px;
    border-radius: 50%; overflow: hidden;
    display: block;
}
.profile-thumb-img {
    width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
}
.byline .caption { font-size: 0.8rem; color: #9aa4ad; }
.byline .caption a { color: #d3ddd9; text-decoration: none; }
.byline .caption a:hover { text-decoration: underline; }
.ign-divider {
    width: 1px; height: 12px;
    background: rgba(138,147,153,0.4);
    flex-shrink: 0;
}
.ign-divider-full {
    width: 100%; height: 1px;
    background: rgba(138,147,153,0.2);
    margin-top: 8px;
}
.icon-comment {
    display: inline-block;
    width: 14px; height: 14px;
    vertical-align: middle;
    margin-right: 4px;
    mask: url('https://kraken.ignimgs.com/_next/static/media/Comment.e2c389d0.svg?cors=1') center center / contain no-repeat;
    -webkit-mask: url('https://kraken.ignimgs.com/_next/static/media/Comment.e2c389d0.svg?cors=1') center center / contain no-repeat;
    background: currentcolor;
}

/* ===========================
   ARTICLE BODY + RIGHT RAIL
   =========================== */
.side-by-side {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 32px;
    align-items: start;
}
.article-content { min-width: 0; }
.right-rail { position: sticky; top: 16px; }

.article-section { max-width: 660px; }
.paragraph {
    font-size: 1rem;
    line-height: 1.7;
    color: #d8dfe4;
    margin: 0 0 1.2em;
}
.paragraph a { color: #6eb3f7; text-decoration: none; }
.paragraph a:hover { text-decoration: underline; }
.title2.article-h2 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin: 1.5em 0 0.5em;
    line-height: 1.2;
}

/* Quote box */
.quote-container {
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1.25;
    color: #fff;
    border-left: 4px solid #e0602a;
    padding: 16px 20px;
    margin: 24px 0;
    background: rgba(224, 96, 42, 0.08);
}

/* Video overlay */
.video.aspect-ratio-16-9 {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    background: #0a0c10;
    border-radius: 8px;
}
.video.aspect-ratio-16-9 > * {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}
.video-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 16px; box-sizing: border-box;
}
.video-header.show { color: #fff; font-size: 0.9rem; font-weight: 700; }
.video-header a { color: #fff; text-decoration: none; }
.poster-container {
    display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.ign-play-btn {
    width: 52px; height: 52px; border-radius: 50%;
    background: rgba(255,255,255,0.9);
    display: flex; align-items: center; justify-content: center;
}
.ign-play-btn::after {
    content: '';
    border-left: 18px solid #12151c;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    margin-left: 4px;
}
.video-link {
    display: block; color: #6eb3f7; font-size: 0.9rem; margin-top: 8px;
    text-decoration: none;
}
.video-link:hover { text-decoration: underline; }

/* Carousel */
.carousel-section { margin: 24px 0; }
.carousel-scroll {
    display: flex; gap: 12px;
    overflow-x: auto; padding-bottom: 8px;
    scrollbar-width: thin;
}
.carousel-scroll::-webkit-scrollbar { height: 4px; }
.carousel-scroll::-webkit-scrollbar-track { background: transparent; }
.carousel-scroll::-webkit-scrollbar-thumb { background: rgba(138,147,153,0.4); border-radius: 2px; }
.object-tile.small { flex: 0 0 120px; }
.object-thumbnail .aspect-1-1 {
    position: relative; padding-bottom: 100%; height: 0; overflow: hidden; border-radius: 6px;
}
.object-thumbnail .aspect-1-1 img {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
}
.tile-title { font-size: 0.75rem; font-weight: 700; color: #d3ddd9; margin-top: 6px; display: block; }
.tile-meta { font-size: 0.68rem; color: #8a9399; margin-top: 2px; }
.tile-link { text-decoration: none; }

/* ===========================
   IGN RECOMMENDS RIGHT RAIL
   =========================== */
.ign-recommends { padding: 16px 0; }
.ign-recommends-headline {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.8rem; font-weight: 700; color: #8a9399;
    text-transform: uppercase; letter-spacing: 0.08em;
    margin: 0 0 12px;
}
.ign-recommends-items { display: flex; flex-direction: column; gap: 16px; }
.rec-item-body {
    display: flex; flex-direction: column; gap: 8px;
    text-decoration: none;
    display: block;
}
.rec-item-thumb img {
    width: 100%; aspect-ratio: 16/9; object-fit: cover;
    border-radius: 6px; display: block;
}
.rec-item-title {
    font-size: 0.82rem; font-weight: 700; color: #d3ddd9;
    line-height: 1.3; margin-top: 6px; display: block;
}
.rec-item-meta {
    font-size: 0.72rem; color: #8a9399; display: flex; align-items: center; gap: 4px;
}

/* ===========================
   VERDICT SCORE BOX
   =========================== */
.ign-verdict-box {
    background: #1a1f2e;
    border: 1px solid rgba(138,147,153,0.2);
    border-radius: 10px;
    padding: 24px 28px;
    margin: 28px 0;
    display: flex;
    gap: 24px;
    align-items: flex-start;
}
.ign-score-hexagon {
    flex: 0 0 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hexagon-wrap {
    width: 72px; height: 72px;
    position: relative;
    clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
    background: #e0602a;
    display: flex; align-items: center; justify-content: center;
}
.hexagon-score {
    font-size: 2rem; font-weight: 900; color: #fff; line-height: 1;
}
.ign-verdict-content { flex: 1; }
.ign-verdict-label {
    font-size: 1.5rem; font-weight: 900; color: #fff; margin: 0 0 8px;
}
.ign-verdict-text {
    font-size: 0.9rem; line-height: 1.6; color: #9aa4ad; margin: 0 0 10px;
}
.ign-review-link {
    font-size: 0.72rem; color: #6eb3f7; text-decoration: none; display: block; margin-top: 6px;
}
.ign-reviewer {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.8rem; color: #9aa4ad; margin-top: 8px;
}
.ign-reviewer img { width: 20px; height: 20px; border-radius: 50%; }
.ign-reviewer a { color: #d3ddd9; text-decoration: none; }

/* ===========================
   MORE REVIEWS BY AUTHOR
   =========================== */
.ign-more-reviews {
    background: #1a1f2e;
    border: 1px solid rgba(138,147,153,0.2);
    border-radius: 10px;
    padding: 20px 24px;
    margin: 28px 0;
}
.ign-more-reviews-header {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 16px;
}
.ign-more-reviews-header img { width: 32px; height: 32px; border-radius: 50%; }
.ign-more-reviews-header h3 {
    font-size: 0.95rem; font-weight: 700; color: #fff; margin: 0;
}
.ign-more-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.ign-more-review-card {
    background: #12151c;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    display: block;
}
.ign-more-review-card:hover { opacity: 0.85; }
.ign-more-review-thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
}
.ign-more-review-thumb img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.ign-more-review-info { padding: 8px; }
.ign-more-review-info span {
    font-size: 0.75rem; font-weight: 700; color: #d3ddd9;
    line-height: 1.3; display: block;
}

/* ===========================
   NEWSLETTER PROMO
   =========================== */
.promo-card {
    display: flex; gap: 16px; align-items: center;
    background: #1a1f2e;
    border: 1px solid rgba(138,147,153,0.2);
    border-radius: 10px;
    padding: 20px 24px;
}
.promo-card-image { flex: 0 0 120px; }
.promo-card-image img { width: 100%; border-radius: 6px; }
.promo-card h3 { font-size: 1rem; font-weight: 800; color: #fff; margin: 0 0 6px; }
.promo-card p { font-size: 0.82rem; color: #9aa4ad; margin: 0 0 10px; }
.promo-card .cta a {
    background: #e0602a; color: #fff; border: none;
    padding: 8px 18px; border-radius: 20px;
    font-size: 0.82rem; font-weight: 700; text-decoration: none;
    display: inline-block;
}

/* ===========================
   IN THIS ARTICLE / OBJECT CARD
   =========================== */
.object-box {
    background: #1a1f2e;
    border: 1px solid rgba(138,147,153,0.2);
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 24px;
}
.object-details {
    display: flex; gap: 16px; align-items: flex-start;
}
.object-thumb { flex: 0 0 80px; }
.object-thumb img {
    width: 80px; height: 80px;
    border-radius: 8px; object-fit: cover;
}
.object-title-col { flex: 1; }
.object-title-col a.obj-title {
    font-size: 1rem; font-weight: 700; color: #fff;
    text-decoration: none; display: block; margin-bottom: 4px;
}
.object-title-col a.obj-title:hover { text-decoration: underline; }
.object-title-col .muted {
    color: #8a9399; font-size: 0.8rem;
    text-decoration: none;
}
.platforms { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.platform-icon img { width: 18px; height: 18px; opacity: 0.7; }
.object-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.btn-primary {
    background: #e0602a; color: #fff; border: none;
    padding: 8px 16px; border-radius: 20px;
    font-size: 0.8rem; font-weight: 700;
    cursor: pointer; font-family: inherit;
}

/* ===========================
   COMMENTS
   =========================== */
.comments-section { padding: 20px 0 40px; }
.comments-heading {
    font-size: 1rem; font-weight: 700; color: #fff; margin: 0 0 12px;
}
.comment-skeleton {
    background: #1a1f2e; border-radius: 8px;
    height: 64px; margin-bottom: 8px;
    animation: ign-shimmer 1.5s infinite;
}
@keyframes ign-shimmer {
    0% { opacity: 0.6; } 50% { opacity: 1; } 100% { opacity: 0.6; }
}

/* ===========================
   RESPONSIVE — MOBILE / TABLET
   =========================== */
@media (max-width: 1100px) {
    .side-by-side {
        grid-template-columns: 1fr;
    }
    .right-rail { display: none; }
}
@media (max-width: 900px) {
    #ign-sidebar {
        transform: translateX(-300px);
        z-index: 9999;
    }
    body.admin-bar #ign-sidebar { top: 0; }
    #ign-sidebar.mobile-open {
        transform: translateX(0);
    }
    #page { margin-left: 0; }
    .ign-page-header {
        display: flex !important;
        align-items: center;
        gap: 12px;
        padding: 10px 16px;
        background: #1a1f2e;
        border-bottom: 1px solid rgba(138,147,153,0.2);
        position: sticky;
        top: 0;
        z-index: 100;
    }
    body.admin-bar .ign-page-header {
        top: 46px;
    }
    .ign-page-header img { height: 24px; }
    .mobile-sidebar-btn {
        width: 32px; height: 32px;
        border-radius: 6px;
        background: #283044;
        border: 1px solid rgba(138,147,153,0.35);
        color: #d3ddd9;
        display: flex; align-items: center; justify-content: center;
        cursor: pointer;
        padding: 0;
        flex-shrink: 0;
    }
    .ign-more-reviews-grid { grid-template-columns: 1fr; }
    .ign-verdict-box { flex-direction: column; gap: 16px; }
    .page-header.short { padding: 16px; }
    .page-content { padding: 0 16px; }
    .side-by-side { padding: 0 16px; }
    .promo-card { flex-direction: column; }
    .promo-card-image { flex: unset; width: 100%; max-width: 160px; }
}
@media (max-width: 480px) {
    .display-title.jsx-560310519 { font-size: 1.6rem; }
    .ign-more-reviews-grid { grid-template-columns: 1fr; }
}
