/* ==================================================
FILE : /assets/01-mstr-tmplet/03-jz-desktop/css-v2/dsktop-w08-jz-footer.css
LINK : <link rel="stylesheet" href="/assets/01-mstr-tmplet/03-jz-desktop/css-v2/dsktop-w08-jz-footer.css">
PURPOSE : DESKTOP WIDGET 08 - Master Footer (Compact, Wired & Semantic)
VERSION: v1.0 - DATE MODIFIED: 2026-04-05 - Studio Wiring, Semantic H3s & Granular Locks
==================================================== */

/* ==================================================
   🛠️ BRAT TWEAKS: LOCAL VISUAL CONTROLS
   ================================================== */
.jz-dsktop-w08-wrapper {
  /* --- SPACING & SIZING (Local Overrides) --- */
  --w08-inner-pad: 15px;
  --w08-grid-gap: 15px;
  --w08-divider-gap: 15px;

  /* --- 📏 EXACT TYPOGRAPHY SIZING --- */
  --w08-header-size: 0.8rem; /* <-- Brat Tweak: Locked H3 column header size */
  --w08-text-size: 0.8rem; /* <-- Brat Tweak: Locked standard link/text size */
  --w08-email-size: 0.75rem; /* <-- Brat Tweak: Locked email text size */
  --w08-social-text-size: 0.65rem; /* <-- Brat Tweak: Locked social icon text size */
  --w08-bottom-text-size: 0.7rem; /* <-- Brat Tweak: Locked bottom copyright text size */

  /* --- 🌓 ISOLATED HEADER TEXT CONTROLS --- */
  --w08-header-text-dark: #00befd; /* <-- Brat Tweak: Cyan Headers (Dark Mode) */
  --w08-header-text-light: #0217fa; /* <-- Brat Tweak: Deep Blue Headers (Light Mode) */

  /* --- BORDERS & DIVIDERS --- */
  --w08-divider-line: 2px solid rgba(255, 255, 255, 0.1); /* <-- Brat Tweak: Thicker 2px divider line */
  --w08-social-border-w: 1px; /* <-- Brat Tweak: Thickness of the social circle border */

  /* --- INTERACTION & SIZING --- */
  --w08-link-hover-move: 4px;
  --w08-social-size: 30px;

  /* --- MAIN WRAPPER RGB --- */
  --w08-rgb-speed: 16s;
  --w08-rgb-border: 2px;
  --w08-rgb-colors: #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3, #ff0000; /* <-- Flattened */

  /* Structural Wiring */
  display: block !important;
  width: 100% !important;
  max-width: var(--jzn-max-width) !important;
  box-sizing: border-box !important;
  margin: var(--w08-margin-top, 20px) auto var(--w08-margin-bottom, 20px) auto !important;
  padding: var(--w08-wrapper-pad, 15px) !important;
}

/* ==================================================
   SECTION 1: THE RGB BOX
   ================================================== */
.jz-w08-rgb-box {
  position: relative;
  border-radius: 12px !important;
  background: transparent;
  padding: var(--w08-inner-pad) !important;
  box-sizing: border-box !important;
  z-index: 1;
}

.jz-w08-rgb-box::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: var(--w08-rgb-border);
  background: linear-gradient(90deg, var(--w08-rgb-colors));
  background-size: 400% 400%;
  animation: jz-w08-rgbFlow var(--w08-rgb-speed) linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}

/* ==================================================
   SECTION 2: THE 4-COLUMN NAV GRID
   ================================================== */
.jz-w08-nav-grid {
  display: grid !important;
  grid-template-columns: 1.2fr 1fr 1fr 1fr !important;
  gap: var(--w08-grid-gap) !important;
  margin-bottom: var(--w08-divider-gap) !important;
  border-bottom: var(--w08-divider-line) !important; /* <-- Wired to thicker Brat Tweak */
  padding-bottom: var(--w08-divider-gap) !important;
}

