/* Ceus Games — renkler yeni logodan (A Tutulma): kemik beyazi, sicak altin, koyu zemin */
@font-face { font-family: "Cinzel"; src: url("../fonts/Cinzel-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/AlegreyaSans-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/AlegreyaSans-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Alegreya Sans"; src: url("../fonts/AlegreyaSans-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --bg: #0b0a0f;
  --bg-2: #14121a;
  --line: #2a2631;
  --bone: #ece5d4;
  --muted: #a8a194;
  --gold: #c9a44e;
  --gold-hi: #e0bd67;
  --live: #6fb36a;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--bone);
  font: 400 18px/1.6 "Alegreya Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-hi); }

/* ---------- gezinme */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(16px, 4vw, 48px);
  transition: background .3s, padding .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav.solid { background: rgba(11, 10, 15, .92); backdrop-filter: blur(8px); padding-block: 10px; border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--bone); font: 700 18px/1 "Cinzel", serif; letter-spacing: .08em; }
.brand:hover { color: var(--bone); }
.nav nav { display: flex; align-items: center; gap: clamp(12px, 2.5vw, 28px); }
.nav nav a:not(.btn) { color: var(--bone); font-weight: 500; letter-spacing: .04em; }
.nav nav a:not(.btn):hover { color: var(--gold-hi); }

/* ---------- dugmeler */
.btn {
  display: inline-block; padding: 12px 26px;
  background: var(--gold); color: #17130a;
  font: 700 15px/1 "Alegreya Sans", sans-serif; letter-spacing: .12em; text-transform: uppercase;
  border: 1px solid var(--gold); border-radius: 2px;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--gold-hi); border-color: var(--gold-hi); color: #17130a; }
.btn-ghost { background: transparent; color: var(--bone); border-color: rgba(236, 229, 212, .5); }
.btn-ghost:hover { background: rgba(236, 229, 212, .08); color: var(--bone); border-color: var(--bone); }
.btn-small { padding: 9px 16px; font-size: 13px; }
.btn-disabled { background: transparent; color: var(--muted); border-color: var(--line); cursor: default; }
.btn-disabled:hover { background: transparent; color: var(--muted); border-color: var(--line); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- kahraman alani: uc oyunun sahneleri yavasca birbirine gecer */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; overflow: hidden; }
.hero-bg, .slide { position: absolute; inset: 0; }
.slide { background-size: cover; background-position: center; opacity: 0; animation: fade 21s infinite; transform: scale(1.04); }
.s1 { animation-delay: 0s; }
.s2 { animation-delay: 7s; }
.s3 { animation-delay: 14s; }
@keyframes fade {
  0%   { opacity: 0; transform: scale(1.04); }
  6%   { opacity: 1; }
  33%  { opacity: 1; }
  40%  { opacity: 0; transform: scale(1.0); }
  100% { opacity: 0; }
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(11, 10, 15, .55) 0%, rgba(11, 10, 15, .78) 55%, rgba(11, 10, 15, .95) 100%),
    linear-gradient(to bottom, rgba(11, 10, 15, .6) 0%, transparent 25%, transparent 70%, var(--bg) 100%);
}
.hero-content { position: relative; z-index: 1; text-align: center; padding: 120px 16px 80px; display: grid; justify-items: center; gap: 22px; }
.hero-logo { width: auto; height: min(46vh, 420px); filter: drop-shadow(0 8px 30px rgba(0, 0, 0, .6)); }
.tagline { margin: 0; color: var(--muted); font-size: 20px; letter-spacing: .32em; text-transform: uppercase; }
.hero .actions { justify-content: center; }
.scroll-hint {
  position: absolute; z-index: 1; bottom: 28px; left: 50%; width: 22px; height: 36px; margin-left: -11px;
  border: 2px solid rgba(236, 229, 212, .45); border-radius: 12px;
}
.scroll-hint::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px;
  background: var(--gold); border-radius: 2px; animation: hint 1.8s infinite;
}
@keyframes hint { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- bolumler */
section { padding: clamp(64px, 9vw, 120px) clamp(16px, 4vw, 48px); scroll-margin-top: 40px; }
.section-title {
  margin: 0 auto 48px; max-width: var(--max); text-align: center;
  font: 700 clamp(28px, 4vw, 40px)/1.1 "Cinzel", serif; letter-spacing: .1em; color: var(--bone);
}
.section-title::after { content: ""; display: block; width: 64px; height: 2px; margin: 18px auto 0; background: var(--gold); }

/* ---------- oyunlar */
.game {
  max-width: var(--max); margin: 0 auto 72px;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center;
}
.game:last-child { margin-bottom: 0; }
.game.reverse > :first-child { order: 2; }
.cover { width: 100%; height: auto; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(0, 0, 0, .55); transition: transform .3s, box-shadow .3s; }
.game a:hover .cover { transform: translateY(-3px); box-shadow: 0 24px 60px rgba(0, 0, 0, .7); }
.info h3 { margin: 10px 0 2px; font: 700 clamp(24px, 3vw, 32px)/1.15 "Cinzel", serif; letter-spacing: .04em; }
.genre { margin: 0 0 14px; color: var(--gold); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-size: 14px; }
.info p:not(.genre) { margin: 0 0 24px; color: #d8d1c0; }
.badge {
  display: inline-block; padding: 4px 10px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(201, 164, 78, .55); border-radius: 2px;
}
.badge-live { color: var(--live); border-color: rgba(111, 179, 106, .6); }

/* ---------- topluluk + iletisim */
.community { background: var(--bg-2); border-block: 1px solid var(--line); text-align: center; }
.community p, .contact p { max-width: 620px; margin: 0 auto 26px; color: #d8d1c0; }
.community .actions { justify-content: center; }
.contact { text-align: center; }
.mail { font: 700 clamp(20px, 3vw, 28px)/1.2 "Cinzel", serif; letter-spacing: .05em; }

/* ---------- alt bilgi */
.footer {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 22px;
  padding: 32px 16px 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px;
}
.footer .links { display: flex; gap: 18px; }
.footer .links a { color: var(--muted); }
.footer .links a:hover { color: var(--gold-hi); }

/* ---------- dar ekran */
@media (max-width: 760px) {
  body { font-size: 17px; }
  .nav nav a:not(.btn) { display: none; }
  .game, .game.reverse { grid-template-columns: 1fr; }
  .game.reverse > :first-child { order: 0; }
  .hero-logo { height: min(38vh, 300px); }
  .tagline { font-size: 15px; letter-spacing: .24em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide { animation: none; opacity: 0; transform: none; }
  .s1 { opacity: 1; }
  .scroll-hint::after { animation: none; }
}
