/*
Theme Name: Retrowave Grid
Theme URI: https://example.com/retrowave-grid
Author: OpenAI
Description: A lightweight, responsive retro-wave WordPress theme with a subdued neon grid aesthetic.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
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: retrowave-grid
Tags: blog, custom-logo, custom-menu, featured-images, right-sidebar, wide-blocks
*/
:root{--rw-bg:#080d2b;--rw-panel:#10143b;--rw-text:#e9e8ff;--rw-muted:#aaa9d0;--rw-pink:#b83bbf;--rw-purple:#6849c9;--rw-line:rgba(178,55,204,.48);--rw-max:1160px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--rw-bg);color:var(--rw-text);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.7}
a{color:#d6a0ff;text-decoration:none}a:hover{color:#fff}
img{max-width:100%;height:auto}
.site-header{position:relative;z-index:2;background:rgba(7,11,37,.94);border-bottom:1px solid rgba(184,59,191,.35)}
.header-inner{max-width:var(--rw-max);margin:auto;padding:18px 24px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.site-branding{display:flex;align-items:center;gap:14px;min-width:0}
.custom-logo{max-height:52px;width:auto}
.site-title{font-weight:800;font-size:1.35rem;letter-spacing:.04em;margin:0;color:#fff}
.site-title a{color:inherit}
.site-description{margin:0;color:var(--rw-muted);font-size:.85rem}
.main-navigation ul{list-style:none;display:flex;flex-wrap:wrap;gap:20px;margin:0;padding:0}
.main-navigation a{font-size:.92rem;color:var(--rw-text)}
.main-navigation a:hover{color:#f1a2ff}
.menu-toggle{display:none;background:transparent;border:1px solid var(--rw-line);color:var(--rw-text);padding:8px 12px;border-radius:6px}
.hero{position:relative;overflow:hidden;min-height:230px;display:flex;align-items:center;border-bottom:1px solid rgba(184,59,191,.25);background:linear-gradient(180deg,#080d2b 0%,#11113b 64%,#24103f 100%)}
.hero:before{content:"";position:absolute;inset:0;background-image:linear-gradient(to right,transparent 0,transparent calc(100% - 1px),var(--rw-line) 100%),linear-gradient(to bottom,transparent 0,transparent calc(100% - 1px),var(--rw-line) 100%);background-size:64px 34px;transform:perspective(400px) rotateX(30deg) scale(1.5);transform-origin:bottom center;opacity:.8;mask-image:linear-gradient(to bottom,transparent 0%,rgba(0,0,0,.12) 24%,#000 100%)}
.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(8,13,43,.05),rgba(8,13,43,.2) 65%,rgba(8,13,43,.7))}
.hero-inner{position:relative;z-index:1;max-width:var(--rw-max);width:100%;margin:auto;padding:48px 24px}
.hero h1{font-size:clamp(2rem,5vw,3.5rem);line-height:1.1;margin:0 0 12px;letter-spacing:.025em;text-shadow:0 0 24px rgba(184,59,191,.22)}
.hero p{max-width:620px;margin:0;color:#c4c4e6;font-size:1.05rem}
.content-wrap{max-width:var(--rw-max);margin:0 auto;padding:42px 24px;display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:40px}
.content-wrap.no-sidebar{grid-template-columns:minmax(0,1fr)}
.post-card,.page-card,.widget{background:linear-gradient(145deg,rgba(18,22,61,.94),rgba(10,14,43,.96));border:1px solid rgba(119,77,194,.28);border-radius:12px;padding:24px;margin-bottom:24px;box-shadow:0 12px 32px rgba(0,0,0,.12)}
.entry-title{font-size:clamp(1.45rem,3vw,2rem);line-height:1.25;margin:0 0 10px}
.entry-title a{color:#fff}
.entry-meta,.entry-footer{font-size:.85rem;color:var(--rw-muted)}
.entry-content{overflow-wrap:anywhere}
.entry-content h2,.entry-content h3{color:#f0c0ff}
.entry-content blockquote{border-left:3px solid var(--rw-pink);margin-left:0;padding-left:18px;color:#cbc8eb}
.post-thumbnail img{display:block;border-radius:8px;margin:18px 0}
.read-more,.wp-block-button__link,button,input[type=submit]{display:inline-block;background:linear-gradient(100deg,#6039b4,#a537a9);color:white;border:0;border-radius:6px;padding:10px 16px;font-weight:700;cursor:pointer}
input,textarea,select{max-width:100%;background:#080d2b;border:1px solid rgba(184,59,191,.45);border-radius:5px;padding:10px;color:var(--rw-text)}
.widget-title{margin-top:0;font-size:1.05rem;color:#f0c0ff}
.widget ul{padding-left:20px}
.pagination,.posts-navigation,.post-navigation{margin:28px 0}
.pagination .page-numbers{display:inline-block;padding:7px 11px;margin-right:5px;border:1px solid var(--rw-line);border-radius:5px}
.site-footer{border-top:1px solid rgba(184,59,191,.3);background:#070a22;color:var(--rw-muted);padding:28px 24px;text-align:center;font-size:.9rem}
.site-footer p{margin:4px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:800px){.header-inner{align-items:flex-start;flex-wrap:wrap}.menu-toggle{display:block;margin-left:auto}.main-navigation{display:none;width:100%}.main-navigation.is-open{display:block}.main-navigation ul{flex-direction:column;gap:8px;padding:8px 0}.content-wrap{grid-template-columns:1fr;gap:10px}.hero{min-height:200px}.hero-inner{padding:36px 24px}}
