/* Full Viewport Lock */
html, body { min-height: 100vh; margin: 0; overflow: auto; }
#splash { height: 100vh; overflow: hidden; }

body {
  background: url('../assets/bg-splash18_3.jpg') center/cover no-repeat fixed;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

/* Splash Background */
.splash-bg {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: inherit;
  background-attachment: fixed;
  z-index: -2;
}

/* Slider Buttons */
.splash-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.5); color: white; border: none;
  width: 50px; height: 50px; font-size: 24px; cursor: pointer;
  transition: 0.3s; z-index: 10;
}
.splash-btn:hover { background: rgba(107,78,255,0.8); }
.left { left: 20px; }
.right { right: 20px; }

/* Slide Animations */
.slide-item {
  opacity: 0; transform: translateX(100px);
  transition: all 0.6s ease;
}
.slide-item.active {
  opacity: 1; transform: translateX(0);
}

/* Mobile Stacking */
@media (max-width: 768px) {
  .splash-content { flex-direction: column; text-align: center; }
  .splash-img { margin-bottom: 1rem; }
  .splash-mobile-img {
	  max-width: 70%;
  }
}

/* Card Hover */
.build-card {
  cursor: pointer; transition: 0.3s;
}
.build-card:hover {
  transform: translateY(-5px); box-shadow: 0 10px 20px rgba(107,78,255,0.3);
}

/* Loader */
.loader {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: #0A0E1A; display: flex; align-items: center; justify-content: center;
  z-index: 9999; flex-direction: column; gap: 10px;
}
.loader-row {
  display: flex; gap: 8px;
}
.loader-block {
  width: 12px; height: 12px; background: #6B4EFF; border-radius: 2px;
  animation: loaderPulse 1.5s infinite;
}
.loader-block:nth-child(2) { animation-delay: 0.1s; }
.loader-block:nth-child(3) { animation-delay: 0.2s; }
.loader-block:nth-child(4) { animation-delay: 0.3s; }
.loader-block:nth-child(5) { animation-delay: 0.4s; }
@keyframes loaderPulse {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1); }
}

/* Responsive Navbar Logo */
.navbar-logo {
  height: calc(100% - 0.1rem); /* Fill navbar height minus 1rem padding */
  width: auto;
  max-height: 70px; /* Optional cap for large screens */
  object-fit: contain;
  transition: all 0.3s ease;
  filter: opacity(0.8);
}

/* Adjust padding on small screens */
@media (max-width: 576px) {
  .navbar-logo {
    height: calc(100% - 0.2rem);
    max-height: 40px;
  }
}
.navbar-logo:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
  transition: all 0.3s ease;
}
/* ========================================
   GLASS NAVBAR – FULLY TRANSPARENT
   ======================================== */

.navbar {
  background-color: rgba(0, 0, 0, 0.35) !important; /* Ultra-light tint */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 20px rgba(107, 78, 255, 0.3);
  border-bottom: 2px solid rgba(107, 78, 255, 0.4);
  transition: all 0.4s ease;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

/* Hover effects — 100% UNCHANGED */
.navbar:hover {
  box-shadow: 0 12px 30px rgba(107, 78, 255, 0.5);
  border-bottom-color: #6B4EFF;
  animation: navbarPulse 2s infinite;
}

@keyframes navbarPulse {
  0%, 100% { box-shadow: 0 8px 20px rgba(107, 78, 255, 0.3); }
  50% { box-shadow: 0 12px 35px rgba(107, 78, 255, 0.55); }
}

@media (max-width: 768px) {
  .navbar { box-shadow: 0 6px 15px rgba(107, 78, 255, 0.25); }
  .navbar:hover { box-shadow: 0 8px 20px rgba(107, 78, 255, 0.4); }
}

/* Hamburger Menu Hover Effect */
.navbar-toggler {
  border: 2px solid transparent;
  transition: all 0.3s ease;
  padding: 8px;
  border-radius: 8px;
}

/* Hover: Purple border + icon glow + scale */
.navbar-toggler:hover {
  border-color: #6B4EFF !important;
  transform: scale(1.08);
  box-shadow: 0 0 15px rgba(107, 78, 255, 0.5);
  transition: all 0.3s ease;
}

/* Icon color change on hover */
.navbar-toggler:hover .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%236B4EFF' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  transition: all 0.3s ease;
}

