

.gg-home {
	max-width: 1100px;
	margin: 18px auto 60px;
}



.viewport {
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.7);
}

.stage {
	position: relative;
	min-height: 660px;
	transition: transform 0.7s cubic-bezier(0.3, 0.05, 0.2, 1);
	transform-origin: 50% 50%;
}

.stage.zooming {
	transform: scale(2.4);
}

.hero-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: 32% 62%;
	transform: scale(1.05);
}

.hero-scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(100deg, rgba(6, 4, 2, 0.9) 0%, rgba(6, 4, 2, 0.68) 32%, rgba(6, 4, 2, 0.3) 58%, rgba(6, 4, 2, 0.58) 100%),
		linear-gradient(0deg, rgba(4, 3, 1, 0.5), transparent 42%);
}

canvas#dust {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	pointer-events: none;
}

.lamp-glow {
	position: absolute;
	top: 2%;
	left: 2%;
	width: 38%;
	height: 50%;
	background: radial-gradient(circle, rgba(232, 199, 120, 0.2) 0%, rgba(232, 199, 120, 0.05) 42%, transparent 70%);
	opacity: 0;
	animation: gg-ignite 2.2s ease-out 0.2s forwards;
	pointer-events: none;
}

@keyframes gg-ignite {
	0% {
		opacity: 0;
	}
	18% {
		opacity: 0.75;
	}
	30% {
		opacity: 0.35;
	}
	46% {
		opacity: 0.9;
	}
	60% {
		opacity: 0.55;
	}
	100% {
		opacity: 1;
	}
}

.vignette {
	position: absolute;
	inset: 0;
	box-shadow: inset 0 0 150px 45px rgba(0, 0, 0, 0.6);
	pointer-events: none;
}

.stage .content {
	position: relative;
	padding: 60px 56px 56px;
	transition: opacity 0.3s ease;
}

.stage .content.receded {
	opacity: 0;
	pointer-events: none;
}

.stage .kicker {
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #d9b467;
	margin: 0 0 16px;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

h1.title {
	font-family: var(--font-serif);
	font-weight: 400;
	max-width: 24ch;
	font-size: clamp(1.7rem, 3.4vw, 2.5rem);
	margin: 0 0 12px;
	text-wrap: balance;
	color: #f8efd8;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}

.stage .sub {
	max-width: 54ch;
	color: #d8c9a5;
	font-size: 1rem;
	line-height: 1.6;
	margin: 0 0 36px;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.shelf {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	-webkit-perspective: 1600px;
	perspective: 1600px;
	position: relative;
}

.book {
	aspect-ratio: 3 / 4;
	border-radius: 6px;
	position: relative;
	overflow: hidden;
	background-size: cover;
	background-position: center 40%;
	box-shadow: 0 24px 40px -18px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.08);
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	transition: transform 0.35s ease, box-shadow 0.35s ease;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.book::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(6, 3, 1, 0.92) 0%, rgba(6, 3, 1, 0.72) 30%, rgba(6, 3, 1, 0.1) 62%, transparent 78%);
}

.book .book-copy {
	position: relative;
	padding: 18px 18px 20px;
}

.book .vol {
	font-family: var(--font-mono);
	font-size: 0.62rem;
	letter-spacing: 0.14em;
	color: var(--gold);
	margin: 0 0 8px;
	text-transform: uppercase;
}

.book h2 {
	font-family: var(--font-serif);
	font-size: 1.14rem;
	font-weight: 400;
	letter-spacing: 0.03em;
	margin: 0 0 8px;
	color: #f6ecd6;
}

.book p {
	font-size: 0.82rem;
	line-height: 1.5;
	color: #dccdab;
	margin: 0 0 10px;
}

.book .meta {
	font-family: var(--font-mono);
	font-size: 0.6rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #b3a37c;
	margin: 0 0 9px;
}

.book .open {
	font-size: 0.74rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--gold);
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.book .open::after {
	content: "→";
	transition: transform 0.2s;
}


@media (hover: hover) and (pointer: fine) {
	.book:hover .open::after {
		transform: translateX(4px);
	}

	.book:hover {
		box-shadow: 0 30px 50px -18px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(232, 199, 120, 0.35);
	}
}

.book:focus-visible {
	outline: 2px solid var(--gold);
	outline-offset: 4px;
}

.foot-note {
	margin-top: 34px;
	font-size: 0.76rem;
	color: #a9976d;
	font-family: var(--font-mono);
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}



.hinge {
	position: fixed;
	z-index: 60;
	-webkit-perspective: 1300px;
	perspective: 1300px;
	pointer-events: none;
	filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.7));
}

