:root {
  --header-height: 72px;
  --page-max-width: 1320px;
}

html {
  /* background-color: #e9ecef; */
  background-color: #939596;
}

/* The page looks like a bounded sheet: centered, with a fixed
   maximum width and a visible edge/shadow against the background. */
body {
  max-width: var(--page-max-width);
  margin: 0 auto;
  background-color: #ffffff;
  /* background-color: #212529; */
  /* color: #dee2e6; */
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.1);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  height: var(--header-height);
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  padding: 0;
}

/* 3-column layout: logo | title (centered) | actions */
.site-header .header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 1rem;
  padding-left: 6px;
}

.site-header .header-logo {
  display: flex;
  align-items: center;
}

.site-header .header-logo img {
  /* height: 44px;
  width: 44px; */
  height: 64px;
  width: 64px;
}

.site-header .header-title {
  grid-column: 2;
  text-align: left;
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
  /* font-family:
    "Courier New", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; */
  /* font-size: 1.35rem; */
  font-size: 3rem;
  font-weight: 800;
  /* letter-spacing: 0.06em; */
  /* text-transform: uppercase; */
  text-decoration: none;
  color: rgb(63, 128, 194);
  /* color: #212529; */
  /* color: #ffffff; */
  /* background: linear-gradient(90deg, #0d6efd, #20c997); */
  /* background: linear-gradient(90deg, #000000, #cfebfc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent; */
  /* -webkit-text-stroke: rgb(63, 128, 194) 0.12rem; */
}

@media (max-width: 768px) {
  .site-header .header-title {
    font-size: 2rem;
    font-weight: 800;
    /* -webkit-text-stroke: rgb(63, 128, 194) 0.1rem; */
  }
}

.site-header .header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Desktop navigation on the right */
.site-header .header-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header .header-nav .nav-link {
  color: #212529;
  padding: 0.5rem 1rem;
  /* padding: 0.25rem 0.5rem; */
  border: 3px solid transparent;
  /*border-radius: 0.375rem;*/
  /* font-weight: 600; */
}

.site-header .header-nav .nav-link:hover {
  color: rgb(63, 128, 194);
}

.site-header .header-nav .nav-link.active {
  color: rgb(63, 128, 194);
  font-weight: 700;
  border-color: rgb(63, 128, 194);
}

/* Mobile menu button (uses Bootstrap's own collapse mechanism) */
.site-header .navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.site-header .navbar-toggler:focus {
  box-shadow: none;
}

/* Mobile dropdown menu, shown as an overlay below the sticky header */
.site-header .mobile-nav-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-top: 1px solid #dee2e6;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.site-header .mobile-nav-panel .nav-link {
  display: block;
  padding: 0.75rem 1.5rem;
  color: #212529;
  border-left: 3px solid transparent;
}

.site-header .mobile-nav-panel .nav-link.active {
  color: rgb(63, 128, 194);
  font-weight: 600;
  border-left-color: rgb(63, 128, 194);
  background-color: #f1f6ff;
}

/* ---------- Banner ---------- */
.hero-banner {
  position: relative;
  width: 100%;
  max-width: var(--page-max-width);
  margin-inline: auto;
  height: 320px;
  overflow: hidden;
}

.hero-banner img {
  width: 100%;
  /* min-height: 240px; */
  height: 100%;
  object-fit: cover;
  object-position: right;
  display: block;
}

.hero-banner-overlay {
  display: block;
  position: absolute;
  top: 50%;
  right: 10%;
  width: auto !important;
  height: 60% !important;
  transform: translateY(-50%);
  object-fit: contain;
}

@media (min-width: 992px) {
  .hero-banner img {
    object-position: left;
    width: 100%;
  }

  .hero-banner-overlay {
    position: absolute;
    top: 50%;
    right: 10%;
    width: auto !important;
    height: 70% !important;
  }
}

@media (min-width: 768px) {
  .hero-banner {
    height: 420px;
  }
}

/* ---------- Video Hero (Game Detail Pages) ---------- */
.video-hero {
  position: relative;
  width: 100%;
  max-width: var(--page-max-width);
  margin-inline: auto;
  height: 320px;
  overflow: hidden;
  background-color: #000000;
}

.video-hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-title-overlay {
  position: absolute;
  top: 50%;
  left: 0;
  width: 33.33%;
  transform: translateY(-50%);
  text-align: left;
  padding-left: 1.5rem;
  pointer-events: none;
}

.video-title-overlay h1 {
  margin: 0;
  color: #ffffff;
  font-weight: 700;
  font-size: 2.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

@media (min-width: 768px) {
  .video-hero {
    height: 420px;
  }
}

/* ---------- Store-Badges ---------- */
.app-store-badge {
  height: 48px;
  width: auto;
}

.google-play-badge {
  height: 71px;
  width: auto;
  margin: -12px 0;
}

.steak-store-badge {
  border: #ffffff 1px solid;
  background-color: #000000;
  /* height: 48px;
  width: auto;
  margin: -4px 0; */
}

/* ---------- Latest Games ---------- */
.game-card {
  display: block;
  overflow: hidden;
  border-radius: 0.375rem;
  transition: transform 0.15s ease-in-out;
}

.game-card img {
  width: 100%;
  /* height: 340px; */
  /* object-fit: cover; */
  /* object-fit: contain; */
  display: block;
}

.game-card:hover {
  transform: scale(1.02);
}

/* ---------- News Section ---------- */
.news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* ---------- Games List Page ---------- */
.game-list-card img {
  width: 100%;
  /* height: 340px; */
  /* object-fit: cover; */
}

.game-list-card {
  transition:
    box-shadow 0.15s ease-in-out,
    transform 0.15s ease-in-out;
}

.game-list-card:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  transform: translateY(-2px);
}

/* ---------- Follow Us / Social Links ---------- */
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  border: 1px solid #dee2e6;
  color: #212529;
  text-decoration: none;
  font-weight: 600;
  transition:
    box-shadow 0.15s ease-in-out,
    transform 0.15s ease-in-out,
    border-color 0.15s ease-in-out;
}

.social-link:hover {
  color: #212529;
  border-color: #0d6efd;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #212529;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.social-icon-instagram {
  background: radial-gradient(
    circle at 30% 110%,
    #fdf497,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
}

.social-icon-youtube {
  background-color: #ff0000;
}

/* ---------- Footer ---------- */
.site-footer {
  /* background-color: #212529; */
  background-color: #515252;
  color: #dee2e6;
  padding: 1.5rem 0;
}

.site-footer a {
  color: #dee2e6;
  text-decoration: none;
}

.site-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ---------- Placeholder Notice (Imprint/Privacy Policy) ---------- */
.placeholder-hint {
  background-color: #fff3cd;
  border: 1px solid #ffe69c;
  color: #664d03;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
}
