/* ========== warpjoy Styles ========== */

/* General resets and typography */
html, body {
	height: 100%;
	font-family: 'Roboto', sans-serif;
	-webkit-font-smoothing: antialiased;
	font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	font-weight: 500;
	color: #131313;
}

h1 {
	font-size: 70px;
}

h2 {
	font-size: 36px;
}

h3 {
	font-size: 30px;
}

h4 {
	font-size: 24px;
}

h5 {
	font-size: 20px;
}

h6 {
	font-size: 16px;
}

p {
	font-size: 14px;
	color: #878787;
	line-height: 2;
}

img {
	max-width: 100%;
}

input:focus, select:focus, button:focus, textarea:focus {
	outline: none;
}

a {
	text-decoration: none;
	color: black;
}

	a:hover, a:focus {
		text-decoration: none;
		outline: none;
	}

ul, ol {
	padding: 0;
	margin: 0;
}

/* Header */
.header-section {
	background: #131313;
	clear: both;
	overflow: hidden;
	padding: 18px 0;
	border-bottom: 1px solid #ffb320;
}

.site-logo {
	display: inline-block;
	float: left;
	padding-top: 6px;
}

.user-panel {
	float: right;
	font-weight: 500;
	background: #ffb320;
	padding: 8px 28px;
	border-radius: 30px;
}

	.user-panel a {
		font-size: 14px;
		color: #131313;
	}

.main-menu {
	float: right;
	margin-right: 170px;
}

	.main-menu ul {
		list-style: none;
	}

		.main-menu ul li {
			display: inline;
		}

			.main-menu ul li a {
				display: inline-block;
				font-size: 16px;
				color: #fff;
				margin-left: 35px;
				font-weight: 500;
				padding: 10px 5px;
			}

				.main-menu ul li a:hover {
					color: #ffb320;
				}

.nav-switch {
	display: none;
}


.hero-section {
	background: url('../img/slider-1.jpg') center/cover no-repeat;
	min-height: 480px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(34,34,34,0.7);
}

.hero-content {
	position: relative;
	z-index: 2;
	text-align: center;
	padding: 60px 20px;
}

.hero-title {
	font-size: 3rem;
	font-weight: 700;
	margin-bottom: 18px;
	color: #ffd700;
	text-shadow: 0 2px 16px #000;
	animation: fadeInDown 1s;
}

.hero-desc {
	font-size: 1.3rem;
	margin-bottom: 32px;
	color: #fff;
	animation: fadeInUp 1.2s;
}

/* Recent Games Section */
.recent-game-section {
	margin: 60px 0 0 0;
	background: transparent;
	border: none;
}

.section-title {
	text-align: center;
	margin-bottom: 75px;
}

	.section-title h2 {
		font-size: 2.2rem;
		color: #ffd700;
		font-weight: 700;
		margin-bottom: 18px;
		padding-top: 10px;
	}

.cata {
	display: inline-block;
	text-transform: uppercase;
	font-size: 12px;
	font-weight: 500;
	color: #fff;
	padding: 6px 25px;
	border-radius: 16px;
	margin-bottom: 8px;
}

	.cata.new {
		background: #ff205f;
	}

	.cata.classic {
		background: #ffd700;
		color: #222;
	}

	.cata.reflex {
		background: #00eaff;
		color: #222;
	}

	.cata.puzzle {
		background: #8a2be2;
	}

	.cata.arcade {
		background: #ff3c6f;
	}

	.cata.skill {
		background: #32cd32;
	}

	.cata.racing {
		background: #694eae;
	}

/* Recent Game Card */
.recent-game-item {
	background: #fff;
	border-radius: 22px;
	box-shadow: 0 6px 32px rgba(0,0,0,0.10);
	margin-bottom: 36px;
	transition: transform 0.22s cubic-bezier(.4,2,.6,1), box-shadow 0.22s;
	border: 2px solid #f3f3f3;
	overflow: hidden;
	position: relative;
}

	.recent-game-item:hover {
		transform: translateY(-10px) scale(1.04);
		box-shadow: 0 12px 40px rgba(0,0,0,0.18);
		border-color: #ffd700;
	}

.rgi-thumb {
	background: #f8f9fa;
	padding: 36px 0 18px 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
}

	.rgi-thumb img {
		border-radius: 18px;
		box-shadow: 0 2px 16px #e0e0e0;
		margin-bottom: 10px;
		width: 72px;
		height: 72px;
		background: #fff;
		padding: 8px;
	}

