/* ========================================
   BLOOD CAFÉ – ENHANCED VISUAL COMPONENTS
   Gaming aesthetic with NO animations
   ======================================== */

/* ========================================
   SYNERGY PANEL - EPIC DESIGN
   ======================================== */
#synergyPanel {
  position: fixed !important;
  top: 100px !important;
  right: 32px !important;
  width: 340px !important;
  max-height: 500px !important;
  overflow-y: auto !important;

  /* Epic glassmorphism design */
  background: linear-gradient(145deg,
    rgba(21, 27, 38, 0.95) 0%,
    rgba(26, 33, 48, 0.92) 100%) !important;
  backdrop-filter: blur(30px) saturate(180%) !important;

  /* Neon border */
  border: 2px solid rgba(0, 217, 255, 0.4) !important;
  border-radius: 20px !important;

  /* Epic shadows */
  box-shadow:
    0 0 1px rgba(0, 217, 255, 0.8),
    0 0 40px rgba(0, 217, 255, 0.4),
    0 0 80px rgba(124, 58, 237, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 20px 60px rgba(0, 0, 0, 0.7) !important;

  padding: 20px !important;
  z-index: 9998 !important;

  /* Scrollbar styling */
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 217, 255, 0.5) rgba(0, 0, 0, 0.3);
}

/* Collapsed state */
#synergyPanel.collapsed {
  width: 60px !important;
  height: 60px !important;
  max-height: 60px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 30px !important;
  cursor: pointer !important;
}

#synergyPanel.collapsed > * {
  display: none !important;
}

#synergyPanel.collapsed::after {
  content: '⚡' !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  font-size: 28px !important;
  color: #00d9ff !important;
}

/* Toggle button for synergy panel */
#synergyToggle {
  position: absolute !important;
  top: -12px !important;
  right: -12px !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #7c3aed, #a855f7) !important;
  border: 2px solid rgba(168, 85, 247, 0.5) !important;
  color: white !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.5) !important;
  z-index: 1 !important;
}

#synergyToggle:hover {
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.7) !important;
}

#synergyPanel::-webkit-scrollbar {
  width: 8px;
}

#synergyPanel::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

#synergyPanel::-webkit-scrollbar-thumb {
  background: rgba(0, 217, 255, 0.5);
  border-radius: 10px;
}

#synergyPanel::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 217, 255, 0.7);
}

/* Synergy header */
#synergyPanel > div:first-child {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 20px !important;
  padding-bottom: 16px !important;
  border-bottom: 2px solid rgba(0, 217, 255, 0.3) !important;
}

#synergyPanel > div:first-child > div:first-child {
  font-size: 18px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  color: #00d9ff !important;
  text-shadow: 0 0 20px rgba(0, 217, 255, 0.6) !important;
}

#synergyPanel > div:first-child > div:last-child {
  background: linear-gradient(135deg, #7c3aed, #a855f7) !important;
  color: white !important;
  padding: 6px 14px !important;
  border-radius: 20px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  box-shadow: 0 0 20px rgba(124, 58, 237, 0.5) !important;
  border: 1px solid rgba(168, 85, 247, 0.5) !important;
}

/* Individual synergy cards */
.synergy-alert {
  background: linear-gradient(135deg,
    rgba(0, 217, 255, 0.12) 0%,
    rgba(124, 58, 237, 0.08) 100%) !important;
  border: 1px solid rgba(0, 217, 255, 0.3) !important;
  border-radius: 12px !important;
  padding: 16px !important;
  margin-bottom: 12px !important;
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.synergy-alert.synergy-complete {
  background: linear-gradient(135deg,
    rgba(0, 255, 136, 0.15) 0%,
    rgba(0, 217, 255, 0.1) 100%) !important;
  border: 2px solid rgba(0, 255, 136, 0.5) !important;
  box-shadow:
    0 0 30px rgba(0, 255, 136, 0.3),
    0 4px 20px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

.synergy-alert > div:first-child {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 8px !important;
}

.synergy-alert > div:first-child > div:first-child {
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.synergy-alert > div:nth-child(2) {
  font-size: 13px !important;
  color: #fbbf24 !important;
  font-weight: 700 !important;
  margin-bottom: 6px !important;
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.5) !important;
}

.synergy-alert > div:nth-child(3) {
  font-size: 12px !important;
  color: #b8c5db !important;
  font-style: italic !important;
  margin-bottom: 8px !important;
}

.synergy-alert > div:last-child {
  font-size: 11px !important;
  color: #6b7a94 !important;
  padding-top: 8px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* No synergies state */
#synergyPanel > div > div:only-child {
  text-align: center !important;
  padding: 40px 20px !important;
}

#synergyPanel > div > div:only-child > div:first-child {
  font-size: 48px !important;
  margin-bottom: 16px !important;
  filter: grayscale(50%) !important;
}

#synergyPanel > div > div:only-child > div:nth-child(2) {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #6b7a94 !important;
  margin-bottom: 8px !important;
}