/* Focus state (keyboard/accessibility) */
.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(107, 78, 255, 0.3);
  border-color: #6B4EFF;
  transition: all 0.3s ease;
}
/* === SLIDER BUTTONS – MATCH HAMBURGER HOVER EFFECT === */
.splash-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: 2px solid transparent;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  z-index: 10;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.splash-btn:hover {
  border-color: #6B4EFF !important;
  background: rgba(0, 0, 0, 0.7);
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 0 20px rgba(107, 78, 255, 0.6);
  color: #6B4EFF;
}

/* Icon color change on hover */
.splash-btn:hover::before {
  color: #6B4EFF;
}

/* Focus state */
.splash-btn:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(107, 78, 255, 0.3);
  border-color: #6B4EFF;
}

/* Position */
.left { left: 20px; }
.right { right: 20px; }

/* Optional: Pulse on hover */
.splash-btn:hover {
  animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(107, 78, 255, 0.6); }
  50% { box-shadow: 0 0 30px rgba(107, 78, 255, 0.9); }
}
/* ========================================
   UNIFIED BUTTON & MENU HOVER SYSTEM
   ======================================== */

/* 1. ALL BUTTONS (Watch Build, Modal, etc.) */
.btn, .nav-link, .offcanvas .nav-link {
  position: relative;
  border: 2px solid transparent !important;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
  z-index: 1;
}

/* Hover: Glow + Scale + Purple */
.btn:hover,
.nav-link:hover,
.offcanvas .nav-link:hover {
  border-color: #6B4EFF !important;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 0 20px rgba(107, 78, 255, 0.6);
  background: rgba(107, 78, 255, 0.15) !important;
  animation: pulseGlow 1.5s infinite;
}

/* Active/Click */
.btn:active,
.nav-link:active,
.offcanvas .nav-link:active {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 0 15px rgba(107, 78, 255, 0.8);
}

/* Focus (Keyboard) */
.btn:focus,
.nav-link:focus,
.offcanvas .nav-link:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(107, 78, 255, 0.3);
  border-color: #6B4EFF;
}

/* 2. SPECIFIC BUTTONS */

/* Watch Build Button */
.btn-outline-light {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: white;
  font-weight: 600;
}
.btn-outline-light:hover {
  color: white !important;
  background: rgba(107, 78, 255, 0.3) !important;
}

/* 3. OFFCANVAS MENU LINKS */
.offcanvas .nav-link {
  color: white !important;
  padding: 1rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 500;
}
.offcanvas .nav-link:hover {
  background: rgba(107, 78, 255, 0.2);
  color: #6B4EFF !important;
}

/* 4. BUILD CARD HOVER (Brick Builds Page) */
.build-card {
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s ease;
}
.build-card:hover {
  border-color: #6B4EFF;
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 30px rgba(107, 78, 255, 0.4);
  animation: pulseGlow 1.5s infinite;
}

/* 5. PULSE GLOW ANIMATION (Shared) */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(107, 78, 255, 0.6); }
  50% { box-shadow: 0 0 30px rgba(107, 78, 255, 0.9); }
}

/* 6. MOBILE OPTIMIZATION */
@media (max-width: 768px) {
  .btn, .nav-link, .offcanvas .nav-link {
    transform: scale(1);
  }
  .btn:hover, .nav-link:hover, .offcanvas .nav-link:hover {
    transform: translateY(-2px) scale(1.03);
  }
}

/* ========================================
   BRICK-BUILDS.HTML ONLY: FULL BACKGROUND
   ======================================== */

/* Target ONLY brick-builds.html */
.brick-builds-page {
  min-height: 100vh;
  position: relative;
}

