/* 1. Color Variables */
:root {
  --pawnYellow: #F7FFA4;
  --brown: #66401F;
  --gold: #E4BF43;
  --dark: #19335E;
  --orng: #00a08d; /* The Pop Color */
  --white: #ffffff;
}

/* Ensure the page itself allows scrolling */
html, body {
  height: auto;
  overflow-x: hidden;
}

/* Background container locked to the screen */
.tri-grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -3; 
  background: #2a1a0a; /* A very dark base */
  pointer-events: all; /* Keep this 'all' or 'auto' */
}

/* Base Triangle Style */
.tri-cell {
  position: absolute;
  width: 50px;
  height: 43.3px;
  background: #7a5813; /* Dark Mahogany */
  transition: background 0.2s ease;
  pointer-events: auto; /* Ensure cells can be 'hit' */
}

/* Highlights */
.tri-cell.highlight {
  background: #fff700 !important; /* Extremely bright yellow */
  z-index: 10 !important; /* Lift it above the base cells */
  box-shadow: 0 0 15px #fff700; /* Add a slight glow */
}

.tri-cell.neighbor {
  background: #b67d43 !important; /* Golden Oak */
  z-index: 5 !important;
}

/* THE OVERLAY FIX */
.gradient-overlay {
  position: fixed;
  inset: 0;
  /* Use 'soft-light' or 'screen' for a more vibrant, less heavy gold */
  background: linear-gradient(135deg, rgba(74, 14, 14, 1) 0%, rgba(255, 223, 0, 1) 100%);
  mix-blend-mode: overlay; 
  z-index: -1;
  pointer-events: none;
}

/* Ensure site content doesn't have a solid background color */
.site-wrapper {
  position: relative;
  z-index: 1;
  background: transparent;
}
