/* ROARC — sitio del estudio. Todo estático, sin dependencias externas:
   se puede servir desde GitHub Pages tal cual. */

:root {
	--bg: #14100c;
	--bg-soft: #1d1712;
	--line: #2f2419;
	--gold: #d4a24a;
	--gold-soft: #bf873c;
	--text: #f2e8d9;
	--muted: #a4937c;
	--radius: 16px;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--gold); }

.wrap {
	width: 100%;
	max-width: 1040px;
	margin: 0 auto;
	padding: 0 24px;
}

/* --- Barra superior ------------------------------------------------------ */
header.site {
	position: sticky;
	top: 0;
	z-index: 10;
	background: rgba(20, 16, 12, 0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}

.bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 14px 0;
	flex-wrap: wrap;
}

.brand img { height: 40px; width: auto; }

nav.main {
	display: flex;
	gap: 28px;
	flex-wrap: wrap;
}

nav.main a {
	color: var(--muted);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.86rem;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	padding: 4px 0;
	border-bottom: 2px solid transparent;
	transition: color 0.18s, border-color 0.18s;
}

nav.main a:hover,
nav.main a.active {
	color: var(--gold);
	border-bottom-color: var(--gold);
}

/* --- Hero ---------------------------------------------------------------- */
.hero {
	position: relative;
	padding: 92px 0 84px;
	text-align: center;
	overflow: hidden;
	border-bottom: 1px solid var(--line);
}

.hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url("assets/hero.png");
	background-size: cover;
	background-position: center 38%;
	opacity: 0.2;
}

.hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20,16,12,0.55) 0%, rgba(20,16,12,0.95) 100%);
}

.hero .wrap { position: relative; z-index: 1; }

.hero img.logo {
	height: 88px;
	width: auto;
	margin: 0 auto 26px;
}

.hero p.tagline {
	font-size: 1.22rem;
	color: var(--text);
	max-width: 620px;
	margin: 0 auto;
}

.hero p.sub {
	color: var(--muted);
	max-width: 620px;
	margin: 14px auto 0;
}

/* --- Secciones ----------------------------------------------------------- */
section { padding: 76px 0; border-bottom: 1px solid var(--line); }

h2 {
	font-size: 0.86rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--gold);
	margin: 0 0 10px;
}

h3 { font-size: 1.9rem; margin: 0 0 22px; line-height: 1.25; }

p.lead { font-size: 1.06rem; color: var(--muted); max-width: 660px; }

/* --- Tarjetas de juegos --------------------------------------------------- */
.games {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 22px;
	margin-top: 34px;
}

.game-card {
	display: flex;
	gap: 18px;
	align-items: center;
	padding: 20px;
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	text-decoration: none;
	color: inherit;
	transition: border-color 0.18s, transform 0.18s;
}

.game-card:hover {
	border-color: var(--gold-soft);
	transform: translateY(-3px);
}

.game-card img {
	width: 76px;
	height: 76px;
	border-radius: 18px;
	flex-shrink: 0;
}

.game-card h4 { margin: 0 0 4px; font-size: 1.1rem; }
.game-card span { color: var(--muted); font-size: 0.9rem; }

/* --- Página de juego ------------------------------------------------------ */
.game-head {
	display: flex;
	gap: 28px;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 34px;
}

.game-head img {
	width: 132px;
	height: 132px;
	border-radius: 30px;
	border: 1px solid var(--line);
}

.game-head h1 { margin: 0 0 8px; font-size: 2.1rem; }
.game-head p { margin: 0; color: var(--muted); }

.btn {
	display: inline-block;
	margin-top: 18px;
	padding: 13px 28px;
	background: var(--gold);
	color: #17120c;
	font-weight: 700;
	text-decoration: none;
	border-radius: 999px;
	transition: background 0.18s;
}

.btn:hover { background: #e8b45c; }

.features {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 20px;
	margin-top: 34px;
}

.feature {
	padding: 22px;
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-radius: var(--radius);
}

.feature h4 { margin: 0 0 8px; font-size: 1.02rem; color: var(--gold); }
.feature p { margin: 0; color: var(--muted); font-size: 0.94rem; }

/* --- Documento legal (privacidad) ---------------------------------------- */
.doc { max-width: 760px; }

.doc-head { margin-bottom: 46px; }
.doc-head h1 { font-size: 2.2rem; margin: 0 0 14px; }
.doc-head p.intro { color: var(--muted); font-size: 1.06rem; margin: 0 0 22px; }

.doc-meta {
	display: flex;
	gap: 26px;
	flex-wrap: wrap;
	padding: 16px 20px;
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font-size: 0.9rem;
	color: var(--muted);
}

.doc-meta b { color: var(--text); font-weight: 600; }

.doc-section { margin-top: 44px; }

.doc-section h2 {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 1.28rem;
	letter-spacing: 0;
	text-transform: none;
	color: var(--text);
	margin: 0 0 16px;
}

.doc-section h2 .num {
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--gold);
	color: #17120c;
	font-size: 0.95rem;
	font-weight: 700;
}

.doc-section p { color: var(--muted); margin: 0 0 14px; }
.doc-section ul { color: var(--muted); margin: 0 0 14px; padding-left: 22px; }
.doc-section li { margin-bottom: 9px; }
.doc-section strong { color: var(--text); font-weight: 600; }

.doc-block {
	padding: 20px 22px;
	background: var(--bg-soft);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	margin-bottom: 16px;
}

.doc-block h3 {
	font-size: 1rem;
	color: var(--gold);
	margin: 0 0 8px;
}

.doc-block p:last-child { margin-bottom: 0; }

/* --- Pie ------------------------------------------------------------------ */
footer.site {
	padding: 42px 0;
	color: var(--muted);
	font-size: 0.9rem;
}

footer.site .row {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap;
}

@media (max-width: 620px) {
	.hero { padding: 62px 0 56px; }
	.hero img.logo { height: 62px; }
	h3 { font-size: 1.55rem; }
	.game-head img { width: 104px; height: 104px; }
}
