body {
    background: #000 url("https://blue-idea.net/clipart/clipartbg.jpg") no-repeat center top fixed;
    background-size: cover;
    color: #c8e8ff;
    font-family: Arial, sans-serif;
    margin: 0;
}

.top-banner img {
    width: 100%;
    display: block;
}

.nav-bar {
    background: #0ea5e9;
    padding: 10px;
    text-align: center;
    font-size: 20px;
    color: #fff;
}

.search-box {
    text-align: center;
    margin: 20px 0;
}

#search {
    width: 80%;
    padding: 12px;
    font-size: 18px;
    border-radius: 8px;
    border: none;
}

#spinner {
    display: none;
    text-align: center;
    margin: 20px;
    font-size: 20px;
    color: #38bdf8;
}

.results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    padding: 20px;
}

.result-item {
    background: #0f172a;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #1e293b;
}

.result-item img {
    max-width: 100%;
    border-radius: 6px;
}

button {
    background: #38bdf8;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 10px;
}

button:hover {
    background: #0ea5e9;
}

.resize-box,
.recolor-box {
    margin-top: 10px;
}

.resize-box input,
.recolor-box input {
    width: 60px;
    padding: 5px;
    margin: 3px;
}

.recolor-buttons button {
    margin: 3px;
    padding: 6px 10px;
}

.load-more-container {
    text-align: center;
    margin: 20px;
}

#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    opacity: 0;
    transition: 0.3s;
    padding: 10px 15px;
}

footer {
    text-align: center;
    padding: 20px;
    color: #7aa0c4;
}

/* BLUE‑IDEA SEARCH */
#bi-search {
    width: 80%;
    padding: 12px;
    margin-top: 30px;
    border-radius: 8px;
    border: none;
}

#bi-cats {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.bi-cat {
    padding: 8px 14px;
    margin: 5px;
    background: #1e293b;
    border-radius: 6px;
    cursor: pointer;
}

.bi-cat.active {
    background: #38bdf8;
    color: #000;
}

#bi-results {
    padding: 20px;
}

.bi-item {
    margin: 8px 0;
}
/* FULL-WIDTH BANNER ABOVE COPYRIGHT */
.fullwidth-banner {
  width: 100%;
  margin: 40px 0 20px;
  display: flex;
  justify-content: center;
  padding: 0 10px;
  box-sizing: border-box;
}

.fullwidth-banner img {
  width: 100%;
  max-width: 1200px; /* keeps it elegant on large screens */
  height: auto;
  border-radius: 12px;
  box-shadow: 0 0 25px rgba(30,144,255,0.6);
  transition: transform .25s ease, box-shadow .25s ease;
}

.fullwidth-banner img:hover {
  transform: scale(1.02);
  box-shadow: 0 0 35px rgba(255,212,71,0.9);
}

/* MOBILE FIX */
@media (max-width: 600px) {
  .fullwidth-banner {
    margin: 30px 0 15px;
    padding: 0;
  }

  .fullwidth-banner img {
    border-radius: 8px;
    box-shadow: 0 0 18px rgba(30,144,255,0.5);
  }
}
/* ================================
   BLUE‑IDEA SEARCH ENGINE (DELUXE)
   ================================ */

/* Prevent Chrome zoom */
#bi-search,
#bi-cats div,
#bi-results div {
  font-size: 16px !important;
}

/* Search bar */
#bi-search {
  width: 100%;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(30,144,255,0.4);
  background: rgba(3,12,40,0.95);
  color: #e5f0ff;
  outline: none;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: border-color .2s, box-shadow .2s, background .2s, transform .15s;
  margin: 20px auto;
  display: block;
  max-width: 700px;
}

#bi-search:focus {
  border-color: #1e90ff;
  box-shadow: 0 0 18px rgba(30,144,255,0.8);
  background: #020b2a;
  transform: translateY(-1px);
}

/* Categories bar */
#bi-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 10px auto 20px;
  max-width: 700px;
}

.bi-cat {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(15,23,42,0.8);
  border: 1px solid rgba(30,144,255,0.4);
  color: #e5f0ff;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: background .2s, box-shadow .2s, transform .15s, border-color .2s;
  user-select: none;
}

.bi-cat:hover {
  background: rgba(30,144,255,0.15);
  box-shadow: 0 0 18px rgba(30,144,255,0.7);
  transform: translateY(-2px);
}