#synergyPanel > div > div:only-child > div:last-child {
  font-size: 12px !important;
  color: #6b7a94 !important;
  opacity: 0.7 !important;
}

/* ========================================
   STAR RATING - ENHANCED
   ======================================== */
.star-rating {
  display: inline-flex !important;
  gap: 4px !important;
}

.star {
  cursor: pointer !important;
  font-size: 20px !important;
  color: rgba(255, 255, 255, 0.15) !important;
  text-shadow: none !important;
  user-select: none !important;
}

.star.filled {
  color: #fbbf24 !important;
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.6),
               0 0 20px rgba(251, 191, 36, 0.4) !important;
}

.star:hover {
  color: #fbbf24 !important;
  text-shadow: 0 0 8px rgba(251, 191, 36, 0.5) !important;
}

/* ========================================
   TAG BADGES - GAMING STYLE
   ======================================== */
.tag-badge {
  display: inline-block !important;
  padding: 6px 14px !important;
  border-radius: 8px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

.tag-pvp {
  background: linear-gradient(135deg, rgba(255, 0, 51, 0.25), rgba(255, 0, 51, 0.15)) !important;
  color: #fca5a5 !important;
  border: 1px solid rgba(255, 0, 51, 0.4) !important;
  text-shadow: 0 0 10px rgba(255, 0, 51, 0.5) !important;
}

.tag-pve {
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.25), rgba(0, 255, 136, 0.15)) !important;
  color: #6ee7b7 !important;
  border: 1px solid rgba(0, 255, 136, 0.4) !important;
  text-shadow: 0 0 10px rgba(0, 255, 136, 0.5) !important;
}

.tag-hybrid {
  background: linear-gradient(135deg, rgba(255, 170, 0, 0.25), rgba(255, 170, 0, 0.15)) !important;
  color: #fcd34d !important;
  border: 1px solid rgba(255, 170, 0, 0.4) !important;
  text-shadow: 0 0 10px rgba(255, 170, 0, 0.5) !important;
}

/* ========================================
   BUILD CARDS - EPIC STYLING
   ======================================== */
.build-card {
  background: linear-gradient(145deg,
    rgba(21, 27, 38, 0.8) 0%,
    rgba(15, 20, 25, 0.7) 100%) !important;
  backdrop-filter: blur(15px) !important;
  border: 1px solid rgba(0, 217, 255, 0.2) !important;
  border-radius: 16px !important;
  padding: 24px !important;
  margin-bottom: 16px !important;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  position: relative !important;
  overflow: visible !important;
}

.build-card::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 2px !important;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(0, 217, 255, 0.5) 50%,
    transparent 100%) !important;
}

.build-card:hover {
  border-color: rgba(0, 217, 255, 0.5) !important;
  box-shadow:
    0 0 40px rgba(0, 217, 255, 0.2),
    0 8px 30px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

/* Boogeyman special styling */
.boogeyman-config {
  border: 2px solid rgba(124, 58, 237, 0.5) !important;
  background: linear-gradient(145deg,
    rgba(30, 0, 30, 0.8) 0%,
    rgba(20, 0, 20, 0.7) 100%) !important;
  box-shadow:
    0 0 50px rgba(124, 58, 237, 0.3),
    0 8px 32px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(168, 85, 247, 0.2) !important;
}

.boogeyman-config::before {
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(168, 85, 247, 0.7) 50%,
    transparent 100%) !important;
  height: 3px !important;
}

.boogeyman-config::after {
  content: '👁️' !important;
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  font-size: 24px !important;
  opacity: 0.6 !important;
  filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.8)) !important;
}

/* ========================================
   COMPARE FLOATING BUTTON
   ======================================== */
#compareFloatingBtn {
  position: fixed !important;
  bottom: 100px !important;
  right: 32px !important;
  z-index: 9999 !important;

  background: linear-gradient(135deg, #7c3aed, #a855f7) !important;
  border: 2px solid rgba(168, 85, 247, 0.5) !important;
  padding: 18px 32px !important;
  border-radius: 50px !important;

  box-shadow:
    0 0 40px rgba(124, 58, 237, 0.5),
    0 8px 30px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;

  font-weight: 800 !important;
  font-size: 16px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  color: white !important;
  cursor: pointer !important;
}

#compareFloatingBtn:hover {
  box-shadow:
    0 0 60px rgba(124, 58, 237, 0.7),
    0 12px 40px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
}

/* ========================================
   MODAL STYLING
   ======================================== */
#compareModal,
#pinModal,
.modal-backdrop {
  background: rgba(5, 7, 12, 0.96) !important;
  backdrop-filter: blur(20px) !important;
}

