/*
Theme Name: Benim Oyun Temam
Author: Ben
Version: 1.0
Description: Renkli oyun stüdyosu ana sayfa teması.
*/

* {
  box-sizing: border-box;
}

:root {
  --bg: #07111f;
  --panel: #101c31;
  --panel-2: #172844;
  --text: #ffffff;
  --muted: #a9b8d6;
  --yellow: #ffd43b;
  --cyan: #35d7ff;
  --pink: #ff4fd8;
  --green: #46f28d;
  --orange: #ff9f1c;
  --border: rgba(255, 255, 255, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 10%, rgba(53, 215, 255, 0.22), transparent 28%),
    radial-gradient(circle at 80% 0%, rgba(255, 79, 216, 0.18), transparent 24%),
    linear-gradient(180deg, #081225 0%, #07111f 52%, #0a1320 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 17, 31, 0.82);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
  font-size: 24px;
  letter-spacing: 0;
}

.logo-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #07111f;
  background: linear-gradient(135deg, var(--yellow), var(--cyan));
  box-shadow: 0 10px 28px rgba(53, 215, 255, 0.28);
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.sign-in {
  padding: 11px 18px;
  border-radius: 999px;
  color: #07111f;
  background: var(--yellow);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(255, 212, 59, 0.22);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 54px;
}

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 48px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 8px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero h1 span {
  color: var(--yellow);
}

.hero p {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 21px;
  line-height: 1.55;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
}

.btn-primary {
  color: #07111f;
  background: var(--yellow);
}

.btn-secondary {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
}

.hero-card {
  position: relative;
  min-height: 430px;
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(255, 212, 59, 0.95), rgba(255, 79, 216, 0.84) 48%, rgba(53, 215, 255, 0.92));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.36);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 22px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.16) 2px, transparent 2px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 2px, transparent 2px);
  background-size: 34px 34px;
  opacity: 0.7;
}

.character {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  width: 250px;
  height: 250px;
  border-radius: 46px;
  background: #ffffff;
  box-shadow: 0 18px 0 rgba(7, 17, 31, 0.18);
}

.character::before,
.character::after {
  content: "";
  position: absolute;
  top: 84px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #07111f;
}

.character::before {
  left: 58px;
}

.character::after {
  right: 58px;
}

.mouth {
  position: absolute;
  left: 50%;
  top: 148px;
  width: 88px;
  height: 38px;
  transform: translateX(-50%);
  border-radius: 0 0 999px 999px;
  background: #07111f;
}

.section {
  padding: 64px 0;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
}

.section-title p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.game-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: var(--panel);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.game-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 212, 59, 0.55);
}

.game-art {
  min-height: 210px;
  display: grid;
  place-items: center;
  font-size: 64px;
  font-weight: 900;
}

.game-card:nth-child(1) .game-art {
  background: linear-gradient(135deg, #35d7ff, #246bfe);
}

.game-card:nth-child(2) .game-art {
  background: linear-gradient(135deg, #ff4fd8, #8b5cf6);
}

.game-card:nth-child(3) .game-art {
  background: linear-gradient(135deg, #46f28d, #ffd43b);
}

.game-body {
  padding: 20px;
}

.game-body h3 {
  margin: 0 0 8px;
  font-size: 24px;
}

.game-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.news-panel {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 22px;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--panel), var(--panel-2));
}

.news-cover {
  min-height: 330px;
  display: grid;
  place-items: center;
  padding: 30px;
  color: #07111f;
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  font-size: 76px;
  font-weight: 900;
}

.news-content {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.badge {
  width: max-content;
  margin-bottom: 14px;
  padding: 7px 11px;
  border-radius: 999px;
  color: #07111f;
  background: var(--green);
  font-weight: 900;
  font-size: 13px;
}

.news-content h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1;
}

.news-content p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
}

.stat strong {
  display: block;
  font-size: 38px;
  line-height: 1;
  color: var(--yellow);
}

.stat span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 700;
}

.community {
  border-radius: 30px;
  padding: 44px;
  background:
    linear-gradient(135deg, rgba(53, 215, 255, 0.20), rgba(255, 79, 216, 0.20)),
    var(--panel);
  border: 1px solid var(--border);
  text-align: center;
}

.community h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
}

.community p {
  margin: 16px auto 0;
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.socials {
  margin-top: 26px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.socials a {
  min-width: 118px;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid var(--border);
  font-weight: 900;
}

.site-footer {
  margin-top: 40px;
  padding: 34px 0;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero-grid,
  .news-panel {
    grid-template-columns: 1fr;
  }

  .hero-card {
    min-height: 360px;
  }

  .games-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .section-title {
    display: block;
  }

  .section-title p {
    margin-top: 12px;
  }

  .community {
    padding: 32px 18px;
  }
}