.jz-w08-col-header {
  font-family: var(--jzn-active-heading-font); /* <-- Wired to Studio Heading Font Engine */
  font-size: var(--w08-header-size); /* <-- Locked to Brat Tweak */
  font-weight: var(--jzn-font-weight-heading); /* <-- Wired to Studio Heading Weight */
  color: var(--w08-active-header-color) !important; /* <-- Routed from Override Bridge */
  margin-bottom: 8px !important;
  margin-top: 0 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.jz-w08-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.jz-w08-text,
.jz-w08-link {
  display: block !important;
  font-family: var(--jzn-active-font); /* <-- Studio Font */
  font-size: var(--w08-text-size); /* <-- Locked to Brat Tweak */
  font-weight: var(--jzn-font-weight-body); /* <-- Studio Weight */
  color: var(--jzn-text) !important; /* <-- Studio Body Text */
  text-decoration: none !important;
  margin-bottom: 4px !important;
  opacity: 0.7;
  transition: all 0.2s ease;
}

.jz-w08-link:hover {
  opacity: 1;
  color: var(--jzn-hover) !important; /* <-- Studio Hover Color */
  transform: translateX(var(--w08-link-hover-move));
}

.jz-w08-email {
  font-family: var(--jzn-font-mono); /* Keeping mono for emails is good practice */
  font-size: var(--w08-email-size); /* <-- Locked to Brat Tweak */
}

/* ==================================================
   SECTION 3: SOCIAL ICONS
   ================================================== */
.jz-w08-social-row {
  display: flex !important;
  gap: 8px !important;
}

.jz-w08-social-btn {
  width: var(--w08-social-size) !important;
  height: var(--w08-social-size) !important;
  /* 👇 Wired directly to the Studio Global Border Color */
  border: var(--w08-social-border-w) solid var(--jzn-container-border-c) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--jzn-font-mono);
  font-size: var(--w08-social-text-size); /* <-- Locked to Brat Tweak */
  font-weight: 800;
  color: var(--jzn-text) !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.jz-w08-social-btn:hover {
  background: var(--jzn-hover); /* <-- Studio Hover Color */
  color: #000 !important;
  border-color: var(--jzn-hover) !important;
  transform: scale(1.1);
}

/* ==================================================
   SECTION 4: BOTTOM ROW (COPYRIGHT & LEGAL)
   ================================================== */
.jz-w08-bottom-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  font-family: var(--jzn-active-font); /* <-- Studio Font */
  color: var(--jzn-text) !important; /* <-- Studio Body Text */
  font-size: var(--w08-bottom-text-size); /* <-- Locked to Brat Tweak */
  opacity: 0.5;
}

.jz-w08-copyright {
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.jz-w08-legal-links {
  display: flex !important;
  gap: 15px !important;
}

.jz-w08-legal-links a {
  color: var(--jzn-text) !important;
  text-decoration: none !important;
  transition: opacity 0.2s ease;
}

.jz-w08-legal-links a:hover {
  opacity: 1;
  color: var(--jzn-hover) !important; /* <-- Studio Hover Color */
}

/* ==================================================
   SECTION 5: THE GLOBAL OVERRIDE BRIDGE (FOOTER)
   ================================================== */
/* 🌙 Default to Dark Mode */
body div.jz-dsktop-w08-wrapper.jzn-container {
  background: var(--jzn-container) !important; /* <-- Brat Tweak: Studio Background tint */
  border: var(--w08-glass-border-dark) !important; /* <-- Universal Wrapper Border */
  --w08-active-header-color: var(--w08-header-text-dark); /* <-- Flips Header to Dark Mode */
}

body div.jz-dsktop-w08-wrapper.jzn-container::before {
  box-shadow: var(--w08-glow-dark) !important; /* <-- Universal Wrapper Glow */
}

/* ☀️ Light Mode Overrides */
html[data-palette='13'] div.jz-dsktop-w08-wrapper.jzn-container,
html[data-palette='14'] div.jz-dsktop-w08-wrapper.jzn-container,
html[data-palette='15'] div.jz-dsktop-w08-wrapper.jzn-container,
html[data-palette='16'] div.jz-dsktop-w08-wrapper.jzn-container,
html[data-palette='17'] div.jz-dsktop-w08-wrapper.jzn-container,
html[data-palette='18'] div.jz-dsktop-w08-wrapper.jzn-container {
  background: var(--jzn-container) !important; /* <-- Brat Tweak: Studio Background tint */
  border: var(--w08-glass-border-light) !important; /* <-- Universal Wrapper Border */
  --w08-active-header-color: var(--w08-header-text-light); /* <-- Flips Header to Light Mode */
}

html[data-palette='13'] div.jz-dsktop-w08-wrapper.jzn-container::before,
html[data-palette='14'] div.jz-dsktop-w08-wrapper.jzn-container::before,
html[data-palette='15'] div.jz-dsktop-w08-wrapper.jzn-container::before,
html[data-palette='16'] div.jz-dsktop-w08-wrapper.jzn-container::before,
html[data-palette='17'] div.jz-dsktop-w08-wrapper.jzn-container::before,
html[data-palette='18'] div.jz-dsktop-w08-wrapper.jzn-container::before {
  box-shadow: var(--w08-glow-light) !important; /* <-- Universal Wrapper Glow */
}

/* ==================================================
   SECTION 6: RESPONSIVE OVERRIDES
   ================================================== */
@media (max-width: 900px) {
  .jz-w08-nav-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 600px) {
  .jz-w08-nav-grid {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }
  .jz-w08-link:hover {
    transform: none !important;
  }
  .jz-w08-social-row {
    justify-content: center !important;
  }
  .jz-w08-bottom-row {
    flex-direction: column !important;
    gap: 10px !important;
  }
}

/* ==================================================
   SECTION 7: KEYFRAMES
   ================================================== */
@keyframes jz-w08-rgbFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 400% 50%; }
}