/* Ember Reef tanıtım sitesi: oyunun renkleri (gece mavisi su, kor turuncusu, köpük beyazı). */
@font-face { font-family: "Nunito"; src: url("/assets/nunito.ttf") format("truetype"); font-weight: 200 1000; font-display: swap; }
:root {
  --ink: #e8f4ff; --dim: #9db8d2; --ember: #ff8f29; --gold: #ffd040; --aqua: #4ce6ff;
  --deep: #04162e; --mid: #0a2c4f; --card: rgba(8, 40, 72, .72); --edge: rgba(140, 215, 255, .22);
}
* { box-sizing: border-box; }
html { background: var(--deep); }
body {
  margin: 0; color: var(--ink);
  font: 17px/1.55 "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Arabic", "Noto Sans SC", sans-serif;
  background: radial-gradient(1200px 600px at 50% -10%, #12507f 0%, transparent 60%), linear-gradient(#072548, var(--deep) 40%, #020b18);
  min-height: 100vh;
}
a { color: var(--aqua); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
h1, h2 { line-height: 1.15; margin: 0 0 .5em; font-weight: 900; }
h1 { font-size: clamp(30px, 5vw, 52px); color: var(--ember); }
h2 { font-size: clamp(22px, 3vw, 32px); color: var(--gold); margin-top: 1.6em; }
main { max-width: 1120px; margin: 0 auto; padding: 0 16px 48px; }
section { margin: 40px 0; }
.lead { font-size: 19px; color: var(--dim); max-width: 760px; }

.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 1120px; margin: 0 auto; padding: 12px 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 900; font-size: 20px; }
.brand img { border-radius: 10px; }
.top nav { display: flex; align-items: center; gap: 18px; font-weight: 800; }
.langs { position: relative; }
.langs summary { cursor: pointer; color: var(--dim); list-style: none; }
.langs summary::-webkit-details-marker { display: none; }
.langs div { position: absolute; inset-inline-end: 0; z-index: 10; margin-top: 8px; padding: 10px; width: min(560px, 90vw); display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 4px 12px; background: #06203f; border: 1px solid var(--edge); border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.5); }
.langs a { color: var(--ink); padding: 4px 6px; border-radius: 8px; }
.langs a[aria-current] { background: rgba(255, 143, 41, .2); color: var(--ember); }

.hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: center; margin-top: 16px; }
.hero .kicker { text-transform: uppercase; letter-spacing: .3em; color: var(--aqua); font-weight: 900; margin: 0 0 8px; }
.hero .feature { border-radius: 18px; box-shadow: 0 20px 60px rgba(0,0,0,.5), 0 0 0 1px var(--edge); }
.play-badge { display: inline-block; margin: 8px 0 0 -12px; line-height: 0; }
[dir="rtl"] .play-badge { margin: 8px -12px 0 0; }
.play-badge img { height: 78px; width: auto; transition: transform .15s; }
.play-badge:hover img { transform: translateY(-2px); }
.end { text-align: center; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; padding: 0; list-style: none; }
.features li { background: var(--card); border: 1px solid var(--edge); border-radius: 16px; padding: 16px 18px; font-weight: 700; }
.features li::before { content: "◆"; color: var(--ember); margin-inline-end: 8px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 12px; background: var(--card); border: 1px solid var(--edge); border-radius: 16px; color: var(--ink); transition: transform .15s, border-color .15s; }
.card:hover { transform: translateY(-3px); border-color: var(--ember); text-decoration: none; }
.card img { height: 84px; width: auto; object-fit: contain; }
.card span { font-weight: 800; line-height: 1.2; }
.card i { color: var(--dim); font-size: 13px; }
.more { font-weight: 900; font-size: 18px; color: var(--ember); }

.regions { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; padding: 0; list-style: none; counter-reset: r; }
.regions li { counter-increment: r; background: var(--card); border: 1px solid var(--edge); border-radius: 16px; padding: 14px 16px; }
.regions li b::before { content: counter(r) ". "; color: var(--ember); }
.regions b { display: block; color: var(--gold); }
.regions span { color: var(--dim); font-size: 15px; }

.shots { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.shots img { height: 300px; width: auto; border-radius: 14px; scroll-snap-align: start; border: 1px solid var(--edge); }

.crumbs { color: var(--dim); font-size: 15px; margin: 8px 0 16px; }
.fish { display: grid; grid-template-columns: 1fr 1.1fr; gap: 32px; align-items: start; }
.fish figure { margin: 0; padding: 24px; border-radius: 22px; background: radial-gradient(closest-side, rgba(76, 230, 255, .22), transparent), var(--card); border: 1px solid var(--edge); display: grid; place-items: center; min-height: 280px; }
.fish .sci { font-style: italic; color: var(--dim); font-size: 20px; margin: -6px 0 12px; }
.fish .badge { display: inline-block; background: rgba(255, 143, 41, .18); color: var(--ember); border-radius: 999px; padding: 4px 14px; font-weight: 800; }
.fish table { width: 100%; border-collapse: collapse; margin: 10px 0; }
.fish th, .fish td { text-align: start; vertical-align: top; padding: 9px 8px; border-bottom: 1px solid var(--edge); }
.fish th { color: var(--aqua); width: 38%; font-weight: 800; }
.fish .fact { font-size: 19px; }
.pager { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 32px; font-weight: 800; }

.pick { text-align: center; padding-top: 48px; }
.pick ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; max-width: 760px; margin: 24px auto; }
.pick a { display: block; padding: 10px; background: var(--card); border: 1px solid var(--edge); border-radius: 12px; color: var(--ink); font-weight: 800; }

footer { text-align: center; color: var(--dim); padding: 24px 16px 40px; border-top: 1px solid var(--edge); font-size: 15px; }
footer p { margin: 4px 0; }

@media (max-width: 760px) {
  .hero, .fish { grid-template-columns: 1fr; }
  .hero .feature { order: -1; }
  .shots img { height: 240px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
}