#compareModal > div,
#pinModal > div {
  background: linear-gradient(145deg,
    rgba(21, 27, 38, 0.98) 0%,
    rgba(15, 20, 25, 0.95) 100%) !important;
  border: 2px solid rgba(0, 217, 255, 0.3) !important;
  border-radius: 20px !important;
  box-shadow:
    0 0 60px rgba(0, 217, 255, 0.3),
    0 20px 80px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

/* ========================================
   COMPARISON TABLE
   ======================================== */
table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 14px !important;
}

table thead {
  background: rgba(0, 217, 255, 0.1) !important;
  border-bottom: 2px solid rgba(0, 217, 255, 0.4) !important;
}

table th {
  padding: 16px !important;
  text-align: left !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  color: #00d9ff !important;
  font-size: 13px !important;
}

table td {
  padding: 14px 16px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  color: #b8c5db !important;
}

table tr:hover {
  background: rgba(0, 217, 255, 0.05) !important;
}

table tr:hover td {
  color: #ffffff !important;
}

/* ========================================
   SAVE SECTION - SPECIAL STYLING
   ======================================== */
.save-grid {
  display: grid !important;
  gap: 16px !important;
  grid-template-columns: 1fr 1fr !important;
}

.save-grid > input {
  grid-column: span 1 !important;
}

.save-grid > div {
  grid-column: 1 / -1 !important;
}

.save-grid > button {
  grid-column: 1 / -1 !important;
  padding: 16px !important;
  font-size: 16px !important;
}

/* Edit mode styling */
.panel[style*="border: 2px solid rgba(245, 158, 11, 0.3)"] {
  border: 2px solid rgba(255, 170, 0, 0.5) !important;
  background: linear-gradient(145deg,
    rgba(40, 30, 0, 0.4) 0%,
    rgba(21, 27, 38, 0.8) 100%) !important;
  box-shadow:
    0 0 40px rgba(255, 170, 0, 0.2),
    0 8px 32px rgba(0, 0, 0, 0.7),
    inset 0 1px 0 rgba(255, 170, 0, 0.1) !important;
}

/* ========================================
   ACTIONS & BUTTONS IN CARDS
   ======================================== */
.actions {
  display: flex !important;
  gap: 12px !important;
  margin-top: 24px !important;
  padding-top: 20px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* ========================================
   CHECKBOXES - CYBER STYLE
   ======================================== */
input[type="checkbox"] {
  appearance: none !important;
  width: 20px !important;
  height: 20px !important;
  border: 2px solid rgba(0, 217, 255, 0.4) !important;
  border-radius: 4px !important;
  background: rgba(13, 17, 23, 0.8) !important;
  cursor: pointer !important;
  position: relative !important;
  margin-right: 8px !important;
}

input[type="checkbox"]:checked {
  background: linear-gradient(135deg, #00d9ff, #0080ff) !important;
  border-color: #00d9ff !important;
  box-shadow: 0 0 12px rgba(0, 217, 255, 0.5) !important;
}

input[type="checkbox"]:checked::after {
  content: '✓' !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  color: #000 !important;
  font-weight: 900 !important;
  font-size: 14px !important;
}

label {
  display: flex !important;
  align-items: center !important;
  cursor: pointer !important;
  user-select: none !important;
  color: #b8c5db !important;
  font-weight: 600 !important;
}

label:hover {
  color: #ffffff !important;
}

/* ========================================
   SCROLLBAR - GLOBAL CYBER STYLE
   ======================================== */
::-webkit-scrollbar {
  width: 14px !important;
  height: 14px !important;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.4) !important;
  border-radius: 10px !important;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #7c3aed, #00d9ff) !important;
  border-radius: 10px !important;
  border: 2px solid rgba(0, 0, 0, 0.4) !important;
  box-shadow:
    inset 0 0 6px rgba(255, 255, 255, 0.2),
    0 0 12px rgba(0, 217, 255, 0.3) !important;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #a855f7, #00ffff) !important;
  box-shadow:
    inset 0 0 6px rgba(255, 255, 255, 0.3),
    0 0 20px rgba(0, 217, 255, 0.5) !important;
}

/* ========================================
   TEXT SELECTION - NEON HIGHLIGHT
   ======================================== */
::selection {
  background: rgba(0, 217, 255, 0.4) !important;
  color: #ffffff !important;
  text-shadow: 0 0 12px rgba(0, 217, 255, 0.8) !important;
}

::-moz-selection {
  background: rgba(0, 217, 255, 0.4) !important;
  color: #ffffff !important;
  text-shadow: 0 0 12px rgba(0, 217, 255, 0.8) !important;
}

/* ========================================
   FOCUS STATES - CYBER GLOW
   ======================================== */
*:focus-visible {
  outline: 2px solid #00d9ff !important;
  outline-offset: 3px !important;
  border-radius: 4px !important;
  box-shadow: 0 0 20px rgba(0, 217, 255, 0.4) !important;
}

button:focus-visible,
.btn:focus-visible {
  outline-offset: 2px !important;
}

/* ========================================
   MOBILE OPTIMIZATIONS
   ======================================== */
@media (max-width: 768px) {
  /* Synergy panel - compact floating card on mobile */
  #synergyPanel {
    position: fixed !important;
    top: auto !important;
    bottom: 80px !important;
    right: 12px !important;
    left: auto !important;
    width: 280px !important;
    max-width: calc(100vw - 24px) !important;
    max-height: 45vh !important;
    padding: 14px !important;
    padding-top: 40px !important;
    border-radius: 12px !important;
    z-index: 999 !important;
  }

  #synergyPanel.collapsed {
    position: fixed !important;
    bottom: 80px !important;
    right: 12px !important;
    left: auto !important;
    width: 56px !important;
    height: 56px !important;
    padding: 0 !important;
  }

  /* Make toggle button MUCH bigger and visible on mobile */
  #synergyToggle {
    position: absolute !important;
    top: 6px !important;
    right: 6px !important;
    width: 44px !important;
    height: 32px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
    color: white !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 1000 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
  }

  #synergyToggle::before {
    content: 'HIDE' !important;
  }

  #synergyToggle:empty::before {
    content: 'HIDE' !important;
  }

  #synergyPanel.collapsed #synergyToggle {
    display: none !important;
  }

  /* Synergy cards - more compact on mobile */
  .synergy-alert {
    padding: 10px !important;
    margin-bottom: 6px !important;
  }

  .synergy-alert > div:first-child > div:first-child {
    font-size: 12px !important;
  }

  .synergy-alert > div:nth-child(2) {
    font-size: 11px !important;
  }

  .synergy-alert > div:nth-child(3) {
    font-size: 10px !important;
  }

  .synergy-alert > div:last-child {
    font-size: 9px !important;
    display: none !important;
  }

  /* Header styling for mobile */
  #synergyPanel > div:first-child {
    margin-bottom: 10px !important;
    padding-bottom: 8px !important;
  }

  #synergyPanel > div:first-child > div:first-child {
    font-size: 14px !important;
  }

  #compareFloatingBtn {
    bottom: 150px !important;
    right: 16px !important;
    padding: 12px 20px !important;
    font-size: 13px !important;
  }

  .save-grid {
    grid-template-columns: 1fr !important;
  }

  .save-grid > input,
  .save-grid > div,
  .save-grid > button {
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 480px) {
  #synergyPanel {
    max-height: 180px !important;
    padding: 12px !important;
  }

  #synergyPanel > div:first-child > div:first-child {
    font-size: 14px !important;
  }

  #compareFloatingBtn {
    padding: 10px 16px !important;
    font-size: 12px !important;
  }
}

