/*
Theme Name: NextRound
Theme URI: https://nextround.com.tr
Author: Batu Sezer
Description: GTA 6 merkezli modern oyun haberleri sitesi için özel WordPress teması.
Version: 1.0.7
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Text Domain: nextround
*/

:root {
  --bg: #07080d;
  --panel: #10131d;
  --panel-2: #171b27;
  --ink: #f4f7fb;
  --muted: #a8b0bf;
  --line: rgba(244, 247, 251, 0.12);
  --cyan: #4de7ff;
  --pink: #ff4fb8;
  --orange: #ff9b54;
  --green: #a6ff6c;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: -28px;
  z-index: -2;
  background:
    linear-gradient(rgba(7, 8, 13, 0.68), rgba(7, 8, 13, 0.82)),
    url("https://www.rockstargames.com/VI/_next/static/media/Jason_and_Lucia_02_landscape.0cosv-uzbpt91.jpg?akim=1&imdensity=1&imwidth=3840") center center / cover no-repeat;
  filter: blur(18px);
  transform: scale(1.04);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 79, 184, 0.18), transparent 28rem),
    radial-gradient(circle at 82% 8%, rgba(77, 231, 255, 0.16), transparent 26rem),
    rgba(7, 8, 13, 0.34);
}

body.admin-bar .site-header {
  top: 32px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 74px;
  padding: 16px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 8, 13, 0.82);
  backdrop-filter: blur(18px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.logo-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(77, 231, 255, 0.5);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(77, 231, 255, 0.18), rgba(255, 79, 184, 0.2));
  color: var(--cyan);
  font-size: 13px;
}

.nav,
.nav ul {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 3vw, 36px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.nav a:hover,
.text-link:hover {
  color: var(--cyan);
}

.header-cta,
.button,
.newsletter-form button,
.comment-form .submit,
.search-submit {
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.header-cta {
  padding: 12px 16px;
  background: var(--ink);
  color: var(--bg);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: stretch;
  min-height: calc(100vh - 74px);
  padding: clamp(48px, 8vw, 104px) clamp(18px, 4vw, 56px);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 920px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(54px, 8vw, 116px);
  line-height: 0.9;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
}

.button.primary {
  background: linear-gradient(135deg, var(--pink), var(--orange));
  color: #080910;
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink);
}

.hero-panel,
.news-card,
.hub-main,
.stat-card,
.map-shell,
.game-list article,
.newsletter,
.content-card,
.sidebar-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 19, 29, 0.78);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
}

.hero-panel {
  position: relative;
  overflow: hidden;
  min-height: 560px;
}

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

.panel-overlay {
  position: absolute;
  inset: auto 18px 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(7, 8, 13, 0.78);
  backdrop-filter: blur(16px);
}

.panel-overlay span,
.card-topline,
.news-card span,
.game-list span,
.map-info span,
.post-meta {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.panel-overlay strong {
  display: block;
  margin: 10px 0;
  font-size: 34px;
  line-height: 1;
  text-transform: uppercase;
}

.panel-overlay p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: #0d1018;
  contain: paint;
}

.ticker div {
  display: flex;
  width: max-content;
  gap: 42px;
  padding: 16px 0;
  animation: ticker 24s linear infinite;
}

.ticker span {
  color: var(--ink);
  font-size: clamp(18px, 3vw, 38px);
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker span::after {
  content: "/";
  margin-left: 42px;
  color: var(--pink);
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

.section-pad {
  padding: clamp(56px, 8vw, 104px) clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}

.section-kicker {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hub-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.45fr) minmax(220px, 0.45fr);
  gap: 16px;
}

.hub-main,
.stat-card {
  padding: clamp(22px, 4vw, 38px);
}

.card-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 70px;
}

.hub-main h2,
.section-heading h2,
.newsletter h2 {
  margin-bottom: 18px;
  font-size: clamp(40px, 6vw, 86px);
  line-height: 0.94;
  text-transform: uppercase;
}

