
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  font-family: 'Roboto', sans-serif;
  overflow-y: auto;
}

body {
  background-color: #c58c4b;
  background-image:
    repeating-linear-gradient(
      90deg,
      #d49d55 0px,
      #d49d55 10px,
      #c58c4b 10px,
      #c58c4b 20px
    );
  background-attachment: fixed;
  background-size: cover;
  color: #fff;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.6);
  min-height: 100vh;
  width: 100%;
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: visible;
  padding-bottom: 50px;
}

/* Center Circle */
.center-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 140px;
  height: 140px;
  border: 4px solid rgba(255, 232, 62, 0.652);
  border-radius: 50%;
  opacity: 0.6;
  pointer-events: none;
}

/* Three-Point Arc */
.three-point-arc {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  border: 5px solid  rgba(255, 232, 62, 0.652);
  border-top-left-radius: 600px;
  border-top-right-radius: 600px;
  border-bottom: none;
  opacity: 0.5;
  pointer-events: none;
}

/* Court Grid Lines */
.court-overlay::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: 
    radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 200px),
    repeating-linear-gradient(to right, transparent 0, transparent 80px, rgba(255, 255, 255, 0.1) 80px, rgba(255, 255, 255, 0.1) 82px),
    repeating-linear-gradient(to bottom, transparent 0, transparent 80px, rgba(255, 255, 255, 0.1) 80px, rgba(255, 255, 255, 0.1) 82px);
}

header {
  text-align: center;
  margin-bottom: 2rem;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

header h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

header p {
  font-size: 1.25rem;
  color: #ccc;
}

.home-header {
  text-align: center;
  margin: auto;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

.home-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.home-header p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #ddd;
}

.start-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #fefefe1c;
  color: white;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.start-button:hover {
  background: rgba(29, 66, 138, 0.7);
  box-shadow: 0 0 10px rgba(255, 199, 44, 0.5);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  padding: 0.75rem 2rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
  z-index: 999;
  font-weight: bold;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.navbar a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  transition: 0.2s ease;
}

.navbar a:hover,
.navbar a.active {
  color: #ffd700;
  border-bottom: 2px solid #ffd700;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  gap: 0.6rem;
  color: #ffde59;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease;
  margin-bottom: 1rem;
}

.logo:hover {
  transform: scale(1.05) rotate(-1deg);
}

.logo-icon {
  animation: bounce 2s infinite;
  font-size: 3.2rem;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.logo-text {
  font-family: 'Roboto', sans-serif;
}

.lucky-sevens {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
}

.lucky-sevens span {
  position: absolute;
  font-size: 4rem;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.08);
  animation: float7s 10s infinite ease-in-out;
  font-family: 'Roboto', sans-serif;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.1),
    0 0 12px rgba(29, 66, 138, 0.08),
    0 0 18px rgba(255, 199, 44, 0.06);
  pointer-events: auto;
  cursor: pointer;
}

.lucky-sevens span:hover {
  color: #ffc72c;
  text-shadow:
    0 0 6px #ffc72c,
    0 0 12px #1d428a,
    0 0 18px #1d428a;
  transform: scale(1.1);
}

.lucky-sevens span:nth-child(1) { top: 10%; left: 15%; animation-delay: 0s; }
.lucky-sevens span:nth-child(2) { top: 30%; left: 70%; animation-delay: 1s; }
.lucky-sevens span:nth-child(3) { top: 50%; left: 40%; animation-delay: 2s; }
.lucky-sevens span:nth-child(4) { top: 20%; left: 85%; animation-delay: 3s; }
.lucky-sevens span:nth-child(5) { top: 70%; left: 20%; animation-delay: 4s; }
.lucky-sevens span:nth-child(6) { top: 80%; left: 60%; animation-delay: 5s; }
.lucky-sevens span:nth-child(7) { top: 60%; left: 80%; animation-delay: 6s; }

@keyframes float7s {
  0%   { transform: translateY(0) rotate(0deg); opacity: 0.2; }
  50%  { transform: translateY(-20px) rotate(5deg); opacity: 0.4; }
  100% { transform: translateY(0) rotate(0deg); opacity: 0.2; }
}

/* COURTS */
.courts {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
}

.courts h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  color: #fff;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