/* ========================================
   MOBILE SYNERGY BADGE & DRAWER
   ======================================== */

/* Hide desktop synergy panel on mobile */
@media (max-width: 768px) {
  #synergyPanel {
    display: none !important;
  }
}

/* Floating badge - always visible on mobile */
#synergyBadge {
  display: none;
}

@media (max-width: 768px) {
  #synergyBadge {
    display: flex;
    position: fixed;
    bottom: 80px;
    right: 12px;
    min-width: 50px;
    height: 44px;
    padding: 0 14px;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 22px;
    color: white;
    font-size: 14px;
    font-weight: 700;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.5);
    z-index: 998;
    cursor: pointer;
  }

  #synergyBadge.empty {
    background: linear-gradient(135deg, #374151, #1f2937);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }

  #synergyBadge.has-complete {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.5);
  }
}

/* Overlay */
#synergyOverlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1100;
  opacity: 0;
}

#synergyOverlay.open {
  display: block;
  opacity: 1;
}

/* Slide-up drawer */
#synergyDrawer {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-height: 70vh;
  background: linear-gradient(180deg, #1a1f2e 0%, #0f1318 100%);
  border-top: 2px solid rgba(124, 58, 237, 0.5);
  border-radius: 20px 20px 0 0;
  z-index: 1101;
  overflow: hidden;
  transform: translateY(100%);
}

#synergyDrawer.open {
  display: block;
  transform: translateY(0);
}

/* Drawer header */
.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  background: rgba(124, 58, 237, 0.15);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.drawer-title {
  font-size: 18px;
  font-weight: 700;
  color: #00d9ff;
}

.drawer-close {
  padding: 10px 20px;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* Drawer content */
.drawer-content {
  padding: 16px;
  max-height: calc(70vh - 70px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 40px 20px;
}

.empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-title {
  font-size: 18px;
  font-weight: 700;
  color: #6b7a94;
  margin-bottom: 8px;
}

.empty-text {
  font-size: 14px;
  color: #6b7a94;
  opacity: 0.7;
}

/* Synergy cards in drawer */
.synergy-card {
  background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(124, 58, 237, 0.05));
  border: 1px solid rgba(0, 217, 255, 0.2);
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
}

.synergy-card.complete {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(0, 217, 255, 0.05));
  border: 2px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.synergy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.synergy-name {
  font-size: 16px;
  font-weight: 700;
  color: white;
}

.synergy-progress {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.1);
  padding: 4px 10px;
  border-radius: 12px;
}

