/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --sidebar-width: 72px;
  --header-height: 64px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #000;
  color: #fff;
  line-height: 1.5;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ===== SIDEBAR ===== */
.sidebar {
  position: fixed;
  top: 0; left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  z-index: 1000;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
}

.logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: auto;
  margin-bottom: auto;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.35);
  background: transparent;
  transition: all 0.25s ease;
  display: block;
}

.dot:hover { border-color: rgba(255,255,255,0.7); }

.dot.active {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 0 0 3px #000, 0 0 0 5px #fff;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: var(--sidebar-width);
  right: 0;
  height: var(--header-height);
  z-index: 900;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease;
}

.header.hidden {
  transform: translateY(-100%);
  opacity: 0;
}

.header-inner {
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.top-nav { display: flex; gap: 40px; }

.nav-link {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active { color: #fff; }

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: #fff;
}

.socials {
  position: absolute;
  right: 40px;
  display: flex;
  gap: 18px;
}

.social-link {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s, transform 0.2s;
}
.social-link:hover {
  color: #fff;
  transform: scale(1.12);
}

/* ===== FULL PAGE ===== */
.fullpage {
  min-height: 100vh;
  height: 100vh;
  position: relative;
}

/* ===== HERO ===== */
.hero {
  margin-left: var(--sidebar-width);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; }
.hero-image {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content { position: relative; z-index: 2; }

.play-btn {
  width: 80px; height: 80px;
  background: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.play-btn svg {
  width: 30px; height: 30px;
  color: #000;
  margin-left: 3px;
}
.play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(255,255,255,0.25);
}

.hero-bottom {
  position: absolute;
  bottom: 36px;
  left: 36px;
  right: 36px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.trailer-info { max-width: 480px; }

.trailer-label {
  display: inline-block;
  background: #fff;
  color: #000;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.5px;
  padding: 10px 18px;
  line-height: 1.1;
}

.trailer-info p {
  background: #111;
  padding: 14px 18px;
  font-size: 14px;
  color: #fff;
  line-height: 1.45;
}

.page-indicator {
  background: rgba(0,0,0,0.75);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.7);
}

/* ===== WHAT'S NEW ===== */
.whats-new {
  background: #000;
  margin-left: var(--sidebar-width);
  padding: 80px 50px;
  display: flex;
  align-items: center;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.section-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
}

.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 36px;
}

.tab {
  background: transparent;
  border: none;
  color: rgba(255,255,255,0.55);
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.tab:hover { color: #fff; }
.tab.active {
  background: #fff;
  color: #000;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4.1;
  background: #111;
  cursor: pointer;
}
.card.hidden { display: none; }

.card-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: filter 0.45s ease;
}

/* White/grey gradient that covers lower half */
.card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(200, 200, 200, 0.35) 35%,
    rgba(150, 150, 150, 0.12) 60%,
    transparent 80%
  );
  opacity: 0;
  transition: opacity 0.45s ease;
  z-index: 1;
  pointer-events: none;
}

.card:hover .card-image {
  filter: grayscale(60%) brightness(0.7);
}

.card:hover .card-gradient {
  opacity: 1;
}

.card-overlay {
  position: absolute;
  left: 0; right: 0;
  top: 18px;
  padding: 0 18px;
  z-index: 2;
}

.card-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.card-overlay h3 {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

/* READ MORE - progress bar style expand */
.read-more {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 44px;
  background: #fff;
  color: #000;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 3;
  width: 130px;
  transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  white-space: nowrap;
  border-radius: 0 16px 0 16px;
}

.card:hover .read-more {
  width: 100%;
}

.read-more .arrow {
  margin-left: 8px;
}

/* ===== SHOWCASE - with entrance animation ===== */
.showcase {
  margin-left: var(--sidebar-width);
  overflow: hidden;
  display: flex;
  align-items: center;
}

.showcase-bg {
  position: absolute;
  inset: 0;
  transform: translateY(40px);
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.9s ease;
}

.showcase.visible .showcase-bg {
  transform: translateY(0);
  opacity: 1;
}

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

.showcase-content {
  position: relative;
  z-index: 2;
  max-width: 460px;
  padding: 28px 36px;
  background: #000;
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.9s ease;
}

.showcase-content.left {
  margin-left: 50px;
  transform: translateX(-60px);
}

.showcase-content.right {
  margin-left: auto;
  margin-right: 50px;
  transform: translateX(60px);
}

.showcase.visible .showcase-content {
  opacity: 1;
  transform: translateX(0);
}

.showcase-content.white {
  background: #fff;
  color: #000;
}

.showcase-content h2 {
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.3px;
}

/* ===== FOOTER ===== */
.footer {
  margin-left: var(--sidebar-width);
  background: #f5f5f5;
  color: #111;
  position: relative;
}

.footer-main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 70px 50px 50px;
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 1fr;
  gap: 60px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.footer-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: none;
}

.footer-logo span {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.footer-brand p {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 18px;
  color: #111;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: #444;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover { color: #000; }

.footer-social {
  text-align: right;
}

.footer-social > span {
  display: block;
  font-size: 13px;
  color: #555;
  margin-bottom: 14px;
}

.footer-social-icons {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}

.footer-social-icons a {
  font-size: 16px;
  color: #333;
  transition: color 0.2s;
}
.footer-social-icons a:hover { color: #000; }

.footer-bottom {
  border-top: 1px solid #ddd;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #666;
}

.cookie-link {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #444;
}
.cookie-link:hover { color: #000; }

.back-to-top {
  border-radius: 12px;
  position: absolute;
  bottom: 80px;
  right: 40px;
  background: #111;
  color: #fff;
  border: none;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: background 0.2s;
}
.back-to-top:hover { background: #333; }

/* Responsive */
@media (max-width: 1200px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  :root { --sidebar-width: 56px; }
  .header-inner { padding: 0 16px; }
  .top-nav { gap: 18px; }
  .nav-link { font-size: 11px; }
  .socials { right: 16px; gap: 12px; }
  .hero-bottom { left: 16px; right: 16px; }
  .whats-new { padding: 50px 20px; }
  .cards { grid-template-columns: 1fr; }
  .showcase-content.left,
  .showcase-content.right {
    margin: 0 16px;
    max-width: none;
  }
  .footer-main {
    grid-template-columns: 1fr;
    padding: 40px 24px;
    gap: 40px;
  }
  .footer-social { text-align: left; }
  .footer-social-icons { justify-content: flex-start; }
  .footer-bottom { padding: 16px 24px; flex-direction: column; gap: 10px; }
  .back-to-top {
  border-radius: 12px; right: 20px; bottom: 100px; }
}


/* Whole card clickable */
.card {
  cursor: pointer;
}

/* ===== UPDATE OVERLAY / MODAL ===== */
.update-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  justify-content: flex-end;
  visibility: hidden;
  pointer-events: none;
}

.update-overlay.open {
  visibility: visible;
  pointer-events: auto;
}

.update-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.7);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.update-overlay.open .update-backdrop {
  opacity: 1;
}

.update-panel {
  border-radius: 20px 0 0 20px;
  position: relative;
  width: min(780px, 100%);
  height: 100vh;
  max-height: 100dvh;
  background: #fff;
  color: #111;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 2;
}

.update-overlay.open .update-panel {
  border-radius: 20px 0 0 20px;
  overflow-x: hidden;
  overflow-y: auto;
  transform: translateX(0);
}

.update-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.close-btn {
  background: transparent;
  border: none;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #111;
  cursor: pointer;
  padding: 8px 12px;
  transition: background 0.2s;
}
.close-btn:hover { background: rgba(0,0,0,0.06); }

.update-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.meta-btn {
  background: transparent;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  color: #111;
  transition: background 0.2s;
}
.meta-btn:hover { background: #f5f5f5; }

.meta-tag {
  background: #f0f0f0;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.meta-date {
  background: #111;
  color: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.update-content {
  padding: 40px 40px 80px;
}

.update-content h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 18px;
}

.update-intro {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 36px;
}

.update-content h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 40px 0 14px;
}

.update-content h3 {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 8px;
}

.update-content p {
  font-size: 15px;
  color: #333;
  line-height: 1.7;
  margin-bottom: 18px;
}

.update-media-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  margin: 28px 0;
  align-items: start;
}

.update-media-row.reverse {
  grid-template-columns: 1fr 1.3fr;
}

.update-video-wrap {
  background: #000;
}

.update-video-wrap video {
  width: 100%;
  display: block;
}

.update-side-text p {
  font-size: 14px;
  color: #444;
}

@media (max-width: 800px) {
  .update-panel {
  border-radius: 20px 0 0 20px;
  overflow-x: hidden; overflow-y: auto; width: 100%; }
  .update-media-row,
  .update-media-row.reverse {
    grid-template-columns: 1fr;
  }
  .update-content { padding: 24px 20px 60px; }
}


/* Social SVG icons */
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}
.social-link svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* Online player count */
.online-count {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,0.75);
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.85);
}
.online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4caf50;
  box-shadow: 0 0 8px #4caf50;
  animation: pulse 1.5s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}


/* modern-global-patch */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.header .socials {
  display: none;
}
.card, .footer {
  /* keep existing; light radius where safe for test redesign */
}
.whats-new .card {
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.whats-new .card:hover {
  border-color: rgba(255,255,255,0.35);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45), 0 0 28px rgba(255,255,255,0.05);
}

/* ===== Page transitions (no white flash) ===== */
html {
  background: #000;
}
body {
  background: #000;
  opacity: 0;
  transition: opacity 0.28s ease;
}
body.page-ready {
  opacity: 1;
}
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
#page-loader.show {
  opacity: 1;
  pointer-events: all;
}
#page-loader .pl-spin {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(255,255,255,0.15);
  border-top-color: #fff;
  border-radius: 50%;
  animation: pl-spin 0.7s linear infinite;
}
@keyframes pl-spin {
  to { transform: rotate(360deg); }
}


/* Update overlay photos (not video) */
.update-photo-wrap {
  flex: 1;
  min-width: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
}
.update-photo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
}
.update-panel-body[hidden] { display: none !important; }