.bi-cat.active {
  background: linear-gradient(135deg, #1e90ff, #00c9ff);
  color: #02101f;
  border-color: #ffd447;
  box-shadow: 0 0 22px rgba(255,212,71,0.8);
}

/* Results */
#bi-results {
  max-width: 900px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  padding: 10px;
}

#bi-results .bi-item {
  background: radial-gradient(circle at top, #041b3b 0, #020b2a 40%, #020617 100%);
  border: 1px solid rgba(30,144,255,0.35);
  padding: 14px 16px;
  border-radius: 14px;
  color: #e5f0ff;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

#bi-results .bi-item:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: #ffd447;
  box-shadow: 0 0 22px rgba(30,144,255,0.8);
}

/* MOBILE FIXES */
@media (max-width: 600px) {
  #bi-search {
    width: 90%;
    margin: 15px auto;
  }

  #bi-cats {
    gap: 8px;
  }

  .bi-cat {
    padding: 8px 14px;
    font-size: 16px !important;
  }

  #bi-results {
    grid-template-columns: 1fr;
  }
}
/* ================================
   BLUE‑IDEA SEARCH ENGINE (DELUXE)
   ================================ */

/* Prevent Chrome zoom */
#bi-search,
#bi-cats div,
#bi-results div,
#bi-results a {
  font-size: 16px !important;
}

/* Search bar */
#bi-search {
  width: 100%;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(30,144,255,0.4);
  background: rgba(3,12,40,0.95);
  color: #e5f0ff;
  outline: none;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: border-color .2s, box-shadow .2s, background .2s, transform .15s;
  margin: 20px auto;
  display: block;
  max-width: 700px;
}

#bi-search:focus {
  border-color: #1e90ff;
  box-shadow: 0 0 18px rgba(30,144,255,0.8);
  background: #020b2a;
  transform: translateY(-1px);
}

/* Categories bar */
#bi-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 10px auto 20px;
  max-width: 700px;
}

.bi-cat {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(15,23,42,0.8);
  border: 1px solid rgba(30,144,255,0.4);
  color: #e5f0ff;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: background .2s, box-shadow .2s, transform .15s, border-color .2s;
  user-select: none;
}

.bi-cat:hover {
  background: rgba(30,144,255,0.15);
  box-shadow: 0 0 18px rgba(30,144,255,0.7);
  transform: translateY(-2px);
}

.bi-cat.active {
  background: linear-gradient(135deg, #1e90ff, #00c9ff);
  color: #02101f;
  border-color: #ffd447;
  box-shadow: 0 0 22px rgba(255,212,71,0.8);
}

/* Results grid */
#bi-results {
  max-width: 900px;
  margin: 0 auto 40px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
  padding: 10px;
}

/* Result item */
#bi-results .bi-item {
  background: radial-gradient(circle at top, #041b3b 0, #020b2a 40%, #020617 100%);
  border: 1px solid rgba(30,144,255,0.35);
  padding: 14px 16px;
  border-radius: 14px;
  color: #e5f0ff;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 0 0 rgba(0,0,0,0);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

#bi-results .bi-item:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: #ffd447;
  box-shadow: 0 0 22px rgba(30,144,255,0.8);
}

#bi-results .bi-item a {
  color: #e5f0ff;
  text-decoration: none;
}

/* MOBILE FIXES */
@media (max-width: 600px) {
  #bi-search {
    width: 90%;
    margin: 15px auto;
  }

  #bi-cats {
    gap: 8px;
  }

  .bi-cat {
    padding: 8px 14px;
    font-size: 16px !important;
  }

  #bi-results {
    grid-template-columns: 1fr;
  }
}
/* ============================
   THIN DARK BLUE SCROLLBARS
============================ */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #001a33; /* very dark blue */
}

::-webkit-scrollbar-thumb {
    background: #0ea5e9; /* neon blue */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #38bdf8; /* lighter neon on hover */
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #0ea5e9 #001a33;
}
.recolor-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.recolor-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: 
        transform 0.15s ease,
        box-shadow 0.15s ease,
        border-color 0.15s ease;
}

/* Hover: looks clickable */
.recolor-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 0 8px rgba(0,0,0,0.25);
    border-color: #007aff;
}

/* Click press effect */
.recolor-btn:active {
    transform: scale(0.95);
}

/* Selected state */
.recolor-btn.selected {
    border-color: #007aff;
    box-shadow: 0 0 0 3px rgba(0,122,255,0.25);
}
.recolor-buttons {
    display: flex;
    justify-content: center;   /* centers horizontally */
    align-items: center;       /* keeps them aligned nicely */
    gap: 8px;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 10px;          /* optional spacing */
}

