:root {
    --bg-main: #020617;
    --bg-card: rgba(4, 18, 40, 0.92);
    --bg-card-soft: rgba(8, 24, 60, 0.9);
    --accent-blue: #00b4ff;
    --accent-yellow: #ffd93b;
    --accent-pink: #ff4fd8;
    --text-main: #e5f4ff;
    --text-muted: #7ea0c7;
    --border-neon: rgba(0, 180, 255, 0.7);
    --shadow-neon: 0 0 18px rgba(0, 180, 255, 0.45);
    --radius-lg: 18px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --transition-fast: 0.18s ease-out;
    --transition-med: 0.25s ease-out;
}

/* Global reset */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
}

/* Background image */
body {
    background-image: url("https://blue-idea.net/hashtags-tool.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Blue scrollbars */
body::-webkit-scrollbar {
    width: 10px;
}
body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.4);
}
body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00b4ff, #ffd93b);
    border-radius: 999px;
}
body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #00d0ff, #ffe66b);
}

/* Overlay */
.bg-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at top, rgba(0, 180, 255, 0.25), transparent 55%),
                radial-gradient(circle at bottom, rgba(255, 217, 59, 0.18), transparent 55%),
                rgba(2, 6, 23, 0.85);
    pointer-events: none;
    z-index: -1;
}

/* Top bar */
.top-bar {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 18px;
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.96), rgba(4, 18, 40, 0.96));
    border-bottom: 1px solid rgba(0, 180, 255, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.logo-link {
    color: var(--accent-yellow);
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 16px;
    font-size: 0.9rem;
    position: relative;
    padding-bottom: 2px;
    transition: color var(--transition-fast);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-yellow));
    transition: width var(--transition-fast);
}

.nav-links a:hover {
    color: var(--accent-blue);
}
.nav-links a:hover::after {
    width: 100%;
}

/* Main layout */
.main-wrapper {
    max-width: 1200px;
    margin: 24px auto 40px;
    padding: 0 16px 40px;
}

/* Hero banner */
.hero-banner {
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(0, 180, 255, 0.4);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6);
    margin-bottom: 20px;
    transform: translateY(0);
    transition: transform var(--transition-med), box-shadow var(--transition-med), border-color var(--transition-med);
}
.hero-banner img {
    display: block;
    width: 100%;
    height: auto;
}
.hero-banner:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75);
    border-color: rgba(255, 217, 59, 0.7);
}

/* Hero text */
.hero {
    text-align: center;
    margin-bottom: 26px;
}
.hero h1 {
    font-size: 2.1rem;
    margin: 0 0 6px;
    text-shadow: 0 0 18px rgba(0, 0, 0, 0.8);
}
.hero-subtitle {
    margin: 0;
    color: white;
    font-size: 0.98rem;
}

/* Grid */
.tool-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.2fr);
    gap: 18px;
}
@media (max-width: 900px) {
    .tool-grid {
        grid-template-columns: 1fr;
    }
}

/* Cards */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 18px 18px 20px;
    border: 1px solid rgba(0, 180, 255, 0.35);
    box-shadow: var(--shadow-neon);
    backdrop-filter: blur(18px);
}
.card-main {
    background: var(--bg-card-soft);
}
.card h2 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2rem;
}
.card h3 {
    margin-top: 16px;
    margin-bottom: 8px;
    font-size: 1rem;
}

/* Textarea */
#inputText {
    width: 100%;
    min-height: 120px;
    max-height: 260px;
    resize: vertical;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 180, 255, 0.5);
    background: rgba(2, 6, 23, 0.85);
    color: var(--text-main);
    padding: 10px 12px;
    font-size: 0.95rem;
    outline: none;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.6);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}
#inputText:focus {
    border-color: var(--accent-yellow);
    box-shadow: 0 0 0 1px rgba(255, 217, 59, 0.6), 0 0 18px rgba(0, 180, 255, 0.5);
    background: rgba(2, 6, 23, 0.95);
}

