/*
Theme Name: Netherium Alliances
Theme URI: https://netheriumalliances.com
Author: Mad Heron Publishing
Author URI: https://madheronpublishing.com
Description: A dark, cinematic WordPress theme for the Netherium Alliances mobile TCG. Reproduces the cosmic-cataclysm landing design (starfield hero, shimmering special-edition cards, four-faction layout) and adds marketing features for indie game promotion: blog/dev-log, built-in SEO & Open Graph, Discord, Kickstarter crowdfunding with live progress + countdown, app-store badges, mailing-list capture, press kit, and custom post types for Factions and Cards.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: netherium-alliances
Tags: dark, game, one-column, two-columns, custom-menu, featured-images, blog, full-width-template, custom-colors, translation-ready
*/

/* =====================================================================
   1. TOKENS — pulled straight from the original Netherium design
   ===================================================================== */
:root {
  --bg: #0a0814;
  --bg2: #120e22;
  --panel: #1a1430;
  --text: #e8e4f4;
  --muted: #9a92b8;
  --gold: #f2b632;
  --cabal: #ff5a3c;
  --mouse: #b08aff;
  --witch: #c44bff;
  --faery: #4bdc7c;
  --neth-green: #4dff88;
  --line: #2b2347;
  --line2: #3a3354;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1120px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--gold); }
h1, h2, h3, .brand { font-family: var(--serif); letter-spacing: 0.02em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 999; background: var(--gold); color: #000; padding: 10px 16px; border-radius: 8px; }
.screen-reader-text { position: absolute !important; clip: rect(1px,1px,1px,1px); height:1px; width:1px; overflow:hidden; }

/* =====================================================================
   2. ANNOUNCEMENT BAR
   ===================================================================== */
.na-announce {
  background: linear-gradient(90deg, var(--cabal), var(--witch), var(--gold));
  color: #14101f; text-align: center; font-size: 0.85rem; font-weight: 600;
  padding: 9px 40px 9px 16px; position: relative; letter-spacing: 0.02em;
}
.na-announce a { color: #14101f; text-decoration: underline; }
.na-announce .close { position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; font-size: 1.1rem; cursor: pointer; color: #14101f; }
.na-announce.hidden { display: none; }

/* =====================================================================
   3. SITE HEADER / NAV (added for WordPress)
   ===================================================================== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,8,20,0.82); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 20px; max-width: 1280px; margin: 0 auto; }
.site-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.site-logo img { height: 38px; width: auto; }
.site-logo .txt { font-family: var(--serif); font-size: 1.15rem; color: var(--text); letter-spacing: 0.04em; }
.site-logo .txt b { background: linear-gradient(135deg, #fff, var(--gold) 60%, var(--witch)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.main-nav ul { list-style: none; display: flex; gap: 6px; align-items: center; }
.main-nav a { color: var(--muted); text-decoration: none; font-family: var(--sans); font-size: 0.92rem; font-weight: 500; padding: 8px 14px; border-radius: 8px; transition: color .15s, background .15s; }
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--text); background: rgba(255,255,255,0.05); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line2); color: var(--text); border-radius: 8px; padding: 8px 12px; cursor: pointer; font-size: 1.1rem; }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav { position: fixed; inset: 64px 0 auto 0; background: var(--bg2); border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .25s ease; }
  .main-nav.open { transform: translateY(0); }
  .main-nav ul { flex-direction: column; padding: 14px; gap: 2px; }
  .main-nav a { display: block; padding: 12px 14px; }
  .header-cta .btn-ghost { display: none; }
}

/* =====================================================================
   4. BUTTONS & BADGES
   ===================================================================== */
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-weight: 600; font-size: 0.95rem; text-decoration: none; border: 0; cursor: pointer; padding: 12px 22px; border-radius: 12px; transition: transform .15s, box-shadow .15s, border-color .15s; }
.btn-primary { color: #14101f; background: linear-gradient(135deg, var(--gold), #ff7a4d); box-shadow: 0 10px 28px -10px rgba(242,182,50,0.6); }
.btn-discord { color: #fff; background: #5865F2; box-shadow: 0 10px 28px -10px rgba(88,101,242,0.7); }
.btn-kick { color: #fff; background: #05ce78; box-shadow: 0 10px 28px -10px rgba(5,206,120,0.7); }
.btn-ghost { color: var(--text); background: transparent; box-shadow: inset 0 0 0 1.5px var(--line2); }
.btn:hover { transform: translateY(-2px); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--gold); }

.badges { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 10px; background: #000; border: 1px solid var(--line2); border-radius: 12px; padding: 12px 22px; color: #fff; text-decoration: none; transition: transform .15s, border-color .15s; }
.badge:hover { transform: translateY(-2px); border-color: var(--gold); }
.badge .icon { font-size: 1.5rem; }
.badge small { display: block; color: #9aa; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.08em; }
.badge strong { font-size: 1.05rem; }

/* =====================================================================
   5. HERO
   ===================================================================== */
.hero { position: relative; min-height: 92vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 90px 20px 70px; }
.hero.has-bg { background-size: cover; background-position: center 30%; background-repeat: no-repeat; }
#stars { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,8,20,0.55) 0%, rgba(10,8,20,0.82) 70%, var(--bg) 100%); z-index: 1; }
.hero-inner { position: relative; z-index: 2; max-width: 980px; }
.hero .kicker { color: var(--gold); text-transform: uppercase; letter-spacing: 0.35em; font-size: 0.8rem; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.6rem, 8vw, 5.2rem); line-height: 1.02; background: linear-gradient(135deg, #fff 10%, var(--gold) 45%, #ff7a4d 70%, var(--witch) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 24px rgba(242,182,50,0.25)); }
.hero .tagline { margin: 22px auto 8px; max-width: 640px; font-size: clamp(1.05rem, 2.4vw, 1.35rem); color: var(--text); }
.hero .sub { color: var(--muted); max-width: 560px; margin: 0 auto 34px; font-size: 1rem; }
.hero-cards { position: relative; z-index: 2; margin-top: 56px; display: flex; gap: 26px; justify-content: center; }
.hero-cards .cardframe { width: 180px; }
@media (max-width: 720px) { .hero-cards .cardframe:nth-child(3) { display: none; } }

/* =====================================================================
   6. SECTIONS / DIVIDERS
   ===================================================================== */
section.na-section { padding: 90px 20px; position: relative; }
.section-kicker { color: var(--gold); text-transform: uppercase; letter-spacing: 0.3em; font-size: 0.75rem; text-align: center; }
.na-section h2 { text-align: center; font-size: clamp(1.8rem, 4.5vw, 2.8rem); margin: 12px 0 14px; }
.section-sub { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto 56px; }
.divider { position: relative; height: 2px; max-width: 720px; margin: 0 auto; background: linear-gradient(90deg, transparent, var(--line2), transparent); overflow: visible; }
.divider::after { content: ''; position: absolute; top: -3px; left: -8%; width: 70px; height: 8px; border-radius: 8px; background: linear-gradient(90deg, transparent, var(--gold), #fff); filter: blur(1px) drop-shadow(0 0 8px var(--gold)); animation: comet 4.5s linear infinite; }
@keyframes comet { 0% { left: -10%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { left: 105%; opacity: 0; } }

/* =====================================================================
   7. CARD FRAMES + VARIANT SHIMMERS (the in-game shader look)
   ===================================================================== */
.cardframe { position: relative; border-radius: 14px; overflow: hidden; border: 1px solid var(--line2); background: var(--panel); box-shadow: 0 12px 36px rgba(0,0,0,0.55); transform-style: preserve-3d; transition: transform .2s, box-shadow .2s; }
.cardframe img { display: block; width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.cardframe:hover { box-shadow: 0 18px 48px rgba(0,0,0,0.75); }
.cardframe .label { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-size: 0.85rem; text-align: center; background: linear-gradient(180deg, transparent, rgba(5,3,12,0.92) 55%); }
.cardframe .label b { display: block; font-size: 0.95rem; }
.cardframe .label span { color: var(--muted); font-size: 0.72rem; }
.shimmer::before { content: ''; position: absolute; inset: -40%; z-index: 2; pointer-events: none; transform: translate(-120%,-120%) rotate(0.001deg); animation: sweep var(--period, 3s) ease-in-out infinite; }
@keyframes sweep { 0%, 55% { transform: translate(-120%,-120%); } 85%, 100% { transform: translate(120%,120%); } }
.holographic::before { background: linear-gradient(135deg, transparent 38%, rgba(255,0,80,0.55) 44%, rgba(255,200,0,0.55) 48%, rgba(0,255,140,0.55) 52%, rgba(0,160,255,0.55) 56%, rgba(200,0,255,0.55) 60%, transparent 66%); mix-blend-mode: screen; --period: 2.8s; }
.holographic { border-color: #7d5cff; }
.metallic::before { background: linear-gradient(135deg, transparent 40%, rgba(180,200,225,0.25) 47%, rgba(255,255,255,0.85) 50%, rgba(180,200,225,0.25) 53%, transparent 60%); mix-blend-mode: screen; --period: 3.6s; }
.metallic { border-color: #aebdd4; }
.metallic img { filter: saturate(0.82) contrast(1.06); }
.ethereal::before { background: linear-gradient(135deg, transparent 30%, rgba(255,190,220,0.35) 40%, rgba(190,255,230,0.38) 48%, rgba(190,220,255,0.38) 56%, rgba(240,200,255,0.32) 64%, transparent 74%); mix-blend-mode: screen; --period: 4.6s; }
.ethereal { border-color: #bfe8ef; }
.ethereal img { filter: brightness(1.08) saturate(0.9); }
.nethereal::before { background: linear-gradient(135deg, transparent 40%, rgba(120,40,200,0.5) 47%, rgba(200,80,255,0.65) 50%, rgba(120,40,200,0.5) 53%, transparent 60%); mix-blend-mode: screen; --period: 3.2s; }
.nethereal img { filter: brightness(0.62) saturate(0.8) hue-rotate(20deg); }
.nethereal { border-color: #6b2fa0; }
.nethereal::after { content: ''; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(circle at 50% 45%, rgba(77,255,136,0.45), transparent 65%); opacity: 0; animation: nethflash 4s linear infinite; }
@keyframes nethflash { 0%, 86%, 100% { opacity: 0; } 90% { opacity: 1; } 94% { opacity: 0; } }
.editions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 26px; }
.editions-grid > div { max-width: 300px; width: 100%; margin: 0 auto; }
.edition-blurb { margin-top: 12px; text-align: center; font-size: 0.85rem; color: var(--muted); }
.edition-blurb b { color: var(--text); }

/* =====================================================================
   8. FACTIONS
   ===================================================================== */
.factions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.faction { background: var(--panel); border-radius: 16px; overflow: hidden; border-top: 3px solid var(--accent, var(--gold)); transition: transform .2s; }
.faction:hover { transform: translateY(-6px); }
.faction .art { position: relative; }
.faction .art img { width: 100%; aspect-ratio: 16/11; object-fit: cover; object-position: top; display: block; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.faction .body { padding: 6px 22px 26px; }
.faction h3 { color: var(--accent, var(--gold)); font-size: 1.35rem; margin-bottom: 10px; }
.faction p { color: var(--muted); font-size: 0.92rem; line-height: 1.55; }
.faction .motto { display: block; margin-top: 14px; font-style: italic; font-size: 0.85rem; color: var(--text); opacity: 0.85; }
.f-cabal { --accent: var(--cabal); } .f-mouse { --accent: var(--mouse); } .f-witch { --accent: var(--witch); } .f-faery { --accent: var(--faery); }

/* =====================================================================
   9. ADVENTURE QUOTES / FEATURES
   ===================================================================== */
.story { background: linear-gradient(180deg, var(--bg) 0%, var(--bg2) 50%, var(--bg) 100%); }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.quote { background: rgba(26,20,48,0.7); border-left: 3px solid var(--accent, var(--gold)); border-radius: 0 12px 12px 0; padding: 24px 26px; }
.quote p { font-family: var(--serif); font-style: italic; font-size: 1.02rem; line-height: 1.5; }
.quote cite { display: block; margin-top: 14px; color: var(--accent, var(--gold)); font-style: normal; font-size: 0.82rem; letter-spacing: 0.05em; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 26px 24px; }
.feature .em { font-size: 1.7rem; }
.feature h3 { margin: 10px 0 8px; font-size: 1.08rem; color: var(--gold); }
.feature p { color: var(--muted); font-size: 0.88rem; line-height: 1.5; }

/* =====================================================================
   10. KICKSTARTER CROWDFUNDING
   ===================================================================== */
.kick { background: radial-gradient(ellipse at 50% 0%, rgba(5,206,120,0.12), transparent 60%), var(--bg2); }
.kick-card { max-width: 760px; margin: 0 auto; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 34px; text-align: center; }
.kick-bar { height: 18px; border-radius: 100px; background: #0d0a1a; overflow: hidden; border: 1px solid var(--line2); margin: 22px 0 14px; }
.kick-bar > span { display: block; height: 100%; background: linear-gradient(90deg, #05ce78, var(--neth-green)); width: 0; transition: width 1.2s ease; box-shadow: 0 0 14px rgba(77,255,136,0.5); }
.kick-stats { display: flex; justify-content: center; gap: 38px; flex-wrap: wrap; margin: 8px 0 20px; }
.kick-stats .n { font-family: var(--serif); font-size: 1.9rem; color: #fff; line-height: 1; }
.kick-stats .l { color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; margin-top: 6px; }
.countdown { display: flex; justify-content: center; gap: 14px; margin: 6px 0 22px; }
.countdown .unit { background: #0d0a1a; border: 1px solid var(--line2); border-radius: 10px; padding: 10px 14px; min-width: 64px; }
.countdown .unit b { font-family: var(--serif); font-size: 1.5rem; display: block; }
.countdown .unit small { color: var(--muted); font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; }

/* =====================================================================
   11. DISCORD
   ===================================================================== */
.discord { background: linear-gradient(135deg, rgba(88,101,242,0.16), rgba(196,75,255,0.12)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.discord-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; max-width: var(--wrap); margin: 0 auto; }
@media (max-width: 820px) { .discord-inner { grid-template-columns: 1fr; text-align: center; } .discord .badges { justify-content: center; } }
.discord-widget iframe { width: 100%; border: 0; border-radius: 14px; min-height: 420px; }
.float-discord { position: fixed; right: 18px; bottom: 18px; z-index: 200; display: inline-flex; align-items: center; gap: 8px; background: #5865F2; color: #fff; text-decoration: none; padding: 12px 18px; border-radius: 100px; box-shadow: 0 12px 30px -8px rgba(88,101,242,0.7); font-weight: 600; font-size: 0.9rem; }
.float-discord:hover { transform: translateY(-2px); }

/* =====================================================================
   12. NEWSLETTER / EMAIL CAPTURE
   ===================================================================== */
.newsletter-box { max-width: 620px; margin: 0 auto; text-align: center; }
.newsletter-form { display: flex; gap: 10px; margin-top: 18px; }
.newsletter-form input[type=email] { flex: 1; padding: 13px 16px; border-radius: 10px; border: 1px solid var(--line2); background: #0d0a1a; color: var(--text); font-size: 0.95rem; }
@media (max-width: 520px) { .newsletter-form { flex-direction: column; } }

/* =====================================================================
   13. BLOG / DEV LOG
   ===================================================================== */
.page-head { padding: 70px 20px 30px; text-align: center; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg2), var(--bg)); }
.page-head h1 { font-size: clamp(2rem, 6vw, 3.2rem); background: linear-gradient(135deg, #fff, var(--gold), #ff7a4d); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-head p { color: var(--muted); margin-top: 8px; }
.content-area { max-width: 1120px; margin: 0 auto; padding: 60px 20px; display: grid; grid-template-columns: 1fr 300px; gap: 44px; }
.content-area.full { grid-template-columns: 1fr; max-width: 820px; }
@media (max-width: 900px) { .content-area { grid-template-columns: 1fr; } }
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px; }
.post-card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: transform .2s, border-color .2s; }
.post-card:hover { transform: translateY(-4px); border-color: var(--line2); }
.post-card .thumb { aspect-ratio: 16/9; overflow: hidden; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .pc-body { padding: 18px 20px 22px; }
.post-card .meta, .single-meta { color: var(--gold); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; }
.post-card h2, .post-card h3 { font-size: 1.2rem; margin: 8px 0; line-height: 1.25; }
.post-card h2 a, .post-card h3 a { color: var(--text); text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--gold); }
.post-card p { color: var(--muted); font-size: 0.9rem; }
.readmore { display: inline-block; margin-top: 12px; color: var(--gold); font-weight: 600; font-size: 0.85rem; text-decoration: none; }

.single-article { max-width: 760px; margin: 0 auto; }
.single-article h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); margin: 10px 0 14px; }
.single-article .featured { border-radius: 16px; overflow: hidden; margin: 24px 0; }
.entry-content { font-size: 1.05rem; line-height: 1.8; }
.entry-content p, .entry-content ul, .entry-content ol { color: var(--text); margin-bottom: 1.2em; }
.entry-content h2 { text-align: left; font-size: 1.6rem; margin: 1.4em 0 .5em; }
.entry-content h3 { font-size: 1.25rem; margin: 1.2em 0 .4em; color: var(--gold); }
.entry-content a { color: var(--gold); }
.entry-content blockquote { border-left: 3px solid var(--gold); padding: 8px 20px; margin: 1.4em 0; font-family: var(--serif); font-style: italic; }
.entry-content img { border-radius: 12px; }
.entry-content code { background: #0d0a1a; padding: 2px 6px; border-radius: 5px; font-size: 0.9em; }

.sidebar .widget { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 22px; margin-bottom: 24px; }
.sidebar .widget-title { color: var(--gold); font-family: var(--serif); font-size: 1.1rem; margin-bottom: 14px; }
.sidebar ul { list-style: none; }
.sidebar li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.sidebar a { color: var(--muted); text-decoration: none; }
.sidebar a:hover { color: var(--text); }

.tag-pill { display: inline-block; background: rgba(255,255,255,0.05); border: 1px solid var(--line2); color: var(--muted); font-size: 0.75rem; padding: 4px 10px; border-radius: 100px; margin: 4px 4px 0 0; text-decoration: none; }
.share-row { display: flex; gap: 10px; margin: 26px 0; }
.share-row a { background: var(--panel); border: 1px solid var(--line2); color: var(--text); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; text-decoration: none; }
.share-row a:hover { border-color: var(--gold); }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.pagination .page-numbers { padding: 9px 15px; border-radius: 9px; border: 1px solid var(--line2); color: var(--muted); text-decoration: none; }
.pagination .current { background: var(--gold); color: #14101f; border-color: var(--gold); }

/* comments */
.comments-area { max-width: 760px; margin: 40px auto 0; }
.comments-area h2 { text-align: left; font-size: 1.4rem; }
.comment-list { list-style: none; }
.comment-body { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 18px; margin: 14px 0; }
.comment-form input, .comment-form textarea { width: 100%; padding: 12px; border-radius: 10px; border: 1px solid var(--line2); background: #0d0a1a; color: var(--text); margin-bottom: 12px; }

/* =====================================================================
   14. CTA / FOOTER
   ===================================================================== */
.cta { text-align: center; background: radial-gradient(ellipse at 50% 0%, rgba(196,75,255,0.14), transparent 60%), var(--bg2); }
.site-footer { padding: 54px 20px 50px; background: #070510; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 36px; max-width: var(--wrap); margin: 0 auto 36px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--text); font-family: var(--serif); font-size: 1rem; margin-bottom: 12px; }
.footer-grid ul { list-style: none; }
.footer-grid li { padding: 5px 0; }
.footer-grid a { color: #8a82a8; text-decoration: none; font-size: 0.9rem; }
.footer-grid a:hover { color: var(--gold); }
.footer-brand .brand { font-size: 1.2rem; color: var(--text); display: block; margin-bottom: 10px; }
.footer-brand p { color: #6a6388; font-size: 0.85rem; }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line2); display: grid; place-items: center; color: var(--muted); text-decoration: none; }
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-bottom { text-align: center; color: #6a6388; font-size: 0.8rem; border-top: 1px solid var(--line); padding-top: 24px; max-width: var(--wrap); margin: 0 auto; }
.footer-bottom a { color: #8a82a8; }

/* =====================================================================
   15. REVEAL / MOTION
   ===================================================================== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* WordPress core alignment helpers */
.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.wp-caption-text { color: var(--muted); font-size: 0.85rem; text-align: center; }
.sticky, .gallery-caption, .bypostauthor { } /* required by theme review */
