
/*
Design by TEMPLATED
http://templated.co
Released for free under the Creative Commons Attribution License
*/

body {
	margin: 0;
	padding: 0;
	background: #FFFFFF url(images/wrapper-bg.png) repeat-x;
	font-family: 'Abel', sans-serif;
	font-size: 16px;
	color: #414141;
}

h1, h2, h3 {
	margin: 0;
	padding: 0;
	letter-spacing: -4px;
	text-transform: lowercase;
	font-family: 'Abel', sans-serif;
	font-weight: 400;
	color: #262626;
}

h1 {
	font-size: 2em;
}

h2 {
	padding-bottom: 20px;
	font-size: 2.8em;
}

h3 {
	font-size: 1.6em;
}

p, ul, ol {
	margin-top: 0;
	line-height: 200%;
}

p, ol {
}

ul, ol {
}

a {
	color: #DC483E;
}

a:hover {
}

#wrapper {
	background: #FFFFFF;
}

.container {
	width: 1000px;
	margin: 0px auto;
}

/* Header */

#header {
	width: 960px;
	height: 210px;
	margin: 0px auto 20px auto;
	padding: 0px 20px;
}

/* Logo */

#logo {
	float: left;
	width: 270px;
	height: 210px;
	margin: 0px;
	padding: 0px;
	background:url(images/logo-bg.png) no-repeat left top;
	color: #FFFFFF;
}

#logo h1, #logo p {
}

#logo h1 {
	padding: 10px 0px 0px 0px;
	letter-spacing: -2px;
	text-align: center;
	font-size: 4.8em;
}

#logo h1 a {
	color: #FFFFFF;
}

#logo p {
	margin: 0;
	padding: 0px 0 0 0px;
	letter-spacing: -1px;
	text-align: center;
	text-transform: lowercase;
	font-size: 20px;
	color: #FFFFFF;
}

#logo p a {
	color: #FFFFFF;
}

#logo a {
	border: none;
	background: none;
	text-decoration: none;
	color: #000000;
}

/* Splash */

#splash {
	width: 960px;
	margin: 0px auto;
}

#splash p {
	line-height: 1;
	letter-spacing: -2px;
	text-align: center;
	font-size: 50px;
	color: #68645D;
}

#splash span {
	font-size: 70px;
	color: #DC483E;
}


/* Search */

#search {
	float: right;
	width: 280px;
	height: 60px;
	padding: 20px 0px 0px 0px;
}

#search form {
	height: 41px;
	margin: 0;
	padding: 10px 0 0 20px;
}

#search fieldset {
	margin: 0;
	padding: 0;
	border: none;
}

#search-text {
	width: 170px;
	padding: 6px 5px 2px 5px;
	border: 1px solid #E7EBED;
	background: #FFFFFF;
	text-transform: lowercase;
	font: normal 11px Arial, Helvetica, sans-serif;
	color: #5D781D;
}

#search-submit {
	width: 50px;
	height: 22px;
	border: none;
	background: #B9B9B9;
	color: #000000;
}

/* Menu */

#menu {
	float: right;
	width: 500px;
	height: 20px;
	margin: 0 auto;
	padding: 70px 0px 0px 0px;
}

#menu ul {
	float: right;
	margin: 0;
	padding: 0px 0px 0px 0px;
	list-style: none;
	line-height: normal;
}

#menu li {
	float: left;
}

#menu a {
	display: block;
	height: 20px;
	margin: 0px;
	padding: 0px 15px;
	letter-spacing: -1px;
	text-decoration: none;
	text-align: center;
	text-transform: lowercase;
	font-size: 22px;
	font-weight: 400;
	color: #FFFFFF;
}

#menu a:hover, #menu .current_page_item a {
	text-decoration: none;
}

#menu .current_page_item a {
}

/* ==========================================================
   EVERYTHING BELOW THE HEADER — CUSTOM DESIGN
   ========================================================== */

#wrapper {
	clear: both;
	background: #f7f7f8;
	padding-bottom: 60px;
}

/* ---- Centered Column ---- */

.content-column {
	display: block;
	clear: both;
	width: 960px;
	margin: 0 auto;
	padding: 30px 0 0 0;
}

/* ---- Section Cards (Homepage) ---- */