.hinge .underpage {
	position: absolute;
	inset: 0;
	border-radius: 6px;
	background:
		linear-gradient(105deg, rgba(0, 0, 0, 0.22), transparent 22%),
		linear-gradient(160deg, #f2e6c9, #e2d2ab);
}

.hinge .cover {
	position: absolute;
	inset: 0;
	border-radius: 6px;
	background-size: cover;
	background-position: center 40%;
	transform-origin: left center;
	transform: rotateY(0deg);
	transition: transform 0.75s cubic-bezier(0.25, 0.05, 0.2, 1);
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
}

.hinge.opening .cover {
	transform: rotateY(-150deg);
}



.guide-panel {
	position: fixed;
	inset: 0;
	z-index: 70;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4vh 20px;
	background: rgba(8, 5, 3, 0.72);
	-webkit-backdrop-filter: blur(7px);
	backdrop-filter: blur(7px);
	opacity: 0;
	transition: opacity 0.35s ease;
	pointer-events: none;
}

.guide-panel.open {
	opacity: 1;
	pointer-events: auto;
}

.gp-card {
	position: relative;
	width: min(760px, 94vw);
	max-height: 90vh;
	overflow-y: auto;
	border-radius: 14px;
	border: 1px solid rgba(107, 90, 55, 0.67);
	background:
		radial-gradient(ellipse 100% 40% at 50% -5%, rgba(201, 162, 74, 0.1), transparent 60%),
		linear-gradient(170deg, #221709, #120b06);
	box-shadow: 0 50px 100px -30px rgba(0, 0, 0, 0.9);
	padding: 40px 44px 36px;
	transform: translateY(14px) scale(0.97);
	transition: transform 0.35s ease;
}

.guide-panel.open .gp-card {
	transform: translateY(0) scale(1);
}

.gp-close {
	position: absolute;
	top: 20px;
	left: 20px;
	background: rgba(20, 14, 8, 0.7);
	border: 1px solid var(--line);
	color: var(--gold);
	font-size: 0.78rem;
	padding: 8px 14px;
	border-radius: 20px;
	cursor: pointer;
	letter-spacing: 0.03em;
}

.gp-close:hover {
	background: rgba(20, 14, 8, 0.95);
}

.gp-kicker {
	font-family: var(--font-mono);
	font-size: 0.64rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--gold-2);
	margin: 0 0 10px;
}

.gp-card h2 {
	font-family: var(--font-serif);
	font-weight: 400;
	font-size: 1.9rem;
	margin: 0 0 12px;
	color: #f6ecd6;
}

.gp-intro {
	font-family: var(--font-sans);
	font-size: 0.92rem;
	line-height: 1.65;
	color: #c9ba95;
	margin: 0 0 24px;
}

.gp-chapters {
	list-style: none;
	margin: 0 0 26px;
	padding: 0;
}

.gp-chapters li {
	border-bottom: 1px dotted rgba(107, 90, 55, 0.4);
}

.gp-chapters a {
	display: flex;
	align-items: baseline;
	gap: 12px;
	padding: 11px 2px;
	text-decoration: none;
	color: #e2d3ae;
	font-family: var(--font-sans);
	font-size: 0.9rem;
	transition: color 0.2s ease, transform 0.2s ease;
}

.gp-chapters a:hover {
	color: #f6ecd6;
	transform: translateX(4px);
}

.gp-chapters .n {
	font-family: var(--font-serif);
	color: var(--gold-2);
	width: 1.7em;
	flex-shrink: 0;
}

.gp-chapters .tag {
	margin-left: auto;
	font-size: 0.62rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--dim);
}

.gp-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}



.below {
	padding: 50px 32px 0;
}