.synergy-bonus {
  font-size: 14px;
  color: #fbbf24;
  font-weight: 600;
  margin-bottom: 6px;
}

.synergy-desc {
  font-size: 13px;
  color: #b8c5db;
  font-style: italic;
  margin-bottom: 8px;
  line-height: 1.4;
}

.synergy-requires {
  font-size: 11px;
  color: #6b7a94;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Allow transitions for drawer */
#synergyDrawer,
#synergyOverlay {
  transition: transform 0.3s ease, opacity 0.3s ease !important;
}
/* ========================================
   BLOOD CAFÉ – MOBILE & CROSS-PLATFORM
   Responsive Design & Touch Optimization
   Phase 5: Mobile Polish
   ======================================== */

/* ========================================
   TOUCH TARGET OPTIMIZATION
   ======================================== */

/* Ensure all interactive elements meet 44x44px minimum */
@media (max-width: 768px) {
  button, .btn, a.btn, .clickable,
  input[type="button"],
  input[type="submit"],
  select {
    min-height: 48px;
    min-width: 48px;
    padding: 12px 20px;
    font-size: 16px; /* Prevents zoom on iOS */
  }

  /* Navigation buttons */
  .nav-btn {
    min-width: 64px;
    min-height: 64px;
    padding: 12px;
  }

  /* Bottom navigation touch optimization */
  .bottom-nav {
    padding: 8px 0;
  }

  .bottom-nav a {
    min-width: 60px;
    min-height: 60px;
  }

  /* Form inputs */
  input, textarea, select {
    min-height: 48px;
    font-size: 16px; /* Prevents zoom */
    padding: 12px 16px;
  }

  /* Sphere selectors */
  .sphere-option {
    min-height: 60px;
    padding: 16px;
  }

  /* Card interactions */
  .card, .panel {
    padding: 20px;
  }

  /* Links and text buttons - exclude mobile nav items */
  a:not(.mobile-nav-item) {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 8px;
  }

  /* Icon buttons */
  button[class*="icon"], .icon-btn {
    min-width: 48px;
    min-height: 48px;
  }

  /* Close buttons in modals */
  .modal-close, [class*="close"] {
    min-width: 48px;
    min-height: 48px;
    padding: 12px;
  }

  /* Tab buttons */
  .tab, [role="tab"] {
    min-height: 48px;
    padding: 12px 20px;
  }

  /* Dropdown items */
  .dropdown-item, select option {
    min-height: 48px;
    padding: 12px;
  }
}

/* ========================================
   RESPONSIVE LAYOUT IMPROVEMENTS
   ======================================== */

/* Mobile-first breakpoints */
@media (max-width: 480px) {
  /* Small phones */
  .wrap {
    padding: 16px;
  }

  h1 {
    font-size: 28px;
  }

  h2 {
    font-size: 22px;
  }

  h3 {
    font-size: 18px;
  }

  /* Single column layouts */
  .grid-2, .grid-3, .grid-4,
  [class*="grid"] {
    grid-template-columns: 1fr !important;
  }

  /* Stack navigation */
  .nav {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .nav .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  /* Tablets and large phones */
  .calculator-grid,
  .comparison-grid {
    grid-template-columns: 1fr !important;
  }

  /* Two-column grids become single column */
  .squad-grid {
    grid-template-columns: 1fr !important;
  }

  /* Reduce spacing on mobile */
  .wrap {
    padding: 20px;
  }

  /* Header adjustments */
  header .wrap, .header .wrap {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .brand {
    font-size: 18px;
  }

  /* Modal full-screen on mobile */
  .modal-content {
    width: 95%;
    max-width: 95%;
    max-height: 90vh;
    margin: 5vh auto;
  }

  /* Table scrolling */
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  /* Reduce animations on mobile for performance */
  * {
    animation-duration: 0.2s !important;
  }

  /* Simplify shadows on mobile */
  .card, .panel, button {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
  }

  .card:hover, .panel:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* Tablets */
  .grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ========================================
   LANDSCAPE ORIENTATION
   ======================================== */

@media (max-height: 500px) and (orientation: landscape) {
  /* Landscape phone mode */
  .header, header {
    position: relative; /* Remove sticky */
  }

  .bottom-nav {
    display: none; /* Hide bottom nav in landscape */
  }

  .modal-content {
    max-height: 95vh;
    overflow-y: auto;
  }
}

/* ========================================
   MOBILE NAVIGATION ENHANCEMENTS
   ======================================== */

@media (max-width: 768px) {
  /* Hide desktop navigation */
  .header .nav {
    display: none;
  }

  /* Ensure bottom nav is visible */
  .bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
  }

  /* Add padding to body to account for bottom nav */
  body {
    padding-bottom: 80px;
  }

  /* Scroll to top button repositioning */
  #scrollToTop {
    bottom: 100px !important; /* Above bottom nav */
    right: 20px !important;
  }
}

/* ========================================
   TOUCH-FRIENDLY FORMS
   ======================================== */

@media (max-width: 768px) {
  /* Larger form elements */
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="search"],
  textarea,
  select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 8px;
  }

  /* Better select styling */
  select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
  }

  /* Better checkbox/radio sizing */
  input[type="checkbox"],
  input[type="radio"] {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
  }

  /* Label spacing */
  label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    min-height: 24px;
    display: flex;
    align-items: center;
  }

  /* Form groups */
  .form-group {
    margin-bottom: 20px;
  }
}

