/*
Theme Name: BackDoor Sports OS
Theme URI: https://backdoorsportsos.com/
Author: BackDoor Sports OS
Author URI: https://backdoorsportsos.com/
Description: A lightweight native WordPress block theme for BackDoor Sports OS, sports organizers, clubs, venues, and modular sports-management products.
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 8.0
Version: 0.1.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: backdoor-sports-os
Tags: block-patterns, full-site-editing, custom-logo, custom-colors, featured-images, wide-blocks
*/

:root {
  --bdso-radius-sm: 10px;
  --bdso-radius-md: 18px;
  --bdso-radius-lg: 28px;
  --bdso-shadow: 0 18px 50px rgba(2, 12, 27, 0.14);
}

html { scroll-behavior: smooth; }
body { text-rendering: optimizeLegibility; }

a { text-underline-offset: 0.18em; }

.wp-site-blocks { overflow: hidden; }
.wp-site-blocks > * { margin-block-start: 0 !important; }

.bdso-site-header {
  position: relative;
  z-index: 20;
}

.bdso-brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  color: #fff;
  text-decoration: none;
}

.bdso-brand-mark {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 8px);
  grid-template-rows: repeat(2, 8px);
  gap: 3px;
  width: 34px;
  height: 34px;
  place-content: center;
  border: 1px solid rgba(88,224,255,.38);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(24,182,255,.22), rgba(88,224,255,.06));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}

.bdso-brand-mark span {
  display: block;
  border-radius: 2px;
  background: #58e0ff;
}

.bdso-brand-mark span:nth-child(2),
.bdso-brand-mark span:nth-child(3) { opacity: .58; }

.bdso-brand-copy { display: grid; gap: 1px; }
.bdso-brand-name {
  color: #fff;
  font-size: 1.02rem;
  font-weight: 820;
  line-height: 1;
  letter-spacing: -.025em;
}
.bdso-brand-sub {
  color: #58e0ff;
  font-size: .66rem;
  font-weight: 780;
  letter-spacing: .16em;
  line-height: 1;
  text-transform: uppercase;
}


.bdso-glass {
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.065);
  backdrop-filter: blur(14px);
}

.bdso-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.bdso-hero::before,
.bdso-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 999px;
  filter: blur(12px);
  pointer-events: none;
}

.bdso-hero::before {
  width: 520px;
  height: 520px;
  top: -250px;
  right: -140px;
  background: radial-gradient(circle, rgba(24,182,255,.40), rgba(24,182,255,0) 68%);
}

.bdso-hero::after {
  width: 420px;
  height: 420px;
  bottom: -280px;
  left: -100px;
  background: radial-gradient(circle, rgba(88,224,255,.22), rgba(88,224,255,0) 70%);
}

.bdso-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid rgba(88,224,255,.28);
  border-radius: 999px;
  padding: .45rem .75rem;
  background: rgba(88,224,255,.08);
  color: #b8f1ff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.bdso-module-card {
  height: 100%;
  border: 1px solid #dbe7f2;
  border-radius: var(--bdso-radius-md);
  background: #fff;
  box-shadow: 0 10px 30px rgba(8, 24, 43, .06);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.bdso-module-card:hover {
  transform: translateY(-4px);
  border-color: #80d9ff;
  box-shadow: var(--bdso-shadow);
}

.bdso-number {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: #0b1b2f;
  color: #58e0ff;
  font-weight: 800;
}

.bdso-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: .35rem .65rem;
  background: #e8f9ff;
  color: #075f83;
  font-size: .78rem;
  font-weight: 700;
}

.bdso-status--soon {
  background: #eef2f7;
  color: #526173;
}

.bdso-checklist li { margin-bottom: .65rem; }

.bdso-checklist li::marker { color: #18b6ff; }

.wp-block-button__link {
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(24, 182, 255, .25);
}

.bdso-demo-panel {
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--bdso-radius-lg);
  background:
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(255,255,255,.03)),
    #0a1727;
  box-shadow: 0 28px 70px rgba(0,0,0,.28);
}

.bdso-demo-row {
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.bdso-demo-row:last-child { border-bottom: 0; }

.bdso-footer a { color: inherit; }

@media (max-width: 781px) {
  .bdso-hero { text-align: left; }
  .bdso-hero .wp-block-buttons { justify-content: flex-start; }
}


/* v0.1.1 visual refinements */
.bdso-hero .wp-block-columns { min-height: 590px; }
.bdso-hero h1 { max-width: 790px; }
.bdso-hero .wp-block-column:first-child > p { max-width: 720px; }
.bdso-proof-strip {
  border-top: 1px solid rgba(255,255,255,.09);
  background: #081525;
}
.bdso-proof-item {
  color: #d6e6f4;
  font-size: .86rem;
  font-weight: 680;
  letter-spacing: .01em;
}
.bdso-proof-item strong { color: #58e0ff; }
.bdso-demo-panel { overflow: hidden; }
.bdso-demo-panel::before {
  content: "Organizer workspace";
  display: block;
  margin: -24px -24px 20px;
  padding: 13px 24px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.035);
  color: #92a9bf;
  font-size: .72rem;
  font-weight: 760;
  letter-spacing: .12em;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .bdso-hero .wp-block-columns { min-height: auto; }
  .bdso-hero h1 { max-width: 680px; }
}

@media (max-width: 781px) {
  .bdso-site-header { position: relative; }
  .bdso-brand-mark { width: 32px; height: 32px; }
  .bdso-hero .wp-block-columns { gap: 42px; }
}