.hub-main p,
.section-heading p,
.news-card p,
.game-list p,
.content-card p,
.single-content,
.archive-description {
  color: var(--muted);
  line-height: 1.6;
}

.stat-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(135deg, rgba(77, 231, 255, 0.16), transparent),
    var(--panel);
}

.stat-card.violet {
  background:
    linear-gradient(135deg, rgba(255, 79, 184, 0.18), transparent),
    var(--panel);
}

.stat-card strong {
  font-size: clamp(42px, 6vw, 70px);
  line-height: 0.9;
  text-transform: uppercase;
}

.stat-card span {
  color: var(--muted);
  font-weight: 800;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-heading p {
  max-width: 520px;
  margin-bottom: 0;
}

.map-shell {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  max-width: 1180px;
  margin: 0 auto;
}

.map-toolbar {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.map-filter {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.map-filter.active {
  border-color: rgba(77, 231, 255, 0.5);
  background: rgba(77, 231, 255, 0.12);
  color: var(--cyan);
}

.map-stage {
  position: relative;
  height: 620px;
  min-height: 620px;
  overflow: hidden;
  background: #090b12;
  cursor: grab;
  user-select: none;
  touch-action: none;
}

.map-stage.is-dragging {
  cursor: grabbing;
}

.map-canvas {
  position: absolute;
  inset: 0;
  transform: translate(var(--map-pan-x, 0px), var(--map-pan-y, 0px)) scale(var(--map-zoom, 1));
  transform-origin: center center;
  transition: transform 160ms ease;
}

.map-stage.is-dragging .map-canvas {
  transition: none;
}

.map-stage img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.map-pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  display: none;
  width: 22px;
  height: 22px;
  border: 3px solid #07080d;
  border-radius: 999px;
  background: var(--green);
  cursor: pointer;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 8px rgba(166, 255, 108, 0.16), 0 0 28px rgba(166, 255, 108, 0.48);
}

.map-pin.active {
  display: block;
}

.map-pin.media {
  background: var(--pink);
  box-shadow: 0 0 0 8px rgba(255, 79, 184, 0.16), 0 0 28px rgba(255, 79, 184, 0.45);
}

.map-pin.activity {
  background: var(--cyan);
  box-shadow: 0 0 0 8px rgba(77, 231, 255, 0.14), 0 0 28px rgba(77, 231, 255, 0.4);
}

.map-pin.story {
  background: var(--orange);
  box-shadow: 0 0 0 8px rgba(255, 155, 84, 0.15), 0 0 28px rgba(255, 155, 84, 0.42);
}

.map-pin.selected {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.map-info {
  padding: 24px;
  border-left: 1px solid var(--line);
  background: rgba(7, 8, 13, 0.55);
}

.map-info h3 {
  margin: 14px 0;
  font-size: 34px;
  line-height: 1;
  text-transform: uppercase;
}

.map-info p {
  color: var(--muted);
  line-height: 1.6;
}

.map-info-meta {
  display: inline-flex;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 10px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.map-info-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: cover;
}

.map-info-image[hidden],
.map-info-link[hidden] {
  display: none;
}

.map-info-link {
  margin-top: 14px;
}

.nextround-map-embed {
  width: 100%;
  max-width: 1180px;
  height: 620px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #07080d;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.nextround-map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-preview {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
  background: #07080d;
}

.map-preview img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  opacity: 0.58;
  filter: saturate(1.25) contrast(1.08);
}

.map-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 24% 22%, rgba(77, 231, 255, 0.22), transparent 26rem),
    linear-gradient(90deg, rgba(7, 8, 13, 0.92), rgba(7, 8, 13, 0.48));
}

.map-preview-copy {
  position: absolute;
  left: clamp(20px, 5vw, 64px);
  bottom: clamp(20px, 5vw, 58px);
  z-index: 1;
  max-width: 560px;
}

