/*
Theme Name: WCU Gaming Archive
Description: A clean, dark, mobile-first theme for the archived Western Carolina University Gaming Club site: forum archive (bbPress), LAN photo gallery, club history. Built October 2026 to replace the Revolution-Slider-era theme.
Version: 1.0.0
Author: William Faulkner / Simpweb
Text Domain: wcugaming-archive
*/

:root{
  --bg:#120d1b; --bg2:#1a1326; --bg3:#241a33; --line:#33264a;
  --text:#ece7f5; --muted:#a79bbd; --purple:#592c82; --purple2:#7b46b3; --gold:#e4b84a; --gold2:#f1cc6d;
  --radius:14px; --max:1180px; --maxtext:860px;
  --font:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font:16px/1.6 var(--font)}
a{color:var(--gold);text-decoration:none}
a:hover{color:var(--gold2);text-decoration:underline}
img{max-width:100%;height:auto}
h1,h2,h3{line-height:1.2;margin:0 0 .5em;font-weight:800;letter-spacing:-.01em}
h1{font-size:clamp(1.9rem,4vw,3rem)} h2{font-size:clamp(1.4rem,2.6vw,2rem)} h3{font-size:1.15rem}
p{margin:0 0 1em}
.wrap{max-width:var(--max);margin:0 auto;padding:0 20px}
.wrap-text{max-width:var(--maxtext);margin:0 auto;padding:0 20px}
.btn{display:inline-block;background:var(--gold);color:#1a1326;font-weight:700;padding:12px 22px;border-radius:999px;text-decoration:none;transition:transform .15s,background .15s}
.btn:hover{background:var(--gold2);color:#1a1326;text-decoration:none;transform:translateY(-1px)}
.btn.ghost{background:transparent;color:var(--text);border:1.5px solid rgba(255,255,255,.35)}
.btn.ghost:hover{border-color:#fff;background:rgba(255,255,255,.06);color:#fff}
.card{background:var(--bg2);border:1px solid var(--line);border-radius:var(--radius);padding:22px}
.muted{color:var(--muted)}

/* header */
.site-header{position:sticky;top:0;z-index:50;background:rgba(18,13,27,.85);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:66px}
.brand{display:flex;align-items:center;gap:10px;color:#fff;font-weight:800;text-decoration:none}
.brand img{height:46px;width:auto}
.brand:hover{text-decoration:none}
.nav-toggle{display:none}
.nav-btn{display:none;cursor:pointer;color:#fff;font-size:1.6rem;line-height:1;padding:6px 10px;border:1px solid var(--line);border-radius:8px}
.site-nav ul{list-style:none;margin:0;padding:0;display:flex;gap:4px;flex-wrap:wrap}
.site-nav a{display:block;padding:8px 12px;border-radius:8px;color:var(--text);font-weight:600}
.site-nav a:hover{background:var(--bg3);text-decoration:none;color:#fff}
.site-nav .current-menu-item>a,.site-nav .current_page_item>a{color:var(--gold)}
@media (max-width:820px){
  .nav-btn{display:block}
  .site-nav{display:none;position:absolute;left:0;right:0;top:66px;background:var(--bg2);border-bottom:1px solid var(--line);padding:10px 20px 16px}
  .nav-toggle:checked ~ .site-nav{display:block}
  .site-nav ul{flex-direction:column}
}

/* hero */
.hero{position:relative;overflow:hidden;min-height:62vh;display:flex;align-items:center;background:#0e0a15}
.hero .bg{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.28;filter:saturate(.7)}
.hero .fade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(18,13,27,.2) 0%,rgba(18,13,27,.75) 70%,var(--bg) 100%),radial-gradient(60% 80% at 20% 30%,rgba(89,44,130,.55),transparent)}
.hero .wrap{position:relative;padding:70px 20px}
.hero h1{max-width:14ch;text-shadow:0 2px 24px rgba(0,0,0,.5)}
.hero .tag{color:var(--gold);font-weight:700;letter-spacing:.04em;text-transform:uppercase;font-size:.85rem;margin-bottom:10px}
.hero .lead{font-size:1.15rem;max-width:56ch;color:#d9d2e6}
.hero .actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}

/* stats */
.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin:-30px auto 0;position:relative}
.stat{background:var(--bg2);border:1px solid var(--line);border-radius:12px;padding:16px 14px;text-align:center}
.stat b{display:block;font-size:1.55rem;color:#fff}
.stat span{color:var(--muted);font-size:.85rem}

/* sections */
.section{padding:56px 0}
.section h2{display:flex;align-items:center;gap:12px}
.section h2:after{content:"";flex:1;height:1px;background:var(--line)}
.grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.tile{display:block;background:var(--bg2);border:1px solid var(--line);border-radius:var(--radius);padding:22px;color:var(--text);transition:transform .15s,border-color .15s}
.tile:hover{transform:translateY(-3px);border-color:var(--purple2);text-decoration:none;color:#fff}
.tile h3{margin-bottom:6px}
.tile p{color:var(--muted);margin:0}
.tile .more{display:inline-block;margin-top:12px;color:var(--gold);font-weight:700}
.today{background:linear-gradient(135deg,var(--purple),#3a1d5a);border:1px solid var(--purple2);border-radius:var(--radius);padding:30px;display:grid;gap:18px;grid-template-columns:1fr auto;align-items:center}
.today h2:after{display:none}
@media (max-width:700px){.today{grid-template-columns:1fr}}
.strip{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px}
.strip a{display:block;aspect-ratio:4/3;border-radius:10px;overflow:hidden;background:var(--bg3)}
.strip img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s}
.strip a:hover img{transform:scale(1.05)}
.thanks{text-align:center;color:var(--muted);font-size:1.05rem;padding:30px 20px 0}

/* content pages */
.page-head{padding:48px 0 10px}
.page-head h1{margin-bottom:6px}
.entry{background:var(--bg2);border:1px solid var(--line);border-radius:var(--radius);padding:28px;margin:20px auto 60px}
.entry img{border-radius:8px}
.entry h2,.entry h3{margin-top:1.4em}
.entry blockquote{border-left:3px solid var(--purple2);margin:1em 0;padding:8px 16px;background:var(--bg3);border-radius:6px}
.entry table{border-collapse:collapse;width:100%}
.entry td,.entry th{border:1px solid var(--line);padding:8px}
.wide .entry{max-width:none}
.post-list article{padding:18px 0;border-bottom:1px solid var(--line)}
.post-list h2{font-size:1.3rem;margin:0 0 4px}
.wcua-btn{display:inline-block;background:var(--gold);color:#1a1326!important;font-weight:700;padding:12px 22px;border-radius:999px;text-decoration:none!important}

/* footer */
.site-footer{border-top:1px solid var(--line);padding:30px 0 40px;color:var(--muted);font-size:.9rem}
.site-footer .wrap{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}
.site-footer a{color:var(--muted)} .site-footer a:hover{color:var(--gold)}

/* ===== bbPress (forum archive) ===== */
#bbpress-forums{font-size:15px;color:var(--text)}
#bbpress-forums .bbp-breadcrumb{color:var(--muted);margin-bottom:14px}
#bbpress-forums li.bbp-header{background:var(--bg3);color:var(--muted);border:1px solid var(--line);border-radius:10px 10px 0 0;font-weight:600;text-transform:uppercase;font-size:.75rem;letter-spacing:.05em}
#bbpress-forums li.bbp-body{background:var(--bg2);border:1px solid var(--line);border-top:0}
#bbpress-forums li.bbp-footer{background:var(--bg3);border:1px solid var(--line);border-top:0;border-radius:0 0 10px 10px;color:var(--muted)}
#bbpress-forums ul.bbp-forums,#bbpress-forums ul.bbp-topics,#bbpress-forums ul.bbp-replies,#bbpress-forums ul.bbp-search-results{border:0;margin-bottom:22px}
#bbpress-forums ul.bbp-lead-topic,#bbpress-forums ul.bbp-topics,#bbpress-forums ul.bbp-forums,#bbpress-forums ul.bbp-replies,#bbpress-forums ul.bbp-search-results{font-size:15px}
#bbpress-forums li.bbp-body ul.forum,#bbpress-forums li.bbp-body ul.topic{border-top:1px solid var(--line);padding:12px 10px}
#bbpress-forums li.bbp-body ul.forum:hover,#bbpress-forums li.bbp-body ul.topic:hover{background:rgba(123,70,179,.08)}
#bbpress-forums li.bbp-body ul.forum:first-child,#bbpress-forums li.bbp-body ul.topic:first-child{border-top:0}
#bbpress-forums .bbp-forum-title,#bbpress-forums .bbp-topic-permalink{font-weight:700;font-size:1rem;color:#fff}
#bbpress-forums .bbp-forum-content,#bbpress-forums p.bbp-topic-meta{color:var(--muted);font-size:.85rem;margin:2px 0 0}
#bbpress-forums .bbp-forums-list{margin:6px 0 0 14px;padding-left:10px;border-left:2px solid var(--line);font-size:.85rem}
#bbpress-forums .bbp-forums-list .bbp-forum{display:inline-block;margin-right:12px}
#bbpress-forums li.bbp-forum-topic-count,#bbpress-forums li.bbp-forum-reply-count,#bbpress-forums li.bbp-topic-voice-count,#bbpress-forums li.bbp-topic-reply-count{color:var(--muted)}
#bbpress-forums li.bbp-forum-freshness,#bbpress-forums li.bbp-topic-freshness{font-size:.85rem;color:var(--muted)}
#bbpress-forums div.bbp-forum-header,#bbpress-forums div.bbp-topic-header,#bbpress-forums div.bbp-reply-header{background:var(--bg3);border-top:1px solid var(--line);color:var(--muted);font-size:.85rem}
#bbpress-forums div.bbp-reply-author{color:var(--text)}
#bbpress-forums div.bbp-reply-author .bbp-author-name{font-weight:700;color:var(--gold)}
#bbpress-forums div.bbp-reply-author .bbp-author-role{color:var(--muted);font-size:.8rem}
#bbpress-forums div.bbp-reply-content{color:var(--text);word-wrap:break-word;overflow-wrap:anywhere}
#bbpress-forums div.bbp-reply-content a{word-break:break-all}
#bbpress-forums div.bbp-reply-content img{max-width:100%;height:auto;border-radius:6px}
#bbpress-forums div.bbp-reply-content img[src*="emoticons"]{display:inline;vertical-align:middle;max-width:24px;border-radius:0}
#bbpress-forums div.bbp-reply-content pre,#bbpress-forums div.bbp-reply-content code{background:#0d0913;border:1px solid var(--line);border-radius:6px;padding:2px 6px;font-size:.9em;white-space:pre-wrap}
#bbpress-forums div.bbp-reply-content blockquote,blockquote.ipsQuote{border-left:3px solid var(--purple2);background:var(--bg3);margin:10px 0;padding:8px 14px;border-radius:6px}
blockquote.ipsQuote .quote-cite{margin:0 0 4px;font-size:.85em;color:var(--muted)}
#bbpress-forums .bbp-pagination-links a,#bbpress-forums .bbp-pagination-links span.current{border:1px solid var(--line);background:var(--bg2);color:var(--text);border-radius:6px;padding:4px 10px;margin-left:4px}
#bbpress-forums .bbp-pagination-links span.current{background:var(--purple);color:#fff;border-color:var(--purple2)}
#bbpress-forums .bbp-pagination-count{color:var(--muted)}
#bbpress-forums fieldset.bbp-form{border:1px solid var(--line);border-radius:10px}
#bbpress-forums #bbp-search-form input#bbp_search{background:var(--bg3);border:1px solid var(--line);color:var(--text);border-radius:8px;padding:10px 12px;width:min(420px,100%)}
#bbpress-forums #bbp-search-form input#bbp_search_submit,#bbpress-forums button{background:var(--gold);color:#1a1326;border:0;border-radius:999px;padding:10px 18px;font-weight:700;cursor:pointer}
#bbpress-forums div.bbp-template-notice,#bbpress-forums div.bbp-template-notice.info{background:var(--bg3);border-color:var(--line);color:var(--muted)}
#bbpress-forums .bbp-topic-tags,#bbpress-forums .bbp-user-section,#bbpress-forums #bbp-user-navigation{display:none}
#bbpress-forums div.bbp-reply-author img.avatar,#bbpress-forums .bbp-author-avatar img{border-radius:50%}
.wcu-attachments{margin-top:14px;padding:10px 14px;border-left:3px solid var(--gold);background:rgba(228,184,74,.07);border-radius:6px}
.wcu-attachments ul{margin:6px 0 0;padding-left:18px}
.wcu-att-size{color:var(--muted);font-size:.85em}
.wcu-att-img img{max-width:240px;height:auto;border-radius:6px;margin:4px 0}
.bbp-topic-closed .bbp-topic-permalink:after{content:" · closed";color:var(--muted);font-weight:400;font-size:.8rem}

/* bbPress default stripes/white panels -> dark */
#bbpress-forums div.odd,#bbpress-forums ul.odd,#bbpress-forums div.even,#bbpress-forums ul.even,#bbpress-forums li.bbp-body div.hentry,#bbpress-forums div.bbp-reply-content,#bbpress-forums div.bbp-topic-content,#bbpress-forums .bbp-topic-content,#bbpress-forums div.bbp-forum-content{background:transparent;color:var(--text)}
#bbpress-forums div.odd,#bbpress-forums div.even{border-bottom:1px solid var(--line)}
#bbpress-forums li.bbp-body div.hentry{padding:12px 0}
#bbpress-forums div.bbp-reply-author{padding:0 10px}
#bbpress-forums div.bbp-reply-content p{color:var(--text)}
#bbpress-forums div.bbp-reply-content a{color:var(--gold)}
#bbpress-forums .bbp-reply-post-date{color:var(--muted)}
#bbpress-forums .bbp-reply-permalink{color:var(--muted)}
#bbpress-forums div.bbp-reply-content span[style*="color"],#bbpress-forums div.bbp-reply-content font[color]{color:inherit!important}
#bbpress-forums div.bbp-reply-content span[style*="background"]{background:transparent!important}
