
/*
 Theme Name:   Silicon Child - BlockBima
 Theme URI:    https://blockbima.org
 Description:  Child theme for Silicon (Crypto demo) customized for BlockBima narrative site
 Author:       BlockBima
 Author URI:   https://blockbima.org
 Template:     silicon
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  silicon-child-blockbima
*/

/* CSS Variables for BlockBima brand */
:root {
  --bb-bg: #0E0F12;
  --bb-ink: #12141A;
  --bb-card: #1C1F27;
  --bb-teal: #14C3C9;
  --bb-emerald: #15E1A7;
  --bb-sand: #E9E4DA;
  --bb-gray: #969AA3;
}

/* General tweaks */
body.bb-dark {
  background: radial-gradient(1000px 600px at 80% -10%, rgba(20,195,201,0.15), transparent),
              radial-gradient(1000px 600px at 0% 110%, rgba(21,225,167,0.10), transparent),
              var(--bb-bg);
  color: var(--bb-sand);
}

.bb-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 24px;
}

.bb-hero {
  background: linear-gradient(180deg, rgba(20,195,201,0.12), rgba(20,195,201,0.04)) , rgba(28,31,39,0.6);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 64px 40px;
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 40px rgba(0,0,0,0.35);
}

.bb-hero h1 {
  font-family: 'Space Grotesk', system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: white;
  margin: 0 0 16px 0;
}

.bb-hero p {
  color: var(--bb-sand);
  font-size: 18px;
  opacity: 0.92;
}

.bb-cta {
  display: inline-block;
  padding: 14px 20px;
  border-radius: 14px;
  background: var(--bb-teal);
  color: #0B1214;
  font-weight: 700;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
  box-shadow: 0 10px 25px rgba(20,195,201,0.35);
  margin-right: 12px;
}
.bb-cta.secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--bb-sand);
  box-shadow: none;
}
.bb-cta:hover {
  transform: translateY(-1px);
}

.bb-tiles {
  display: grid;
  grid-template-columns: repeat( auto-fit, minmax(240px, 1fr) );
  gap: 16px;
  margin-top: 28px;
}
.bb-tile {
  background: var(--bb-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 18px;
}
.bb-tile h3 { margin: 6px 0 8px 0; color: white; font-size: 18px; }
.bb-tile p { margin: 0; color: var(--bb-gray); }

.bb-section {
  margin-top: 56px;
}
.bb-section h2 {
  color: white;
  font-size: 28px;
  margin-bottom: 10px;
}
.bb-section p {
  color: var(--bb-gray);
  max-width: 820px;
}

.bb-divider {
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.14), rgba(255,255,255,0));
  margin: 36px 0;
}

/* Cards for Earn/Protect */
.bb-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.bb-card {
  background: var(--bb-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  padding: 20px;
}
.bb-card h3 { color: white; margin: 0 0 10px 0; }
.bb-card p { color: var(--bb-gray); margin: 0; }

/* Footer */
.bb-footer {
  color: var(--bb-gray);
  font-size: 14px;
  margin-top: 40px;
  text-align: center;
  opacity: 0.8;
}