.map-preview-copy span {
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.map-preview-copy h3 {
  margin: 12px 0;
  font-size: clamp(34px, 5vw, 72px);
  line-height: 0.94;
  text-transform: uppercase;
}

.map-preview-copy p {
  color: var(--muted);
  line-height: 1.6;
}

.map-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.news-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
}

.news-card {
  overflow: hidden;
  padding: 22px;
}

.featured-news {
  grid-row: span 3;
  padding: 0;
}

.featured-news img,
.news-card .post-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.featured-news div {
  padding: 24px;
}

.news-card h3 {
  margin: 14px 0;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1;
}

.news-card p {
  margin-bottom: 0;
}

.game-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.game-list article {
  min-height: 260px;
  padding: 24px;
}

.game-list h3 {
  margin: 80px 0 14px;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 28px;
  align-items: end;
  margin: clamp(56px, 8vw, 104px) clamp(18px, 4vw, 56px);
  padding: clamp(26px, 5vw, 48px);
  background:
    linear-gradient(135deg, rgba(255, 79, 184, 0.15), rgba(77, 231, 255, 0.08)),
    var(--panel);
}

.newsletter-form,
.search-form {
  display: grid;
  gap: 12px;
}

.newsletter-form label {
  display: grid;
  gap: 8px;
}

.newsletter-form label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.newsletter-form input,
.search-field,
.comment-form input,
.comment-form textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  outline: 0;
  padding: 0 16px;
}

.comment-form textarea {
  min-height: 180px;
  padding-top: 16px;
}

.newsletter-form input:focus,
.search-field:focus,
.comment-form input:focus,
.comment-form textarea:focus {
  border-color: rgba(77, 231, 255, 0.65);
}

.newsletter-form button,
.comment-form .submit,
.search-submit {
  min-height: 52px;
  background: var(--cyan);
  color: #061015;
}

.page-hero {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  max-width: 980px;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  padding: clamp(40px, 6vw, 78px) clamp(18px, 4vw, 56px);
}

.content-list {
  display: grid;
  gap: 18px;
}

.content-card {
  overflow: hidden;
  padding: 24px;
}

.content-card.has-image {
  padding: 0;
}

.content-card.has-image .card-body {
  padding: 24px;
}

.content-card h2,
.content-card h3 {
  margin: 12px 0;
  font-size: clamp(28px, 4vw, 54px);
  line-height: 0.98;
}

.single-content {
  font-size: 18px;
}

.single-content a {
  color: var(--cyan);
}

.single-content img {
  border-radius: var(--radius);
}

.sidebar {
  display: grid;
  align-content: start;
  gap: 18px;
}

.sidebar-card {
  padding: 22px;
}

.sidebar-card h2,
.sidebar-card h3 {
  margin-bottom: 16px;
  font-size: 20px;
  text-transform: uppercase;
}

.sidebar-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-card li,
.sidebar-card a {
  color: var(--muted);
}

.comment-list,
.comment-list ol {
  display: grid;
  gap: 14px;
  color: var(--muted);
}

.comment-list article {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.post-navigation,
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.post-navigation a,
.pagination a,
.pagination span {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--ink);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(18px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  text-transform: uppercase;
}

.site-footer p {
  max-width: 680px;
  margin-bottom: 0;
  line-height: 1.5;
}

@media (max-width: 1040px) {
  .hero,
  .hub-grid,
  .map-shell,
  .newsletter,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    min-height: 420px;
  }

  .map-info {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .featured-news {
    grid-row: auto;
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    grid-column: 1 / -1;
    justify-content: start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .header-cta {
    justify-self: end;
  }

  h1 {
    font-size: 46px;
  }

  .hub-main h2,
  .section-heading h2,
  .newsletter h2 {
    font-size: 38px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .map-stage,
  .map-stage img {
    height: 430px;
    min-height: 430px;
  }

  .nextround-map-embed {
    height: 430px;
  }

  .game-list {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
