/* =========================
   Ten10 Media - Shared Styles
   (Used by index.html, reviews.html, review.html, Gamenews.html)
   ========================= */

:root {
    --bg: #0b0b0b;
    --sidebar: #333;
    --brand: #c5aa6a;
}

html {
    scroll-behavior: smooth;
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: var(--bg);
    color: #fff;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
}

/* ===== SIDEBAR ===== */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 220px;
    background: var(--sidebar);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    z-index: 1500;
    transition: transform 0.3s ease;
    box-sizing: border-box;
}

.sidebar .logo {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 10px 0 25px;
    margin-bottom: 20px;
    box-sizing: border-box;
}

.sidebar .logo a {
    display: inline-block;
}

/* Logo: white by default, gold-fill on hover */
.sidebar .logo img {
    width: 90px;
    height: auto;
    display: block;
    cursor: pointer;
    filter: brightness(0) invert(1);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.sidebar .logo img:hover {
    transform: scale(1.18) translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
    filter: brightness(0) saturate(100%) invert(76%) sepia(21%) saturate(745%)
        hue-rotate(7deg) brightness(94%) contrast(92%)
        drop-shadow(0 0 8px rgba(197, 170, 106, 0.6));
}

.sidebar .logo img:active {
    transform: scale(1.05) translateY(0);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.sidebar a.nav-link {
    width: calc(100% - 24px);
    margin: 0 12px 10px;
    padding: 12px 18px;
    text-align: left;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.2s ease;
    box-sizing: border-box;
}

.sidebar a.nav-link:hover {
    background: var(--brand);
}
.sidebar a.nav-link.active {
    background: var(--brand);
    color: #111;
    font-weight: 700;
}

/* ===== TOP NAVBAR ===== */
.top-navbar {
    position: fixed;
    top: 0;
    left: 220px;
    right: 0;
    height: 80px;
    background: var(--brand);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

.top-navbar input[type="search"] {
    width: 60%;
    max-width: 600px;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* ===== CONTENT ===== */
.content {
    --content-pad: 20px;
    margin-left: 220px;
    padding: 120px var(--content-pad) 20px;
    min-height: 100vh;
    box-sizing: border-box;
}

/* ===== HAMBURGER ===== */
.hamburger {
    display: none;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 22px;
    cursor: pointer;
    z-index: 2000;
    background: transparent;
    border: 0;
    padding: 0;
}
.hamburger span {
    display: block;
    height: 3px;
    background: #000;
    margin: 5px 0;
    transition: 0.3s;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ===== MOBILE OVERLAY ===== */
.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1400;
}
.overlay.show {
    display: block;
}

/* ===== MOBILE ===== */
@media screen and (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    .sidebar.show {
        transform: translateX(0);
    }
    .top-navbar {
        left: 0;
        padding-left: 70px;
    }
    .content {
        margin-left: 0;
        padding-top: 110px;
    }
    .hamburger {
        display: block;
    }
    .top-navbar input[type="search"] {
        width: 70%;
        max-width: 260px;
    }
}

/* =========================
   HOME (index.html)
   ========================= */
.splash {
    position: relative;
    height: clamp(420px, 70vh, 760px);
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.splash-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 0;
}

.splash::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.7),
        rgba(0, 0, 0, 0.18) 55%,
        rgba(0, 0, 0, 0.55)
    );
    pointer-events: none;
}

.splash-overlay {
    position: absolute;
    top: 22px;
    left: 22px;
    z-index: 2;
    color: #fff;
}

.splash-logo {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 8px;
    backdrop-filter: blur(6px);
}

.splash-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: invert(1);
    opacity: 0.92;
}

.splash-title {
    margin: 14px 0 6px;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.05;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}
.splash-subtitle {
    margin: 0;
    opacity: 0.88;
    font-size: 14px;
}

/* Ticker */
.ticker {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: grid;
    grid-template-columns: 160px 1fr;
    height: 55px;
}

.ticker-label {
    background: var(--brand);
    color: #111;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.4px;
}

.ticker-track {
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ticker-track::before,
.ticker-track::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 42px;
    z-index: 2;
    pointer-events: none;
}
.ticker-track::before {
    left: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.85),
        rgba(0, 0, 0, 0)
    );
}
.ticker-track::after {
    right: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
}

.ticker-move {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    white-space: nowrap;
    padding-left: 20px;
    animation: scrollTicker 22s linear infinite;
}
.ticker-item {
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
}
.ticker-sep {
    color: rgba(255, 255, 255, 0.35);
}

@keyframes scrollTicker {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 640px) {
    .ticker {
        grid-template-columns: 120px 1fr;
        height: 50px;
    }
    .ticker-item {
        font-size: 13px;
    }
    .splash-overlay {
        top: 16px;
        left: 16px;
    }
}

/* =========================
   REVIEWS (reviews.html)
   ========================= */
.page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0 18px;
}
.page-head h1 {
    margin: 0;
    font-size: 34px;
    letter-spacing: 0.2px;
    color: #fff;
}
.page-head p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
}
.controls {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}
.control {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
    outline: none;
}
.control option {
    color: #111;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding-bottom: 10px;
}
@media (max-width: 980px) {
    .reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .page-head {
        flex-direction: column;
        align-items: flex-start;
    }
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

.review-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
    cursor: pointer;
}
.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.14);
}

