/*
Theme Name: Counsel & Chaos
Theme URI: https://example.com/counselandchaos
Author: AirforceRP
Author URI: https://airforcerp.com
Description: A bold, modern WordPress theme for the Counsel & Chaos lawyer board game website.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: counselandchaos
Tags: game, board-game, landing-page, custom-logo, custom-menu, featured-images
*/

:root {
  --cc-bg: #071018;
  --cc-panel: #101c28;
  --cc-card: #132435;
  --cc-gold: #f6c85f;
  --cc-red: #e95858;
  --cc-blue: #74c0fc;
  --cc-text: #f4f7fb;
  --cc-muted: #a9b8c8;
  --cc-border: rgba(255,255,255,.12);
  --cc-shadow: 0 24px 80px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(246,200,95,.15), transparent 35%),
    radial-gradient(circle at top right, rgba(233,88,88,.13), transparent 30%),
    var(--cc-bg);
  color: var(--cc-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a { color: inherit; }
img { max-width: 100%; height: auto; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(7,16,24,.78);
  border-bottom: 1px solid var(--cc-border);
}

.navbar {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -.03em;
  font-size: 1.25rem;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--cc-gold), #fff2bb);
  color: #121212;
  box-shadow: 0 10px 30px rgba(246,200,95,.25);
}

.menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu a {
  display: inline-flex;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--cc-muted);
  text-decoration: none;
  font-weight: 700;
  transition: .2s ease;
}

.menu a:hover {
  color: var(--cc-text);
  background: rgba(255,255,255,.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 999px;
  background: var(--cc-gold);
  color: #111827;
  text-decoration: none;
  font-weight: 900;
  border: 0;
  box-shadow: 0 14px 40px rgba(246,200,95,.2);
}

.btn.secondary {
  background: rgba(255,255,255,.08);
  color: var(--cc-text);
  border: 1px solid var(--cc-border);
  box-shadow: none;
}

.hero {
  padding: 90px 0 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 52px;
}

.badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--cc-border);
  border-radius: 999px;
  color: var(--cc-muted);
  background: rgba(255,255,255,.06);
  font-weight: 800;
  font-size: .9rem;
}

.hero h1 {
  margin: 18px 0 16px;
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: .9;
  letter-spacing: -.08em;
}

.hero h1 span { color: var(--cc-gold); }

.hero p {
  color: var(--cc-muted);
  font-size: 1.2rem;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.board-preview {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 38px;
  padding: 20px;
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(255,255,255,.03));
  border: 1px solid var(--cc-border);
  box-shadow: var(--cc-shadow);
}

.board-inner {
  height: 100%;
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    #0d1a27;
  background-size: 56px 56px;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(246,200,95,.45);
}

.center-court {
  position: absolute;
  inset: 25%;
  border-radius: 30px;
  display: grid;
  place-items: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(246,200,95,.95), rgba(233,88,88,.9));
  color: #111827;
  font-weight: 1000;
  font-size: clamp(1.4rem, 4vw, 2.6rem);
  line-height: .95;
  padding: 20px;
  box-shadow: inset 0 0 0 8px rgba(255,255,255,.22);
}

.deck-slot {
  position: absolute;
  width: 24%;
  aspect-ratio: .72 / 1;
  border-radius: 16px;
  border: 2px dashed rgba(255,255,255,.42);
  background: rgba(255,255,255,.08);
  display: grid;
  place-items: center;
  text-align: center;
  font-weight: 900;
  color: white;
  padding: 8px;
  font-size: .8rem;
}
.deck-evidence { top: 5%; left: 6%; }
.deck-objection { top: 5%; right: 6%; }
.deck-client { bottom: 5%; left: 6%; }
.deck-event { bottom: 5%; right: 6%; }

.section { padding: 76px 0; }
.section-title {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -.055em;
}
.section-lead {
  margin: 0 0 34px;
  color: var(--cc-muted);
  font-size: 1.08rem;
  max-width: 760px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.game-card {
  min-height: 260px;
  border-radius: 26px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,.035));
  border: 1px solid var(--cc-border);
  box-shadow: 0 18px 60px rgba(0,0,0,.22);
}

.game-card .icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(246,200,95,.15);
  color: var(--cc-gold);
  font-size: 1.6rem;
  margin-bottom: 18px;
}

.game-card h3 { margin: 0 0 10px; font-size: 1.35rem; }
.game-card p { margin: 0; color: var(--cc-muted); }

.rules-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.rule-step {
  padding: 24px;
  border-radius: 24px;
  background: var(--cc-panel);
  border: 1px solid var(--cc-border);
}

.step-number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--cc-red);
  font-weight: 1000;
  margin-bottom: 14px;
}

.cta {
  border-radius: 34px;
  padding: 46px;
  background:
    linear-gradient(135deg, rgba(246,200,95,.18), rgba(233,88,88,.14)),
    var(--cc-panel);
  border: 1px solid var(--cc-border);
  box-shadow: var(--cc-shadow);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
}

.site-footer {
  padding: 34px 0;
  border-top: 1px solid var(--cc-border);
  color: var(--cc-muted);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.wp-content {
  padding: 70px 0;
}

.wp-content article {
  background: rgba(255,255,255,.055);
  border: 1px solid var(--cc-border);
  border-radius: 28px;
  padding: 34px;
}

.wp-content h1,
.wp-content h2,
.wp-content h3 {
  line-height: 1.1;
  letter-spacing: -.04em;
}

input, textarea, select {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--cc-border);
  background: rgba(255,255,255,.06);
  color: var(--cc-text);
  padding: 14px 16px;
}

button, input[type="submit"] {
  cursor: pointer;
  border-radius: 999px;
  border: 0;
  padding: 13px 18px;
  background: var(--cc-gold);
  color: #111827;
  font-weight: 900;
}

@media (max-width: 900px) {
  .hero-grid,
  .cta {
    grid-template-columns: 1fr;
  }
  .cards-grid,
  .rules-panel {
    grid-template-columns: 1fr 1fr;
  }
  .menu { display: none; }
}

@media (max-width: 560px) {
  .cards-grid,
  .rules-panel {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 52px; }
  .board-preview { border-radius: 24px; padding: 12px; }
  .center-court { inset: 28%; font-size: 1.3rem; }
}