.rgi-content {
	padding: 0 22px 22px 22px;
	text-align: center;
}

	.rgi-content h5 {
		margin: 0 0 8px 0;
	}

		.rgi-content h5 a {
			color: #8a2be2;
			font-size: 1.25rem;
			font-weight: 700;
			text-decoration: none;
			transition: color 0.15s;
		}

			.rgi-content h5 a:hover {
				color: #00eaff;
			}

	.rgi-content p {
		color: #232946;
		font-size: 1.05rem;
		margin-bottom: 18px;
		min-height: 48px;
	}

.rgi-extra {
	margin-bottom: 12px;
}

	.rgi-extra img {
		vertical-align: middle;
		margin: 0 2px;
	}

.rgi-play-btn,
.rgi-content .comment {
	display: inline-block;
	background: linear-gradient(90deg, #00eaff 0%, #8a2be2 100%);
	color: #fff !important;
	font-weight: 700;
	font-size: 1.1rem;
	padding: 12px 36px;
	border-radius: 28px;
	box-shadow: 0 2px 12px rgba(0,0,0,0.18);
	text-decoration: none;
	transition: background 0.18s, transform 0.18s;
	margin-top: 6px;
	border: none;
}

	.rgi-play-btn:hover,
	.rgi-content .comment:hover,
	.recent-game-item:hover .rgi-play-btn {
		background: linear-gradient(90deg, #ffd700 0%, #ff3c6f 100%);
		color: #222 !important;
		transform: scale(1.07);
		text-decoration: none;
	}

/* Footer Top Section */
.footer-top-section {
	background-image: url("../img/pattern.png");
	background-repeat: repeat;
	padding: 72px 0;
}

	.footer-top-section .container {
		position: relative;
	}

.footer-top-bg {
	position: absolute;
	left: -30px;
	bottom: -85px;
	z-index: 2;
}

.footer-logo img {
	margin-bottom: 35px;
}

.footer-widget {
	padding: 40px 30px 7px;
	background: #252525;
	border: 1px solid #4a4a4a;
}

	.footer-widget .fw-title {
		color: #fff;
		margin-bottom: 40px;
	}

/* Footer Section */
.footer-section {
	padding: 32px 0 16px 0;
	overflow: hidden;
	background: #000;
	color: #f1f1f1;
	text-align: center;
	border-top: 1px solid #222;
}

.copyright {
	font-weight: 500;
	color: #bbb;
	font-size: 1rem;
	width: 100%;
	margin-bottom: 0;
}

/* Footer Featured Games - High Contrast & Accessibility */
.featured-games-widget {
    background: #181b20;
    border-radius: 14px;
    padding: 28px 20px 18px 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

.featured-games-title {
    color: #ffd700;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.featured-games-list {
    margin: 0;
    padding: 0;
}

.featured-games-list li {
    margin-bottom: 12px;
    list-style: none;
}

.featured-game-link {
    display: flex;
    align-items: center;
    background: #23272f;
    border-radius: 8px;
    padding: 10px 14px;
    color: #f1f1f1;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    font-size: 1rem;
    font-weight: 500;
}

.featured-game-link:hover,
.featured-game-link:focus {
    background: #007bff;
    color: #fff;
    text-decoration: none;
}

.game-emoji {
    font-size: 1.5rem;
    margin-right: 12px;
    flex-shrink: 0;
}

.game-title2 {
    font-weight: 700;
    margin-right: 8px;
    color: #ffd700;
    font-size: 1.08rem;
}

.game-desc {
    color: #b0b8c1;
    font-size: 0.97rem;
    font-weight: 400;
}

/* Responsive */
@media (max-width: 768px) {
	.recent-game-item {
		margin-bottom: 24px;
	}

	.rgi-content {
		padding: 0 10px 18px 10px;
	}
}

.center_style {
	background-color: #eef2f6;
	border-top: 1px solid #d6dee7;
	border-bottom: 1px solid #d6dee7;
	background-image: url(../img/recent-game-bg.png);
	background-repeat: no-repeat;
	background-repeat: no-repeat;
	/* background-size: cover; */
	background-position: top center;
}

/* Side bar styling*/
.sidebar-games {
	min-width: 180px;
	width: 100%;
	max-width: 260px;
	height: 100%;
	display: flex !important;
	flex-direction: column;
	justify-content: center !important;
	align-items: center !important;
	/* Remove pt-5 if you want perfect vertical centering */
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.side-game-card {
	background: linear-gradient(120deg, #fffbe8 80%, #ffe066 100%);
	border-radius: 16px;
	box-shadow: 0 4px 18px rgba(245,158,66,0.10), 0 1.5px 6px rgba(0,0,0,0.04);
	padding: 18px 12px 16px 12px;
	width: 100%;
	text-align: center;
	transition: transform 0.18s, box-shadow 0.18s;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-left: auto;
	margin-right: auto;
}

	.side-game-card:hover {
		transform: translateY(-4px) scale(1.03);
		box-shadow: 0 8px 32px rgba(245,158,66,0.18), 0 2px 8px rgba(0,0,0,0.08);
	}

.side-game-icon {
	width: 48px;
	height: 48px;
	margin-bottom: 10px;
	border-radius: 10px;
	background: #fff;
	box-shadow: 0 1px 4px rgba(0,0,0,0.07);
	transition: box-shadow 0.2s;
}

.side-game-title {
	font-size: 1.08rem;
	font-weight: 700;
	color: #f59e42;
	margin-bottom: 2px;
	letter-spacing: 0.2px;
}

.side-game-desc {
	font-size: 0.93rem;
	color: #7c6f57;
	margin-bottom: 12px;
	min-height: 36px;
	line-height: 1.25;
}

.side-game-btn {
	display: inline-block;
	background: linear-gradient(90deg, #ffe066 0%, #f59e42 100%);
	color: #2d3748;
	font-weight: 600;
	border: none;
	border-radius: 8px;
	padding: 6px 22px;
	font-size: 1rem;
	box-shadow: 0 2px 8px rgba(245,158,66,0.08);
	text-decoration: none;
	transition: background 0.18s, color 0.18s, box-shadow 0.18s;
	cursor: pointer;
}

	.side-game-btn:hover, .side-game-card:hover .side-game-btn {
		background: linear-gradient(90deg, #f59e42 0%, #ffe066 100%);
		color: #fff;
		box-shadow: 0 4px 16px rgba(245,158,66,0.18);
	}

@media (max-width: 991px) {
	.sidebar-games, .col-md-2.sidebar-games {
		display: none !important;
	}
}
/*side bar styling*/

.bg_style {
	background-color: #eef2f6;
	border-top: 1px solid #d6dee7;
	border-bottom: 1px solid #d6dee7;
	background-image: url(../img/recent-game-bg.png);
	background-repeat: no-repeat;
	background-position: top center;
}

.bg_style2 {

	background-image: url(../img/community-bg.jpg);
	background-repeat: no-repeat;
	background-position: top center;
}

.bg_style3 {
	background-image: url(../img/review-bg.png);
	background-repeat: no-repeat;
	background-position: top center;
}

.typingtest-title {
	font-size: 2.2rem;
	font-weight: 700;
	color: #f59e42;
	margin-bottom: 12px;
	text-align: center;
	letter-spacing: 0.5px;
}

.typingtest-lead {
	font-size: 1.15rem;
	color: #2d3748;
	text-align: center;
	margin-bottom: 28px;
	max-width: 800px;
	margin-left: auto;
	margin-right: auto;
}

.typingtest-features {
	margin-bottom: 18px;
}

.feature-card {
	background: #fffbe8;
	border-radius: 14px;
	box-shadow: 0 2px 12px rgba(245,158,66,0.08);
	padding: 18px 18px 14px 18px;
	min-height: 220px;
	text-align: left;
	border: 1px solid #ffe066;
}

	.feature-card h2 {
		font-size: 1.15rem;
		color: #f59e42;
		font-weight: 700;
		margin-bottom: 10px;
	}

	.feature-card ul, .feature-card ol {
		margin-bottom: 0;
		padding-left: 18px;
		font-size: 1rem;
		color: #444;
	}

.typingtest-outro {
	background: #fffbe8;
	border-radius: 16px;
	box-shadow: 0 2px 12px rgba(245,158,66,0.08);
	padding: 32px 24px 18px 24px;
	margin-bottom: 32px;
	border: 1px solid #ffe066;
}

.typingtest-subtitle {
	font-size: 1.5rem;
	color: #f59e42;
	font-weight: 700;
	margin-bottom: 12px;
	text-align: center;
}

.typingtest-outro ul {
	padding-left: 22px;
	margin-bottom: 18px;
}

.typingtest-outro p, .typingtest-outro ul {
	font-size: 1.05rem;
	color: #2d3748;
}

@media (max-width: 991px) {
	.typingtest-intro, .typingtest-outro {
		padding: 18px 6px !important;
	}

	.feature-card {
		min-height: 0;
		padding: 14px 8px 10px 8px;
	}
}
.other-games-section {
	background: #fffbe8;
	border-radius: 18px;
	box-shadow: 0 2px 12px rgba(245,158,66,0.08);
	padding: 32px 18px 18px 18px;
	border: 1px solid #ffe066;
}

.other-games-title {
	font-size: 1.5rem;
	color: #f59e42;
	font-weight: 700;
	margin-bottom: 24px;
	letter-spacing: 0.5px;
}

@media (max-width: 991px) {
	.other-games-section {
		padding: 18px 4px 10px 4px;
	}

	.other-games-title {
		font-size: 1.2rem;
	}
}