.section {
	margin-bottom: 54px;
	position: relative;
}

.game-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-auto-rows: 1fr;
	gap: 18px;
}

.game-card {
	background: linear-gradient(165deg, rgba(50, 37, 26, 0.75), rgba(18, 12, 7, 0.85));
	border: 1px solid rgba(107, 90, 55, 0.47);
	border-radius: 10px;
	overflow: hidden;
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	text-decoration: none;
}

.game-card:hover {
	transform: translateY(-5px);
	border-color: rgba(201, 162, 74, 0.6);
	box-shadow: 0 18px 32px -14px rgba(0, 0, 0, 0.9);
}

.guide-groups {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.guide-group {
	background: linear-gradient(165deg, rgba(50, 37, 26, 0.75), rgba(18, 12, 7, 0.85));
	border: 1px solid rgba(107, 90, 55, 0.47);
	border-radius: 10px;
	padding: 22px 24px;
}

.gg-group-head {
	margin-bottom: 14px;
	padding-bottom: 14px;
	border-bottom: 1px solid rgba(107, 90, 55, 0.4);
}

.gg-group-head .ggk {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.7rem;
	letter-spacing: 0.04em;
	color: var(--dim);
	margin-bottom: 6px;
}

.gg-group-head h3 {
	margin: 0;
	font-family: var(--font-serif);
	font-size: 1.15rem;
}

.gg-group-head h3 a {
	color: var(--cream);
	text-decoration: none;
}

.gg-group-head h3 a:hover {
	color: var(--gold);
}

.gg-chapter-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.gg-chapter-list li {
	border-bottom: 1px solid rgba(107, 90, 55, 0.25);
}

.gg-chapter-list li:last-child {
	border-bottom: none;
}

.gg-chapter-list a {
	display: block;
	padding: 10px 0;
	color: var(--tan);
	text-decoration: none;
	font-size: 0.88rem;
	line-height: 1.35;
	transition: color 0.2s ease;
}

.gg-chapter-list a:hover {
	color: var(--gold);
}

.gc-imgwrap {
	overflow: hidden;
}

.gc-img {
	aspect-ratio: 16 / 10;
	background-size: cover;
	background-position: center;
	position: relative;
	transition: transform 0.4s ease;
}

.gc-img::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(18, 12, 7, 0.85) 0%, transparent 42%);
}

.game-card:hover .gc-img {
	transform: scale(1.045);
}

.gc-body {
	padding: 15px 17px 16px;
}

.gc-body .from {
	font-family: var(--font-mono);
	font-size: 0.58rem;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: var(--dim);
	display: block;
	margin-bottom: 6px;
}

.game-card h3 {
	font-family: var(--font-serif);
	font-weight: 400;
	font-size: 1.1rem;
	margin: 0 0 7px;
	color: var(--cream);
}

.game-card p {
	font-family: var(--font-sans);
	font-size: 0.78rem;
	line-height: 1.5;
	color: var(--tan-2);
	margin: 0 0 12px;
}

.game-card .how {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--gold-2);
	font-family: var(--font-sans);
}

.game-card .how::after {
	content: " →";
}



.rank-band-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.rank-band {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	padding: 1px;
	background: linear-gradient(160deg, var(--gold-dark) 0%, #5c4622 30%, #3a2c15 55%, #5c4622 80%, var(--gold-dark) 100%);
}

.rank-band-inner {
	border-radius: 11px;
	background:
		radial-gradient(ellipse 90% 110% at 100% 0%, rgba(201, 162, 74, 0.14), transparent 55%),
		rgba(13, 8, 4, 0.95);
	padding: 24px 26px;
	display: flex;
	flex-direction: column;
	gap: 9px;
	height: 100%;
}

.rank-band .rb-top5 {
	font-family: var(--font-serif);
	font-size: 1.55rem;
	color: var(--gold);
	line-height: 1;
}

.rank-band .rb-top5 small {
	display: block;
	font-family: var(--font-mono);
	font-size: 0.58rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--dim);
	margin-bottom: 5px;
}

.rank-band h3 {
	font-family: var(--font-serif);
	font-weight: 400;
	font-size: 1.22rem;
	margin: 0;
	color: var(--cream);
}

