
/* ── HERO SLIDER ── */
.hero-slider {
  position: relative;
  width: 100%; height: 580px;
  overflow: hidden; background: #000;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: all;
}
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 20%;
  display: block; filter: brightness(0.75);
}
.slider-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; font-size: 32px; width: 48px; height: 48px;
  border-radius: 50%; cursor: pointer; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}
.slider-btn:hover { background: rgba(0,0,0,0.7); }
.slider-prev { left: 1.5rem; }
.slider-next { right: 1.5rem; }
.slider-dots {
  position: absolute; bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.slider-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.35); cursor: pointer;
  transition: all 0.3s;
}
.slider-dot.active { background: var(--accent); width: 24px; border-radius: 4px; }
.slider-pause {
  position: absolute; bottom: 1.4rem; right: 1.5rem;
  background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6); font-size: 10px;
  width: 28px; height: 28px; border-radius: 4px;
  cursor: pointer; z-index: 10;
  display: flex; align-items: center; justify-content: center;
}
/* =====================
   MAGEPUNK GAMES - CSS
   ===================== */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:       #0a0a0a;
  --bg2:      #111;
  --bg3:      #1a1a1a;
  --accent:   #e8c84a;
  --accent2:  #c8a820;
  --purple:   #534AB7;
  --text:     #fff;
  --muted:    rgba(255,255,255,0.5);
  --border:   rgba(255,255,255,0.08);
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* ── NAV ── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 56px;
  background: rgba(10,10,10,0.97);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-icon {
  
  background: var(--purple);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.nav-logo-icon svg { width: 16px; height: 16px; fill: #fff; }
.nav-logo-text { font-size: 14px; font-weight: 700; letter-spacing: 0.5px; color: #fff; }
.nav-center { display: flex; }
.nav-center a {
  font-size: 11px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--muted);
  padding: 0 16px; height: 56px;
  display: flex; align-items: center;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.nav-center a:hover, .nav-center a.active { color: #fff; border-bottom-color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.btn-launcher {
  font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 8px 18px; border-radius: 3px;
  background: var(--accent); color: #000;
  border: none; cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}
.btn-launcher:hover { background: var(--accent2); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 3px;
  background: var(--accent); color: #000;
  border: none; font-size: 12px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  cursor: pointer; text-decoration: none;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--accent2); }
.btn-primary svg { width: 14px; height: 14px; fill: #000; }

.btn-ghost {
  display: inline-flex; align-items: center;
  padding: 12px 24px; border-radius: 3px;
  background: rgba(255,255,255,0.08); color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 12px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  cursor: pointer; text-decoration: none;
  transition: all 0.2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.15); }

/* ── HERO (Ana Sayfa) ── */
.hero {
  position: relative;
  width: 100%; height: 580px;
  overflow: hidden; background: #000;
}
.hero img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 20%;
  display: block; filter: brightness(0.75);
}
.hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,1) 0%, rgba(10,10,10,0.3) 40%, transparent 70%);
}
.hero-gradient2 {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(10,10,10,0.6) 0%, transparent 50%);
}
.hero-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 2.5rem 2.5rem 3rem;
}
.hero-eyebrow {
  font-size: 11px; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 6px;
}
.hero-title {
  font-size: 58px; font-weight: 700;
  line-height: 1; letter-spacing: -2px;
  color: #fff; margin-bottom: 1rem;
}
.hero-title span { color: var(--accent); }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── SECTIONS ── */
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem;
}
.section-label {
  font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted);
}
.section-all {
  font-size: 11px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--accent); cursor: pointer;
  background: none; border: none; text-decoration: none;
}
.section-all:hover { color: var(--accent2); }

