/* Berkelocene -- berkelocene.gametimecoin.com. Nano Cry's own type (the herd families) and the game's own images. */
@font-face { font-family: "herd Sans"; src: url("fonts/herd-Sans-Regular.ttf") format("truetype"); font-weight: 400; }
@font-face { font-family: "herd Sans"; src: url("fonts/herd-Sans-Bold.ttf") format("truetype"); font-weight: 700; }
@font-face { font-family: "herd Arcade"; src: url("fonts/herd-Arcade-Bold.ttf") format("truetype"); font-weight: 700; }

:root {
  --bg: #0d0e11; --panel: #16181d; --panel-2: #1d2027; --line: #2b2f38;
  --text: #ece9e2; --dim: #a9adb6; --gold: #f2c75a; --blue: #4f8df2; --red: #ff6a2e;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "herd Sans", Arial, sans-serif; font-size: 17px; line-height: 1.55; }
a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, .title { font-family: "herd Arcade", "herd Sans", Arial, sans-serif; letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 0.5em; }
h2 { font-size: 1.6rem; color: var(--gold); }
h3 { font-size: 1.05rem; color: var(--text); }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

header { position: sticky; top: 0; z-index: 5; background: rgba(13, 14, 17, 0.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
header .wrap { display: flex; align-items: center; gap: 14px; height: 60px; }
header img { width: 34px; height: 34px; }
header .title { font-size: 1.25rem; margin: 0; }
header nav { margin-left: auto; display: flex; gap: 22px; }
header nav a { color: var(--dim); font-weight: 700; font-size: 0.95rem; }
header nav a:hover { color: var(--text); text-decoration: none; }

.hero { position: relative; min-height: 560px; display: flex; align-items: center; background: #000 url("img/hero.jpg") center / cover no-repeat; border-bottom: 1px solid var(--line); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,14,17,0.15), rgba(13,14,17,0.85)); }
.hero .wrap { position: relative; z-index: 1; padding: 70px 20px; }
.hero img { max-width: min(640px, 90vw); display: block; margin-bottom: 26px; }
.hero .tag { font-family: "herd Arcade", sans-serif; font-size: clamp(1.1rem, 2.4vw, 1.7rem); line-height: 1.3; color: var(--gold); max-width: 820px; text-transform: none; letter-spacing: 0.02em; }
.hero .lead { font-size: 1.15rem; max-width: 760px; color: var(--text); }
.hero .cta { display: inline-block; margin-top: 10px; padding: 12px 22px; border: 2px solid var(--gold); color: var(--gold); font-family: "herd Arcade", sans-serif; letter-spacing: 0.08em; text-transform: uppercase; }
.hero .cta:hover { background: var(--gold); color: #1a1407; text-decoration: none; }
.hero .status { margin-top: 18px; color: var(--dim); font-size: 0.95rem; }

section { padding: 64px 0; border-bottom: 1px solid var(--line); }
section.alt { background: var(--panel); }
.two { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; }
.two img { width: 100%; border: 1px solid var(--line); border-radius: 4px; }
.quote { border-left: 3px solid var(--gold); padding-left: 16px; color: var(--dim); font-style: italic; }

.ops { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.op { background: var(--panel-2); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.op img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.op div { padding: 10px 12px; }
.op b { font-family: "herd Arcade", sans-serif; letter-spacing: 0.04em; }
.op span { display: block; color: var(--dim); font-size: 0.9rem; }
.team { margin: 18px 0 8px; font-family: "herd Arcade", sans-serif; letter-spacing: 0.06em; font-size: 0.9rem; }
.team.a { color: var(--blue); } .team.b { color: var(--red); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { background: var(--panel-2); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.card div { padding: 14px 16px 6px; }
.card p { color: var(--dim); font-size: 0.95rem; }

.play ul { padding-left: 20px; color: var(--dim); }
.play li { margin-bottom: 6px; }
footer { padding: 30px 0 40px; color: var(--dim); font-size: 0.9rem; }
footer a { color: var(--dim); }

@media (max-width: 820px) {
  header nav { display: none; }
  .two { grid-template-columns: 1fr; }
  .ops { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .hero { min-height: 440px; }
}