.rank-band .rb-line {
	display: flex;
	align-items: center;
	gap: 9px;
	flex-wrap: wrap;
	font-family: var(--font-sans);
	font-size: 0.76rem;
	color: var(--tan-2);
}

.rb-pill {
	font-size: 0.6rem;
	font-weight: 800;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	padding: 2.5px 9px;
	border-radius: 10px;
	background: rgba(127, 184, 106, 0.16);
	color: #a9d894;
	border: 1px solid rgba(127, 184, 106, 0.45);
}

.rank-band .btn-gold {
	align-self: flex-start;
	margin-top: 6px;
}



.trust-grid {
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	gap: 30px;
	align-items: start;
}

.tg-copy p {
	font-family: var(--font-sans);
	font-size: 0.88rem;
	line-height: 1.7;
	color: var(--tan);
	margin: 0 0 14px;
	max-width: 70ch;
}

.tg-copy b {
	color: var(--cream-2);
}

.stat-tiles {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
}

.stat-tile {
	border: 1px solid rgba(107, 90, 55, 0.47);
	border-radius: 10px;
	background: linear-gradient(165deg, rgba(44, 32, 20, 0.7), rgba(16, 10, 6, 0.85));
	padding: 16px 16px 14px;
}

.stat-tile .sv {
	font-family: var(--font-serif);
	font-size: 1.6rem;
	color: var(--gold);
	line-height: 1.1;
}

.stat-tile .sk {
	font-family: var(--font-sans);
	font-size: 0.7rem;
	line-height: 1.45;
	color: #b3a37c;
	display: block;
	margin-top: 5px;
}

.link-chip {
	display: inline-block;
	padding: 8px 16px;
	border-radius: 18px;
	border: 1px solid rgba(201, 162, 74, 0.53);
	color: #e0c07f;
	text-decoration: none;
	font-family: var(--font-sans);
	font-size: 0.74rem;
	font-weight: 700;
	transition: background 0.2s ease;
}

.link-chip:hover {
	background: rgba(201, 162, 74, 0.14);
}



.fresh-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid rgba(107, 90, 55, 0.33);
}

.fresh-list li {
	display: flex;
	gap: 18px;
	align-items: baseline;
	padding: 13px 4px;
	border-bottom: 1px solid rgba(107, 90, 55, 0.33);
	font-family: var(--font-sans);
	font-size: 0.84rem;
	color: var(--tan);
}

.fresh-list .fd {
	font-family: var(--font-mono);
	font-size: 0.66rem;
	letter-spacing: 0.06em;
	color: var(--gold-2);
	white-space: nowrap;
	flex-shrink: 0;
	width: 78px;
}

.fresh-list b {
	color: var(--cream-2);
	font-weight: 600;
}



