/* METKASU Game Studio — site stili (2026-11). Harici yazı tipi/servis yok; yazı tipi yerel (assets/fonts). */
@font-face { font-family: "RenkliUI"; src: url("../fonts/RenkliUI-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
:root {
  --ink: #0e1f24; --ink-2: #27393e; --muted: #556a6e;
  --teal: #0f9693; --teal-2: #0a6f73; --teal-deep: #083e46; --teal-night: #06262c;
  --mint: #d9f3ef; --gold: #f2b94b; --gold-2: #b57714; --cream: #fbf7ee; --paper: #ffffff;
  --line: rgba(14, 31, 36, .12); --r: 1.25rem; --shadow: 0 18px 50px rgba(8, 62, 70, .14);
  --head: "RenkliUI", "Trebuchet MS", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 280px; background: var(--cream); color: var(--ink); font-family: var(--body); font-size: 1rem; line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--teal-2); }
.shell { width: min(100% - 2rem, 70rem); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: .75rem; left: .75rem; z-index: 100; padding: .65rem 1rem; background: var(--teal-deep); color: #fff; border-radius: .5rem; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: .3rem; }

/* ---- header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 247, 238, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-wrap { min-height: 4.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 2.6rem; width: auto; }
.nav-toggle { display: inline-grid; gap: .32rem; place-content: center; width: 2.8rem; height: 2.8rem; padding: 0; border: 1px solid var(--line); border-radius: .8rem; background: var(--paper); cursor: pointer; }
.nav-toggle span:not(.sr-only) { display: block; width: 1.3rem; height: 2px; background: var(--teal-deep); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-last-child(2) { transform: translateY(.37rem) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-.37rem) rotate(-45deg); }
.main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: .8rem 1rem 1.2rem; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(8,62,70,.12); }
.main-nav.is-open { display: grid; gap: .1rem; }
.main-nav a { padding: .8rem 1rem; border-radius: .8rem; color: var(--ink-2); text-decoration: none; font-weight: 600; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--mint); color: var(--teal-deep); }
.main-nav .nav-cta { margin-top: .4rem; background: var(--teal-deep); color: #fff; text-align: center; }
.main-nav .nav-cta:hover { background: var(--teal-2); color: #fff; }
@media (min-width: 880px) {
  .nav-toggle { display: none; }
  .main-nav { display: flex; position: static; padding: 0; background: none; border: 0; box-shadow: none; align-items: center; gap: .2rem; }
  .main-nav .nav-cta { margin: 0 0 0 .6rem; }
}

/* ---- hero */
.hero { position: relative; overflow: hidden; color: #fff; isolation: isolate; background: radial-gradient(60rem 30rem at 88% -12%, rgba(242,185,75,.30), transparent 60%), radial-gradient(48rem 28rem at 6% 112%, rgba(15,150,147,.55), transparent 60%), linear-gradient(160deg, var(--teal-night), var(--teal-deep) 55%, #0b5a60); }
.hero-grid { display: grid; gap: 2.2rem; align-items: center; padding-block: clamp(2.8rem, 8vw, 6rem); }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.02fr .98fr; } }
.pill { display: inline-flex; align-items: center; gap: .55rem; padding: .35rem .9rem; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; background: rgba(255,255,255,.08); color: #e9f6f4; font-size: .82rem; font-weight: 700; letter-spacing: .04em; }
.pill::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(242,185,75,.25); }
.hero h1 { margin: 1rem 0 0; font-family: var(--head); font-weight: 400; font-size: clamp(2.5rem, 6.4vw, 4.6rem); line-height: 1.04; letter-spacing: .005em; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-copy { max-width: 33rem; margin: 1.1rem 0 0; color: #cfe6e3; font-size: clamp(1.02rem, 2.2vw, 1.2rem); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.45rem; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #2a1d02; box-shadow: 0 10px 26px rgba(242,185,75,.35); }
.btn-gold:hover { background: #ffc965; }
.btn-ghost { border-color: rgba(255,255,255,.42); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-teal { background: var(--teal-deep); color: #fff; }
.btn-teal:hover { background: var(--teal-2); }
.btn svg { width: 1.15rem; height: 1.15rem; fill: currentColor; }

.hero-art { position: relative; height: clamp(18rem, 44vw, 29rem); }
.float-card { position: absolute; margin: 0; overflow: hidden; border: 3px solid rgba(255,255,255,.92); border-radius: 1.5rem; box-shadow: 0 10px 22px rgba(0,0,0,.30); background: #0b3a41; }
.float-card img { width: 100%; height: 100%; object-fit: cover; }
.float-card figcaption { position: absolute; left: .6rem; bottom: .6rem; padding: .2rem .7rem; border-radius: 999px; background: rgba(6,38,44,.82); color: #fff; font-size: .78rem; font-weight: 700; }
.float-card.fc1 figcaption { top: .6rem; bottom: auto; }
.fc1 { left: 1%; top: 8%; width: 36%; aspect-ratio: 1/1; transform: rotate(-6deg); animation: bob 7s ease-in-out infinite; }
.fc2 { right: 5%; top: 1%; width: 56%; aspect-ratio: 1/1; transform: rotate(5deg); z-index: 2; animation: bob 8s ease-in-out -2s infinite; }
.fc3 { left: 12%; bottom: 0; width: 28%; aspect-ratio: 1/1; transform: rotate(-2deg); z-index: 3; animation: bob 9s ease-in-out -4s infinite; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
.spark { position: absolute; width: 1.4rem; height: 1.4rem; background: var(--gold); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: twinkle 3.4s ease-in-out infinite; z-index: 4; }
.sp1 { left: 46%; top: 6%; } .sp2 { right: 4%; bottom: 14%; width: 1rem; height: 1rem; animation-delay: -1.2s; } .sp3 { left: 0; bottom: 30%; width: .9rem; height: .9rem; animation-delay: -2.1s; }
@keyframes twinkle { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }

/* ---- sections */
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section-head { max-width: 40rem; margin-bottom: 2rem; }
.kicker { margin: 0 0 .5rem; color: var(--teal-2); font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.section-head h2, .band h2 { margin: 0; font-family: var(--head); font-weight: 400; font-size: clamp(1.9rem, 4.4vw, 2.9rem); line-height: 1.1; color: var(--teal-deep); }
.section-head p { margin: .8rem 0 0; color: var(--muted); font-size: 1.08rem; }

.games { display: grid; gap: 1.4rem; }
@media (min-width: 760px) { .games { grid-template-columns: repeat(3, 1fr); } }
.game-card { display: flex; flex-direction: column; overflow: hidden; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); transition: transform .22s ease, box-shadow .22s ease; }
.game-card:hover { transform: translateY(-5px); box-shadow: 0 26px 60px rgba(8,62,70,.2); }
.game-art { position: relative; aspect-ratio: 4/3; background: linear-gradient(150deg, var(--teal-deep), var(--teal)); overflow: hidden; }
.game-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.game-card:hover .game-art img { transform: scale(1.05); }
.badge { position: absolute; left: .9rem; top: .9rem; padding: .28rem .8rem; border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .03em; box-shadow: 0 6px 16px rgba(0,0,0,.18); }
.badge-live { background: #1aa65b; color: #fff; } .badge-soon { background: var(--gold); color: #2a1d02; } .badge-dev { background: rgba(6,38,44,.88); color: #fff; }
.game-body { display: flex; flex: 1; flex-direction: column; gap: .5rem; padding: 1.3rem 1.4rem 1.5rem; }
.game-body h3 { margin: 0; font-family: var(--head); font-weight: 400; font-size: 1.55rem; line-height: 1.15; color: var(--teal-deep); }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.tags li { padding: .12rem .65rem; border-radius: 999px; background: var(--mint); color: var(--teal-deep); font-size: .78rem; font-weight: 700; }
.game-body p { margin: .2rem 0 0; color: var(--muted); }
.game-actions { margin-top: auto; padding-top: .9rem; }
.soon-note { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1rem; border-radius: 999px; background: #f6efe0; color: var(--gold-2); font-weight: 700; font-size: .92rem; }

.features { display: grid; gap: 1.2rem; }
@media (min-width: 760px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { padding: 1.6rem; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.feature .ico { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; margin-bottom: 1rem; border-radius: 1rem; background: linear-gradient(145deg, var(--teal), var(--teal-deep)); }
.feature .ico svg { width: 1.7rem; height: 1.7rem; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { margin: 0 0 .35rem; font-family: var(--head); font-weight: 400; font-size: 1.35rem; color: var(--teal-deep); }
.feature p { margin: 0; color: var(--muted); }
.section-alt { background: linear-gradient(180deg, #f1ece0, var(--cream)); }

.band { margin-block: 0 clamp(3rem, 7vw, 5rem); }
.band-inner { display: grid; gap: 1.2rem; align-items: center; padding: clamp(1.6rem, 5vw, 3rem); border-radius: 1.8rem; color: #fff; background: radial-gradient(30rem 14rem at 100% 0, rgba(242,185,75,.3), transparent 60%), linear-gradient(135deg, var(--teal-deep), var(--teal-2)); box-shadow: var(--shadow); }
@media (min-width: 800px) { .band-inner { grid-template-columns: 1.4fr auto; } }
.band h2 { color: #fff; font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
.band p { margin: .5rem 0 0; color: #d3ebe8; }

/* ---- footer */
.site-footer { background: var(--teal-night); color: #b7d2cf; padding-block: 2.6rem 1.6rem; font-size: .93rem; }
.footer-grid { display: grid; gap: 1.8rem; padding-bottom: 1.8rem; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-brand img { height: 2.8rem; width: auto; }
.footer-brand p { margin: .9rem 0 0; max-width: 20rem; color: #94b5b1; }
.site-footer h4 { margin: 0 0 .7rem; color: #fff; font-family: var(--head); font-weight: 400; font-size: 1.05rem; }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .45rem; }
.site-footer a { color: #b7d2cf; text-underline-offset: .25rem; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { padding-top: 1.2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; color: #85a8a4; font-size: .85rem; }

/* ---- reveal (only when JS is on) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } .float-card, .spark { animation: none; } html { scroll-behavior: auto; } }

/* ---- sub pages (privacy, terms, support) */
.subpage-main { width: min(100% - 2rem, 56rem); margin-inline: auto; padding-block: 2rem 4.5rem; }
.back-link { display: inline-block; margin-bottom: 1.2rem; color: var(--teal-2); font-weight: 700; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.page-heading { margin-bottom: 1.4rem; }
.page-heading .section-kicker { margin: 0 0 .4rem; color: var(--teal-2); font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.page-heading h1 { margin: 0; font-family: var(--head); font-weight: 400; font-size: clamp(2rem, 5.4vw, 3.2rem); line-height: 1.08; color: var(--teal-deep); text-wrap: balance; }
.page-heading h1::after { content: ""; display: block; width: 4.5rem; height: .35rem; margin-top: .9rem; border-radius: 99px; background: linear-gradient(90deg, var(--gold), #ffd98a); }
.updated { margin: .9rem 0 0; color: var(--muted); font-size: .92rem; }
.content-card { padding: clamp(1.3rem, 4vw, 2.6rem); border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); box-shadow: var(--shadow); }
.content-card .lead { margin-top: 0; font-size: 1.1rem; color: var(--ink-2); }
.policy-nav { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.2rem 0 1.4rem; }
.policy-nav a { padding: .35rem .9rem; border-radius: 999px; background: var(--mint); color: var(--teal-deep); font-size: .88rem; font-weight: 700; text-decoration: none; }
.policy-nav a:hover { background: var(--teal); color: #fff; }
.policy-content section { scroll-margin-top: 6rem; }
.policy-content section + section { margin-top: 1.8rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.policy-content h2 { margin: 0 0 .6rem; font-family: var(--head); font-weight: 400; font-size: 1.5rem; line-height: 1.2; color: var(--teal-deep); }
.policy-content p, .policy-content li { color: var(--ink-2); }
.policy-content p { margin: .6rem 0; }
.policy-content a { color: var(--teal-2); font-weight: 600; text-underline-offset: .2rem; overflow-wrap: anywhere; }
.policy-content ul, .support-list { padding-left: 1.2rem; }
.policy-content address, .contact-block { display: grid; gap: .3rem; margin: .8rem 0; padding: 1rem 1.2rem; border-radius: 1rem; background: var(--mint); font-style: normal; color: var(--ink); }
.table-wrap { overflow-x: auto; margin: 1.2rem 0; border: 1px solid var(--line); border-radius: 1rem; background: #fff; }
.data-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .93rem; line-height: 1.5; }
.data-table th, .data-table td { text-align: left; vertical-align: top; padding: .75rem .9rem; border-bottom: 1px solid rgba(14,31,36,.1); }
.data-table th { background: var(--mint); color: var(--teal-deep); font-weight: 800; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table th:first-child, .data-table td:first-child { min-width: 9.5rem; font-weight: 700; color: var(--teal-deep); }
.data-table th:nth-child(2), .data-table td:nth-child(2) { min-width: 17rem; }
.data-table th:nth-child(3), .data-table td:nth-child(3) { min-width: 11rem; }
.data-table th:nth-child(4), .data-table td:nth-child(4) { min-width: 9rem; }
.table-wrap::after { content: "← tabloyu yana kaydırabilirsiniz →"; display: block; padding: .4rem .9rem .55rem; font-size: .78rem; color: var(--muted); text-align: center; }
@media (min-width: 900px) { .table-wrap::after { display: none; } }
.email-button { display: inline-block; margin: .6rem 0 1.2rem; padding: .85rem 1.5rem; border-radius: 999px; background: var(--teal-deep); color: #fff; font-weight: 800; text-decoration: none; }
.email-button:hover { background: var(--teal-2); }
.note-box { margin: 1.2rem 0; padding: 1.2rem 1.4rem; border-radius: 1rem; background: #f6efe0; }
.note-box h2 { margin: 0 0 .4rem; font-family: var(--head); font-weight: 400; font-size: 1.25rem; color: var(--gold-2); }
.privacy-assurance { color: var(--muted); }
