/*
Theme Name: TranSam Comics
Theme URI:
Author: TranSam Comics
Description: A retro 80s neon webcomic theme for TranSam Comics.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: transamcomics
*/

@import url('https://fonts.googleapis.com/css2?family=Bangers&family=Nunito:wght@400;700&display=swap');

/* ── Custom Properties ───────────────────────────────────────────── */
:root {
	--bg:          #0D0D1A;
	--bg-card:     #12122A;
	--bg-header:   #0A0A18;
	--pink:        #FF0080;
	--cyan:        #00FFFF;
	--yellow:      #FFE000;
	--purple:      #9B00FF;
	--purple-dark: #6600BB;
	--text:        #F0F0FF;
	--text-muted:  #9090CC;
	--border:      #2A2A4A;
	--glow-cyan:   0 0 10px #00FFFF, 0 0 22px rgba(0, 255, 255, 0.3);
	--glow-pink:   0 0 10px #FF0080, 0 0 22px rgba(255, 0, 128, 0.3);
	--glow-purple: 0 0 10px #9B00FF, 0 0 22px rgba(155, 0, 255, 0.3);
	--font-display: 'Bangers', cursive;
	--font-body:    'Nunito', sans-serif;
	--max-width:    900px;
}

/* ── Reset ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
	background-color: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.6;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--cyan); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--pink); }

/* ── Skip Link ───────────────────────────────────────────────────── */
.skip-link {
	position: absolute;
	left: -9999px;
	top: auto;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.skip-link:focus {
	position: static;
	width: auto;
	height: auto;
	padding: 0.5rem 1rem;
	background: var(--yellow);
	color: var(--bg);
	font-weight: 700;
	z-index: 9999;
}

/* ── Site Layout ─────────────────────────────────────────────────── */
.site-wrapper {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

.site-main {
	flex: 1;
	padding: 2rem 1rem;
}

/* ── Typography ──────────────────────────────────────────────────── */
h1, h2, h3 {
	font-family: var(--font-display);
	letter-spacing: 0.05em;
	line-height: 1.1;
}

p { margin-bottom: 1rem; }

/* ── Utility ─────────────────────────────────────────────────────── */
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.no-comics-msg {
	text-align: center;
	padding: 4rem 1rem;
	font-family: var(--font-display);
	font-size: 2rem;
	color: var(--text-muted);
}