/* Meta row */
.meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.badge {
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(0, 180, 255, 0.6);
    background: radial-gradient(circle at top left, rgba(0, 180, 255, 0.4), transparent 60%);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.badge.live {
    color: var(--accent-yellow);
}

/* Buttons */
.btn-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}
.btn-row.small-gap {
    gap: 6px;
}
.btn {
    border-radius: 999px;
    border: 1px solid rgba(0, 180, 255, 0.6);
    padding: 6px 12px;
    font-size: 0.8rem;
    background: radial-gradient(circle at top left, rgba(0, 180, 255, 0.35), rgba(2, 6, 23, 0.95));
    color: var(--text-main);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}
.btn.primary {
    background: linear-gradient(135deg, rgba(0, 180, 255, 0.9), rgba(0, 90, 255, 0.9));
    border-color: rgba(0, 180, 255, 0.9);
}
.btn.accent {
    background: linear-gradient(135deg, rgba(255, 217, 59, 0.95), rgba(255, 184, 0, 0.95));
    color: #111827;
    border-color: rgba(255, 217, 59, 0.9);
}
.btn.secondary {
    background: radial-gradient(circle at top left, rgba(255, 217, 59, 0.2), rgba(2, 6, 23, 0.95));
}
.btn.ghost {
    background: rgba(2, 6, 23, 0.8);
}
.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 18px rgba(0, 180, 255, 0.6);
    border-color: var(--accent-yellow);
}
.btn.accent:hover {
    box-shadow: 0 0 18px rgba(255, 217, 59, 0.7);
}
.btn:active {
    transform: translateY(0);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

/* Columns */
.columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
    margin-top: 14px;
}
@media (max-width: 900px) {
    .columns {
        grid-template-columns: 1fr;
    }
}

/* Output boxes */
.output-box {
    min-height: 90px;
    max-height: 220px;
    overflow-y: auto;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 180, 255, 0.5);
    background: rgba(2, 6, 23, 0.9);
    padding: 8px 10px;
    font-size: 0.86rem;
    line-height: 1.5;
}
.status-line {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.status-line span {
    color: var(--accent-yellow);
}

/* Suggestion chips */
.suggestion-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}
.tag-chip {
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid rgba(0, 180, 255, 0.6);
    font-size: 0.78rem;
    background: radial-gradient(circle at top left, rgba(0, 180, 255, 0.3), rgba(2, 6, 23, 0.95));
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}
.tag-chip.high {
    border-color: rgba(255, 217, 59, 0.9);
    background: radial-gradient(circle at top left, rgba(255, 217, 59, 0.4), rgba(2, 6, 23, 0.95));
}
.tag-chip.longtail {
    border-style: dashed;
}
.tag-chip:hover {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 0 14px rgba(0, 180, 255, 0.7);
    border-color: var(--accent-yellow);
}
.tag-chip:active {
    transform: translateY(0) scale(0.99);
}

/* Score pill */
.score-pill {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.78rem;
    border: 1px solid rgba(0, 180, 255, 0.7);
}
.score-pill.high {
    border-color: rgba(255, 217, 59, 0.9);
    color: var(--accent-yellow);
}
.score-pill.medium {
    border-color: rgba(0, 180, 255, 0.9);
}

/* Filters */
.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
    font-size: 0.78rem;
    color: var(--text-muted);
}
.filter-row input {
    accent-color: var(--accent-blue);
}

/* Insight box */
.insight-box {
    border-radius: var(--radius-md);
    border: 1px dashed rgba(0, 180, 255, 0.6);
    padding: 10px;
    font-size: 0.82rem;
    color: var(--text-muted);
    background: rgba(2, 6, 23, 0.9);
    margin-bottom: 14px;
}

/* Feature list */
.feature-list {
    padding-left: 18px;
    margin: 8px 0 0;
    font-size: 0.84rem;
    color: var(--text-muted);
}
.feature-list li {
    margin-bottom: 4px;
}

/* Footer */
.footer {
    max-width: 1200px;
    margin: 0 auto 10px;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-muted);
}
.footer-right .wm {
    color: var(--accent-yellow);
}

/* Watermark */
.watermark {
    position: fixed;
    right: 12px;
    bottom: 10px;
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.7);
    pointer-events: none;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
}
/* 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;
  }
}


