/* Patili Cephe website. Colours and type follow the game (unity/Assets/Patili/UI/Uss/Theme.uss, Kit.uss). */

@font-face { font-family: "Nunito"; font-weight: 700; font-display: swap; src: url("../fonts/Nunito-Bold.woff") format("woff"); }
@font-face { font-family: "Nunito"; font-weight: 800; font-display: swap; src: url("../fonts/Nunito-ExtraBold.woff") format("woff"); }
@font-face { font-family: "Nunito"; font-weight: 900; font-display: swap; src: url("../fonts/Nunito-Black.woff") format("woff"); }
@font-face { font-family: "Nunito"; font-weight: 900; font-style: italic; font-display: swap; src: url("../fonts/Nunito-BlackItalic.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("../fonts/Inter-Regular.woff") format("woff"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("../fonts/Inter-Medium.woff") format("woff"); }

:root {
    --bg: #231C2C;
    --bg-deep: #1A1421;
    --panel: #382637;
    --panel-2: #2E2030;
    --chip: #493345;
    --line: #956344;
    --line-strong: #DEA568;
    --ink: #FFF1D9;
    --muted: #D6C1B5;
    --accent: #8849DC;
    --accent-hi: #A46BF0;
    --accent-mid: #D0A0FF;
    --gold: #FFC568;
    --ok: #22C55E;
    --team-b: #F97316;
    --wood-dark: #5C2E1A;
    --radius: 22px;
    --shadow: 0 14px 34px rgba(10, 4, 14, 0.45);
    --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 400 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 8px; }

h1, h2, h3, .display { font-family: "Nunito", system-ui, sans-serif; font-weight: 900; line-height: 1.12; margin: 0; }
h2 { font-size: clamp(30px, 4.4vw, 46px); }
h3 { font-size: 22px; font-weight: 800; }
p { margin: 0 0 1em; }

.wrap { width: min(100% - 32px, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--bg); padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 12px; }

/* ---------- header ---------- */
.site-head {
    position: sticky; top: 0; z-index: 20;
    background: rgba(35, 28, 44, 0.86);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(222, 165, 104, 0.18);
}
.site-head .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { width: 38px; height: 38px; border-radius: 11px; box-shadow: 0 0 0 2px var(--line-strong); }
.brand span { font: italic 900 22px/1 "Nunito", sans-serif; letter-spacing: 0.2px; }
.nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin-left: auto; }
.nav::-webkit-scrollbar { display: none; }
.nav a { color: var(--muted); text-decoration: none; font: 800 15px/1 "Nunito", sans-serif; padding: 10px 12px; border-radius: 12px; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--chip); }

/* ---------- buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    font: 900 18px/1 "Nunito", sans-serif; color: #fff; text-decoration: none;
    padding: 15px 22px; border-radius: 16px; border: 0;
    background: linear-gradient(180deg, var(--accent-hi), var(--accent));
    box-shadow: 0 5px 0 #5B2E9C, var(--shadow);
}
.btn.store { background: linear-gradient(180deg, #3E2A3D, #2C1E2C); box-shadow: 0 5px 0 #170F18, var(--shadow); border: 2px solid var(--line); }
.btn small { display: block; font: 700 12px/1.1 "Inter", sans-serif; color: var(--muted); letter-spacing: 0.3px; }
.btn .store-text { display: flex; flex-direction: column; gap: 4px; text-align: left; }
.btn svg { width: 26px; height: 26px; flex: none; fill: currentColor; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; min-height: min(86vh, 760px); display: flex; align-items: center; }
.hero::before {
    content: ""; position: absolute; inset: 0; z-index: -2;
    background: url("../img/kapak.webp") center 35% / cover no-repeat;
}
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(90deg, rgba(26, 20, 33, 0.88) 0%, rgba(26, 20, 33, 0.55) 46%, rgba(26, 20, 33, 0.05) 75%),
        linear-gradient(0deg, var(--bg) 0%, rgba(35, 28, 44, 0) 30%);
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: end; gap: 24px; padding-block: 56px 0; }
.hero-copy { padding-bottom: 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 800 14px/1 "Nunito", sans-serif; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold); background: rgba(73, 51, 69, 0.8); border: 1px solid rgba(222, 165, 104, 0.4); padding: 9px 14px; border-radius: 999px; }
.logo-type { font: italic 900 clamp(64px, 10vw, 118px)/0.92 "Nunito", sans-serif; color: var(--ink); margin: 18px 0 14px; text-shadow: 0 4px 0 var(--wood-dark), 0 10px 22px rgba(0, 0, 0, 0.45); -webkit-text-stroke: 2px var(--wood-dark); paint-order: stroke fill; }
.tagline { font: 800 clamp(20px, 2.4vw, 26px)/1.3 "Nunito", sans-serif; color: var(--gold); margin-bottom: 10px; }
.lede { max-width: 540px; color: var(--ink); font-size: 18px; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-crew { display: flex; align-items: flex-end; justify-content: center; margin-bottom: -6px; }
.hero-crew img { width: 32%; max-width: 290px; margin-inline: -1.5%; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.45)); animation: bob 4.2s ease-in-out infinite; }
.hero-crew img:nth-child(2) { width: 38%; max-width: 340px; position: relative; z-index: 1; animation-delay: -1.4s; }
.hero-crew img:nth-child(3) { animation-delay: -2.6s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ---------- sections ---------- */
section { padding-block: clamp(64px, 9vw, 104px); scroll-margin-top: 64px; }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 18px; margin-top: 14px; }
.alt { background: linear-gradient(180deg, var(--bg-deep), var(--bg)); }

