@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

:root {
  --red: #E52521;
  --blue: #3B5DAA;
  --yellow: #F6C945;
  --green: #2E8B57;
  --dark: #1a1a1a;
  --muted: #515e67;
  --gray-light: #E8EAEC;
  --gray-mid: #f7f9fb;
  --border: #e6eaef;
  --text: #1a1a1a;
  --text-muted: #515e67;
  --white: #ffffff;
  --sidebar-w: 210px;
  --radius: 12px;
  --pixel: 'Press Start 2P', monospace;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; font-size: 15px; color: var(--text); background: var(--white); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* LAYOUT */
.prismor-layout { display: flex; min-height: 100vh; }
.prismor-main { flex: 1; display: flex; flex-direction: column; margin-left: var(--sidebar-w); }
.prismor-content { flex: 1; padding: 28px; max-width: 1200px; width: 100%; }

/* SIDEBAR */
.prismor-sidebar { width: var(--sidebar-w); background: var(--gray-mid); border-right: 1px solid var(--border); display: flex; flex-direction: column; position: fixed; top: 0; left: 0; height: 100vh; overflow-y: auto; z-index: 100; }
.sidebar-logo { padding: 20px 16px 16px; border-bottom: 1px solid var(--border); text-align: center; }
.sidebar-logo a { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.sidebar-logo-img { width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 8px; }
.sidebar-logo-name { color: var(--blue); font-size: 15px; font-weight: 700; letter-spacing: 1px; }
.sidebar-logo-sub { color: var(--dark); font-size: 10px; font-weight: 600; letter-spacing: 2px; }

.sidebar-nav { flex: 1; padding: 8px 0; }
.nav-section { padding: 0 0 8px; }
.nav-label {
  display: block;
  font-family: var(--pixel);
  font-size: 9px;
  color: #fff;
  padding: 7px 12px;
  margin: 8px 8px 4px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  box-shadow: 0 1px 4px rgba(0,0,0,.15);
}
.nav-section:nth-child(1) .nav-label { background: var(--red); }
.nav-section:nth-child(2) .nav-label { background: var(--blue); }
.sidebar-nav ul { list-style: none; }
.sidebar-nav ul li a { display: block; padding: 8px 16px; color: var(--text-muted); font-size: 13px; border-left: 2px solid transparent; transition: all 0.15s; }
.sidebar-nav ul li a:hover { background: rgba(59,93,170,0.06); color: var(--blue); }
.sidebar-nav ul li.current-menu-item a { background: #e8edf8; color: var(--blue); border-left-color: var(--blue); font-weight: 500; }
.sidebar-bottom { padding: 12px 16px; border-top: 1px solid var(--border); }
.discord-btn { display: flex; align-items: center; gap: 8px; background: var(--white); border: 1px solid #c8cfe6; border-radius: 7px; padding: 9px 12px; color: #5865F2; font-size: 12px; font-weight: 500; }
.discord-btn:hover { background: #f0f1ff; }

/* TOPBAR */
.prismor-topbar { height: 54px; border-bottom: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; background: var(--dark); position: sticky; top: 0; z-index: 50; }
.topbar-search { flex: 0 0 200px; }
.topbar-search form { display: flex; align-items: center; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); border-radius: 7px; padding: 0 12px; height: 36px; }
.topbar-search input[type="search"] { border: none; background: transparent; font-size: 13px; color: #fff; width: 100%; outline: none; }
.topbar-search input[type="submit"] { border: none; background: transparent; cursor: pointer; color: rgba(255,255,255,0.6); font-size: 13px; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.lang-switch { font-size: 12px; color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.2); border-radius: 5px; padding: 5px 10px; background: rgba(255,255,255,0.1); }
.cart-btn { background: var(--blue); color: var(--white); border-radius: 7px; padding: 7px 18px; font-size: 13px; font-weight: 500; }
.cart-btn:hover { background: #2e4a8a; color: var(--white); }

/* CONSOLE NAV */
.console-nav { display: flex; flex-direction: row; align-items: stretch; background: var(--white); border-top: 1px solid var(--border); border-bottom: 3px solid var(--blue); padding: 0 20px; }
.console-nav-item { position: relative; }
.console-nav-icon { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; transition: background 0.15s; }
.console-nav-icon:hover { background: var(--gray-mid); }
.console-nav-icon img { height: 70px; width: auto; max-width: 100px; object-fit: contain; }
.console-placeholder { height: 70px; width: 80px; background: var(--gray-light); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 700; color: var(--muted); }
.console-label { font-size: 12px; font-weight: 600; color: var(--dark); white-space: nowrap; letter-spacing: 0.3px; }
.console-dropdown { display: none; position: absolute; top: 100%; left: 0; background: var(--white); border: 1px solid var(--border); border-top: 3px solid var(--blue); border-radius: 0 0 8px 8px; min-width: 210px; box-shadow: 0 4px 16px rgba(0,0,0,0.18); z-index: 9999; }
.console-nav-item:hover .console-dropdown { display: block; }
.dropdown-title { font-family: var(--pixel); font-size: 9px; background: var(--blue); color: #fff; padding: 10px 14px; letter-spacing: 0.5px; }
.console-dropdown a { display: block; padding: 10px 16px; font-size: 13px; color: var(--text); border-bottom: 1px solid var(--gray-light); }
.console-dropdown a:last-child { border-bottom: none; }
.console-dropdown a:hover { background: var(--gray-mid); color: var(--blue); }

/* HERO */
.prismor-hero { background: var(--gray-light); border-radius: var(--radius); padding: 32px; margin-bottom: 28px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.hero-tag { background: var(--blue); color: var(--white); font-family: var(--pixel); font-size: 9px; border-radius: 4px; padding: 6px 10px; display: inline-block; margin-bottom: 14px; }
.hero-title { font-size: 24px; font-weight: 700; color: var(--dark); line-height: 1.3; margin-bottom: 10px; }
.hero-sub { color: var(--text-muted); font-size: 14px; margin-bottom: 22px; max-width: 320px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary { background: var(--blue); color: var(--white); border-radius: 7px; padding: 10px 22px; font-size: 14px; font-weight: 600; display: inline-block; }
.btn-primary:hover { background: #2e4a8a; color: var(--white); }
.btn-outline { border: 2px solid var(--dark); color: var(--dark); border-radius: 7px; padding: 10px 22px; font-size: 14px; font-weight: 500; display: inline-block; }
.btn-outline:hover { background: var(--dark); color: var(--white); }
.hero-badge { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 22px; text-align: center; flex-shrink: 0; }
.hero-badge-num { color: var(--yellow); font-size: 28px; font-weight: 700; }
.hero-badge-stars { color: var(--yellow); font-size: 13px; margin: 6px 0; }
.hero-badge-txt { color: var(--text-muted); font-size: 12px; line-height: 1.4; }

/* SECTIONS */
.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.section-title { font-size: 16px; font-weight: 600; color: var(--text); }
.section-link { font-size: 13px; color: var(--blue); }

/* PRODUCTS */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 28px; }
.product-card { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--white); transition: box-shadow 0.15s, transform 0.15s; }
.product-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); transform: translateY(-2px); }
.product-card img { width: 100%; height: 160px; object-fit: cover; background: var(--gray-light); }
.product-card-info { padding: 14px; }
.product-badge { font-size: 11px; font-weight: 500; border-radius: 4px; padding: 2px 8px; margin-bottom: 6px; display: inline-block; }
.badge-green { background: #EAF3DE; color: #1a5c1a; }
.badge-yellow { background: #FFF8DC; color: #7a5c00; }
.badge-blue { background: #e8edf8; color: #2e4682; }
.badge-red { background: #FDECEA; color: #a01010; }
.product-name { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.product-sub { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.product-price { font-size: 16px; font-weight: 700; color: var(--blue); }

/* TRUST BAR */
.trust-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 28px; }
.trust-card { background: var(--gray-mid); border-radius: 8px; padding: 16px; text-align: center; border: 1px solid var(--border); }
.trust-num { font-size: 20px; font-weight: 700; color: var(--dark); }
.trust-lbl { font-size: 12px; color: var(--text-muted); margin-top: 3px; }

/* FOOTER */
.prismor-footer { background: var(--gray-mid); border-top: 1px solid var(--border); padding: 36px 28px 20px; }
.footer-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 24px; }
.footer-col strong { display: block; font-size: 13px; font-weight: 600; color: var(--dark); margin-bottom: 12px; }
.footer-col p, .footer-col a { font-size: 13px; color: var(--text-muted); line-height: 2; display: block; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 16px; font-size: 12px; color: var(--text-muted); }

/* WOOCOMMERCE */
.woocommerce a.button, .woocommerce button.button { background: var(--blue) !important; color: var(--white) !important; border-radius: 7px !important; font-weight: 500 !important; }
.woocommerce a.button:hover, .woocommerce button.button:hover { background: #2e4a8a !important; }
.woocommerce .star-rating span::before { color: var(--yellow) !important; }

/* MOBILE */
.menu-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; color: var(--text); }
@media (max-width: 900px) {
  .prismor-sidebar { transform: translateX(-100%); transition: transform 0.25s; }
  .prismor-sidebar.open { transform: translateX(0); }
  .prismor-main { margin-left: 0; }
  .prismor-content { padding: 16px; }
  .prismor-hero { flex-direction: column; }
  .trust-bar { grid-template-columns: 1fr 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .menu-toggle { display: block; }
  .console-nav { overflow-x: auto; }
}
@media (max-width: 600px) {
  .products-grid { grid-template-columns: 1fr 1fr; }
  .trust-bar { grid-template-columns: 1fr; }
}