/* ============================
   GLOBAL PAGE STYLING
   ============================ */

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;

    /* Solid fallback color (bright neon blue) */
    background-color: #003cff;

    /* Bright neon blue gradient overlay */
    background-image:
        linear-gradient(
            135deg,
            rgb(0, 120, 255),   /* bright electric blue */
            rgb(0, 80, 255)     /* deep neon blue */
        ),
        url("https://blue-idea.net/icons/iconsbg.jpg");

    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;

    color: white;
    overflow-x: hidden;

    animation: bgMove 40s linear infinite;
}

@keyframes bgMove {
    from { background-position: 0 0; }
    to { background-position: -800px -800px; }
}


@keyframes bgMove {
    from { background-position: 0 0; }
    to { background-position: -800px -800px; }
}



@keyframes bgMove {
    from { background-position: 0 0; }
    to { background-position: -800px -800px; }
}

/* Optional dark overlay for readability */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 40, 0.55);
    z-index: -1;
}


/* ============================
   TOP BANNER
   ============================ */

.top-banner img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-bottom: 4px solid #ffd500;
}


/* ============================
   NAVIGATION BAR
   ============================ */

.nav-bar {
    display: flex;
    align-items: center;
    padding: 15px;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #ffd500;
}

.nav-bar .home-link {
    color: #ffd500;
    font-weight: bold;
    margin-right: 20px;
    text-decoration: none;
}

.nav-bar .title {
    font-size: 22px;
    font-weight: bold;
    text-shadow: 0 0 10px #ffd500;
}


/* ============================
   SEARCH BOX
   ============================ */

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

.search-box input {
    width: 60%;
    padding: 15px;
    font-size: 20px;
    border-radius: 10px;
    border: 3px solid #ffd500;
    background: rgba(255,255,255,0.1);
    color: white;
    outline: none;
    box-shadow: 0 0 15px #ffd500;
    transition: 0.3s;
}

.search-box input:focus {
    background: rgba(255,255,255,0.2);
    box-shadow: 0 0 25px #ffea00;
}


/* ============================
   RESULTS CONTAINER
   ============================ */

.results {
    width: 80%;
    margin: auto;
    max-height: 70vh;
    overflow-y: auto;
    padding: 20px;

    /* Bright neon blue glass */
    background: rgba(0, 120, 255, 0.25);
    backdrop-filter: blur(12px);

    /* Neon border + glow */
    border: 2px solid #00a2ff;
    border-radius: 14px;
    box-shadow: 0 0 25px #00a2ff, 0 0 50px #005eff inset;

    /* Smooth fade-in */
    animation: fadeIn 0.4s ease;
}



/* ============================
   RESULT ITEM
   ============================ */

.result-item {
    background: rgba(0,0,0,0.35);
    border: 2px solid #ffd500;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 20px #003bff;
    animation: fadeIn 0.4s ease;
}

.result-item h3 {
    margin: 0 0 10px 0;
    text-shadow: 0 0 10px #ffd500;
}

.result-item img {
    width: 96px;
    height: 96px;
    border-radius: 8px;
    border: 2px solid #ffd500;
    box-shadow: 0 0 15px #ffd500;
    transition: 0.3s;
}

.result-item img:hover {
    transform: scale(1.15);
    box-shadow: 0 0 25px #ffea00;
}


/* ============================
   BUTTONS
   ============================ */

button {
    background: #ffd500;
    color: #002bff;
    border: none;
    padding: 12px 18px;
    margin-top: 10px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #ffea00;
    box-shadow: 0 0 15px #ffea00;
}


/* ============================
   SCROLLBAR
   ============================ */

*::-webkit-scrollbar {
    width: 12px;
}

*::-webkit-scrollbar-track {
    background: #002bff;
}

*::-webkit-scrollbar-thumb {
    background: #ffd500;
    border-radius: 10px;
}


/* ============================
   ANIMATIONS
   ============================ */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.resize-box {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  align-items: center;
}

.resize-box label {
  font-size: 0.75rem;
  color: #facc15;
  text-shadow: 0 0 6px rgba(250, 204, 21, 0.6);
}