.card {
    background: linear-gradient(180deg, var(--panel), var(--panel-2));
    border: 2px solid rgba(149, 99, 68, 0.55);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.step { padding: 26px; }
.step .num { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font: 900 22px/1 "Nunito", sans-serif; background: var(--accent); color: #fff; margin-bottom: 16px; box-shadow: 0 4px 0 #5B2E9C; }
.step p { color: var(--muted); margin: 10px 0 0; }

.modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(176px, 1fr)); gap: 16px; }
.mode { padding: 22px; }
.mode .tag { display: inline-block; font: 800 13px/1 "Nunito", sans-serif; color: var(--bg); background: var(--gold); padding: 6px 10px; border-radius: 999px; margin-bottom: 12px; }
.mode p { color: var(--muted); margin: 8px 0 0; font-size: 16px; }

.crew { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.hero-card { padding: 0 0 20px; overflow: hidden; text-align: center; }
.hero-card .stage { background: radial-gradient(circle at 50% 70%, rgba(136, 73, 220, 0.45), rgba(136, 73, 220, 0) 62%), linear-gradient(180deg, #4A3150, #33233A); padding-top: 14px; }
.hero-card img { width: 78%; margin: 0 auto; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.4)); transition: transform 0.25s ease; }
.hero-card:hover img { transform: translateY(-6px) scale(1.03); }
.hero-card h3 { margin-top: 16px; }
.hero-card .kind { font: 800 14px/1 "Nunito", sans-serif; color: var(--gold); margin-top: 6px; }
.hero-card .stats { display: flex; justify-content: center; gap: 8px; margin: 12px 0; flex-wrap: wrap; }
.chip { font: 700 13px/1 "Inter", sans-serif; background: var(--chip); color: var(--ink); padding: 7px 10px; border-radius: 999px; }
.hero-card p { color: var(--muted); font-size: 15px; padding: 0 18px; margin: 0; }

.arenas { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.arena { overflow: hidden; }
.arena img { aspect-ratio: 960 / 418; object-fit: cover; width: 100%; }
.arena .body { padding: 16px 18px 18px; }
.arena p { color: var(--muted); margin: 6px 0 0; font-size: 15px; }
.arena .new { font: 800 12px/1 "Nunito", sans-serif; color: #fff; background: var(--ok); padding: 5px 9px; border-radius: 999px; margin-left: 8px; vertical-align: 3px; }

.arsenal { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.weapon { padding: 16px 14px 14px; text-align: center; }
.weapon img { width: 72px; height: 72px; object-fit: contain; margin: 0 auto 10px; }
.weapon h3 { font-size: 17px; }
.weapon p { color: var(--muted); font-size: 13.5px; line-height: 1.45; margin: 6px 0 0; }

.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.shots figure { margin: 0; overflow: hidden; }
.shots figure:first-child { grid-column: 1 / -1; }
.shots img { width: 100%; }
.shots figcaption { padding: 12px 16px; color: var(--muted); font-size: 15px; }

.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { padding: 4px 22px; }
.faq summary { cursor: pointer; font: 800 19px/1.35 "Nunito", sans-serif; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

.cta-band { text-align: center; }
.cta-band .card { padding: clamp(28px, 5vw, 54px); background: radial-gradient(circle at 50% 0%, rgba(136, 73, 220, 0.5), rgba(136, 73, 220, 0) 60%), linear-gradient(180deg, var(--panel), var(--panel-2)); }
.cta-band .ctas { justify-content: center; }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid rgba(222, 165, 104, 0.18); padding: 36px 0 48px; color: var(--muted); font-size: 15px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; justify-content: space-between; align-items: center; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-foot a { color: var(--ink); text-decoration: none; }
.site-foot a:hover { color: var(--gold); text-decoration: underline; }

/* ---------- legal pages ---------- */
.doc { padding-block: 48px 80px; }
.doc .card { padding: clamp(24px, 5vw, 56px); max-width: 880px; margin-inline: auto; }
.doc h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 8px; }
.doc .meta { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.doc h2 { font-size: 24px; font-weight: 800; margin: 34px 0 10px; color: var(--gold); }
.doc ul, .doc ol { padding-left: 1.3em; margin: 0 0 1em; }
.doc li { margin-bottom: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-size: 15.5px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid rgba(222, 165, 104, 0.22); }
.doc th { font-family: "Nunito", sans-serif; font-weight: 800; color: var(--ink); background: rgba(73, 51, 69, 0.6); }
.doc .note { background: rgba(136, 73, 220, 0.18); border: 1px solid rgba(208, 160, 255, 0.35); border-radius: 14px; padding: 14px 18px; }
.steps-list li { margin-bottom: 10px; }
kbd { font: 800 14px/1 "Nunito", sans-serif; background: var(--chip); border: 1px solid var(--line); border-bottom-width: 3px; border-radius: 8px; padding: 3px 8px; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
    .hero .wrap { grid-template-columns: 1fr; padding-top: 40px; }
    .hero-copy { padding-bottom: 8px; }
    .hero::after { background: linear-gradient(180deg, rgba(26, 20, 33, 0.82) 0%, rgba(26, 20, 33, 0.55) 55%, var(--bg) 100%); }
    .hero-crew { max-width: 520px; margin-inline: auto; }
    .crew { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .arenas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .steps { grid-template-columns: 1fr; }
    .shots { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    body { font-size: 16px; }
    .site-head .wrap { gap: 10px; }
    .brand span { display: none; }
    .arenas { grid-template-columns: 1fr; }
    .crew { gap: 12px; }
    .hero-card p { font-size: 14px; padding: 0 12px; }
    .btn { padding: 13px 18px; font-size: 16px; }
}
