/*
Theme Name: Numbered Custom
Author: Numbered GameCo
Version: 1.0
*/

  /* THEME CSS */
  /*
Theme Name: Numbered Rip Theme
Theme URI: https://numberedgameco.com/
Author: Numbered GameCo
Description: A bold, sectioned, “ripped paper” one-page style theme for Numbered GameCo.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: numbered-rip
*/

:root{
  --bg-0: #0b0c10;
  --bg-1: #141629;
  --bg-2: #1a3a4a;
  --bg-3: #3a2142;
  --bg-4: #2b3a23;
  --ink: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
  --muted2: rgba(255,255,255,.60);
  --line: rgba(255,255,255,.14);
  --card: rgba(255,255,255,.06);
  --card2: rgba(255,255,255,.08);
  --shadow: 0 12px 32px rgba(0,0,0,.35);
  --shadow2: 0 10px 24px rgba(0,0,0,.28);
  --radius: 22px;
  --maxw: 1120px;

  --accent: #7cf6ff;
  --accent2: #ff7cf6;
  --accent3: #ffd07c;

  --h1: clamp(2.2rem, 4vw, 3.6rem);
  --h2: clamp(1.6rem, 2.5vw, 2.2rem);
  --h3: 1.15rem;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: var(--bg-0);
  color: var(--ink);
  line-height: 1.55;
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration: underline; text-underline-offset: 4px; }

/* Disable underline specifically for the brand link */
a.brand:hover {
  text-decoration: none;
}

.container{
  width: min(var(--maxw), calc(100% - 40px));
  margin-inline:auto;
}

.site-header{
  position: sticky;
  top:0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: rgba(11,12,16,.62);
  border-bottom: 1px solid var(--line);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 240px;
}
.brand img{
  height: 40px;
  width:auto;
  display:block;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.35));
}
.brand .wordmark{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}
.brand .wordmark strong{ letter-spacing:.4px; }
.brand .wordmark span{ font-size:.9rem; color: var(--muted); }

.nav{
  display:flex;
  align-items:center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content:flex-end;
}
.nav a{
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: var(--muted);
}
.nav a:hover{
  border-color: var(--line);
  background: rgba(255,255,255,.04);
  color: var(--ink);
  text-decoration:none;
}
.nav .cta{
  border-color: rgba(124,246,255,.35);
  background: rgba(124,246,255,.08);
  color: var(--ink);
}

.mobile-toggle{
  display:none;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--ink);
}
.mobile-panel{
  display:none;
  border-top: 1px solid var(--line);
  padding: 10px 0 16px;
}
.mobile-panel a{
  display:block;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--muted);
}
.mobile-panel a:hover{
  background: rgba(255,255,255,.04);
  color: var(--ink);
  text-decoration:none;
}

.section{
  position: relative;
  padding: 74px 0;
  overflow:hidden;
}
.section .kicker{
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .78rem;
}
.section h1{ font-size: var(--h1); line-height:1.05; margin:.35rem 0 1rem; }
.section h2{ font-size: var(--h2); line-height:1.15; margin:0 0 1rem; }
.section p{ color: var(--muted); margin:0 0 1rem; max-width: 70ch; }

.bg-1{ background: radial-gradient(1200px 700px at 15% 10%, rgba(124,246,255,.12), transparent 55%), var(--bg-1); }
.bg-2{ background: radial-gradient(1000px 650px at 80% 0%, rgba(255,124,246,.10), transparent 60%), var(--bg-2); }
.bg-3{ background: radial-gradient(1100px 700px at 20% 0%, rgba(255,208,124,.10), transparent 55%), var(--bg-3); }
.bg-4{ background: radial-gradient(1000px 650px at 75% 0%, rgba(124,246,255,.08), transparent 55%), var(--bg-4); }

.grid{
  display:grid;
  gap: 18px;
}
.grid.two{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three{ grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow2);
}
.card h3{ margin: 0 0 8px; font-size: var(--h3); }
.card p{ margin:0; color: var(--muted2); }

.hero{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items:center;
}
.hero .lead{
  font-size: 1.05rem;
  color: var(--muted);
}
.pills{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin: 16px 0 0;
}
.pill{
  padding:0;
  border:0;
  background:none;
  border-radius:0;
  box-shadow:none;
  font-weight:600;
  letter-spacing:.03em;
}

.hero-media{
  position:relative;
  border-radius: calc(var(--radius) + 6px);
  overflow:hidden;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
  min-height: 320px;
}
.hero-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
  opacity: .92;
  filter: saturate(1.05) contrast(1.05);
}
.hero-media .badge{
  position:absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(11,12,16,.65);
  border: 1px solid var(--line);
  padding: 10px 12px;
  border-radius: 14px;
  max-width: 90%;
}
.hero-media .badge strong{ display:block; }
.hero-media .badge span{ color: var(--muted); font-size: .92rem; }

.actions{
  display:flex;
  flex-wrap:wrap;
  gap: 12px;
  margin-top: 18px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--ink);
  text-decoration:none;
  box-shadow: var(--shadow2);
}
.btn:hover{ text-decoration:none; background: rgba(255,255,255,.06); }
.btn.primary{
  border-color: rgba(124,246,255,.45);
  background: rgba(124,246,255,.10);
}
.btn.secondary{
  border-color: rgba(255,124,246,.35);
  background: rgba(255,124,246,.08);
}
.btn.small{ padding: 10px 14px; border-radius: 12px; font-size:.95rem; }

.form{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
input[type="email"], input[type="text"], select{
  flex: 1 1 240px;
  min-width: 220px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: var(--ink);
  outline: none;
}
input::placeholder{ color: rgba(255,255,255,.45); }
button{
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(124,246,255,.45);
  background: rgba(124,246,255,.10);
  color: var(--ink);
  cursor:pointer;
  box-shadow: var(--shadow2);
}
button:hover{ background: rgba(124,246,255,.14); }
.notice{
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--muted);
}

.site-footer{
  padding: 32px 0 46px;
  border-top: 1px solid var(--line);
  background: rgba(11,12,16,.55);
}
.footer-inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-inner .small{ color: var(--muted2); font-size: .95rem; }
.footer-links a{ color: var(--muted); margin-right: 14px; }
.footer-links a:hover{ color: var(--ink); }

.page-content{
  padding: 30px 0 10px;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 900px){
  .hero{ grid-template-columns: 1fr; }
  .grid.two{ grid-template-columns: 1fr; }
  .grid.three{ grid-template-columns: 1fr; }
  .brand{ min-width: unset; }
}
@media (max-width: 760px){
  .nav{ display:none; }
  .mobile-toggle{ display:inline-flex; }
  .mobile-panel.show{ display:block; }
  .section{ padding: 62px 0; }
  .tear{
  height:64px;
  background:var(--tear-color);
  -webkit-mask-image:url("tear-edge.png");
  mask-image:url("tear-edge.png");
  -webkit-mask-repeat:repeat-x;
  mask-repeat:repeat-x;
  -webkit-mask-size:420px 64px;
  mask-size:420px 64px;
}
}

  /* Tiny tweak for preview only */
  .nav a{display:inline-flex;}
  