.resize-box input {
  width: 55px;
  padding: 4px 6px;
  border-radius: 6px;
  border: 1px solid rgba(56, 189, 248, 0.6);
  background: rgba(15, 23, 42, 0.8);
  color: #e0f2fe;
  font-size: 0.75rem;
  outline: none;
  transition: 0.15s ease;
}

.resize-box input:focus {
  border-color: #facc15;
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.6);
}

.resize-btn {
  padding: 4px 10px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  background: linear-gradient(90deg, #1d4ed8, #38bdf8, #facc15);
  color: #020617;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.8);
  transition: 0.15s ease;
}

.resize-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(250, 204, 21, 0.9);
}
.icon-card {
    height: auto !important;
    padding-bottom: 12px;
}

.resize-box {
    display: flex;
    gap: 6px;
    margin-top: 10px;
    align-items: center;
}

.resize-box label {
    font-size: 0.75rem;
    color: #facc15;
    text-shadow: 0 0 6px rgba(250, 204, 21, 0.6);
}

.resize-box input {
    width: 55px;
    padding: 4px 6px;
    border-radius: 6px;
    border: 1px solid rgba(56, 189, 248, 0.6);
    background: rgba(15, 23, 42, 0.8);
    color: #e0f2fe;
    font-size: 0.75rem;
}

.resize-btn {
    padding: 4px 10px;
    border-radius: 6px;
    background: linear-gradient(90deg, #1d4ed8, #38bdf8, #facc15);
    color: #020617;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
}
.icon-card {
    height: auto !important;
    overflow: visible !important;
    padding-bottom: 14px !important;
}
.resize-box {
    display: flex;
    gap: 6px;
    margin-top: 10px;
    align-items: center;
}

.resize-box label {
    font-size: 0.75rem;
    color: #facc15;
    text-shadow: 0 0 6px rgba(250, 204, 21, 0.6);
}

.resize-box input {
    width: 55px;
    padding: 4px 6px;
    border-radius: 6px;
    border: 1px solid rgba(56, 189, 248, 0.6);
    background: rgba(15, 23, 42, 0.8);
    color: #e0f2fe;
    font-size: 0.75rem;
}

.resize-btn {
    padding: 4px 10px;
    border-radius: 6px;
    background: linear-gradient(90deg, #1d4ed8, #38bdf8, #facc15);
    color: #020617;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
}
.resize-box {
    margin-top: 10px;
    display: flex;
    gap: 6px;
    align-items: center;
}

.resize-box input {
    width: 55px;
    padding: 4px 6px;
    border-radius: 6px;
    border: 1px solid #38bdf8;
    background: rgba(15, 23, 42, 0.8);
    color: #e0f2fe;
}

.resize-btn {
    padding: 4px 10px;
    border-radius: 6px;
    background: linear-gradient(90deg, #1d4ed8, #38bdf8, #facc15);
    color: #020617;
    cursor: pointer;
}
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;

    padding: 12px 18px;
    border-radius: 10px;

    /* Match your page's glass background */
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(10px);

    /* Neon border */
    border: 2px solid #38bdf8;

    /* Text */
    color: #e0f2fe;
    font-weight: 600;

    /* Interaction */
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.2s ease;

    /* Glow */
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);

    /* Always on top */
    z-index: 9999;
}

#backToTop:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.9);
}
#loadMoreBtn {
    display: block !important;
    background: #38bdf8;
    color: #000;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    z-index: 9999;
}
.load-more-container {
    text-align: center;
    margin: 30px 0;
}

/* Load More button styled like Back to Top */
#loadMoreBtn {
    padding: 12px 22px;
    border-radius: 10px;

    /* Glass background */
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(10px);

    /* Neon border */
    border: 2px solid #38bdf8;

    /* Text */
    color: #e0f2fe;
    font-weight: 600;
    font-size: 16px;

    /* Interaction */
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.2s ease;

    /* Glow */
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);

    /* Hidden by default (script shows it) */
    display: none;

    /* Always above content */
    z-index: 9999;
}

#loadMoreBtn:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.9);
}
.recolor-box {
    margin-top: 8px;
}

.recolor-buttons button {
    margin: 2px;
    padding: 4px 8px;
    font-size: 12px;
    cursor: pointer;
}

/* 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;
  }
}