.section-card {
	display: flex;
	align-items: stretch;
	background: #fff;
	border-radius: 14px;
	margin: 0 0 18px 0;
	overflow: hidden;
	text-decoration: none;
	color: #414141;
	box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

a.section-card {
	cursor: pointer;
}

a.section-card:hover {
	box-shadow: 0 10px 30px rgba(220,72,62,0.12), 0 2px 8px rgba(0,0,0,0.06);
	transform: translateY(-3px);
	text-decoration: none;
	color: #414141;
}

/* Accent stripe on left edge of active cards */
a.section-card {
	border-left: 4px solid #DC483E;
}

.section-card.muted {
	border-left: 4px solid #ddd;
	opacity: 1;
}

/* Media column (left side) */
.section-card-media {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 40px 30px 40px 36px;
	background: #fafafa;
}

.cover-thumb {
	display: block;
	width: 90px;
	height: 135px;
	object-fit: cover;
	border-radius: 5px;
	box-shadow: 0 3px 12px rgba(0,0,0,0.2);
}

.section-card-icon {
	font-size: 3.4em;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100px;
	height: 100px;
	line-height: 1;
	background: #f0f0f0;
	border-radius: 16px;
}

/* Body column (right side) */
.section-card-body {
	flex: 1;
	padding: 40px 36px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.section-card-body h3 {
	font-size: 2em;
	letter-spacing: -1px;
	text-transform: lowercase;
	margin: 0 0 6px 0;
	padding: 0;
	color: #222;
	line-height: 1;
}

.section-card-body p {
	margin: 0 0 14px 0;
	padding: 0;
	line-height: 1.6;
	font-size: 15px;
	color: #777;
}

.section-card-action {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	color: #DC483E;
	letter-spacing: 0.3px;
	line-height: 1;
	transition: letter-spacing 0.2s ease;
}

a.section-card:hover .section-card-action {
	letter-spacing: 1px;
}

.section-card-badge {
	display: inline-block;
	background: #eee;
	color: #bbb;
	padding: 4px 14px;
	border-radius: 12px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	line-height: 1;
}

.section-card.muted .section-card-body h3 {
	color: #999;
}

.section-card.muted .section-card-body p {
	color: #bbb;
}

.section-card.muted .section-card-media {
	background: #fafafa;
}

.section-card.muted .section-card-icon {
	background: #f5f5f5;
	opacity: 0.5;
}

/* ---- Footer ---- */

#footer {
	overflow: hidden;
	background: #1a3a5c;
	padding: 32px 0;
	height: auto;
}

#footer p {
	margin: 0;
	padding: 0;
	text-align: center;
	text-transform: none;
	font-size: 14px;
	color: #8badc4;
	line-height: 1.6;
}

#footer a {
	text-decoration: none;
	color: #a8cce0;
	transition: color 0.2s ease;
}

#footer a:hover {
	color: #fff;
}

/* ==========================================================
   BOOKS PAGE
   ========================================================== */

.page-header {
	display: block;
	clear: both;
	width: 960px;
	margin: 0 auto;
	text-align: center;
	padding: 30px 0 0 0;
}

.page-header h2 {
	font-size: 2.6em;
	letter-spacing: -3px;
	color: #222;
	padding-bottom: 4px;
	margin: 0;
	line-height: 1.1;
}

.page-header .subtitle {
	font-size: 15px;
	color: #999;
	margin: 0;
	line-height: 1.4;
	letter-spacing: 0;
	text-transform: none;
}

p.series-tagline {
	display: block;
	width: 960px;
	margin: 14px auto 0 auto;
	padding: 0 20px;
	text-align: center;
	color: #888;
	line-height: 1.6;
	font-size: 14px;
}

.books-list {
	display: block;
	clear: both;
	width: 960px;
	margin: 28px auto 0 auto;
}

.book-entry {
	display: flex;
	gap: 30px;
	background: #fff;
	border-left: 4px solid #DC483E;
	border-radius: 14px;
	padding: 28px;
	margin: 0 0 22px 0;
	align-items: flex-start;
	box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
}

.book-cover {
	flex-shrink: 0;
	width: 150px;
}

.book-cover img {
	display: block;
	width: 100%;
	border-radius: 6px;
	box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}

.book-details {
	flex: 1;
}

.book-details h2 {
	font-size: 1.7em;
	margin: 0 0 10px 0;
	letter-spacing: -1px;
	padding-bottom: 0;
	line-height: 1.1;
	color: #222;
}

p.book-description {
	color: #666;
	line-height: 1.65;
	font-size: 14px;
	margin: 0 0 20px 0;
}

.book-formats h3 {
	font-size: 10px;
	color: #bbb;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin: 0 0 10px 0;
	padding: 0;
	font-weight: 700;
	line-height: 1;
}

