/* ===========================================================
   Artions Software — ads.swipix.photos
   Palet, oyun ikonlarindaki koyu kahve + altin tonundan turetildi
   =========================================================== */

:root {
  --bg:          #15100a;
  --bg-2:        #1d160d;
  --surface:     #241b11;
  --surface-2:   #2e2316;
  --line:        rgba(232, 180, 41, 0.14);
  --line-strong: rgba(232, 180, 41, 0.30);

  --gold:        #e8b429;
  --gold-soft:   #f3cd6a;
  --gold-deep:   #b8860f;

  --text:        #f5ecda;
  --text-dim:    #c9b896;
  --muted:       #9c8b70;

  --radius:      16px;
  --radius-lg:   24px;
  --maxw:        1140px;

  --shadow:      0 18px 50px rgba(0, 0, 0, 0.45);
  --shadow-sm:   0 6px 20px rgba(0, 0, 0, 0.30);

  --ease:        cubic-bezier(0.22, 1, 0.36, 1);

  --font: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto,
          "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* arka plan isiltisi */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 600px at 15% -5%,  rgba(232, 180, 41, 0.10), transparent 60%),
    radial-gradient(800px 600px at 90% 10%,  rgba(184, 134, 15, 0.08), transparent 60%),
    radial-gradient(700px 700px at 50% 100%, rgba(232, 180, 41, 0.05), transparent 65%);
  pointer-events: none;
}

/* ---------- yerlesim ---------- */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

section { padding: 96px 0; }

.section-head { max-width: 620px; margin-bottom: 48px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

h1, h2, h3 { line-height: 1.18; letter-spacing: -0.02em; font-weight: 700; }

h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
h3 { font-size: 20px; }

.lead { color: var(--text-dim); font-size: 17px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(21, 16, 10, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(21, 16, 10, 0.92);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 11px; font-weight: 700; letter-spacing: -0.01em; }
.brand-mark { width: 32px; height: 32px; flex: none; }
.brand-name { font-size: 16px; }
.brand-name span { color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-size: 14.5px;
  color: var(--text-dim);
  transition: color 0.2s;
  position: relative;
}
.nav-links a:hover { color: var(--text); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 0; height: 1.5px;
  background: var(--gold);
  transition: width 0.25s var(--ease);
}
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  width: 40px; height: 38px;
  cursor: pointer;
  color: var(--text);
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

/* ---------- butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 11px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #241b11;
  box-shadow: 0 8px 24px rgba(232, 180, 41, 0.22);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(232, 180, 41, 0.32); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover { background: rgba(232, 180, 41, 0.08); border-color: var(--gold); transform: translateY(-2px); }

/* ---------- hero ---------- */
.hero { padding: 92px 0 84px; position: relative; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 64px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(36px, 5.6vw, 60px);
  margin-bottom: 22px;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-text { font-size: 18px; color: var(--text-dim); max-width: 520px; margin-bottom: 34px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }

.badge-row { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 999px;
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }

/* hero gorsel yigini */
.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
}
.hero-art .glow {
  position: absolute;
  width: 330px; height: 330px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 180, 41, 0.22), transparent 68%);
  filter: blur(26px);
}
.hero-art .tile {
  position: absolute;
  width: 184px;
  border-radius: 30px;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  overflow: hidden;
  background: var(--surface);
  transition: transform 0.45s var(--ease);
}
.hero-art .tile-a { transform: translate(-72px, -26px) rotate(-8deg); }
.hero-art .tile-b { transform: translate(78px, 34px) rotate(7deg); }
.hero-art:hover .tile-a { transform: translate(-86px, -34px) rotate(-11deg); }
.hero-art:hover .tile-b { transform: translate(92px, 42px) rotate(10deg); }

/* ---------- oyun kartlari ---------- */
.games { display: grid; gap: 28px; }

.game-card {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: center;
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.game-card::after {
  content: "";
  position: absolute;
  top: -40%; right: -10%;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(232, 180, 41, 0.09), transparent 70%);
  pointer-events: none;
}
.game-card:hover { border-color: var(--line-strong); transform: translateY(-3px); }

.game-head { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.game-icon {
  width: 76px; height: 76px;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
  flex: none;
}
.game-title { font-size: clamp(22px, 3vw, 28px); margin-bottom: 6px; }
.game-genre { font-size: 13.5px; color: var(--gold); font-weight: 600; }

.game-desc { color: var(--text-dim); margin-bottom: 20px; max-width: 540px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.tag {
  font-size: 12px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  padding: 5px 12px;
  border-radius: 7px;
}

.store-row { display: flex; flex-wrap: wrap; gap: 12px; }

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 10px 20px 10px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-strong);
  transition: background 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.store-btn:hover { background: rgba(232, 180, 41, 0.10); border-color: var(--gold); transform: translateY(-2px); }
.store-btn svg { width: 24px; height: 24px; flex: none; fill: var(--text); }
.store-btn .st { display: flex; flex-direction: column; line-height: 1.25; }
.store-btn .st small { font-size: 10.5px; color: var(--muted); letter-spacing: 0.03em; }
.store-btn .st strong { font-size: 14.5px; font-weight: 600; }

/* ekran goruntuleri */
.shots { display: flex; gap: 14px; justify-content: center; }
.shots img {
  width: 142px;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease);
}
.shots img:first-child  { transform: rotate(-3deg); }
.shots img:last-child   { transform: rotate(3deg) translateY(12px); }
.game-card:hover .shots img:first-child { transform: rotate(-5deg) translateY(-6px); }
.game-card:hover .shots img:last-child  { transform: rotate(5deg) translateY(6px); }

/* ---------- iletisim ---------- */
.contact-card {
  background: linear-gradient(150deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: "";
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 620px; height: 420px;
  background: radial-gradient(ellipse, rgba(232, 180, 41, 0.12), transparent 70%);
  pointer-events: none;
}
.contact-card h2 { margin-bottom: 12px; }
.contact-card .lead { margin: 0 auto 30px; max-width: 520px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px 0 36px;
  margin-top: 40px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 26px; }
.footer-links a { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- gorunurluk animasyonu ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- duyarli ---------- */
@media (max-width: 980px) {
  section { padding: 72px 0; }
  .hero { padding: 64px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-text { max-width: none; }
  .hero-art { min-height: 320px; order: -1; }
  .game-card { grid-template-columns: 1fr; gap: 32px; padding: 30px; }
  .shots { order: -1; }

  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(21, 16, 10, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 18px;
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-links .btn { margin-top: 14px; justify-content: center; }
}

@media (max-width: 560px) {
  .wrap { padding-inline: 18px; }
  section { padding: 56px 0; }
  .contact-card { padding: 40px 24px; }
  .game-card { padding: 24px; }
  .game-head { gap: 14px; }
  .game-icon { width: 60px; height: 60px; border-radius: 14px; }
  .shots img { width: 120px; }
  .hero-art .tile { width: 150px; }
  .store-row .store-btn { flex: 1 1 100%; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* erisilebilirlik */
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  background: var(--gold);
  color: #241b11;
  padding: 10px 18px;
  border-radius: 8px;
  z-index: 100;
  font-weight: 600;
}
.skip-link:focus { left: 16px; }
