/*
Theme Name: GeneratePress Gaming Child
Theme URI: https://rewards.nhltraderumorstalk.com
Description: Vibrant, kid-friendly, mobile-first gaming child theme for Gaming Rewards Hub (Free Fire, Roblox & Fortnite guides, rewards & gaming gear). Built on GeneratePress.
Author: Custom
Template: generatepress
Version: 1.1.2
*/

/* ==========================================================================
   GAMING REWARDS HUB — polished, mobile-first gaming skin (GeneratePress child)
   Fonts (functions.php): Luckiest Guy (logo), Baloo 2 (headings), Nunito (body)
   ========================================================================== */
:root {
	--gr-purple: #7c3aed;
	--gr-indigo: #4f46e5;
	--gr-blue:   #2563eb;
	--gr-cyan:   #06b6d4;
	--gr-green:  #22c55e;
	--gr-pink:   #ec4899;
	--gr-orange: #f59e0b;
	--gr-yellow: #facc15;
	--gr-ink:    #171334;
	--gr-text:   #2b2740;
	--gr-muted:  #6b6890;
	--gr-bg:     #f4f3ff;
	--gr-card:   #ffffff;
	--gr-line:   #e9e6ff;
	--gr-grad:   linear-gradient( 135deg, #7c3aed 0%, #5b28e0 45%, #2563eb 100% );
	--gr-grad2:  linear-gradient( 135deg, #ec4899 0%, #f59e0b 100% );
	--gr-radius: 18px;
	--gr-shadow: 0 10px 30px rgba( 80, 55, 180, 0.12 );
}

/* ---- Base (mobile-first) ---- */
body {
	background: var(--gr-bg);
	font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
	color: var(--gr-text);
	font-size: 16px;
	line-height: 1.75;
	-webkit-text-size-adjust: 100%;
}
h1, h2, h3, h4, h5, h6 { font-family: 'Baloo 2', 'Nunito', sans-serif; font-weight: 700; line-height: 1.25; color: var(--gr-ink); }
a { color: var(--gr-blue); }
img { max-width: 100%; height: auto; border-radius: 12px; }
::selection { background: var(--gr-pink); color: #fff; }

/* ---- Header (slim + stylish) ---- */
.site-header {
	background: var(--gr-grad);
	border-bottom: 2px solid rgba( 34, 197, 94, 0.9 );
	box-shadow: 0 2px 14px rgba( 55, 25, 140, 0.30 );
}
.inside-header { padding: 0 24px; align-items: center; min-height: 0; }
.site-branding, .site-logo { padding: 0; }
.main-title, .site-title a, .main-title a {
	font-family: 'Luckiest Guy', 'Baloo 2', cursive !important;
	color: #ffffff !important;
	font-size: 1.4rem;
	letter-spacing: .4px;
	text-shadow: 1px 2px 0 rgba( 0, 0, 0, 0.18 );
	line-height: 1;
	margin: 0;
}
.site-description { color: #e7e3ff !important; font-weight: 700; font-size: .78rem; font-family: 'Baloo 2', sans-serif; margin: 2px 0 0; }

/* ---- Navigation: sleek, integrated onto the header gradient (no dark box) ---- */
.main-navigation { background: transparent; box-shadow: none; }
.main-navigation .inside-navigation { padding: 0; }
.main-navigation .main-nav ul li a {
	font-family: 'Baloo 2', sans-serif;
	font-weight: 600;
	font-size: .96rem;
	color: rgba( 255, 255, 255, 0.9 );
	padding: 8px 14px;
	margin: 0 1px;
	border-radius: 8px;
	position: relative;
	transition: color .15s ease, background .15s ease;
}
.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li a:focus {
	background: rgba( 255, 255, 255, 0.14 );
	color: #fff;
}
/* active = clean glowing accent underline (not a big green blob) */
.main-navigation .main-nav ul li.current-menu-item > a { color: #fff; background: transparent; }
.main-navigation .main-nav ul li.current-menu-item > a::after {
	content: '';
	position: absolute;
	left: 14px; right: 14px; bottom: 3px;
	height: 3px; border-radius: 3px;
	background: var(--gr-green);
	box-shadow: 0 0 8px rgba( 34, 197, 94, 0.75 );
}
/* mobile hamburger toggle */
.main-navigation .menu-toggle {
	font-family: 'Baloo 2', sans-serif;
	font-weight: 700;
	color: #fff;
	padding: 10px 14px;
}
.main-navigation .menu-toggle:hover { color: var(--gr-yellow); }

/* ---- Homepage hero ---- */
.gr-hero {
	background: var(--gr-grad);
	color: #fff;
	text-align: center;
	padding: 40px 18px 44px;
	position: relative;
	overflow: hidden;
}
.gr-hero::after {
	content: '';
	position: absolute;
	inset: 0;
	background: radial-gradient( circle at 20% 0%, rgba(255,255,255,.18), transparent 45% ),
	            radial-gradient( circle at 90% 100%, rgba(6,182,212,.28), transparent 40% );
	pointer-events: none;
}
.gr-hero-inner { position: relative; max-width: 820px; margin: 0 auto; }
.gr-hero-title {
	font-family: 'Luckiest Guy', cursive;
	color: #fff;
	font-size: clamp( 1.7rem, 6vw, 2.7rem );
	margin: 0 0 10px;
	text-shadow: 2px 3px 0 rgba(0,0,0,.18);
}
.gr-hero-sub { font-size: clamp( .95rem, 3.4vw, 1.15rem ); font-weight: 600; color: #efeaff; margin: 0 auto 18px; max-width: 620px; }
.gr-hero-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.gr-chip {
	background: rgba( 255, 255, 255, 0.15 );
	border: 1.5px solid rgba( 255, 255, 255, 0.35 );
	color: #fff;
	font-family: 'Baloo 2', sans-serif;
	font-weight: 700;
	font-size: .92rem;
	padding: 7px 16px;
	border-radius: 999px;
	backdrop-filter: blur( 4px );
}
.gr-chip-ff { background: rgba( 249, 115, 22, 0.28 ); }
.gr-chip-rb { background: rgba( 34, 197, 94, 0.28 ); }
.gr-chip-fn { background: rgba( 236, 72, 153, 0.28 ); }
.gr-chip-gg { background: rgba( 6, 182, 212, 0.28 ); }

/* ---- Content area width for readability ---- */
.site-content .content-area { padding-top: 8px; }

/* ---- Post cards (archive / blog) ---- */
.inside-article {
	background: var(--gr-card);
	border: 2px solid var(--gr-line);
	border-radius: var(--gr-radius);
	box-shadow: var(--gr-shadow);
	padding: 22px;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
article:hover .inside-article {
	transform: translateY( -5px );
	box-shadow: 0 18px 38px rgba( 124, 58, 237, 0.22 );
	border-color: var(--gr-purple);
}
.post-image img, .inside-article .post-image img { border-radius: 14px; width: 100%; }
.entry-title { margin: 6px 0 8px; }
.entry-title a { color: var(--gr-indigo); }
.entry-title a:hover { color: var(--gr-pink); }
.entry-summary p { color: var(--gr-muted); }

/* ---- Meta + category pills ---- */
.entry-meta { color: var(--gr-muted); font-size: .82rem; }
.entry-meta a[rel~="category"],
.entry-meta .cat-links a,
.cat-links a {
	display: inline-block;
	background: var(--gr-grad2);
	color: #fff !important;
	padding: 3px 13px;
	border-radius: 999px;
	font-family: 'Baloo 2', sans-serif;
	font-weight: 700;
	font-size: .74rem;
	text-decoration: none;
	margin: 2px 4px 2px 0;
}
.entry-meta a[rel~="category"]:hover { filter: brightness( 1.08 ); }

/* ---- Buttons ---- */
.button, button, input[type="submit"], input[type="button"],
.wp-block-button__link, a.more-link, .read-more-container a {
	background: var(--gr-grad) !important;
	color: #fff !important;
	border: 0 !important;
	border-radius: 999px !important;
	padding: 12px 28px !important;
	font-family: 'Baloo 2', sans-serif !important;
	font-weight: 700 !important;
	box-shadow: 0 8px 18px rgba( 124, 58, 237, 0.30 );
	transition: transform .12s ease, filter .12s ease;
	text-decoration: none;
	display: inline-block;
}
.button:hover, button:hover, input[type="submit"]:hover,
.wp-block-button__link:hover, a.more-link:hover { filter: brightness( 1.08 ); transform: translateY( -2px ); }

/* ---- Single post content ---- */
.single .entry-header .entry-title, .page .entry-header .entry-title { font-size: clamp( 1.6rem, 5.5vw, 2.4rem ); color: var(--gr-ink); }
.entry-content { font-size: 1.05rem; }
.entry-content > * { margin-bottom: 1.1em; }
.entry-content h2 {
	color: var(--gr-purple);
	border-left: 7px solid var(--gr-green);
	padding-left: 14px;
	margin: 1.6em 0 .6em;
	font-size: clamp( 1.35rem, 4.6vw, 1.7rem );
}
.entry-content h3 { color: var(--gr-indigo); margin: 1.2em 0 .5em; font-size: clamp( 1.15rem, 4vw, 1.32rem ); }
.entry-content p { margin-bottom: 1.05em; }
.entry-content a { color: var(--gr-blue); font-weight: 700; text-decoration: underline; text-decoration-color: rgba( 37, 99, 235, .35 ); text-underline-offset: 2px; }
.entry-content a:hover { color: var(--gr-pink); }
.entry-content strong { color: #241f52; }

/* styled lists */
.entry-content ul { list-style: none; padding-left: 0; }
.entry-content ul li {
	position: relative;
	padding-left: 30px;
	margin-bottom: .55em;
}
.entry-content ul li::before {
	content: '✓';
	position: absolute; left: 0; top: 0;
	color: #fff; background: var(--gr-green);
	width: 21px; height: 21px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
	font-size: .72rem; font-weight: 800;
}
.entry-content ol { padding-left: 1.3em; }
.entry-content ol li { margin-bottom: .5em; }

/* callout / blockquote */
.entry-content blockquote {
	border-left: 6px solid var(--gr-pink);
	background: #fff2f9;
	border-radius: 0 14px 14px 0;
	padding: 14px 20px;
	margin: 1.4em 0;
	color: #4a2140;
}

/* ---- Tables (wrapped by functions.php for mobile scroll) ---- */
.gr-table-wrap {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 1.4em 0;
	border-radius: 14px;
	box-shadow: var(--gr-shadow);
	border: 1px solid var(--gr-line);
}
.entry-content .gr-table-wrap table { margin: 0; box-shadow: none; border: 0; min-width: 560px; }
.entry-content table { border-collapse: collapse; width: 100%; background: #fff; }
.entry-content table th {
	background: var(--gr-grad);
	color: #fff;
	font-family: 'Baloo 2', sans-serif;
	font-weight: 700;
	padding: 13px 14px;
	text-align: left;
}
.entry-content table td { padding: 12px 14px; border-bottom: 1px solid var(--gr-line); }
.entry-content table tr:nth-child( even ) td { background: #f6f4ff; }

/* ---- FAQ section polish ---- */
.entry-content h2 + h3, .entry-content h3 { scroll-margin-top: 90px; }

/* ---- Widgets / sidebar ---- */
.widget .widget-title {
	font-family: 'Baloo 2', sans-serif;
	color: var(--gr-purple);
	border-bottom: 3px dashed var(--gr-yellow);
	padding-bottom: 6px;
	margin-bottom: 14px;
}
.sidebar .widget { background: #fff; border: 2px solid var(--gr-line); border-radius: var(--gr-radius); padding: 18px; box-shadow: var(--gr-shadow); }

/* ---- Pagination ---- */
.nav-links .page-numbers, .paging-navigation .page-numbers {
	border-radius: 12px !important;
	background: #fff;
	border: 2px solid var(--gr-line);
	font-family: 'Baloo 2', sans-serif;
	font-weight: 700;
	padding: 8px 14px;
	margin: 0 3px;
}
.nav-links .page-numbers.current { background: var(--gr-grad); color: #fff; border-color: transparent; }

/* ---- Back-to-top ---- */
.generate-back-to-top { background: var(--gr-grad) !important; border-radius: 50% !important; box-shadow: 0 6px 16px rgba(124,58,237,.4); }

/* ---- Footer ---- */
.site-footer, .site-info { background: var(--gr-ink); color: #cdc7ff; }
.site-info { padding: 18px; text-align: center; }
.site-footer a, .site-info a { color: var(--gr-yellow); }

/* ==========================================================================
   MOBILE-FIRST RESPONSIVE POLISH
   ========================================================================== */
@media ( max-width: 768px ) {
	.inside-header { padding: 4px 16px; }
	.main-title, .site-title a { font-size: 1.3rem; }
	.site-description { font-size: .72rem; }

	/* Open mobile dropdown needs a solid background (desktop nav is transparent) */
	.main-navigation.toggled { background: rgba( 23, 19, 52, 0.98 ); border-radius: 0 0 14px 14px; }
	.main-navigation .main-nav ul li a { margin: 0; border-radius: 0; padding: 14px 18px; border-bottom: 1px solid rgba( 255, 255, 255, 0.08 ); }
	.main-navigation .main-nav ul li.current-menu-item > a { background: rgba( 34, 197, 94, 0.22 ); }
	.main-navigation .main-nav ul li.current-menu-item > a::after { display: none; }

	.gr-hero { padding: 30px 16px 34px; }
	.gr-chip { font-size: .84rem; padding: 6px 13px; }

	.inside-article { padding: 17px; border-radius: 15px; }
	article:hover .inside-article { transform: none; } /* no hover-lift on touch */

	.entry-content { font-size: 1.02rem; }
	.entry-content ul li { padding-left: 27px; }
}

@media ( max-width: 480px ) {
	body { font-size: 15.5px; }
	.main-title, .site-title a { font-size: 1.5rem; }
	.gr-hero-chips { gap: 8px; }
	.entry-content .gr-table-wrap table { min-width: 480px; }
}

/* Larger, comfy reading on desktop */
@media ( min-width: 769px ) {
	body { font-size: 17px; }
}
