/* Grimmellow Games — site styles. Colors match the CINDER menus. */

@font-face { font-family: "Inter"; src: url("fonts/inter-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-extrabold.woff") format("woff"); font-weight: 800; font-display: swap; }

:root {
  --bg: #0d0d0f;
  --panel: #151518;
  --line: #2b2b31;
  --text: #e8e6e3;
  --muted: #a3a09a;
  --red: #e24b4a;
  --ember: #ff8a3d;
  --wrap: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* Header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(13, 13, 15, .9); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.brand { color: var(--text); font-weight: 800; font-size: 15px; letter-spacing: .28em; text-transform: uppercase; }
.brand:hover { color: #fff; text-decoration: none; }
.nav { display: flex; flex-wrap: wrap; gap: 2px 22px; }
.nav a { color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 6px 0; }
.nav a:hover { color: var(--text); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--red); }

/* Hero */
.hero { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: 64px 20px 72px; }
.hero-bg { position: absolute; inset: -40px; z-index: -2; background: #000 url("img/kapak.jpg") center 40% / cover no-repeat; filter: blur(7px) brightness(.38); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 55% 50% at 50% 40%, rgba(226, 75, 74, .14), transparent 70%), linear-gradient(180deg, transparent 55%, var(--bg)); }
.hero-logo { width: min(400px, 80vw); margin: 0 auto 18px; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .85)); }
.tagline { margin: 0 auto 28px; max-width: 720px; font-size: clamp(17px, 2.4vw, 21px); letter-spacing: .02em; color: #f2f0ec; text-shadow: 0 2px 12px rgba(0, 0, 0, .8); }
.pill {
  display: inline-block; padding: 14px 34px; border: 2px solid #fff; border-radius: 999px;
  color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; background: rgba(0, 0, 0, .25);
}
a.pill:hover { background: var(--red); border-color: var(--red); text-decoration: none; }

.embers { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.embers i { position: absolute; bottom: 0; width: 3px; height: 3px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 8px 2px rgba(255, 138, 61, .6); opacity: 0; animation: rise 10s linear infinite; }
.embers i:nth-child(1) { left: 10%; animation-delay: 0s; }
.embers i:nth-child(2) { left: 24%; animation-delay: 3s; animation-duration: 8s; }
.embers i:nth-child(3) { left: 41%; animation-delay: 6s; animation-duration: 12s; }
.embers i:nth-child(4) { left: 60%; animation-delay: 1.5s; animation-duration: 9s; }
.embers i:nth-child(5) { left: 76%; animation-delay: 4.5s; animation-duration: 11s; }
.embers i:nth-child(6) { left: 90%; animation-delay: 7s; }
@keyframes rise { 0% { transform: translate(0, 0); opacity: 0; } 12% { opacity: .9; } 100% { transform: translate(30px, -520px); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .embers { display: none; } }

/* Sections */
.sec { padding: 56px 0; text-align: center; }
.title { display: inline-block; margin: 0 0 30px; padding-bottom: 12px; color: var(--red); font-size: 15px; font-weight: 700; letter-spacing: .4em; text-transform: uppercase; background: linear-gradient(var(--red), var(--red)) center bottom / 60px 3px no-repeat; }
.story { max-width: 820px; margin: 0 auto; font-size: 18px; color: #d9d6d1; }

.video { max-width: 880px; margin: 0 auto; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #000; }
.video iframe { width: 100%; height: 100%; border: 0; display: block; }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shots a { display: block; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #000; }
.shots img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .35s ease; }
.shots a:hover img { transform: scale(1.04); }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 24px 16px; }
.card h3 { margin: 0 0 4px; font-size: 19px; color: #fff; }
.card p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.5; }

/* Text pages (support, privacy, terms) */
.head { padding: 56px 0 28px; text-align: center; border-bottom: 1px solid var(--line); }
.head h1 { margin: 0 0 8px; font-size: clamp(30px, 5vw, 44px); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #fff; }
.head p { margin: 0; color: var(--muted); font-size: 15px; }
.doc { max-width: 780px; margin: 0 auto; padding: 40px 20px 80px; }
.doc h2 { margin: 44px 0 10px; font-size: 21px; color: #fff; }
.doc h3 { margin: 26px 0 6px; font-size: 17px; color: #fff; }
.doc p, .doc li { color: #d6d3ce; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc strong { color: #fff; }
.box { background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: 10px; padding: 16px 20px; margin: 22px 0; }
.box p { margin: 0; }
.mail { display: block; margin: 18px 0 8px; padding: 22px; text-align: center; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; font-size: 20px; font-weight: 700; color: #fff; word-break: break-all; }
.mail:hover { border-color: var(--red); text-decoration: none; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; margin: 10px 0; }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 16px 48px 16px 20px; font-weight: 700; color: #fff; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--red); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: "\2013"; }
.faq .a { padding: 0 20px 16px; }
.faq .a p { margin: 0 0 8px; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 28px 0 36px; font-size: 14px; color: var(--muted); }
.foot .wrap { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--text); }
.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }

/* Phones and tablets */
@media (max-width: 860px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .top .wrap { justify-content: center; padding-top: 10px; padding-bottom: 8px; }
  .nav { justify-content: center; gap: 2px 16px; }
  .nav a { font-size: 12px; letter-spacing: .12em; }
  .cards { grid-template-columns: 1fr; }
  .pill { padding: 13px 22px; font-size: 13px; }
  .foot .wrap { justify-content: center; text-align: center; }
}