#court-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Court Card */
.court-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.court-card {
  display: flex;
  gap: 20px;
  background: rgba(125, 118, 118, 0.5); /* ✅ FIXED */
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  color: white;
  backdrop-filter: blur(4px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.court-card:hover {
  background: rgba(29, 66, 138, 0.3); /* ✅ FIXED */
  box-shadow: 0 0 10px rgba(255, 199, 44, 0.4);
}


.court-image img {
  width: 200px;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.court-info {
  flex: 1;
}

/* SHOES */
.shoes-section {
  margin: 40px 0;
}

.shoes-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.shoe-card {
  width: 250px;
  background: rgba(125, 118, 118, 0.5);
  border-radius: 10px;
  padding: 15px;
  color: white;
  backdrop-filter: blur(4px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.shoe-card:hover {
  background: rgba(29, 66, 138, 0.3);
  box-shadow: 0 0 10px rgba(255, 199, 44, 0.4);
}

.shoe-image img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.shoe-info {
  margin-top: 10px;
}

/* ABOUT PAGE */
.about-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
  color: white;
}

.about-container h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.about-box {
  background: rgba(0, 0, 0, 0.5);
  padding: 1.5rem;
  border-radius: 15px;
  text-align: left;
  transition: background 0.3s ease;
}

.about-box:hover {
  background: rgba(29, 66, 138, 0.3);
  box-shadow: 0 0 10px rgba(255, 199, 44, 0.4);
}

.about-box h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.about-box p, .about-box li {
  line-height: 1.6;
  font-size: 1rem;
}

.about-box ul {
  padding-left: 1.2rem;
  list-style: none;
}

.about-box ul li::before {
  content: "• ";
  color: orange;
}
/* Hero Animation */
.animated-entry {
  animation: fadeInUp 1s ease-in-out;
}

@keyframes fadeInUp {
  0% {
    transform: translateY(40px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Start button hover bounce */
.bounce-hover:hover {
  animation: buttonBounce 0.5s ease;
}

@keyframes buttonBounce {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Court Previews */
.home-preview {
  margin-top: 3rem;
  text-align: center;
}

.court-preview-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.preview-card {
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  padding: 1rem;
  width: 250px;
  color: white;
  backdrop-filter: blur(5px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.preview-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.preview-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 199, 44, 0.4);
}
.hero-title {
  font-size: 4rem;
  color: #ffde59;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #ddd;
  margin-bottom: 1.5rem;
}

.features-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.feature-box {
  background: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 250px;
  color: white;
  text-align: center;
  box-shadow: 0 0 10px rgba(255, 199, 44, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

.feature-box:hover {
  background: rgba(29, 66, 138, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(255, 199, 44, 0.5);
}
.hero-title {
  animation: bounce-in 1s ease;
}

@keyframes bounce-in {
  0% { transform: scale(0.8); opacity: 0; }
  60% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); }
}
.quick-nav {
  margin: 3rem auto;
  display: flex;
  justify-content: center;
  gap: 3rem;
  z-index: 2;
  position: relative;
}

.quick-nav a {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  color: white;
  text-decoration: none;
  font-weight: bold;
  width: 100px;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(4px);
}

.quick-nav a span {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.3rem;
}

.quick-nav a:hover {
  background: rgba(29, 66, 138, 0.4); /* warriors blue tint */
  transform: translateY(-5px);
  box-shadow: 0 0 10px rgba(255, 199, 44, 0.4); /* warriors gold glow */
}
/* Enhanced Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.75);
  padding: 0.75rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #ffde59;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
  letter-spacing: 1px;
}

.nav-links a {
  margin-left: 1.5rem;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ffde59;
}
.nav-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  gap: 0.5rem;
}

.spinner {
  display: inline-block;
  animation: spin 2s linear infinite;
  font-size: 1.7rem;
}

@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.navbar {
  background-color: rgba(0, 0, 0, 0.8);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
  border-bottom: 2px solid #ffc72c;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  display: flex;
  align-items: center;
}

.spinner {
  display: inline-block;
  animation: spin 2s linear infinite;
  margin-right: 0.5rem;
}

@keyframes spin {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.nav-links a {
  color: white;
  margin-left: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ffc72c; /* Warriors gold */
}
.falling-stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0; /* behind all content */
  pointer-events: none;
}

.falling-stars span {
  position: absolute;
  top: -10px;
  color: #ffd60bcc;
  font-size: 16px;
  animation: fall linear infinite;
  opacity: 0.7;
}

.falling-stars span:nth-child(1) {
  left: 10%;
  animation-duration: 8s;
  font-size: 18px;
}
.falling-stars span:nth-child(2) {
  left: 25%;
  animation-duration: 10s;
  font-size: 14px;
}
.falling-stars span:nth-child(3) {
  left: 40%;
  animation-duration: 12s;
  font-size: 20px;
}
.falling-stars span:nth-child(4) {
  left: 55%;
  animation-duration: 9s;
  font-size: 16px;
}
.falling-stars span:nth-child(5) {
  left: 70%;
  animation-duration: 11s;
  font-size: 15px;
}
.falling-stars span:nth-child(6) {
  left: 85%;
  animation-duration: 13s;
  font-size: 13px;
}
.falling-stars span:nth-child(7) {
  left: 95%;
  animation-duration: 7s;
  font-size: 17px;
}

@keyframes fall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(100vh) rotate(360deg);
    opacity: 0;
  }
}


.nav-logo:hover {
  box-shadow: 0 0 18px #006BB6, 0 0 25px #006BB6;
}
.hero-title {
  font-size: 4rem;
  font-weight: 900;
  color: #FFD700; /* Warriors gold */
  text-shadow:
    0 0 4px #006BB6,
    0 0 8px #006BB6,
    0 0 12px #006BB6,
    0 0 16px #006BB6; /* Warriors blue glow */
}
.nav-links a {
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
  margin: 0 1rem;
  text-decoration: none;
  transition: color 0.3s, text-shadow 0.3s;
  text-shadow:
    0 0 2px #006BB6,
    0 0 6px #006BB6,
    0 0 10px #006BB6;
}

.nav-links a:hover {
  color: #FFD700; /* Warriors gold on hover */
  text-shadow:
    0 0 4px #006BB6,
    0 0 8px #006BB6,
    0 0 12px #006BB6,
    0 0 16px #006BB6;
}

.navbar:hover {
  box-shadow:
    0 0 8px #006BB6,
    0 0 16px #006BB6,
    0 0 24px #006BB6,
    0 0 32px #006BB6;
  transition: box-shadow 0.4s ease-in-out;
}
/* =========================
   DARK MODE — BLACK + BLUE GLOW
   (Light mode remains exactly as-is)
========================= */

:root {
  --blue: #006BB6;  /* Warriors blue */
  --gold: #FFC72C;  /* Warriors gold */
}

/* Page background & base text */
html[data-theme="dark"] body.court-bg {
  background-color: #0b0c0f; /* deep black */
  background-image: repeating-linear-gradient(
    90deg,
    #121419 0px,
    #121419 10px,
    #0b0c0f 10px,
    #0b0c0f 20px
  );
  color: #e9eef6;
}

/* The translucent overlay and general text */
html[data-theme="dark"] .overlay {
  background-color: rgba(0,0,0,0.82);
  color: #e9eef6;
}

/* Navbar container with blue glow */
html[data-theme="dark"] .navbar {
  background: rgba(0,0,0,0.92);
  border: 2px solid var(--blue);
  border-radius: 12px;
  box-shadow:
    0 0 6px var(--blue),
    0 0 14px rgba(0,107,182,0.8);
}

/* Navbar links keep white, glow stronger on hover */
html[data-theme="dark"] .nav-links a {
  color: #ffffff;
  text-shadow: 0 0 4px var(--blue), 0 0 10px var(--blue);
}
html[data-theme="dark"] .nav-links a:hover {
  color: var(--gold);
  text-shadow: 0 0 6px var(--blue), 0 0 14px var(--blue), 0 0 22px var(--blue);
}

/* Title glow (hero) in blue */
html[data-theme="dark"] .hero-title {
  color: var(--gold);
  text-shadow:
    0 0 6px var(--blue),
    0 0 12px var(--blue),
    0 0 20px var(--blue);
}

/* Cards / tiles / sections you already use */
html[data-theme="dark"] .court-card,
html[data-theme="dark"] .shoe-card,
html[data-theme="dark"] .feature-box,
html[data-theme="dark"] .quick-nav a,
html[data-theme="dark"] .about-box,
html[data-theme="dark"] .quote-tab-section {
  background: rgba(255,255,255,0.06);
  color: #e9eef6;
  border: 1px solid rgba(0,107,182,0.25);
  box-shadow: 0 0 6px rgba(0,107,182,0.25);
}

html[data-theme="dark"] .court-card:hover,
html[data-theme="dark"] .shoe-card:hover,
html[data-theme="dark"] .feature-box:hover,
html[data-theme="dark"] .quick-nav a:hover,
html[data-theme="dark"] .about-box:hover {
  background: rgba(0,107,182,0.28);
  box-shadow: 0 0 12px rgba(0,107,182,0.55);
}

/* Buttons */
html[data-theme="dark"] .start-button {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(0,107,182,0.4);
  box-shadow: 0 0 8px rgba(0,107,182,0.35);
}
html[data-theme="dark"] .start-button:hover {
  background: rgba(0,107,182,0.55);
  box-shadow: 0 0 14px rgba(0,107,182,0.7);
}

/* Lucky 7s & stars – subtle cooler tint */
html[data-theme="dark"] .lucky-sevens span {
  color: rgba(255,255,255,0.1);
  text-shadow:
    0 0 8px rgba(0,107,182,0.25),
    0 0 16px rgba(0,107,182,0.25);
}
html[data-theme="dark"] .falling-stars span {
  color: rgba(0,160,255,0.75);
}

/* Court lines (center circle / arc) – gold lines pop on black */
html[data-theme="dark"] .center-circle,
html[data-theme="dark"] .three-point-arc {
  border-color: rgba(255, 199, 44, 0.8);
}

/* Theme toggle button styling */
.theme-toggle {
  background: transparent;
  color: #fff;
  border: 2px solid var(--gold);
  border-radius: 999px;
  padding: .4rem .8rem;
  font-weight: 700;
  box-shadow: 0 0 6px rgba(255,199,44,.35);
  cursor: pointer;
}
.theme-toggle:hover { box-shadow: 0 0 12px rgba(255,199,44,.6); }

/* DARK MODE */
[data-theme="dark"] {
  --bg-color: #000;
  --text-color: #fff;
  --accent-color: #00bfff; /* glowing blue */
  --card-bg: rgba(20, 20, 20, 0.9);
}

[data-theme="dark"] body {
  background-color: var(--bg-color);
  background-image: linear-gradient(rgba(0, 191, 255, 0.05) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(0, 191, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  color: var(--text-color);
}

/* Nav Bar */
[data-theme="dark"] nav {
  background-color: #000;
  border-bottom: 2px solid var(--accent-color);
  box-shadow: 0 0 10px var(--accent-color);
}

/* Court & Shoe Cards */
[data-theme="dark"] .court-card,
[data-theme="dark"] .shoe-card {
  background-color: var(--card-bg);
  border: 1px solid var(--accent-color);
  box-shadow: 0 0 10px var(--accent-color);
}

/* Titles */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3 {
  color: var(--accent-color);
  text-shadow: 0 0 10px var(--accent-color);
}

/* ========== CSS-ONLY HOOP (no images) ========== */
.css-hoop{
  position: fixed;          /* stays put as a background element */
  bottom: 60px;
  right: 5%;
  width: 280px;             /* overall footprint */
  height: 360px;
  pointer-events: none;     /* never blocks clicks */
  z-index: 0;               /* behind your content */
  opacity: .9;
}

/* Pole / stanchion */
.css-hoop .pole{
  position: absolute;
  bottom: 0;
  left: 18px;
  width: 28px;
  height: 220px;
  background: linear-gradient(#3a3a3a, #222);
  border-radius: 8px;
  box-shadow: inset 0 0 8px rgba(255,255,255,.12);
}

/* Backboard */
.css-hoop .backboard{
  position: absolute;
  bottom: 230px;
  left: 0;
  width: 260px;
  height: 170px;
  background: rgba(255,255,255,.88);
  border: 4px solid #1d428a;          /* Warriors blue */
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(29,66,138,.45);
}

/* Inner shooting square */
.css-hoop .square{
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 50px;
  border: 4px solid #FFC72C;          /* Warriors gold */
  border-radius: 4px;
}

/* Rim (front ellipse) */
.css-hoop .rim{
  position: absolute;
  bottom: 220px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 26px;                        /* ellipse height */
  border: 6px solid #ff6a00;           /* rim orange */
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255,106,0,.25) 0%, transparent 60%);
  box-shadow: 0 0 8px rgba(255,106,0,.35);
}

/* Net: criss-cross grid clipped into a cone, with gentle sway */
.css-hoop .net{
  position: absolute;
  bottom: 140px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 120px;
  /* two crossed grids */
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.9) 0 2px, transparent 2px 16px),
    repeating-linear-gradient(45deg,  rgba(255,255,255,.9) 0 2px, transparent 2px 16px);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.4));
  /* cone/diamond shape under the rim */
  clip-path: polygon(0% 0%, 100% 0%, 88% 25%, 70% 55%, 50% 85%, 30% 55%, 12% 25%);
  transform-origin: 50% 0%;
  animation: hoopSway 3s ease-in-out infinite;
  opacity: .95;
}

/* tiny sway animation */
@keyframes hoopSway{
  0%,100% { transform: translateX(-50%) rotate(0deg); }
  50%     { transform: translateX(-50%) rotate(2deg); }
}

/* ------- Dark mode tweaks: stronger blue glow on board, cooler pole ------- */
html[data-theme="dark"] .css-hoop .backboard{
  background: rgba(255,255,255,.12);
  border-color: #006BB6;
  box-shadow: 0 0 12px rgba(0,107,182,.75), 0 0 24px rgba(0,107,182,.35);
}

html[data-theme="dark"] .css-hoop .square{
  border-color: #FFC72C;
  box-shadow: 0 0 8px rgba(255,199,44,.45);
}

html[data-theme="dark"] .css-hoop .pole{
  background: linear-gradient(#1c1f26, #0e1218);
  box-shadow: inset 0 0 10px rgba(255,255,255,.06);
}

html[data-theme="dark"] .css-hoop .rim{
  box-shadow: 0 0 10px rgba(255,106,0,.5);
}

html[data-theme="dark"] .css-hoop .net{
  filter: drop-shadow(0 3px 6px rgba(0,107,182,.45));
}