/* ── GAMES ROW ── */
.games-row {
  padding: 2.5rem 0 2.5rem 2.5rem;
  border-bottom: 1px solid var(--border);
}
.games-row .section-header { padding-right: 2.5rem; }
.games-scroll {
  display: flex; gap: 12px;
  overflow-x: auto; padding-bottom: 8px; padding-right: 2.5rem;
  scrollbar-width: none;
}
.games-scroll::-webkit-scrollbar { display: none; }
.game-thumb {
  flex-shrink: 0; width: 260px;
  cursor: pointer; border-radius: 4px; overflow: hidden;
  border: 1px solid var(--border); background: var(--bg2);
  transition: transform 0.2s, border-color 0.2s;
  text-decoration: none; display: block;
}
.game-thumb:hover { transform: translateY(-3px); border-color: rgba(255,255,255,0.2); }
.game-thumb-img { width: 100%; height: 150px; object-fit: cover; display: block; }
.game-thumb-placeholder {
  width: 100%; height: 150px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg3);
}
.game-thumb-info { padding: 12px 14px; }
.game-thumb-tag {
  font-size: 9px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 5px;
}
.game-thumb-name { font-size: 14px; font-weight: 600; color: #fff; }
.game-thumb-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ── NEWSWIRE ── */
.newswire { padding: 0 2.5rem; }
.newswire-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 2rem 0 1.5rem;
}
.news-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background: var(--border);
  border: 1px solid var(--border);
  border-radius: 4px; overflow: hidden;
  margin-bottom: 2.5rem;
}
.news-card {
  background: var(--bg2); padding: 1.5rem;
  cursor: pointer; transition: background 0.2s;
  display: flex; gap: 14px; text-decoration: none;
}
.news-card:hover { background: var(--bg3); }
.news-card-img {
  width: 80px; height: 60px; border-radius: 3px;
  object-fit: cover; flex-shrink: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.news-card-img img { width: 100%; height: 100%; object-fit: cover; }
.news-card-tag {
  font-size: 9px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 5px;
}
.news-card-title { font-size: 13px; font-weight: 600; color: #fff; line-height: 1.4; margin-bottom: 4px; }
.news-card-date { font-size: 11px; color: var(--muted); }

/* ── ABOUT STRIP ── */
.about-strip {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-left { padding: 3rem 2.5rem; border-right: 1px solid var(--border); }
.about-right { padding: 3rem 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.about-eyebrow {
  font-size: 9px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem;
}
.about-title { font-size: 28px; font-weight: 700; letter-spacing: -0.5px; color: #fff; line-height: 1.2; margin-bottom: 1rem; }
.about-text { font-size: 13px; color: var(--muted); line-height: 1.8; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.stat-num { font-size: 32px; font-weight: 700; color: var(--accent); letter-spacing: -1px; }
.stat-label { font-size: 11px; color: var(--muted); margin-top: 3px; }

/* ── GAME DETAIL PAGE ── */
.game-hero {
  position: relative; width: 100%; height: 480px;
  overflow: hidden; background: #000;
}
.game-hero img {
  width: 100%; height: 100%;
  object-fit: cover; filter: brightness(0.6);
}
.game-hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,1) 0%, transparent 60%);
}
.game-hero-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 2.5rem;
}
.game-detail-body { max-width: 900px; margin: 0 auto; padding: 3rem 2.5rem; }
.game-detail-grid { display: grid; grid-template-columns: 1fr 300px; gap: 3rem; }
.game-detail-title { font-size: 42px; font-weight: 700; letter-spacing: -1px; margin-bottom: 0.5rem; }
.game-detail-subtitle { font-size: 14px; color: var(--muted); margin-bottom: 2rem; line-height: 1.7; }
.game-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 2rem; }
.game-tag {
  font-size: 11px; padding: 5px 12px; border-radius: 3px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.08);
}
.game-detail-actions { display: flex; gap: 10px; margin-bottom: 3rem; }
.game-info-box {
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 4px; padding: 1.5rem;
}
.game-info-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: 12px;
}
.game-info-row:last-child { border-bottom: none; }
.game-info-label { color: var(--muted); }
.game-info-value { color: #fff; font-weight: 600; }
.status-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; padding: 4px 10px; border-radius: 3px;
  background: rgba(83,74,183,0.15); color: #AFA9EC;
  border: 1px solid rgba(83,74,183,0.3);
  letter-spacing: 0.5px; text-transform: uppercase;
}
.status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--purple);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* ── FOOTER ── */
footer {
  padding: 2rem 2.5rem;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-logo { font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.3); }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links a {
  font-size: 11px; color: rgba(255,255,255,0.25);
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.6); }
.footer-ssl { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #5DCAA5; }
.footer-ssl svg { width: 12px; height: 12px; fill: #5DCAA5; }

/* ── MODAL ── */
.overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.85); z-index: 500;
  align-items: center; justify-content: center; padding: 2rem;
}
.overlay.active { display: flex; }
.modal {
  background: #141414; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px; max-width: 460px; width: 100%;
  padding: 2rem; position: relative; max-height: 90vh; overflow-y: auto;
}
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: rgba(255,255,255,0.06); border: none;
  color: #fff; width: 28px; height: 28px;
  border-radius: 50%; cursor: pointer; font-size: 13px;
}
.modal-close:hover { background: rgba(255,255,255,0.15); }
.modal-tag {
  font-size: 9px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.75rem;
}
.modal-title { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.modal-sub { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 1.5rem; }
.modal input {
  width: 100%; padding: 10px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 3px; color: #fff; font-size: 13px;
  margin-bottom: 10px; outline: none; font-family: inherit;
}
.modal input:focus { border-color: var(--accent); }
.modal input::placeholder { color: rgba(255,255,255,0.2); }
.modal-btn {
  width: 100%; padding: 12px; border-radius: 3px;
  background: var(--accent); color: #000; border: none;
  font-size: 12px; cursor: pointer; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  transition: background 0.2s;
}
.modal-btn:hover { background: var(--accent2); }
.modal-success { display: none; text-align: center; padding: 1rem 0; }
.modal-success .icon { font-size: 40px; margin-bottom: 1rem; }
.modal-success p { font-size: 14px; color: #5DCAA5; line-height: 1.6; }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #1c1c1c; border: 1px solid rgba(255,255,255,0.1);
  color: #fff; padding: 12px 24px; border-radius: 3px;
  font-size: 12px; font-weight: 500; z-index: 1000;
  opacity: 0; transition: all 0.3s; pointer-events: none;
  white-space: nowrap;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ── MOBİL RESPONSIVE ── */
@media (max-width: 768px) {

  /* Navbar */
  nav {
    padding: 0 1rem;
    height: 52px;
    gap: 8px;
  }
  .nav-logo-text {
    font-size: 11px;
    white-space: nowrap;
  }
  .nav-center a {
    font-size: 10px;
    padding: 0 8px;
    letter-spacing: 0.5px;
    height: 52px;
  }
  .btn-launcher {
    font-size: 10px;
    padding: 7px 10px;
    letter-spacing: 0.5px;
    white-space: nowrap;
  }

  /* Hero Slider */
  .hero-slider {
    width: 100vw;
    height: 100vw;
    max-height: 520px;
  }
  .hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
  .hero-content {
    padding: 1.5rem 1.2rem 2rem;
  }
  .hero-title {
    font-size: 38px;
    letter-spacing: -1px;
  }
  .hero-eyebrow {
    font-size: 9px;
    letter-spacing: 2px;
  }
  .hero-actions {
    gap: 8px;
  }
  .btn-primary, .btn-ghost {
    padding: 10px 16px;
    font-size: 11px;
  }
  .slider-btn {
    width: 36px;
    height: 36px;
    font-size: 24px;
  }
  .slider-prev { left: 0.75rem; }
  .slider-next { right: 0.75rem; }

  /* Games Row */
  .games-row {
    padding: 1.5rem 0 1.5rem 1rem;
  }
  .games-row .section-header {
    padding-right: 1rem;
  }
  .games-scroll {
    padding-right: 1rem;
    gap: 10px;
  }
  .game-thumb {
    width: 200px;
  }
  .game-thumb-img {
    height: 120px;
  }

  /* Newswire */
  .newswire {
    padding: 0 1rem;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .news-card {
    padding: 1rem;
  }

  /* About - tek kolon */
  .about-strip {
    grid-template-columns: 1fr;
  }
  .about-left {
    padding: 2rem 1rem;
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .about-right {
    padding: 2rem 1rem;
  }
  .about-title {
    font-size: 22px;
  }

  /* Footer */
  footer {
    padding: 1.5rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .footer-links {
    gap: 12px;
  }

  /* Game Detail Page */
  .game-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .game-hero {
    height: 280px;
  }
  .game-detail-body {
    padding: 2rem 1rem;
  }
  .game-detail-title {
    font-size: 28px;
  }
  .game-detail-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 400px) {
  .nav-center a:nth-child(3),
  .nav-center a:nth-child(4) {
    display: none;
  }
  .hero-title {
    font-size: 30px;
  }
}
