/* NCB Games Studio — página do estúdio (ncbgames.com). Azul-marinho e dourado do escudo da NCB; cada jogo traz a própria arte. */
@font-face { font-family: "Cinzel"; src: url("../fonts/Cinzel-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Noto Sans TC"; src: url("../fonts/NotoSans-Regular.ttf") format("truetype"); font-display: swap; }

:root { --bg: #0b1322; --bg-2: #101b30; --panel: rgba(20, 33, 58, 0.78); --line: rgba(214, 177, 92, 0.35); --gold: #e8c46e; --gold-2: #c99a42;
  --text: #e9eef7; --dim: #a8b3c7; --radius: 16px; --shadow: 0 20px 55px rgba(0, 0, 0, 0.5); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; color: var(--text); font: 17px/1.7 "Noto Sans TC", "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased;
  background: radial-gradient(ellipse at 50% -20%, rgba(70, 110, 190, 0.28), transparent 60%), linear-gradient(var(--bg), var(--bg-2) 50%, var(--bg)); background-attachment: fixed;
  min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); text-underline-offset: 3px; }
h1, h2, h3 { font-family: "Cinzel", Georgia, serif; font-weight: 700; color: var(--gold); line-height: 1.2; margin: 0 0 .5em; letter-spacing: .02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 32px, 1160px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: 12px; top: -60px; background: var(--gold); color: #10182a; padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.eyebrow { display: inline-block; font: 700 .8rem/1 "Cinzel", Georgia, serif; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: .85em 1.6em; border-radius: 999px; border: 1px solid var(--line);
  font: 700 .9rem/1 "Cinzel", Georgia, serif; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; color: var(--text); background: rgba(255, 255, 255, .04); transition: transform .15s, background .2s; }
.btn:hover { transform: translateY(-2px); background: rgba(255, 255, 255, .1); color: #fff; }
.btn-gold { color: #111a2c; border-color: #f4dc9a; background: linear-gradient(180deg, #f6dc94, #d6a948 55%, #b98a30); box-shadow: 0 8px 24px rgba(214, 169, 72, .3); }
.btn-gold:hover { color: #111a2c; background: linear-gradient(180deg, #ffe9b0, #e4b85a 55%, #c69538); }

/* cabeçalho */
.head { position: sticky; top: 0; z-index: 50; background: rgba(11, 19, 34, .84); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 700 1.15rem/1 "Cinzel", Georgia, serif; color: var(--gold); white-space: nowrap; }
.brand img { width: 40px; height: auto; aspect-ratio: 120 / 126; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.nav > a { font: 700 .85rem/1 "Cinzel", Georgia, serif; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); text-decoration: none; padding: 10px 12px; border-radius: 8px; white-space: nowrap; }
.nav > a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.lang { display: flex; align-items: center; gap: 6px; margin-left: 6px; padding: 0 4px 0 10px; border: 1px solid var(--line); border-radius: 999px; }
.lang svg { width: 18px; height: 18px; fill: var(--gold); }
.lang-select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; color: var(--text); font: 600 .9rem/1 "Noto Sans TC", system-ui, sans-serif; padding: 9px 24px 9px 2px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
  background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.lang-select option { background: #14213a; color: var(--text); }
@media (max-width: 720px) { .nav > a { display: none; } .head-row { min-height: 64px; } }

/* topo */
.hero { position: relative; overflow: hidden; text-align: center; padding: clamp(60px, 10vw, 120px) 0 clamp(50px, 8vw, 96px); }
.stars { position: absolute; inset: 0; opacity: .55; pointer-events: none;
  background-image: radial-gradient(1.5px 1.5px at 12% 22%, #fff, transparent), radial-gradient(1px 1px at 28% 68%, #dfe8ff, transparent), radial-gradient(1.5px 1.5px at 44% 14%, #fff, transparent),
    radial-gradient(1px 1px at 63% 40%, #fff, transparent), radial-gradient(1.5px 1.5px at 78% 18%, #ffe9b0, transparent), radial-gradient(1px 1px at 88% 62%, #fff, transparent),
    radial-gradient(1px 1px at 6% 80%, #fff, transparent), radial-gradient(1.5px 1.5px at 52% 86%, #dfe8ff, transparent), radial-gradient(1px 1px at 94% 88%, #fff, transparent); }
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero-shield { width: clamp(150px, 22vw, 230px); height: auto; aspect-ratio: 480 / 503; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .6)) drop-shadow(0 0 30px rgba(232, 196, 110, .18)); margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.hero-tag { max-width: 720px; font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--dim); margin-bottom: 28px; }

/* jogos */
.section { padding: clamp(48px, 7vw, 92px) 0; }
.section-head { text-align: center; margin-bottom: clamp(26px, 4vw, 44px); }
.game { display: grid; grid-template-columns: 1.35fr 1fr; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.game-art { display: block; height: 100%; min-height: 320px; overflow: hidden; background: #070c16; }
.game-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.game:hover .game-art img { transform: scale(1.03); }
.game-body { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; justify-content: center; }
.game-logo { width: min(320px, 100%); aspect-ratio: 16 / 9; object-fit: contain; margin: -10px 0 6px -8px; }
.game-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.game-tags span { font-size: .8rem; padding: 4px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--dim); }
.game-body p { color: var(--dim); }
.game-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.game-social { display: flex; gap: 10px; margin-top: 18px; }
.game-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); }
.game-social svg { width: 18px; height: 18px; fill: var(--gold); }
.game.soon { margin-top: 22px; display: flex; align-items: center; gap: 22px; padding: 26px 30px; border-style: dashed; background: rgba(20, 33, 58, .45); }
.game.soon h3 { margin-bottom: .2em; font-size: 1.3rem; }
.game.soon p { margin: 0; color: var(--dim); }
.soon-mark { flex: none; width: 64px; height: 72px; display: grid; place-items: center; font: 700 1.8rem/1 "Cinzel", Georgia, serif; color: var(--gold);
  background: linear-gradient(180deg, #1b2c4c, #121d33); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
@media (max-width: 900px) { .game { grid-template-columns: 1fr; } .game-art { height: auto; min-height: 0; aspect-ratio: 3 / 2; } }

/* sobre */
.about { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .025) 20%, rgba(255, 255, 255, .025) 80%, transparent); }
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.lead { font-size: 1.15rem; color: var(--text); }
.about p { color: var(--dim); }
.about .lead { color: var(--text); }
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.values li { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--gold-2); border-radius: 12px; padding: 16px 20px; }
.values strong { display: block; font-family: "Cinzel", Georgia, serif; color: var(--gold); margin-bottom: 4px; }
.values span { color: var(--dim); font-size: .95rem; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* contato */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: center; }
.contact p { color: var(--dim); }
.contact-cards { display: grid; gap: 12px; }
.card { display: flex; flex-direction: column; padding: 16px 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; font-weight: 600; overflow-wrap: anywhere; transition: background .2s, transform .2s; }
.card:hover { background: rgba(40, 60, 100, .7); transform: translateY(-2px); }
.card small { font: 700 .72rem/1.4 "Cinzel", Georgia, serif; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; } }

/* rodapé */
.foot { border-top: 1px solid var(--line); background: #08101d; }
.foot-row { display: flex; align-items: center; gap: 20px; padding: 26px 0; flex-wrap: wrap; justify-content: space-between; }
.foot img { width: 44px; height: auto; aspect-ratio: 120 / 126; }
.foot p { margin: 0; flex: 1; min-width: 240px; color: #8793a8; font-size: .85rem; }
.foot nav a { color: var(--dim); font-size: .9rem; }