/* Dark glass overlay for content */
.brick-builds-page .container,
.brick-builds-page .card,
.brick-builds-page .modal-content {
  background-color: rgba(10, 14, 26, 0.88) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 12px;
}

/* Soft overlay for text clarity */
.brick-builds-page::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10, 14, 26, 0.35);
  z-index: -1;
  pointer-events: none;
}


/* ========================================
   GLASS MODAL – BRICK-BUILDS.HTML ONLY
   ======================================== */

/* Modal backdrop: semi-transparent + blur */
.modal-backdrop.show {
  background-color: rgba(10, 14, 26, 0.7) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

/* Modal content: glass panel */
.brick-builds-page .modal-content {
  background-color: rgba(15, 22, 33, 0.88) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(107, 78, 255, 0.3);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(107, 78, 255, 0.25);
  animation: modalFadeIn 0.4s ease-out;
}

/* Close button: purple glow */
.brick-builds-page .btn-close-white {
  filter: brightness(1);
  transition: all 0.3s ease;
  opacity: 0.8;
}
.brick-builds-page .btn-close-white:hover {
  opacity: 1;
  filter: brightness(1.3);
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(107, 78, 255, 0.6);
}

/* Modal fade-in animation */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Optional: Video iframe glass border */
.brick-builds-page .ratio iframe {
  border-radius: 12px;
  border: 1px solid rgba(107, 78, 255, 0.2);
}
/* ========================================
   MODAL CLOSE BUTTON – WHITE + PURPLE GLOW
   ======================================== */

/* Force white X (override Bootstrap) */
.brick-builds-page .btn-close-white {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e");
  opacity: 0.9;
  filter: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  width: 1.5rem;
  height: 1.5rem;
}

/* Hover: Purple glow + scale + pulse */
.brick-builds-page .btn-close-white:hover {
  opacity: 1;
  transform: scale(1.15);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236B4EFF'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e");
  box-shadow: 0 0 20px rgba(107, 78, 255, 0.7);
  animation: pulseGlow 1.5s infinite;
}

/* Focus state (keyboard) */
.brick-builds-page .btn-close-white:focus {
  box-shadow: 0 0 0 4px rgba(107, 78, 255, 0.3);
  outline: none;
}

/* Reuse pulse animation */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(107, 78, 255, 0.7); }
  50% { box-shadow: 0 0 30px rgba(107, 78, 255, 0.95); }
}

/* ========================================
   GLOBAL GLASS MODAL – ALL PAGES
   ======================================== */

.modal-backdrop.show {
  background-color: rgba(10, 14, 26, 0.7) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.modal-content {
  background-color: rgba(15, 22, 33, 0.5) !important;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(107, 78, 255, 0.3);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(107, 78, 255, 0.5);
  animation: modalFadeIn 0.4s ease-out;
}

.container {
  width: 90vw;
  }
.buildsGrid {
  background-color: rgba(15, 22, 33, 0.5) !important;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(107, 78, 255, 0.3);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(107, 78, 255, 0.3);
  animation: modalFadeIn 0.4s ease-out;
  margin-top: 150px;
}
/* 6. MOBILE OPTIMIZATION */
@media (max-width: 768px) {
	.buildsGrid {
		margin-top: 100px;
	}
}

.btn-close-white {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e");
  opacity: 0.9;
  filter: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  width: 1.5rem;
  height: 1.5rem;
}

.btn-close-white:hover {
  opacity: 1;
  transform: scale(1.15);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236B4EFF'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e");
  box-shadow: 0 0 20px rgba(107, 78, 255, 0.7);
  animation: pulseGlow 1.5s infinite;
}

.btn-close-white:focus {
  box-shadow: 0 0 0 4px rgba(107, 78, 255, 0.3);
  outline: none;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-30px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.ratio iframe {
  border-radius: 12px;
  border: 1px solid rgba(107, 78, 255, 0.2);
}
.bg-dark {
	background-color: rgba(0,0,0,0.6) !important;
}