.index-band {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	padding: 1px;
	background: linear-gradient(160deg, var(--gold-dark) 0%, #5c4622 24%, #3a2c15 50%, #5c4622 76%, var(--gold-dark) 100%);
}

.index-band-inner {
	border-radius: 11px;
	background:
		radial-gradient(ellipse 80% 100% at 90% 50%, rgba(201, 162, 74, 0.14), transparent 60%),
		rgba(13, 8, 4, 0.95);
	display: flex;
	align-items: center;
	gap: 26px;
	padding: 28px 32px;
	flex-wrap: wrap;
}

.index-band .maple {
	width: 52px;
	height: 52px;
	flex-shrink: 0;
	color: var(--gold);
}

.index-band .ib-copy {
	flex: 1;
	min-width: 240px;
}

.index-band h2 {
	font-family: var(--font-serif);
	font-weight: 400;
	font-size: 1.35rem;
	margin: 0 0 6px;
	color: var(--cream);
}

.index-band p {
	font-family: var(--font-sans);
	font-size: 0.84rem;
	color: var(--tan-2);
	margin: 0;
	line-height: 1.55;
}



@media (max-width: 760px) {
	.shelf {
		grid-template-columns: 1fr;
	}

	.stage .content {
		padding: 40px 22px 36px;
	}

	.stage {
		min-height: auto;
	}

	.stage.zooming {
		transform: scale(1.5);
	}

	.game-grid,
	.guide-groups {
		grid-template-columns: 1fr;
	}

	.rank-band-grid,
	.trust-grid,
	.stat-tiles {
		grid-template-columns: 1fr;
	}

	.below {
		padding: 40px 18px 0;
	}

	.gp-card {
		padding: 28px 22px 26px;
	}

	.section-head {
		flex-wrap: wrap;
	}

	.section-head .lede {
		margin-left: 0;
		text-align: left;
		max-width: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.book,
	.stage .content,
	.stage,
	.lamp-glow,
	.hinge .cover,
	.guide-panel,
	.gp-card {
		transition: none !important;
		animation: none !important;
	}

	.stage.zooming {
		transform: none !important;
	}
}




.gg-openfx {
	position: fixed;
	inset: 0;
	z-index: 200;
	background: radial-gradient(ellipse at center, rgba(8, 5, 3, 0.55), rgba(4, 2, 1, 0.92));
	opacity: 0;
	transition: opacity 0.45s ease;
	pointer-events: none;
}
.gg-openfx.show {
	opacity: 1;
}
.gg-openfx.flood {
	background: #0d0906;
	opacity: 1;
	transition: opacity 0.34s ease;
}

.gg-openfx__book {
	position: fixed;
	z-index: 210;
	-webkit-perspective: 1800px;
	perspective: 1800px;
	transform-origin: center center;
	transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
	will-change: transform;
	filter: drop-shadow(0 44px 64px rgba(0, 0, 0, 0.78));
}

.gg-openfx__book .gg-page {
	position: absolute;
	inset: 0;
	border-radius: 6px;
	background: linear-gradient(140deg, #f4e8cb 0%, #e6d4aa 100%);
	box-shadow: inset 9px 0 26px rgba(60, 40, 15, 0.22);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 12% 12% 14%;
	opacity: 0;
	transition: opacity 0.5s ease 0.32s;
}
.gg-openfx__book.open .gg-page {
	opacity: 1;
}
.gg-openfx__book .gg-page .vol {
	font-family: var(--font-mono);
	font-size: 0.6rem;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #9a7327;
	margin-bottom: 14px;
}
.gg-openfx__book .gg-page .ttl {
	font-family: var(--font-serif);
	font-size: clamp(1.3rem, 2vw, 2rem);
	line-height: 1.15;
	color: #241a10;
	text-wrap: balance;
}
.gg-openfx__book .gg-page .rule {
	width: 46px;
	height: 2px;
	background: #c9a24a;
	margin: 16px 0;
}
.gg-openfx__book .gg-page .go {
	font-family: var(--font-mono);
	font-size: 0.58rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #7a5f28;
}

.gg-openfx__book .gg-leaf {
	position: absolute;
	inset: 0;
	transform-origin: left center;
	-webkit-transform-style: preserve-3d;
	transform-style: preserve-3d;
	transition: transform 0.82s cubic-bezier(0.5, 0, 0.2, 1);
	will-change: transform;
}
.gg-openfx__book.open .gg-leaf {
	transform: rotateY(-160deg);
}
.gg-openfx__book .gg-leaf-front,
.gg-openfx__book .gg-leaf-back {
	position: absolute;
	inset: 0;
	border-radius: 6px;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	background-size: cover;
	background-position: center 40%;
}
.gg-openfx__book .gg-leaf-front {
	box-shadow: inset -10px 0 20px rgba(0, 0, 0, 0.38), 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.gg-openfx__book .gg-leaf-back {
	transform: rotateY(180deg);
	background: linear-gradient(120deg, #2c1e10, #17100a);
	border: 1px solid rgba(201, 162, 74, 0.22);
	box-shadow: inset 0 0 44px rgba(0, 0, 0, 0.6);
}

@media (prefers-reduced-motion: reduce) {
	.gg-openfx,
	.gg-openfx__book,
	.gg-openfx__book .gg-leaf,
	.gg-openfx__book .gg-page {
		transition: none !important;
	}
}


@media (max-width: 760px) {
	.shelf {
		-webkit-perspective: none;
		perspective: none;
	}
	.book {
		-webkit-transform-style: flat;
		transform-style: flat;
	}
}