/* ========================================
   MOBILE-OPTIMIZED CARDS
   ======================================== */

@media (max-width: 768px) {
  .card, .panel {
    margin-bottom: 16px;
  }

  /* Sphere cards grid */
  .sphere-selector {
    grid-template-columns: 1fr !important;
    max-height: 400px;
  }

  /* Config cards */
  .config-card {
    padding: 16px;
  }

  /* Stat cards */
  .stat-card {
    padding: 20px 16px;
  }

  .stat-value {
    font-size: 28px;
  }
}

/* ========================================
   MOBILE TEXT OPTIMIZATION
   ======================================== */

@media (max-width: 768px) {
  /* Prevent text overflow */
  * {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Better line height on mobile */
  p, li {
    line-height: 1.7;
  }

  /* Larger body text */
  body {
    font-size: 16px;
  }

  /* Reduce letter spacing on mobile */
  h1, h2, h3, h4, h5, h6 {
    letter-spacing: 0.3px;
  }
}

/* ========================================
   MOBILE SCROLLING IMPROVEMENTS
   ======================================== */

@media (max-width: 768px) {
  /* Smooth scrolling */
  html {
    -webkit-overflow-scrolling: touch;
  }

  /* Better scroll containers */
  .scroll-container {
    -webkit-overflow-scrolling: touch;
    overflow-y: auto;
  }

  /* Hide scrollbar on mobile for cleaner look */
  .sphere-selector::-webkit-scrollbar {
    width: 4px;
  }

  .sphere-selector::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.5);
  }
}

/* ========================================
   MOBILE MODAL IMPROVEMENTS
   ======================================== */

@media (max-width: 768px) {
  .modal {
    align-items: flex-start;
    padding: 0;
  }

  .modal-content {
    border-radius: 12px 12px 0 0;
    margin-top: 10vh;
    max-height: 90vh;
    overflow-y: auto;
  }

  /* Modal header sticky */
  .modal-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: var(--panel, #1a1f2e);
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  /* Modal close button */
  .modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 11;
  }
}

/* ========================================
   MOBILE TABLES
   ======================================== */

