/*
Theme Name: GUNDALA PRO
Theme URI: https://spacecoastemergencytarping.com/
Author: GUNDALA PRO
Description: Tema toko game online GUNDALA PRO — diamond, top up saldo, voucher game, battle pass, dan kostum. Layout grid produk ala toko online, SEO siap pakai (robots.txt, meta robots index, canonical, schema JSON-LD), tampilan satu halaman: About, Policy, FAQ, dan Contact langsung di homepage.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gundala-pro
Tags: e-commerce, grid-layout, custom-logo, custom-menu, one-column
*/

:root {
	--gp-ink: #1d1b1b;
	--gp-muted: #6f6767;
	--gp-bg: #efeded;
	--gp-surface: #ffffff;
	--gp-line: #e4dfdf;
	--gp-night: #140303;
	--gp-maroon: #2a0606;
	--gp-maroon-2: #4a0c0c;
	--gp-red: #741a1a;
	--gp-red-hot: #c62828;
	--gp-gold: #fac12c;
	--gp-gold-2: #e09a12;
	--gp-link: #8a1c1c;
	--gp-max: 1000px;
	--gp-font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--gp-bg);
	color: var(--gp-ink);
	font-family: var(--gp-font);
	font-size: 14px;
	line-height: 1.6;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--gp-link); text-decoration: none; }
a:hover { color: var(--gp-red-hot); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gp-gold-2); outline-offset: 2px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 1000; top: 8px; left: 8px;
	background: var(--gp-gold); color: var(--gp-night); padding: 8px 14px; font-weight: 700;
}

.gp-wrap { max-width: var(--gp-max); margin: 0 auto; padding: 0 16px; }

/* ---------- Top bar ---------- */
.gp-topbar { background: var(--gp-night); border-bottom: 2px solid var(--gp-maroon-2); }
.gp-topbar ul {
	list-style: none; margin: 0 auto; padding: 0 16px; max-width: var(--gp-max);
	display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 30px;
}
.gp-topbar a {
	display: block; padding: 12px 0; color: #efe2e2; font-size: 12.5px; font-weight: 500; letter-spacing: .02em;
}
.gp-topbar a:hover, .gp-topbar .current-menu-item > a, .gp-topbar a[aria-current="page"] { color: var(--gp-gold); }

/* ---------- Header ---------- */
.gp-header { max-width: var(--gp-max); margin: 0 auto; background: var(--gp-surface); }
.gp-brand {
	display: flex; align-items: center; justify-content: center;
	padding: 22px 16px 18px; text-align: center;
}
.gp-brand .site-title { margin: 0; line-height: 0; font-size: 0; }
.gp-brand .site-title a { display: inline-block; }
.gp-brand .gp-logo { width: 360px; max-width: 86vw; height: auto; }
.gp-subbar {
	border-top: 1px solid var(--gp-line); padding: 12px 16px; text-align: center;
	font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gp-red);
}
.gp-subbar .gp-bolt { display: inline-block; width: 12px; height: 12px; vertical-align: -1px; margin: 0 8px; fill: var(--gp-gold-2); }

/* ---------- Main ---------- */
.gp-main { max-width: var(--gp-max); margin: 26px auto 40px; background: var(--gp-surface); padding: 36px 28px 44px; }
.gp-section + .gp-section { margin-top: 48px; }
.gp-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 22px; border-bottom: 1px solid var(--gp-line); padding-bottom: 10px; }
.gp-section__title { margin: 0; font-size: 18px; font-weight: 700; color: var(--gp-ink); }
.gp-section__title::before { content: ""; display: inline-block; width: 4px; height: 16px; background: var(--gp-gold); margin-right: 10px; vertical-align: -2px; }
.gp-section__more { font-size: 12.5px; font-weight: 600; }

