/* Game Time Buzz — portal layer on top of style.css */

/* ---------- brand ---------- */
.jc-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-height: 44px; }
.jc-logo svg { display: block; height: 30px; width: auto; }
.jc-logo:hover { color: inherit; }

/* bigger tap targets on nav */
.site-nav a { min-height: 44px; display: inline-flex; align-items: center; }
.nav-toggle { min-width: 44px; min-height: 44px; }

/* ---------- home intro ---------- */
.jc-intro { padding: clamp(26px, 4vw, 48px) 0 clamp(18px, 2.5vw, 28px); max-width: 760px; }
.jc-intro h1 { margin-bottom: .35em; }
.jc-intro h1 span { color: var(--accent-soft); }
.jc-intro p { font-size: 1.08rem; color: var(--muted); margin: 0; }

/* ---------- game grid (portal tiles) ---------- */
.jc-grid {
  display: grid; gap: 16px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-areas:
    "a a b c s"
    "a a d t t"
    "g e x t t";
  margin-bottom: clamp(36px, 5vw, 64px);
}
.jc-tile { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--text); min-width: 0; }
.jc-tile-img {
  position: relative; flex: 1; aspect-ratio: 1 / 1; overflow: hidden;
  border-radius: var(--radius); background: var(--surface-2);
  box-shadow: 0 0 0 1px var(--line-soft), 0 14px 30px -18px rgba(0, 0, 0, .9);
  transition: box-shadow .18s ease, transform .18s ease;
}
.jc-tile-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.jc-tile-name { font-family: var(--display); font-weight: 700; font-size: 1rem; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; padding: 0 2px; }
.jc-tile:hover .jc-tile-img, .jc-tile:focus-visible .jc-tile-img { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--accent), 0 18px 34px -16px rgba(124, 92, 255, .55); }
.jc-tile:hover img { transform: scale(1.05); }
.jc-tile:hover .jc-tile-name { color: #fff; }
.jc-tile:focus-visible { outline: none; }

.jc-big .jc-tile-img { aspect-ratio: auto; min-height: 0; }
.jc-big .jc-tile-name { font-size: 1.18rem; }

.jc-all .jc-tile-img {
  display: grid; place-items: center; text-align: center;
  background: linear-gradient(145deg, #2a1f63 0%, #171433 60%, #0f3a3a 140%);
}
.jc-all .jc-tile-img span { font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: #fff; padding: 12px; }
.jc-all .jc-tile-img span b { display: block; font-size: 1.9rem; line-height: 1; color: var(--accent-2); margin-bottom: 6px; }

@media (max-width: 1000px) {
  .jc-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
      "a a b"
      "a a c"
      "s t t"
      "d t t"
      "g e x";
  }
}
@media (max-width: 620px) {
  .jc-grid {
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "a a"
      "b c"
      "s g"
      "t t"
      "d e";
  }
  .jc-big .jc-tile-img { aspect-ratio: 1 / 1; }
  .jc-all { display: none; }
  .jc-tile-name { font-size: .95rem; }
}

/* ---------- section banner ---------- */
.jc-banner { position: relative; margin: 18px 0 30px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 5; background: var(--surface-2); box-shadow: 0 0 0 1px var(--line-soft); }
.jc-banner img { width: 100%; height: 100%; object-fit: cover; }
.jc-banner-ph {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  background:
    radial-gradient(60% 120% at 20% 30%, rgba(124, 92, 255, .55), transparent 60%),
    radial-gradient(50% 120% at 85% 70%, rgba(36, 224, 197, .4), transparent 60%),
    linear-gradient(120deg, #1d1546, #0f1a2e);
  color: rgba(255, 255, 255, .7); font-size: .85rem; letter-spacing: .04em;
}
@media (max-width: 620px) { .jc-banner { aspect-ratio: 16 / 7; } }

/* ---------- review list ---------- */
.jc-reviews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-bottom: 56px; }
.jc-review {
  display: grid; grid-template-columns: 148px 1fr; column-gap: 18px; align-items: start;
  grid-template-areas: "img head" "img text" "img btn"; grid-template-rows: auto auto 1fr;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 16px;
}
.jc-review-head { grid-area: head; }
.jc-review > p { grid-area: text; }
.jc-review > .btn { grid-area: btn; justify-self: start; align-self: start; }
.jc-review > a:first-child { grid-area: img; display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1 / 1; }
.jc-review > a:first-child img { width: 100%; height: 100%; object-fit: cover; }
.jc-review h2 { font-size: 1.25rem; margin: 2px 0 6px; }
.jc-review h2 a { color: var(--text); text-decoration: none; }
.jc-review .tag { margin-bottom: 2px; }
.jc-review p { font-size: .95rem; color: var(--muted); margin: 0 0 14px; }
.jc-review .btn { min-height: 44px; display: inline-flex; align-items: center; padding-inline: 22px; }
@media (max-width: 900px) { .jc-reviews { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .jc-review { grid-template-columns: 84px 1fr; column-gap: 14px; padding: 14px;
    grid-template-areas: "img head" "text text" "btn btn"; grid-template-rows: auto; }
  .jc-review-head { align-self: center; }
  .jc-review > p { margin-top: 12px; }
  .jc-review > .btn { justify-self: stretch; }
  .jc-review h2 { font-size: 1.12rem; }
  .jc-review .btn { width: 100%; justify-content: center; }
}

/* ---------- footer ---------- */
.foot-nav a { min-height: 40px; display: inline-flex; align-items: center; }
body { overflow-x: clip; }

/* ---------- guides (rehberler) ---------- */
.jc-steps { grid-area: text; margin: 4px 0 14px; padding-left: 1.25em; font-size: .95rem; color: var(--muted); }
.jc-steps li { margin-bottom: .4em; }
.jc-steps li::marker { color: var(--accent-2); font-weight: 700; }
.jc-steps strong { color: var(--text); font-weight: 600; }
@media (max-width: 480px) { .jc-steps { margin-top: 12px; } }

/* ---------- lists (listeler) ---------- */
.jc-groups { display: grid; gap: 26px; margin-bottom: 56px; }
.jc-group {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: start;
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 18px;
}
.jc-group-cover { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface-2); }
.jc-group-cover img { width: 100%; height: 100%; object-fit: cover; }
.jc-group h2 { font-size: 1.35rem; margin: 2px 0 6px; }
.jc-group > div > p { font-size: .95rem; color: var(--muted); margin: 0 0 14px; }
.jc-mini { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.jc-mini .jc-tile-name { font-size: .88rem; }
@media (max-width: 900px) { .jc-group { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .jc-group { padding: 14px; gap: 16px; }
  .jc-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- misc ---------- */
.jc-section-lede { margin-bottom: 0; }
.page-head.jc-plain { border: 0; margin-bottom: 0; padding-bottom: 0; }
.age-badge { white-space: nowrap; }
