/* Orvandel Online - the site: what every page shares (the identity itself is theme.css) */
html { scroll-behavior: smooth; }
body { margin: 0; }

/* the bar on top: logo, the pages, the call to play */
.top { position: sticky; top: 0; z-index: 20; background: rgba(5, 13, 16, 0.86); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(79, 179, 184, 0.14); }
.top .container { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 1.5rem; }
.top .brand img { height: 50px; display: block; }
.top nav { display: flex; gap: 2rem; }
.top nav a { font-family: var(--font-label); letter-spacing: 0.16em; text-transform: uppercase; font-size: 0.82rem; color: var(--text); padding: 0.4rem 0; border-bottom: 2px solid transparent; }
.top nav a:hover, .top nav a.on { color: var(--gold-400); border-bottom-color: var(--gold-500); }
.burger { display: none; background: none; border: 0; color: var(--parchment); font-size: 1.6rem; cursor: pointer; }

/* the opening of the home: the world flying under the logo */
.hero { position: relative; min-height: calc(100vh - 70px); display: flex; align-items: center; overflow: hidden; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.05) brightness(0.62); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 13, 16, 0.92) 0%, rgba(5, 13, 16, 0.55) 45%, rgba(5, 13, 16, 0.15) 100%), linear-gradient(0deg, var(--ink-950) 0%, transparent 30%); }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.hero h1 { margin: 0.4rem 0 1rem; }
.hero p { font-size: 1.2rem; max-width: 540px; color: var(--parchment); }
.hero .ctas { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.hero-logo { width: 100%; max-width: 540px; justify-self: center; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.65)); }

/* a strip of plain facts under the opening */
.facts { position: relative; z-index: 3; margin-top: -48px; }
.facts .bar { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--ink-800); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-deep); overflow: hidden; }
.facts .cell { padding: 1.2rem 1.4rem; border-right: 1px solid rgba(79, 179, 184, 0.14); }
.facts .cell:last-child { border-right: 0; }
.facts .big { font-family: var(--font-display); font-size: 1.45rem; color: var(--parchment); }
.facts .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 10px var(--gold-400); margin-right: 0.45rem; vertical-align: middle; }

/* features: a picture of the game and its words */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; margin-bottom: 4.5rem; }
.feature.flip .pic { order: 2; }
.feature .pic { border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-deep); aspect-ratio: 16 / 9; background: var(--ink-800); }
.feature .pic img, .feature .pic video { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature h3 { font-family: var(--font-display); font-size: 1.9rem; color: var(--parchment); margin: 0.4rem 0 0.8rem; }
.feature p { color: var(--text); font-size: 1.05rem; }
.icons-row { display: flex; gap: 0.6rem; margin-top: 1.2rem; flex-wrap: wrap; }
.icons-row img { width: 62px; height: 62px; object-fit: contain; background: var(--ink-800); border: 1px solid rgba(79, 179, 184, 0.16); border-radius: 12px; padding: 4px; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, 0.5)); }

/* the trailer */
.film { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-deep); max-width: 1040px; margin: 0 auto; background: #000; }
.film video { width: 100%; display: block; }

/* the world: a gallery of places */
.world { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.place { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid rgba(79, 179, 184, 0.16); aspect-ratio: 16 / 10; }
.place img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s; }
.place:hover img { transform: scale(1.06); }
.place span { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem 0.9rem 0.7rem; font-family: var(--font-display); color: var(--parchment); background: linear-gradient(transparent, rgba(5, 13, 16, 0.92)); }

/* news */
.news { display: grid; gap: 0.7rem; }
.news a, .news article { display: grid; grid-template-columns: 110px 1fr auto; gap: 1.2rem; align-items: center; padding: 1rem 1.3rem; background: var(--ink-800); border: 1px solid rgba(79, 179, 184, 0.14); border-radius: 12px; color: var(--text); }
.news a:hover { border-color: var(--gold-500); background: var(--ink-700); }
.news .date { font-family: var(--font-label); letter-spacing: 0.12em; color: var(--text-muted); font-size: 0.85rem; }
.news .t { font-weight: 700; color: var(--parchment); }
.post { background: var(--ink-800); border: 1px solid rgba(79, 179, 184, 0.14); border-radius: 16px; padding: 2rem 2.2rem; margin-bottom: 1.4rem; }
.post h2 { font-family: var(--font-display); color: var(--parchment); margin: 0.3rem 0 0.8rem; font-size: 1.7rem; }
.post p { font-size: 1.05rem; }
.post img { max-width: 100%; border-radius: 12px; border: 1px solid var(--line); margin-top: 0.6rem; }

/* page heads (the other pages) */
.page-head { padding: 4.5rem 0 2.5rem; text-align: center; }
.page-head p { max-width: 640px; margin: 0.8rem auto 0; color: var(--text); font-size: 1.1rem; }

/* the guide */
.steps { counter-reset: step; display: grid; gap: 1.2rem; max-width: 860px; margin: 0 auto; }
.step { position: relative; padding: 1.5rem 1.6rem 1.5rem 5rem; background: var(--ink-800); border: 1px solid rgba(79, 179, 184, 0.14); border-radius: 16px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; left: 1.3rem; top: 1.3rem; width: 2.5rem; height: 2.5rem; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-size: 1.3rem; color: var(--ink-950); background: linear-gradient(var(--gold-300), var(--gold-500)); box-shadow: 0 0 0 3px var(--bronze-900); }
.step h3 { margin: 0 0 0.4rem; color: var(--parchment); font-family: var(--font-display); font-size: 1.3rem; }
.step p { margin: 0; }
kbd { font-family: var(--font-label); background: var(--ink-950); border: 1px solid var(--line); border-bottom-width: 3px; border-radius: 6px; padding: 0.05rem 0.45rem; font-size: 0.85rem; color: var(--gold-300); }
.keys { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem 2rem; max-width: 860px; margin: 1.5rem auto 0; }
.keys div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.6rem 0; border-bottom: 1px solid rgba(79, 179, 184, 0.12); }

/* download */
.get { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: start; }
.box { background: var(--ink-800); border: 1px solid rgba(79, 179, 184, 0.16); border-radius: 18px; padding: 2rem; }
.box h3 { margin: 0 0 1rem; font-family: var(--font-display); color: var(--parchment); font-size: 1.5rem; }
.box ul { margin: 0; padding-left: 1.1rem; line-height: 1.9; }
.soon { display: inline-block; margin-top: 1rem; font-family: var(--font-label); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.8rem; color: var(--gold-400); }

/* the foot */
.foot { border-top: 1px solid rgba(79, 179, 184, 0.14); padding: 2.5rem 0; margin-top: 3rem; }
.foot .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.foot img { height: 56px; }
.foot nav { display: flex; gap: 1.5rem; }
.foot nav a { color: var(--text-muted); font-size: 0.9rem; }
.foot small { color: var(--text-muted); }

@media (max-width: 960px) {
  .top nav { display: none; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--ink-950); border-bottom: 1px solid var(--line); }
  .top nav.open { display: flex; }
  .top nav a { padding: 1rem 1.5rem; }
  .burger { display: block; }
  .top .cta { display: none; }
  .hero .container, .feature, .get { grid-template-columns: 1fr; }
  .feature.flip .pic { order: 0; }
  .hero-logo { max-width: 340px; }
  .facts .bar { grid-template-columns: 1fr 1fr; }
  .world { grid-template-columns: 1fr 1fr; }
  .keys { grid-template-columns: 1fr; }
  .news a, .news article { grid-template-columns: 1fr; gap: 0.3rem; }
}
