/* Ocean Peak Games — colours from the studio logo: deep navy, ocean teal, aqua, coral sun. */
:root {
  --navy: #0a1a3d;
  --deep: #12306b;
  --teal: #0f9fb6;
  --aqua: #4fe3ea;
  --coral: #ff7849;
  --sun: #ffb347;
  --bg: #f3f7fc;
  --card: #ffffff;
  --text: #13213f;
  --muted: #5a6888;
  --line: #dde5f1;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(10, 26, 61, 0.10);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, .brand-name, .btn { font-family: "Montserrat", "Inter", sans-serif; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 800; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(10, 26, 61, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.top .wrap { display: flex; align-items: center; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; margin-right: auto; }
.brand:hover { text-decoration: none; }
.brand img { width: 40px; height: 40px; }
.brand-name { font-weight: 800; font-size: 1.05rem; letter-spacing: .02em; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: #dbe7ff; font-weight: 600; font-size: .95rem;
  padding: 8px 12px; border-radius: 999px;
}
.nav a:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.nav .lang { border: 1px solid rgba(255,255,255,.35); margin-left: 6px; }
@media (max-width: 640px) {
  .brand-name { display: none; }
  .nav a { padding: 8px 9px; font-size: .9rem; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--navy) center right / cover no-repeat;
  min-height: min(78vh, 680px);
  display: flex; align-items: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,26,61,.92) 0%, rgba(10,26,61,.65) 42%, rgba(10,26,61,0) 75%);
}
.hero .wrap { position: relative; width: 100%; padding-top: 64px; padding-bottom: 64px; }
.hero-text { max-width: 560px; }
.hero h1 { margin-bottom: .35em; }
.hero h1 span { color: var(--sun); white-space: nowrap; }
.hero p { font-size: 1.15rem; color: #d6e2fa; margin: 0 0 1.6em; }
/* Phones: a portrait crop of the art (peak and sun centred) shown whole at the top, the words
   below it on the navy it fades into - rather than a landscape picture cropped to its dark sky. */
@media (max-width: 760px) {
  .hero { display: block; min-height: 0; background-size: 100% auto; background-position: center top; }
  .hero-home { background-image: url('/brand/hero-mobile.jpg') !important; }
  .hero::before { background: linear-gradient(180deg, rgba(10,26,61,0) 0, rgba(10,26,61,0) 70vw, rgba(10,26,61,.9) 105vw, var(--navy) 125vw); }
  .hero .wrap { padding-top: 92vw; padding-bottom: 44px; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 14px;
  font-weight: 800; font-size: 1rem; letter-spacing: .01em;
  border: 0; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 6px 0 #c94f24; }
.btn-store { background: #0b0f1a; color: #fff; box-shadow: 0 6px 0 #000; }
.btn-store small { display: block; font: 600 .7rem/1.1 "Inter", sans-serif; opacity: .75; letter-spacing: .04em; }
.btn-store b { display: block; font-size: 1.05rem; line-height: 1.1; white-space: nowrap; }
.btn-store svg { width: 26px; height: 26px; flex: none; }
.btn-soon { background: rgba(11, 15, 26, .55); color: rgba(255,255,255,.82); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); cursor: default; }
.btn-soon:hover { transform: none; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- sections ---------- */
section.block { padding: 72px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head p { margin: 0; color: var(--muted); }
.kicker { color: var(--teal); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin-bottom: 6px; }

/* ---------- games grid ---------- */
.games { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.game-card {
  background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); color: inherit; display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.game-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(10,26,61,.16); text-decoration: none; }
.game-card .cover { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: var(--deep); }
.game-card .body { padding: 18px 20px 22px; display: flex; gap: 14px; align-items: flex-start; }
.game-card .icon { width: 64px; height: 64px; border-radius: 16px; flex: none; margin-top: -46px; border: 4px solid #fff; box-shadow: var(--shadow); background: #fff; }
.game-card h3 { margin: 0 0 2px; }
.game-card .genre { color: var(--muted); font-size: .9rem; }
.game-card p { margin: 8px 0 0; color: var(--text); font-size: .98rem; }
.badge { display: inline-block; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }
.badge-soon { background: #fff1e0; color: #c65a12; }
.badge-live { background: #dff7ef; color: #0d8a5f; }

/* ---------- about strip ---------- */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.pillar { background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.pillar .dot { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-size: 1.4rem; margin-bottom: 12px; background: #e3f8fa; }
.pillar h3 { font-size: 1.05rem; margin-bottom: 4px; }
.pillar p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- game page ---------- */
.game-hero { position: relative; color: #fff; background: var(--navy) center 35% / cover no-repeat; }
.game-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,26,61,.95) 0%, rgba(10,26,61,.35) 60%, rgba(10,26,61,.15) 100%); }
.game-hero .wrap { position: relative; padding-top: min(34vw, 360px); padding-bottom: 40px; display: flex; gap: 22px; align-items: flex-end; flex-wrap: wrap; }
.game-hero .icon { width: 120px; height: 120px; border-radius: 28px; border: 5px solid #fff; box-shadow: 0 12px 30px rgba(0,0,0,.35); background: #fff; }
.game-hero h1 { margin: 0; }
.game-hero .genre { color: #cfe0ff; font-weight: 600; }
.game-hero .info { flex: 1 1 320px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.chips li { background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: .9rem; }
.desc p { max-width: 760px; }
.shots { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; margin: 0 -4px; }
.shots img { height: 300px; width: auto; border-radius: 16px; scroll-snap-align: start; box-shadow: var(--shadow); flex: none; background: var(--deep); }
@media (max-width: 640px) { .shots img { height: 165px; } .game-hero .icon { width: 92px; height: 92px; border-radius: 22px; } }

/* Phones: the game's art shown whole at the top (it is 16:9), icon and buttons below it. */
@media (max-width: 760px) {
  .game-hero { background-size: 100% auto; background-position: center top; }
  .game-hero::before { background: linear-gradient(180deg, rgba(10,26,61,0) 0, rgba(10,26,61,0) 42vw, var(--navy) 56.25vw); }
  .game-hero .wrap { padding-top: calc(56.25vw - 46px); gap: 16px; }
  .game-hero .stores { width: 100%; }
  .game-hero .btn-store { flex: 1 1 150px; }
}

/* ---------- document pages (privacy, support) ---------- */
.doc { max-width: 780px; margin: 0 auto; padding: 56px 16px 80px; }
.doc .card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(22px, 4vw, 44px); }
.doc h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.doc h2 { font-size: 1.2rem; margin-top: 1.8em; }
.doc ul { padding-left: 1.2em; }
.doc li { margin: .3em 0; }
.doc .meta { color: var(--muted); margin-top: -.3em; }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: .6em 0 0; color: var(--muted); }
.mail { display: inline-block; font-weight: 800; font-size: 1.15rem; background: #e3f8fa; padding: 10px 18px; border-radius: 14px; margin: 6px 0 4px; }

/* ---------- footer ---------- */
footer { background: var(--navy); color: #b7c6e6; padding: 40px 0; font-size: .95rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
footer a { color: #e6eeff; }
footer .links { display: flex; flex-wrap: wrap; gap: 18px; }
footer .brand img { width: 32px; height: 32px; }
