/*
Theme Name: NewcastleRP Console Dark
Theme URI: https://newcastlerp.website
Author: NewcastleRP
Description: Dark console-friendly theme focused on Shop + Applications. Includes a forum-style top bar and a right-side card area for Discord/Status widgets.
Version: 1.1
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: newcastlerp-console-dark
*/

:root{
  --bg:#0f1115;
  --panel:#151a22;
  --panel2:#11151c;
  --border:#242b36;
  --text:#e8ecf2;
  --muted:#a7b0bf;
  --accent:#6a5cff;
  --accent2:#00d1ff;
  --radius:12px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,Helvetica,sans-serif;
  background: radial-gradient(1200px 600px at 50% -10%, rgba(106,92,255,.22), transparent 60%),
              radial-gradient(900px 500px at 85% 20%, rgba(0,209,255,.12), transparent 60%),
              var(--bg);
  color:var(--text);
}

a{color:inherit;text-decoration:none}
a:hover{opacity:.9}
img{max-width:100%;height:auto}

.container{max-width:1200px;margin:0 auto;padding:0 18px}

/* Top bar */
.topbar{
  position:sticky;top:0;z-index:99;
  background: rgba(10,12,16,.88);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}
.topbar-inner{display:flex;align-items:center;gap:18px;padding:14px 0}
.brand{
  display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:.6px
}
.brand-badge{
  width:34px;height:34px;border-radius:10px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 8px 24px rgba(106,92,255,.25);
}
.brand span{font-size:20px}

.nav{margin-left:auto;display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.nav a{
  padding:10px 12px;border-radius:10px;color:var(--muted);
}
.nav a:hover{background:rgba(255,255,255,.04);color:var(--text)}
.nav .cta{
  background: linear-gradient(135deg, var(--accent), rgba(106,92,255,.72));
  color:#fff;font-weight:700;
  box-shadow: 0 10px 28px rgba(106,92,255,.22);
}
.nav .cta:hover{opacity:1;filter:saturate(1.05)}
/* Mobile menu fallback */
.menu-toggle{display:none}

/* Hero */
.hero{padding:56px 0 26px}
.hero-grid{display:grid;grid-template-columns: 1.35fr .65fr;gap:18px}
.hero-card{
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:28px;
  overflow:hidden;
  position:relative;
}
.hero-card:before{
  content:"";
  position:absolute;inset:-120px -120px auto auto;
  width:280px;height:280px;border-radius:999px;
  background: radial-gradient(circle at 30% 30%, rgba(0,209,255,.35), transparent 55%);
  transform: rotate(15deg);
}
.hero h1{margin:0 0 10px;font-size:46px;line-height:1.05}
.hero p{margin:0;color:var(--muted);max-width:58ch;font-size:16px}
.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  gap:10px;
  padding:12px 16px;border-radius:12px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color:var(--text);
  font-weight:700;
}
.btn.primary{
  border:none;
  background: linear-gradient(135deg, var(--accent), rgba(106,92,255,.72));
  color:#fff;
}
.btn.primary:hover{filter:saturate(1.05)}
.btn.secondary:hover{background:rgba(255,255,255,.06)}
.small{font-size:12px;color:var(--muted);margin-top:14px}

/* Right cards */
.side-stack{display:flex;flex-direction:column;gap:18px}
.panel{
  background: var(--panel);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:16px;
}
.panel h3{margin:0 0 10px;font-size:14px;letter-spacing:.5px;text-transform:uppercase;color:#cdd6e4}
.panel .muted{color:var(--muted);font-size:13px}

/* Content layout */
.main{padding:16px 0 56px}
.main-grid{display:grid;grid-template-columns: 1.35fr .65fr;gap:18px}
.postbox{
  background: var(--panel2);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:22px;
}
.postbox h2{margin-top:0}
hr.sep{border:none;border-top:1px solid var(--border);margin:18px 0}

/* Footer */
.footer{
  border-top:1px solid var(--border);
  padding:22px 0;
  color:var(--muted);
  font-size:13px;
}

/* WP basics */
.wp-block-button__link{border-radius:12px}
.entry-content a{color: #b8b2ff}
.entry-content a:hover{text-decoration:underline}
