/* pataragames.com — night palette from the logo (P-column icon): navy night, turquoise, puzzle yellow, marble white */
:root {
  color-scheme: dark;
  --bg: #02214C;          /* = the left of the hero illustration, so the picture blends into the page */
  --bg-2: #031A3D;
  --card: rgba(255, 255, 255, 0.06);
  --card-line: rgba(47, 224, 192, 0.22);
  --text: #F2F7FF;
  --muted: #A9BCE0;
  --sea: #2FE0C0;
  --sun: #FFC93C;
  --radius: 22px;
  --wrap: 1120px;
  --round: "Nunito", "Baloo 2", ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--sea); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }

/* language switch */
html[data-lang="tr"] [lang="en"]:not(html), html[data-lang="en"] [lang="tr"]:not(html) { display: none !important; }
.lang { display: inline-flex; border: 1px solid var(--card-line); border-radius: 999px; overflow: hidden; }
.lang button { all: unset; cursor: pointer; padding: 4px 11px; font-size: 0.78rem; font-weight: 800; color: var(--muted); }
.lang button[aria-pressed="true"] { background: var(--sea); color: #032040; }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: rgba(2, 33, 76, 0.82); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(47, 224, 192, 0.12); }
.bar { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { width: 44px; height: 44px; }
.brand span { font-family: var(--round); font-weight: 900; font-size: 1.3rem; letter-spacing: 0.01em; }
.brand b { color: var(--sea); font-weight: 900; margin-left: 5px; }
.top nav { display: flex; align-items: center; gap: 22px; font-size: 0.95rem; }
.top nav a { color: var(--text); text-decoration: none; opacity: 0.8; }
.top nav a:hover { opacity: 1; color: var(--sea); }
@media (max-width: 640px) { .hide-sm { display: none; } .top nav { gap: 14px; } .brand span { font-size: 1.1rem; } }

/* hero */
.hero { position: relative; overflow: hidden; }
.hero-art { width: 100%; height: auto; min-height: 460px; object-fit: cover; object-position: 75% 50%; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(to bottom, rgba(2, 33, 76, 0), var(--bg)); pointer-events: none; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(2, 33, 76, 0.92) 0%, rgba(2, 33, 76, 0.75) 32%, rgba(2, 33, 76, 0) 58%); pointer-events: none; }
.hero-copy { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; }
.eyebrow { margin: 0 0 12px; font-size: 0.82rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sea); }
.hero h1 { font-family: var(--round); font-weight: 900; font-size: clamp(2.3rem, 5.4vw, 4.4rem); line-height: 1.04; letter-spacing: -0.01em; margin: 0; max-width: 10.5em; text-shadow: 0 6px 30px rgba(0, 0, 0, 0.35); }
.hero h1 em { font-style: normal; color: var(--sea); }
.lead { max-width: 28em; font-size: clamp(1rem, 1.5vw, 1.15rem); color: var(--muted); margin: 18px 0 0; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; padding: 13px 24px; border-radius: 999px; background: linear-gradient(180deg, #5ff3d8, var(--sea)); color: #032040; font-weight: 800; text-decoration: none; box-shadow: 0 10px 28px -10px rgba(47, 224, 192, 0.7), inset 0 -3px 0 rgba(0, 0, 0, 0.12); transition: transform .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--text); border: 1.5px solid rgba(242, 247, 255, 0.5); box-shadow: none; }
@media (max-width: 760px) {
  .hero::before { display: none; }
  .hero { display: flex; flex-direction: column-reverse; }
  .hero-copy { position: relative; padding: 34px 20px 4px; }
  .hero-art { min-height: 0; }
  .hero::after { display: none; }
}

/* sections */
.section { padding: 72px 20px; }
h2 { font-family: var(--round); font-weight: 900; font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0 0 28px; }
h3 { margin: 0 0 6px; font-size: 1.15rem; }

.game { max-width: 780px; background: linear-gradient(160deg, rgba(47, 224, 192, 0.12), rgba(255, 255, 255, 0.04)); border: 1px solid var(--card-line); border-radius: 28px; padding: 28px; box-shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.6); }
.game-head { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.game-icon { width: 76px; height: 76px; border-radius: 20px; box-shadow: 0 10px 26px -10px rgba(0, 0, 0, 0.7); }
.game-head h3 { font-family: var(--round); font-weight: 900; font-size: 1.7rem; letter-spacing: 0.03em; margin: 0; }
.game-head p { margin: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 16px 0 22px; }
.tags li { font-size: 0.82rem; font-weight: 700; padding: 4px 12px; border-radius: 999px; background: rgba(47, 224, 192, 0.14); color: var(--sea); }

.story { background: var(--bg-2); padding: 72px 0; border-top: 1px solid rgba(47, 224, 192, 0.08); border-bottom: 1px solid rgba(47, 224, 192, 0.08); }
.story-grid { display: grid; grid-template-columns: 220px 1fr; gap: 44px; align-items: center; }
.story-grid img { filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.5)); }
.story-grid p { margin: 0 0 14px; max-width: 40em; color: var(--muted); }
@media (max-width: 760px) { .story-grid { grid-template-columns: 1fr; } .story-grid img { width: 130px; } }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { background: var(--card); border: 1px solid var(--card-line); border-radius: var(--radius); padding: 24px; }
.value p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.dot { display: block; width: 36px; height: 36px; border-radius: 12px; margin-bottom: 14px; }
.dot.sun { background: var(--sun); }
.dot.sea { background: var(--sea); }
.dot.sand { background: #F2F7FF; }
@media (max-width: 820px) { .values { grid-template-columns: 1fr; } }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.card { display: block; background: var(--card); border: 1px solid var(--card-line); border-radius: var(--radius); padding: 22px 24px; text-decoration: none; color: var(--text); transition: border-color .15s ease, transform .15s ease; }
.card:hover { border-color: var(--sea); transform: translateY(-1px); }
.card .label { display: block; color: var(--muted); font-size: 0.9rem; margin-bottom: 4px; }
.card strong { font-size: 1.08rem; word-break: break-all; }
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; } }

footer { border-top: 1px solid rgba(47, 224, 192, 0.12); padding: 26px 0 40px; color: var(--muted); font-size: 0.92rem; }
.foot { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.foot nav { display: flex; gap: 20px; }
.foot a { color: var(--muted); }