/* Hero — parallelogram, same style as the logo banner (maroon, gold border, gold rain) */
.gp-hero { position: relative; isolation: isolate; max-width: 780px; margin: 4px auto 46px; padding: 30px 80px 32px; text-align: center; }
.gp-hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(-18deg);
	border: 2px solid var(--gp-gold-2);
	background:
		repeating-linear-gradient(104deg, transparent 0 46px, rgba(250,193,44,.13) 46px 47px, transparent 47px 91px),
		radial-gradient(ellipse at 28% 30%, #5e1212 0%, var(--gp-maroon) 55%, var(--gp-night) 100%);
	box-shadow: 0 10px 24px rgba(42,6,6,.18);
}
.gp-hero__title {
	margin: 0 0 10px; color: var(--gp-gold); font-size: clamp(17px, 2.6vw, 24px); font-weight: 800; letter-spacing: .03em; text-transform: uppercase;
	text-shadow: 0 2px 0 #1a0303;
}
.gp-hero__text { margin: 0 auto 18px; max-width: 560px; color: #eadada; font-size: 13.5px; }

/* ---------- Product grid ---------- */
.gp-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 26px; }
.gp-card { text-align: center; display: flex; flex-direction: column; align-items: center; }
.gp-card__media { position: relative; display: block; width: 100%; border: 1px solid var(--gp-line); padding: 6px; background: #f6f4f4; transition: border-color .15s; }
.gp-card__media:hover { border-color: var(--gp-gold-2); }
.gp-card__media img, .gp-card__media svg { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gp-badge {
	position: absolute; top: -8px; right: -8px; z-index: 2;
	background: var(--gp-red-hot); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 3px; letter-spacing: .03em;
}
.gp-card__title { margin: 14px 0 2px; font-size: 14px; font-weight: 500; line-height: 1.35; }
.gp-card__cat { margin: 0 0 6px; font-size: 10.5px; color: var(--gp-muted); letter-spacing: .12em; text-transform: uppercase; }
.gp-price { margin: 0 0 12px; font-weight: 700; font-size: 13.5px; color: var(--gp-ink); }
.gp-price del { color: #a39b9b; font-weight: 400; margin-right: 6px; }
.gp-price ins { text-decoration: none; }
.gp-card .gp-btn { margin-top: auto; }

.gp-btn {
	display: inline-block; background: var(--gp-night); color: #fff; border: 0; cursor: pointer;
	padding: 10px 18px; font: 600 12.5px/1 var(--gp-font); letter-spacing: .02em; border-radius: 2px; transition: background .15s, color .15s;
}
.gp-btn:hover, .gp-btn:focus-visible { background: var(--gp-gold); color: var(--gp-night); }
.gp-btn--gold { background: var(--gp-gold); color: var(--gp-night); }
.gp-btn--gold:hover { background: var(--gp-night); color: var(--gp-gold); }
.gp-btn--lg { padding: 14px 26px; font-size: 14px; }

/* One-page sections */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.gp-section[id], .gp-policy details[id] { scroll-margin-top: 16px; }
.gp-card[hidden] { display: none; }

/* Category filter chips */
.gp-filter { list-style: none; margin: -6px 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gp-filter a {
	display: inline-block; padding: 7px 14px; border: 1px solid var(--gp-line); border-radius: 999px;
	font-size: 12.5px; font-weight: 600; color: var(--gp-ink); background: #fff;
}
.gp-filter a:hover { border-color: var(--gp-gold-2); color: var(--gp-ink); }
.gp-filter a.is-active { background: var(--gp-maroon); border-color: var(--gp-maroon); color: var(--gp-gold); }

/* Policy accordions */
.gp-policy details { border: 1px solid var(--gp-line); border-left: 3px solid var(--gp-red); margin-bottom: 10px; }
.gp-policy summary { cursor: pointer; padding: 12px 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.gp-policy summary::-webkit-details-marker { display: none; }
.gp-policy summary h3 { margin: 0; font-size: 15px; color: var(--gp-ink); }
.gp-policy summary::after { content: "+"; color: var(--gp-red); font-weight: 700; font-size: 18px; }
.gp-policy details[open] summary::after { content: "–"; }
.gp-policy details > div { padding: 0 16px 8px; }
.gp-prose h4 { font-size: 14.5px; margin: 18px 0 6px; color: var(--gp-maroon-2); }

/* Contact layout */
.gp-contact-wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.gp-contact-wrap .gp-contact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gp-form-box { background: #faf7f7; border: 1px solid var(--gp-line); border-top: 3px solid var(--gp-gold); padding: 18px 20px; }
.gp-form-box h3 { margin-top: 0; }
.gp-picked { background: #fff6dc; border: 1px solid #f1d27a; padding: 8px 12px; font-size: 13px; }
.gp-picked[hidden] { display: none; }

/* Category tiles */
.gp-cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.gp-cat {
	display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 10px 16px; text-align: center;
	background: radial-gradient(circle at 50% 30%, var(--gp-red) 0%, var(--gp-maroon-2) 55%, var(--gp-maroon) 100%);
	border: 1px solid rgba(250,193,44,.35); color: var(--gp-gold); font-weight: 700; font-size: 13px;
}
.gp-cat:hover { color: #fff; border-color: var(--gp-gold); }
.gp-cat svg { width: 46px; height: 46px; }
.gp-cat small { color: #e9cfcf; font-weight: 500; font-size: 11px; }

/* Features */
.gp-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.gp-feature { border: 1px solid var(--gp-line); padding: 18px; border-top: 3px solid var(--gp-gold); }
.gp-feature h3 { margin: 0 0 6px; font-size: 14px; }
.gp-feature p { margin: 0; color: var(--gp-muted); font-size: 13px; }

/* ---------- Inner pages ---------- */
.gp-breadcrumb { font-size: 12px; color: var(--gp-muted); margin-bottom: 14px; }
.gp-breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.gp-breadcrumb li + li::before { content: "›"; margin-right: 6px; color: #b9b0b0; }
.gp-page-title { margin: 0 0 18px; font-size: 28px; line-height: 1.25; font-weight: 700; }
.gp-prose { font-size: 15px; line-height: 1.75; max-width: 760px; }
.gp-prose h2 { font-size: 19px; margin: 32px 0 10px; color: var(--gp-maroon-2); }
.gp-prose h3 { font-size: 16px; margin: 24px 0 8px; }
.gp-prose p { margin: 0 0 14px; }
.gp-prose ul, .gp-prose ol { padding-left: 22px; margin: 0 0 16px; }
.gp-prose li { margin-bottom: 6px; }
.gp-prose a { text-decoration: underline; text-underline-offset: 2px; }
.gp-note { background: #fbf6e8; border-left: 3px solid var(--gp-gold-2); padding: 12px 14px; font-size: 13px; color: #5b4a2a; }
.gp-updated { color: var(--gp-muted); font-size: 12.5px; }

/* Forms (Contact Form 7 etc.) */
.gp-prose label { display: block; font-size: 13px; font-weight: 600; }
.gp-prose input[type="text"], .gp-prose input[type="email"], .gp-prose input[type="tel"], .gp-prose input[type="url"], .gp-prose textarea, .gp-prose select {
	width: 100%; max-width: 560px; margin-top: 4px; padding: 10px 12px; border: 1px solid #d6cfcf; border-radius: 2px;
	font: 400 14px/1.4 var(--gp-font); color: var(--gp-ink); background: #fff;
}
.gp-prose textarea { min-height: 140px; }
.gp-prose input:focus, .gp-prose textarea:focus { outline: 2px solid var(--gp-gold); outline-offset: 0; border-color: var(--gp-gold-2); }
.gp-prose input[type="submit"], .gp-prose button[type="submit"] {
	background: var(--gp-night); color: #fff; border: 0; padding: 12px 22px; font: 600 13px/1 var(--gp-font); cursor: pointer; border-radius: 2px;
}
.gp-prose input[type="submit"]:hover, .gp-prose button[type="submit"]:hover { background: var(--gp-gold); color: var(--gp-night); }

/* Contact cards */
.gp-contact { list-style: none; padding: 0 !important; margin: 18px 0 22px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 760px; }
.gp-contact a {
	display: flex; flex-direction: column; padding: 14px 16px; border: 1px solid var(--gp-line); text-decoration: none !important;
	border-left: 3px solid var(--gp-red);
}
.gp-contact a:hover { border-color: var(--gp-gold-2); }
.gp-contact strong { color: var(--gp-ink); font-size: 14px; }
.gp-contact span { color: var(--gp-muted); font-size: 12.5px; word-break: break-all; }

/* FAQ */
.gp-faq details { border: 1px solid var(--gp-line); margin-bottom: 10px; }
.gp-faq summary { cursor: pointer; padding: 14px 16px; font-weight: 600; list-style: none; }
.gp-faq summary::-webkit-details-marker { display: none; }
.gp-faq summary::after { content: "+"; float: right; color: var(--gp-red); font-weight: 700; }
.gp-faq details[open] summary::after { content: "–"; }
.gp-faq details > div { padding: 0 16px 14px; color: #3b3535; }

/* Single product */
.gp-product { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 34px; align-items: start; }
.gp-product__media { border: 1px solid var(--gp-line); padding: 8px; background: #f6f4f4; position: relative; }
.gp-product__media svg, .gp-product__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gp-product .gp-price { font-size: 22px; margin: 6px 0 16px; }
.gp-product .gp-card__cat { font-size: 11px; }
.gp-steps { counter-reset: s; list-style: none; padding: 0 !important; margin: 18px 0; }
.gp-steps li { counter-increment: s; position: relative; padding-left: 36px; margin-bottom: 10px; }
.gp-steps li::before {
	content: counter(s); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%;
	background: var(--gp-maroon-2); color: var(--gp-gold); font-size: 12px; font-weight: 700; display: grid; place-items: center;
}

/* 404 */
.gp-404 { text-align: center; padding: 30px 0; }
.gp-404 .gp-code { font-size: 64px; font-weight: 800; color: var(--gp-red); margin: 0; }

/* ---------- Footer ---------- */
.gp-footer { background: linear-gradient(180deg, var(--gp-maroon) 0%, var(--gp-night) 100%); color: #e8dada; border-top: 3px solid var(--gp-gold-2); }
.gp-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; padding: 40px 16px 30px; max-width: var(--gp-max); margin: 0 auto; }
.gp-footer h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--gp-gold); margin: 0 0 12px; }
.gp-footer ul { list-style: none; margin: 0; padding: 0; }
.gp-footer li { margin-bottom: 7px; }
.gp-footer a { color: #f1e4e4; font-size: 13px; }
.gp-footer a:hover { color: var(--gp-gold); }
.gp-footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.gp-footer__brand img { width: 44px; height: 44px; }
.gp-footer__brand strong { font-size: 18px; color: #fff; letter-spacing: .02em; }
.gp-footer p { margin: 0 0 12px; font-size: 13px; color: #d8c6c6; }
.gp-social { display: flex; flex-wrap: wrap; gap: 8px; }
.gp-social a {
	display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid rgba(250,193,44,.45); border-radius: 999px;
	color: var(--gp-gold); font-size: 12px; font-weight: 600;
}
.gp-social a:hover { background: var(--gp-gold); color: var(--gp-night); }
.gp-footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 16px; text-align: center; font-size: 12px; color: #bba7a7; }
.gp-footer__bottom p { margin: 4px 0; font-size: 11.5px; color: #a89292; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
	.gp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.gp-cats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.gp-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
	.gp-main { margin: 14px auto 24px; padding: 24px 16px 32px; }
	.gp-brand { padding: 16px 12px 12px; }
	.gp-hero { padding: 24px 26px 26px; margin-bottom: 36px; }
	.gp-hero::before { transform: skewX(-6deg); }
	.gp-subbar { letter-spacing: .08em; font-size: 11px; }
	.gp-topbar ul { gap: 0 20px; }
	.gp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 14px; }
	.gp-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gp-features { grid-template-columns: 1fr; }
	.gp-product { grid-template-columns: 1fr; gap: 20px; }
	.gp-contact-wrap { grid-template-columns: 1fr; gap: 20px; }
	.gp-contact-wrap .gp-contact { grid-template-columns: 1fr; }
	.gp-contact { grid-template-columns: 1fr; }
	.gp-footer__grid { grid-template-columns: 1fr; }
	.gp-page-title { font-size: 23px; }
	.gp-btn { padding: 10px 12px; }
}

.gp-contact-wrap > :only-child { grid-column: 1 / -1; }