@media (max-width: 768px) {
  /* Stack table rows on mobile */
  .table-responsive {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Alternative: Card-style tables */
  table.mobile-cards {
    border: 0;
  }

  table.mobile-cards thead {
    display: none;
  }

  table.mobile-cards tr {
    display: block;
    margin-bottom: 16px;
    background: var(--card, #232d3f);
    border-radius: 8px;
    padding: 12px;
  }

  table.mobile-cards td {
    display: block;
    text-align: right;
    padding: 8px;
    border: 0;
  }

  table.mobile-cards td::before {
    content: attr(data-label);
    float: left;
    font-weight: 600;
    color: var(--brand-bright, #a855f7);
  }
}

/* ========================================
   MOBILE NOTIFICATIONS
   ======================================== */

@media (max-width: 768px) {
  .notification, .toast {
    left: 10px;
    right: 10px;
    top: 10px;
    max-width: calc(100% - 20px);
  }
}

/* ========================================
   PERFORMANCE OPTIMIZATIONS
   ======================================== */

@media (max-width: 768px) {
  /* Disable expensive effects on mobile */
  body::before {
    animation: none;
    opacity: 0.5;
  }

  /* Simplified backgrounds */
  body {
    background: var(--bg, #0a0e14);
    animation: none;
  }

  /* Reduce blur effects */
  [class*="glass"], [class*="blur"] {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* Simplified gradients */
  [class*="gradient"] {
    background-size: 100% 100% !important;
  }
}

/* ========================================
   SAFE AREA INSETS (iOS Notch)
   ======================================== */

@supports (padding: max(0px)) {
  .header, header {
    padding-left: max(24px, env(safe-area-inset-left));
    padding-right: max(24px, env(safe-area-inset-right));
    padding-top: max(12px, env(safe-area-inset-top));
  }

  .bottom-nav {
    padding-left: max(0px, env(safe-area-inset-left));
    padding-right: max(0px, env(safe-area-inset-right));
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }

  body {
    padding-bottom: max(80px, calc(80px + env(safe-area-inset-bottom)));
  }
}

/* ========================================
   DARK MODE SUPPORT
   ======================================== */

@media (prefers-color-scheme: dark) {
  /* Already using dark theme, but ensure consistency */
  :root {
    color-scheme: dark;
  }
}

/* ========================================
   HIGH CONTRAST MODE
   ======================================== */

@media (prefers-contrast: high) {
  button, .btn {
    border: 2px solid currentColor;
  }

  .card, .panel {
    border: 1px solid currentColor;
  }

  a {
    text-decoration: underline;
  }
}

/* ========================================
   REDUCED DATA MODE
   ======================================== */

@media (prefers-reduced-data: reduce) {
  /* Disable background images/gradients to save data */
  body::before {
    display: none;
  }

  [class*="gradient"] {
    background-image: none !important;
  }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
  /* Hide non-essential elements */
  .header, header,
  .bottom-nav,
  .nav,
  #scrollToTop,
  .modal,
  [class*="notification"] {
    display: none !important;
  }

  /* Optimize for printing */
  body {
    background: white;
    color: black;
  }

  .card, .panel {
    border: 1px solid #000;
    break-inside: avoid;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  /* Show URLs after links */
  a[href]::after {
    content: " (" attr(href) ")";
  }
}

/* ========================================
   ACCESSIBILITY ENHANCEMENTS
   ======================================== */

/* Focus visible for keyboard navigation */
*:focus-visible {
  outline: 3px solid var(--brand-bright, #a855f7);
  outline-offset: 2px;
}

/* High visibility focus for mobile */
@media (max-width: 768px) {
  *:focus-visible {
    outline-width: 4px;
    outline-offset: 3px;
  }
}

/* Screen reader only class */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Skip to content link */
.skip-to-content:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 10000;
  padding: 12px 20px;
  background: var(--brand, #7c3aed);
  color: white;
  text-decoration: none;
  border-radius: 8px;
}

/* ========================================
   MOBILE SPHERE AUTOCOMPLETE
   Enhanced dropdown for touch devices
   ======================================== */

@media (max-width: 768px) {
  /* Main autocomplete container - higher z-index for mobile */
  .sphere-autocomplete-container {
    z-index: 99999 !important;
  }

  /* Suggestion dropdown - mobile optimized */
  .sphere-suggestions {
    background: rgba(13, 17, 23, 0.98) !important;
    border: 3px solid #00d9ff !important;
    border-radius: 16px !important;
    padding: 12px !important;
    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.6),
      0 0 20px rgba(0, 217, 255, 0.3),
      inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    max-height: 50vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    animation: slideDownMobile 0.2s ease-out;
  }

  @keyframes slideDownMobile {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Individual suggestion items - larger touch targets */
  .sphere-suggestion-item {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    padding: 16px 14px !important;
    min-height: 64px !important;
    cursor: pointer !important;
    background: rgba(0, 0, 0, 0.3) !important;
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    margin-bottom: 10px !important;
    transition: all 0.15s ease !important;
  }

  .sphere-suggestion-item:last-child {
    margin-bottom: 0 !important;
  }

  .sphere-suggestion-item:active {
    background: rgba(0, 217, 255, 0.25) !important;
    border-color: #00d9ff !important;
    transform: scale(0.98);
  }

  /* Color indicator - more visible */
  .sphere-suggestion-color {
    width: 8px !important;
    height: 48px !important;
    border-radius: 4px !important;
    flex-shrink: 0 !important;
    box-shadow: 0 0 8px currentColor;
  }

  /* Text container */
  .sphere-suggestion-text {
    flex: 1 !important;
    min-width: 0 !important;
  }

  /* Sphere name - larger font */
  .sphere-suggestion-name {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin-bottom: 6px !important;
    letter-spacing: 0.3px !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  }

  /* Category label - more visible */
  .sphere-suggestion-category {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.7) !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
  }

  /* Header label for dropdown */
  .sphere-suggestions::before {
    content: "Select a Sphere";
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #00d9ff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 8px 12px 16px 12px;
    border-bottom: 1px solid rgba(0, 217, 255, 0.3);
    margin-bottom: 12px;
    text-align: center;
  }

  /* Scrollbar for mobile */
  .sphere-suggestions::-webkit-scrollbar {
    width: 6px !important;
  }

  .sphere-suggestions::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.4) !important;
    border-radius: 3px !important;
  }

  .sphere-suggestions::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #00d9ff 0%, #0080ff 100%) !important;
    border-radius: 3px !important;
  }
}

/* Extra small phones - even more optimization */
@media (max-width: 400px) {
  .sphere-suggestions {
    left: 8px !important;
    right: 8px !important;
    width: auto !important;
    max-width: calc(100vw - 16px) !important;
  }

  .sphere-suggestion-item {
    padding: 14px 12px !important;
    gap: 12px !important;
  }

  .sphere-suggestion-name {
    font-size: 16px !important;
  }

  .sphere-suggestion-category {
    font-size: 11px !important;
  }
}
/* Rajdhani Self-Hosted Fonts - Optimized for Performance */
/* Latin subset, WOFF2 format, font-display: swap */

@font-face {
  font-family: "Rajdhani";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/rajdhani-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Rajdhani";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/rajdhani-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Rajdhani";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/rajdhani-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/**
 * BLOOD CAFÉ - LOGO STYLES
 * Visual design - NO ANIMATIONS
 */

/* ============================================
   HEADER LOGO STYLES
   ============================================ */

.bloodcafe-logo {
  display: inline-block;
  cursor: pointer;
  position: relative;
  z-index: 100;
  transition: none !important;
  animation: none !important;
  transform: none !important;
}

.bloodcafe-logo img {
  height: 80px;
  width: auto;
  display: block;
  transition: none !important;
  animation: none !important;
  transform: none !important;
  /* Static red glow - no animation */
  filter: drop-shadow(0 0 10px rgba(220, 38, 38, 0.7))
          drop-shadow(0 0 20px rgba(220, 38, 38, 0.5))
          drop-shadow(0 0 30px rgba(220, 38, 38, 0.3));
}

.bloodcafe-logo:hover img {
  transition: none !important;
  animation: none !important;
  transform: none !important;
  /* Slightly brighter glow on hover - static */
  filter: drop-shadow(0 0 12px rgba(220, 38, 38, 0.9))
          drop-shadow(0 0 24px rgba(220, 38, 38, 0.7))
          drop-shadow(0 0 36px rgba(220, 38, 38, 0.5)) !important;
}

.bloodcafe-logo:active img {
  transition: none !important;
  animation: none !important;
  transform: none !important;
}

/* Small icon version for mobile nav */
.bloodcafe-logo-small img {
  height: 40px;
  width: auto;
}

/* ============================================
   HERO SECTION LOGO
   ============================================ */

.bloodcafe-hero-logo {
  text-align: center;
  margin: 0 auto 32px;
  position: relative;
  transition: none !important;
  animation: none !important;
}

.bloodcafe-hero-logo img {
  height: 200px;
  width: auto;
  display: inline-block;
  position: relative;
  transition: none !important;
  animation: none !important;
  transform: none !important;
  /* Static red glow */
  filter: drop-shadow(0 0 10px rgba(220, 38, 38, 0.7))
          drop-shadow(0 0 20px rgba(220, 38, 38, 0.5))
          drop-shadow(0 0 30px rgba(220, 38, 38, 0.3));
}

/* Static background glow */
.bloodcafe-hero-logo::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle,
    rgba(220, 38, 38, 0.3) 0%,
    rgba(220, 38, 38, 0.1) 40%,
    transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  transition: none !important;
  animation: none !important;
}

.bloodcafe-hero-logo:hover img {
  transition: none !important;
  animation: none !important;
  transform: none !important;
}

/* Hero title text */
.bloodcafe-hero-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 48px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 4px;
  background: linear-gradient(135deg, #dc2626, #ef4444, #dc2626);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px rgba(220, 38, 38, 0.5);
  margin: 16px 0;
  transition: none !important;
  animation: none !important;
}

/* ============================================
   LOADING SCREEN - COMPLETELY DISABLED
   ============================================ */

.bloodcafe-loading-screen {
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.bloodcafe-loading-screen.hidden {
  display: none !important;
}

.bloodcafe-loading-logo {
  display: none !important;
}

.bloodcafe-loading-text {
  display: none !important;
}

/* ============================================
   WATERMARK
   ============================================ */

.bloodcafe-watermark {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 120px;
  height: auto;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
  transition: none !important;
}

.bloodcafe-watermark img {
  width: 100%;
  height: auto;
  filter: grayscale(100%);
}

.wrap:hover .bloodcafe-watermark {
  opacity: 0.08;
  transition: none !important;
}

/* ============================================
   MOBILE OPTIMIZATIONS
   ============================================ */

@media (max-width: 768px) {
  .bloodcafe-logo img {
    height: 60px;
  }

  .bloodcafe-hero-logo img {
    height: 120px;
  }

  .bloodcafe-hero-logo::before {
    width: 200px;
    height: 200px;
  }

  .bloodcafe-hero-title {
    font-size: 32px;
    letter-spacing: 2px;
  }

  .bloodcafe-watermark {
    width: 80px;
    bottom: 10px;
    right: 10px;
    opacity: 0.05;
  }
}

@media (max-width: 480px) {
  .bloodcafe-logo img {
    height: 50px;
  }

  .bloodcafe-hero-logo img {
    height: 100px;
  }

  .bloodcafe-hero-title {
    font-size: 24px;
    letter-spacing: 1px;
  }

  .bloodcafe-watermark {
    width: 60px;
  }
}

/* ============================================
   GLOBAL OVERRIDE
   ============================================ */

* {
  animation: none !important;
  transition: none !important;
}