.thumb {
    height: 160px;
    position: relative;
    background: linear-gradient(
        135deg,
        rgba(197, 170, 106, 0.9),
        rgba(40, 40, 40, 0.9)
    );
}
.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(6px);
}
.score {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 62px;
    height: 54px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: grid;
    place-items: center;
    color: var(--brand);
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 0.2px;
    backdrop-filter: blur(6px);
}

.review-body {
    padding: 14px 14px 12px;
}
.review-title {
    margin: 0 0 6px;
    font-size: 16px;
    line-height: 1.2;
    color: #111;
}
.meta {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
    color: rgba(0, 0, 0, 0.65);
    font-size: 12px;
}
.pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.7);
    font-weight: 700;
    font-size: 12px;
}
.review-text {
    margin: 0 0 12px;
    color: rgba(0, 0, 0, 0.78);
    font-size: 13px;
    line-height: 1.45;
}

.actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    text-decoration: none;
    color: #111;
    background: rgba(255, 255, 255, 0.85);
    font-weight: 800;
    font-size: 13px;
    transition:
        transform 0.16s ease,
        background 0.16s ease;
}
.btn:hover {
    transform: translateY(-1px);
    background: #fff;
}
.btn.primary {
    background: var(--brand);
    border-color: rgba(0, 0, 0, 0.14);
}
.btn.primary:hover {
    background: #d2b46e;
}
.is-hidden {
    display: none !important;
}

/* =========================
   SINGLE REVIEW (review.html)
   ========================= */
a.back {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--brand);
    text-decoration: none;
    font-weight: 900;
}

.hero {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
}
.cover {
    height: 220px;
}
.cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-body {
    padding: 16px;
}
.kicker {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.pill-dark {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-weight: 800;
    font-size: 12px;
    color: #fff;
}
.score-text {
    color: var(--brand);
    font-weight: 900;
}
.review-sub {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}
.section {
    margin-top: 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 16px;
}
.cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
@media (max-width: 800px) {
    .hero {
        grid-template-columns: 1fr;
    }
    .cover {
        height: 240px;
    }
    .cols {
        grid-template-columns: 1fr;
    }
}
.section p {
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.55;
}
.section ul {
    margin: 8px 0 0;
    padding-left: 18px;
    color: rgba(255, 255, 255, 0.86);
}


/* =========================
   GAME NEWS (Gamenews.html + news-article.html)
   ========================= */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding-bottom: 10px;
}
@media (max-width: 980px) {
    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

.news-card {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    cursor: pointer;
}
.news-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.14);
}

.news-thumb {
    height: 160px;
    position: relative;
    background: linear-gradient(
        135deg,
        rgba(197, 170, 106, 0.9),
        rgba(40, 40, 40, 0.9)
    );
}
.news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-badges {
    position: absolute;
    left: 12px;
    top: 12px;
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    max-width: calc(100% - 24px);
}
.tag {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 12px;
    font-weight: 800;
    backdrop-filter: blur(6px);
    white-space: nowrap;
}

.news-body {
    padding: 14px 14px 12px;
}
.news-title {
    margin: 0 0 6px;
    font-size: 16px;
    line-height: 1.2;
    color: #111;
}
.news-meta {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 10px;
    color: rgba(0, 0, 0, 0.65);
    font-size: 12px;
}
.news-excerpt {
    margin: 0 0 12px;
    color: rgba(0, 0, 0, 0.78);
    font-size: 13px;
    line-height: 1.45;
}

/* Single article */
.article-hero {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
}
.article-cover {
    height: 220px;
}
.article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.article-body {
    padding: 16px;
}
.article-sub {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}
.article-links {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.article-links a {
    color: #111;
    background: var(--brand);
    padding: 9px 12px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 900;
    border: 1px solid rgba(0, 0, 0, 0.14);
}
.article-links a:hover {
    background: #d2b46e;
}

@media (max-width: 800px) {
    .article-hero {
        grid-template-columns: 1fr;
    }
    .article-cover {
        height: 240px;
    }
}


/* =========================
   SAVED (saved.html)
   ========================= */
.saved-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 10px;
}
@media (max-width: 980px) {
  .saved-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .saved-grid { grid-template-columns: 1fr; }
}
.saved-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.saved-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.14);
}
.saved-top {
  height: 160px;
  position: relative;
  background: linear-gradient(135deg, rgba(197, 170, 106, 0.9), rgba(40, 40, 40, 0.9));
}
.saved-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.saved-kind {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(6px);
}
.saved-body {
  padding: 14px 14px 12px;
}
.saved-title {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.2;
  color: #111;
}
.saved-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
  color: rgba(0, 0, 0, 0.65);
  font-size: 12px;
}
.saved-excerpt {
  margin: 0 0 12px;
  color: rgba(0, 0, 0, 0.78);
  font-size: 13px;
  line-height: 1.45;
}
