:root {
    /* Theme Variables */
    --background-color: rgb(31, 31, 31);
    --main-text-color: white;
    --main-font: main-font;
}

/* ===================== */
/* Fonts */
/* ===================== */

@font-face {
    font-family: dimis;
    src: url('../fonts/DIMIS.TTF');
}

@font-face {
    font-family: thebold;
    src: url('../fonts/THEBOLD.ttf');
}

@font-face {
    font-family: cubic;
    src: url('../fonts/CUBIC.ttf'),
}

@font-face {
    font-family: bebas;
    src: url('../fonts/BEBAS.ttf'),
}

.logo {
  display: inline-block; /* important for transform */
}

.logo:hover {
  animation: logoWiggle 0.5s ease-in-out;
}
@keyframes logoWiggle {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(-4deg); }
  50% { transform: rotate(4deg); }
  75% { transform: rotate(-2deg); }
  100% { transform: rotate(0deg); }
}
.logoa {
  color: white;
  text-decoration: none;
}

.navbar {
    display: flex;
    margin: 0;
    padding: 2px 20px;
    align-items: center;
    background-color: rgb(19, 19, 19);
     position: relative;
     z-index: 10000;
}

/* ===================== */
/* Search Bar */
/* ===================== */



/* PERFECT center */
.search-form {
    position: absolute;
    left: 50%;
        font-family: thebold;    width: 100%;
    max-width: 600px;
    transform: translateX(-50%);
}

/* wrapper needed for dropdown positioning */
.search-wrapper {
    position: relative;
    z-index: 10001;
}

/* glow effect */
.search:focus {
    outline: none;
    border: 1px solid #5cc3ff;
    
}

.search:hover {
    outline: none;
    border: 1px solid #5e5e5e;
    background-color: rgb(63, 63, 63);
}

.search {
    border-radius: 999px;
    height: 45px;
    
    width: 100%;
    max-width: 600px;
    background-color: rgb(44, 44, 44);
    border: 1px solid transparent;
    text-align: left;
    padding: 0 45px 0 20px;
    color: white;
    font-size: 15px;
    
    transition: all 0.2s ease;
}

/* glow effect */
.search:focus {
    outline: none;
    border: 1px solid #5cc3ff;
    
}

/* search icon */
.search-wrapper::after {
    content: "⚲";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.6;
}

body.searching .recent-wrapper {
  display: none;
}

body.search-active .filters-wrapper {
  display: none;
}

/* ===================== */
/* SEARCH DROPDOWN CLEAN FIX */
/* ===================== */

.search-dropdown {
  position: absolute;
  top: 55px;
  left: 0;
  width: 100%;
  background: #131313;
  border-radius: 12px;
  max-height: 350px;
  overflow-y: auto;

  z-index: 10002;

  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;

  transition: opacity 0.18s ease, transform 0.18s ease;
}

*::-webkit-scrollbar {
  display: none;
}

/* show state */
.search-dropdown.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ===================== */
/* SEARCH ITEMS */
/* ===================== */

.search-item {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 10px 15px;
  margin: 2px 8px;

  border-radius: 8px;
  cursor: pointer;

  transition: background 0.2s ease;
}

.search-item img {
  width: 40px;
  height: 40px;
  border-radius: 6px;
}

.search-item:hover {
  background: rgba(124, 92, 255, 0.15);
}

.search-category {
  padding: 8px 15px;
  font-size: 12px;
  opacity: 0.6;
}

.search-item span b {
  color: #413c52;
}