.format-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.format-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 16px;
	border-radius: 8px;
	font-weight: 600;
	font-size: 12px;
	text-decoration: none;
	line-height: 1;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.format-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	text-decoration: none;
}

.format-btn.kindle {
	background: #eef3ff;
	color: #3b6cb5;
	border: 1px solid #d6e2f5;
}
.format-btn.kindle:hover {
	background: #e0ebff;
	color: #3b6cb5;
}

.format-btn.paperback {
	background: #eef8f0;
	color: #2d8a4e;
	border: 1px solid #c8e8d0;
}
.format-btn.paperback:hover {
	background: #dff2e4;
	color: #2d8a4e;
}

.format-btn.audiobook {
	background: #fff6ee;
	color: #c06a1a;
	border: 1px solid #f0dbc4;
}
.format-btn.audiobook:hover {
	background: #ffeddb;
	color: #c06a1a;
}

.format-icon {
	font-size: 1.1em;
}

/* Series CTA */
.series-cta {
	text-align: center;
	padding: 8px 0 10px 0;
}

.btn-primary {
	display: inline-block;
	background: #DC483E;
	color: #fff;
	padding: 12px 28px;
	border-radius: 10px;
	font-family: 'Abel', sans-serif;
	font-size: 1.15em;
	text-decoration: none;
	letter-spacing: -0.5px;
	transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
	box-shadow: 0 2px 8px rgba(220,72,62,0.2);
}

.btn-primary:hover {
	background: #c73c33;
	color: #fff;
	box-shadow: 0 6px 20px rgba(220,72,62,0.3);
	transform: translateY(-2px);
	text-decoration: none;
}

/* ---- Games Logo Stack (Homepage Card) ---- */

.games-logo-stack {
	flex-direction: column;
	gap: 12px;
	padding: 30px 30px 30px 36px;
}

.game-logo-thumb {
	display: block;
	width: 100px;
	height: 100px;
	object-fit: contain;
	border-radius: 18px;
	box-shadow: 0 3px 12px rgba(0,0,0,0.15);
	background: #fff;
}

/* ==========================================================
   GAMES PAGE
   ========================================================== */

.game-cover {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: auto;
	min-width: 200px;
	gap: 16px;
}

.game-icon {
	width: 128px;
	height: 128px;
	border-radius: 24px;
	box-shadow: 0 4px 16px rgba(0,0,0,0.15);
	object-fit: contain;
	background: #fff;
}

.qr-row {
	display: flex;
	gap: 16px;
	justify-content: center;
}

.qr-section {
	text-align: center;
}

.qr-code {
	display: block;
	width: 120px;
	height: 120px;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0,0,0,0.1);
	margin: 0 auto;
}

.qr-label {
	display: block;
	margin-top: 8px;
	font-size: 11px;
	color: #aaa;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 600;
	line-height: 1;
}

.format-btn.google-play {
	background: #e8f5e9;
	color: #2e7d32;
	border: 1px solid #c8e6c9;
}
.format-btn.google-play:hover {
	background: #dcedc8;
	color: #2e7d32;
}

.format-btn.app-store {
	background: #e3f2fd;
	color: #1565c0;
	border: 1px solid #bbdefb;
}
.format-btn.app-store:hover {
	background: #d0e8fc;
	color: #1565c0;
}

.placeholder-entry {
	border-left-color: #ccc;
}

.placeholder-icon {
	font-size: 4em;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 160px;
	height: 160px;
	background: #f5f5f5;
	border-radius: 14px;
	color: #ccc;
	line-height: 1;
	margin: 0 auto;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 700px) {
	.content-column,
	.page-header,
	p.series-tagline,
	.books-list {
		width: auto;
		margin-left: 16px;
		margin-right: 16px;
	}

	.section-card {
		flex-direction: column;
		align-items: stretch;
	}

	.section-card-media {
		justify-content: center;
		padding: 20px 20px 12px 20px;
	}

	.section-card-body {
		padding: 12px 20px 20px 20px;
		text-align: center;
	}

	.book-entry {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.book-cover {
		width: 130px;
	}

	.format-links {
		justify-content: center;
	}
}

/* ── About Page ── */
.about-content {
	max-width: 780px;
	margin: 0 auto;
	padding: 30px 20px 40px;
}

.about-content p {
	font-size: 15px;
	line-height: 1.8;
	color: #444;
	margin-bottom: 20px;
}

.about-content .series-cta {
	margin-top: 30px;
}
