/* =========================================================
   SEARCH COMPONENTS PAGE — UIverse Premium
========================================================= */
/* =========================================================
   RESET & BASE
========================================================= */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:"DM Sans",sans-serif;
  background: linear-gradient(135deg, #0f172a, #111827);
  color:white;
  overflow-x:hidden;
}
/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
  width: var(--sidebar-w);
  height: 100vh;
  background: linear-gradient(160deg, #141428 0%, #1c1c35 100%);
  display: flex;
  flex-direction: column;
  padding: 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1050;
  border-right: 1px solid rgba(255,255,255,0.05);
  transition: transform var(--transition);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.brand-icon {
  font-size: 24px;
  color: var(--accent);
}

.brand-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  letter-spacing: -0.5px;
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 16px 12px;
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  color: #8a9bc0;
  text-decoration: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
}

.sidebar-nav li a i {
  width: 18px;
  text-align: center;
  font-size: 15px;
}

.sidebar-nav li a:hover {
  background: rgba(255,255,255,0.07);
  color: #fff;
  transform: translateX(3px);
}

.sidebar-nav li.active a {
  background: linear-gradient(90deg, rgba(235,104,53,0.2) 0%, rgba(235,104,53,0.05) 100%);
  color: var(--accent);
  border-left: 3px solid var(--accent);
}

.sidebar-footer {
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  gap: 16px;
}

.sidebar-footer a {
  color: #6a7a94;
  font-size: 16px;
  transition: color var(--transition);
}

.sidebar-footer a:hover {
  color: var(--accent);
}

/* Sidebar backdrop (mobile) */
.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1040;
  backdrop-filter: blur(2px);
}

.sidebar-backdrop.visible {
  display: block;
}
/* =========================================================
   MAIN CONTENT
========================================================= */

.main-home{
  margin-left:250px;
  padding:42px;
}

.page-header {
  margin-bottom: 40px;
}
.page-header h1 {
  font-size: 48px;
  margin-bottom: 12px;
  font-family: "Syne", sans-serif;
  background: linear-gradient(90deg, #3b82f6, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.page-header p {
  color: #94a3b8;
  font-size: 18px;
  max-width: 600px;
}

.search-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 30px;
}

.search-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.search-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.4);
}

.search-info h2 {
  font-size: 20px;
  margin-bottom: 8px;
  color: #f8fafc;
}
.search-info p {
  font-size: 14px;
  color: #64748b;
}

.component-preview {
  height: 200px;
  background: #0f172a;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.04);
}

.card-actions {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.copy-btn {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.1);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.2);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.copy-btn:hover {
  background: rgba(59, 130, 246, 0.2);
  color: #fff;
}

.copy-btn.copied {
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
  border-color: rgba(34, 197, 94, 0.2);
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding: 12px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
}

.toolbar-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 200px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  padding: 0 16px;
  height: 40px;
}

.toolbar-search i { color: var(--muted); font-size: 14px; }

.toolbar-search input {
  border: none;
  outline: none;
  background: transparent;
  color: #fff;
  font-size: 14px;
  width: 100%;
}

/* Sort dropdown */
.sort-dropdown-wrapper {
  position: relative;
}

.sort-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  color: #ccc;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.sort-trigger:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.sort-trigger.open {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: #fff;
}

.sort-chevron {
  font-size: 10px;
  transition: transform 0.2s;
}

.sort-trigger.open .sort-chevron {
  transform: rotate(180deg);
}

.sort-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #1a2236;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  padding: 6px;
  min-width: 160px;
  z-index: 100;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}

.sort-menu.open {
  display: block;
}

.sort-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  color: #aab4cc;
  transition: background 0.15s;
  -webkit-user-select: none;
  user-select: none;
}

.sort-option:hover {
  background: rgba(255,255,255,0.07);
  color: #fff;
}

.sort-option input[type="radio"] {
  display: none;
}

.radio-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.2s;
}

.sort-option input[type="radio"]:checked ~ .radio-dot {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(255,122,61,0.2);
}

.sort-option input[type="radio"]:checked ~ .radio-dot::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
}

.sort-option:has(input[type="radio"]:checked) {
  color: #fff;
  background: #ff7a3d14;
}

.results-count {
  font-size: 13px;
  color: #ffffff6a;
  margin-left: auto;
}

/* =========================================================
   1. EXPANDING SEARCH BAR
========================================================= */
.expanding-search {
  position: relative;
  width: 50px;
  height: 50px;
  background: #1e293b;
  border-radius: 25px;
  transition: width 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  overflow: hidden;
  border: 1px solid #334155;
}
.expanding-search:focus-within {
  width: 100%;
  border-color: #3b82f6;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}
.expanding-search input {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  padding: 0 50px 0 20px;
  color: white;
  font-size: 16px;
  opacity: 0;
  transition: opacity 0.3s;
}
.expanding-search:focus-within input {
  opacity: 1;
}
.expanding-search button {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 18px;
  cursor: pointer;
  transition: color 0.3s;
}
.expanding-search:focus-within button {
  color: #3b82f6;
}

/* =========================================================
   2. GLASSMORPHISM SEARCH INPUT
========================================================= */
.glass-search-wrapper {
  position: relative;
  width: 100%;
  max-width: 300px;
}
.glass-search {
  width: 100%;
  padding: 14px 20px 14px 45px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  color: white;
  font-size: 15px;
  outline: none;
  transition: all 0.3s ease;
}
.glass-search::placeholder {
  color: rgba(255, 255, 255, 0.4);
}
.glass-search:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
.glass-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.6);
  pointer-events: none;
  transition: color 0.3s ease;
}
.glass-search:focus + .glass-icon {
  color: white;
}

/* =========================================================
   3. COMMAND SEARCH BAR
========================================================= */
.command-search {
  display: flex;
  align-items: center;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 10px 16px;
  width: 100%;
  max-width: 320px;
  transition: border-color 0.3s ease;
}
.command-search:focus-within {
  border-color: #6366f1;
}
.command-search i {
  color: #94a3b8;
  font-size: 16px;
}
.command-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: white;
  padding: 0 12px;
  font-size: 14px;
}
.command-search kbd {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 11px;
  color: #94a3b8;
  font-family: inherit;
  font-weight: 600;
}

/* =========================================================
   4. ANIMATED SEARCH BAR
========================================================= */
.animated-search {
  position: relative;
  width: 100%;
  max-width: 300px;
}
.animated-search input {
  width: 100%;
  padding: 14px 14px 14px 40px;
  background: transparent;
  border: none;
  border-bottom: 2px solid #334155;
  color: white;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s ease;
}
.animated-search input::placeholder {
  color: #64748b;
  transition: color 0.3s ease;
}
.animated-search input:focus {
  border-bottom-color: #ec4899;
}
.animated-search input:focus::placeholder {
  color: transparent;
}
.animated-icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  transition: all 0.3s ease;
}
.animated-search input:focus ~ .animated-icon {
  color: #ec4899;
  transform: translateY(-50%) rotate(90deg);
}

/* =========================================================
   5. MINIMAL SEARCH COMPONENT
========================================================= */
.minimal-search {
  display: flex;
  background: #0f172a;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
  max-width: 300px;
}
.minimal-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 12px 16px;
  color: white;
  font-size: 14px;
}
.minimal-search button {
  background: #3b82f6;
  border: none;
  color: white;
  padding: 0 20px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s ease;
}
.minimal-search button:hover {
  background: #2563eb;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media(max-width:992px){
  .main-home{ margin-left: 0; }
  .sidebar{ display: none; }
}
@media(max-width:768px){
  .search-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   NEW PREMIUM SEARCH COMPONENTS
========================================================= */

/* 6. Floating Search Bar */
.floating-search {
  position: relative;
  display: flex;
  align-items: center;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 14px;
  padding: 8px 12px;
  width: 100%;
  max-width: 300px;
  transition: all 0.3s;
}
.floating-search:focus-within {
  border-color: #3b82f6;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.25);
}
.floating-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: white;
  padding: 10px 10px 10px 0;
  font-size: 15px;
}
.floating-search label {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748b;
  font-size: 15px;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  background: #1e293b;
  padding: 0 6px;
}
.floating-search input:focus ~ label,
.floating-search input:not(:placeholder-shown) ~ label {
  top: 0;
  font-size: 11px;
  color: #3b82f6;
  font-weight: 600;
}
.floating-search button {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 16px;
  cursor: pointer;
  padding-left: 8px;
}
.floating-search input:focus ~ button {
  color: #3b82f6;
}

/* 7. Voice Search Input */
.voice-search {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1px solid #334155;
  border-radius: 999px;
  padding: 8px 10px 8px 16px;
  width: 100%;
  max-width: 300px;
  transition: all 0.3s;
}
.voice-search:focus-within {
  border-color: #10b981;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}
.voice-search .search-icon {
  color: #64748b;
  margin-right: 12px;
}
.voice-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font-size: 15px;
}
.voice-search .mic-btn {
  background: #10b981;
  color: white;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}
.voice-search .mic-btn:hover {
  background: #059669;
  transform: scale(1.05);
}
.voice-search .mic-btn i {
  animation: voice-pulse 2s infinite alternate;
}
@keyframes voice-pulse {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(1.15); opacity: 1; filter: drop-shadow(0 0 4px rgba(255,255,255,0.5)); }
}

/* 8. Search Bar with Suggestions Dropdown */
.suggestions-search {
  position: relative;
  width: 100%;
  max-width: 300px;
}
.suggestions-search .input-wrap {
  display: flex;
  align-items: center;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 12px 16px;
  transition: all 0.3s;
}
.suggestions-search:focus-within .input-wrap {
  border-color: #f59e0b;
}
.suggestions-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font-size: 15px;
  padding-right: 8px;
}
.suggestions-search i {
  color: #64748b;
}
.suggestions-search:focus-within i {
  color: #f59e0b;
}
.suggestions-search .dropdown-list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  background: rgba(30, 41, 59, 0.95);
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 8px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  backdrop-filter: blur(8px);
  z-index: 10;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}
.suggestions-search:focus-within .dropdown-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.suggestions-search .dropdown-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #cbd5e1;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.suggestions-search .dropdown-list li:hover {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  transform: translateX(4px);
}
.suggestions-search .dropdown-list li i {
  font-size: 12px;
  color: #64748b;
}

/* 9. Fullscreen Overlay Search */
.fullscreen-search-wrapper {
  position: relative;
  width: 100%;
  max-width: 300px;
  display: flex;
  justify-content: center;
}
.fullscreen-search-wrapper .trigger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #a855f7, #6366f1);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}
.fullscreen-search-wrapper .trigger-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168, 85, 247, 0.45);
}
.fullscreen-search-wrapper .overlay-search {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.fullscreen-search-wrapper .overlay-checkbox:checked ~ .overlay-search {
  opacity: 1;
  visibility: visible;
}
.fullscreen-search-wrapper .close-btn {
  position: absolute;
  top: 30px;
  right: 30px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 24px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}
.fullscreen-search-wrapper .close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  transform: rotate(90deg);
}
.fullscreen-search-wrapper .search-box {
  width: 100%;
  max-width: 600px;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transform: translateY(30px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.fullscreen-search-wrapper .overlay-checkbox:checked ~ .overlay-search .search-box {
  transform: translateY(0);
}
.fullscreen-search-wrapper .search-box input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 3px solid rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 32px;
  font-family: "Syne", sans-serif;
  outline: none;
  padding: 10px 0;
  text-align: center;
  transition: border-color 0.3s;
}
.fullscreen-search-wrapper .search-box input:focus {
  border-bottom-color: #a855f7;
}
.fullscreen-search-wrapper .search-box .hint {
  color: #64748b;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* 10. Minimal Animated Search Input */
.minimal-animated-search {
  position: relative;
  width: 100%;
  max-width: 280px;
  display: flex;
  align-items: center;
  padding-bottom: 8px;
}
.minimal-animated-search input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font-size: 16px;
  padding: 4px 30px 4px 0;
}
.minimal-animated-search i {
  position: absolute;
  right: 0;
  bottom: 12px;
  color: #64748b;
  transition: all 0.3s;
}
.minimal-animated-search input:focus ~ i {
  color: #06b6d4;
  transform: scale(1.1);
}
.minimal-animated-search .border-line {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #334155;
  transition: all 0.3s;
}
.minimal-animated-search .border-line::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #06b6d4, #6366f1);
  transition: all 0.4s ease;
  transform: translateX(-50%);
}
.minimal-animated-search input:focus ~ .border-line::after {
  width: 100%;
}


.neumorphic-search {
  display: flex;
  align-items: center;
  background: #0f172a;
  border-radius: 30px;
  padding: 6px 10px;
  width: 100%;
  max-width: 300px;
  box-shadow: inset 3px 3px 7px rgba(0, 0, 0, 0.6), inset -3px -3px 7px rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}
.neumorphic-search:focus-within {
  box-shadow: inset 3px 3px 7px rgba(0, 0, 0, 0.8), inset -3px -3px 7px rgba(255, 255, 255, 0.08), 0 0 12px rgba(59, 130, 246, 0.2);
}
.neumorphic-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #f8fafc;
  padding: 10px 15px;
  font-size: 14px;
}
.neumorphic-search input::placeholder {
  color: #475569;
}
.neumorphic-search button {
  background: #1e293b;
  border: none;
  outline: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5), -3px -3px 6px rgba(255, 255, 255, 0.04);
  transition: all 0.3s ease;
}
.neumorphic-search button:hover {
  color: #3b82f6;
  background: #0f172a;
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.5), inset -2px -2px 5px rgba(255, 255, 255, 0.05);
}

.cyberpunk-search-wrapper {
  position: relative;
  width: 100%;
  max-width: 300px;
  padding: 3px;
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  clip-path: polygon(0 0, 92% 0, 100% 30%, 100% 100%, 8% 100%, 0 70%);
}
.cyberpunk-search {
  display: flex;
  align-items: center;
  background: #090d16;
  padding: 10px 14px;
  clip-path: polygon(0 0, 92% 0, 100% 30%, 100% 100%, 8% 100%, 0 70%);
  border: none;
}
.cyberpunk-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #00f2fe;
  font-family: Courier, monospace;
  font-size: 14px;
  font-weight: bold;
  padding: 6px;
  letter-spacing: 1px;
}
.cyberpunk-search input::placeholder {
  color: rgba(0, 242, 254, 0.4);
}
.cyberpunk-search button {
  background: transparent;
  border: none;
  outline: none;
  color: #ff007f;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
}
.cyberpunk-search button:hover {
  text-shadow: 0 0 8px #ff007f;
  transform: scale(1.1);
}

.category-search {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 8px 16px;
  width: 100%;
  max-width: 310px;
  transition: all 0.3s ease;
}
.category-search:focus-within {
  border-color: #3b82f6;
  background: rgba(255, 255, 255, 0.05);
}
.category-select {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding-right: 8px;
  transition: color 0.3s ease;
}
.category-select:hover {
  color: #f8fafc;
}
.category-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.12);
  margin-right: 12px;
}
.category-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14px;
}
.category-search input::placeholder {
  color: #64748b;
}
.category-search-icon {
  color: #64748b;
  font-size: 15px;
  transition: color 0.3s ease;
}
.category-search:focus-within .category-search-icon {
  color: #3b82f6;
}

.glow-ring-wrapper {
  position: relative;
  width: 100%;
  max-width: 300px;
  border-radius: 20px;
  z-index: 1;
}
.glow-ring-bg {
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 20px;
  background: linear-gradient(90deg, #ec4899, #8b5cf6, #3b82f6, #ec4899);
  background-size: 400% 400%;
  z-index: -1;
  opacity: 0.15;
  transition: opacity 0.3s ease;
}
.glow-ring-wrapper:focus-within .glow-ring-bg {
  opacity: 1;
  animation: glow-rotate 8s linear infinite;
}
.glow-ring-search {
  display: flex;
  align-items: center;
  background: #0f172a;
  border-radius: 19px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.glow-ring-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 14px;
}
.glow-ring-search input::placeholder {
  color: #64748b;
}
.glow-ring-search i {
  color: #8b5cf6;
  font-size: 16px;
  transition: all 0.3s ease;
}
.glow-ring-wrapper:focus-within .glow-ring-search i {
  color: #ec4899;
  text-shadow: 0 0 8px rgba(236, 72, 153, 0.6);
  transform: scale(1.1) rotate(15deg);
}
@keyframes glow-rotate {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.terminal-search {
  display: flex;
  align-items: center;
  background: #020617;
  border: 1px solid #1e293b;
  border-radius: 10px;
  padding: 12px 16px;
  width: 100%;
  max-width: 300px;
  font-family: monospace;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}
.terminal-search:focus-within {
  border-color: #22c55e;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.15);
}
.terminal-prompt {
  color: #22c55e;
  font-weight: bold;
  margin-right: 10px;
  user-select: none;
}
.terminal-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #4ade80;
  font-size: 14px;
}
.terminal-search input::placeholder {
  color: #166534;
}
.terminal-cursor {
  width: 8px;
  height: 15px;
  background: #22c55e;
  margin-left: 4px;
  animation: blink-caret 0.8s infinite steps(1);
}
@keyframes blink-caret {
  50% { opacity: 0; }
}








/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg2);
  padding: 20px 0;
  margin-left: 250px; /* offset for sidebar */
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
  gap: 40px;
  padding: 56px 48px 40px;
  max-width: 100%;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 12px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 16px;
}

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  position: relative;
  color: #a1a1aa;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--accent);  
  transform: translateX(6px);
}

.footer-col ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
  border-radius: 10px;
}

.footer-col ul li a:hover::after {
  width: 100%;
}

/* Social icons fix */
.socials {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #1e1e1e;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #aaa;
  font-size: 16px;
  text-decoration: none;
  transition: all var(--transition);
}

.socials a:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.newsletter-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.newsletter-form input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  background: #1e1e1e;
  border: 1px solid #2a2a2a;
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 13px;
  outline: none;
  transition: border-color var(--transition);
}

.newsletter-form input:focus {
  border-color: var(--accent);
}

.newsletter-form button {
  padding: 10px 18px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}

.newsletter-form button:hover {
  background: #d45c28;
}

.footer-bottom {
  border-top: 1px solid #1e1e1e;
  padding: 20px 48px;
  text-align: center;
  font-size: 13px;
  color: #aaa;
}

/* Responsive fix */
@media (max-width: 768px) {
  .footer {
    margin-left: 0; /* remove sidebar offset */
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 24px;
    text-align: center;
  }
  .socials {
    justify-content: center;
  }
}


/* =========================================================
   16. LIQUID BORDER SEARCH
========================================================= */
.liquid-search-container {
  position: relative;
  width: 100%;
  max-width: 300px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.liquid-blob {
  position: absolute;
  inset: -4px;
  background: linear-gradient(45deg, #00f2fe, #4facfe, #0000ff);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  filter: blur(8px);
  z-index: 1;
  animation: liquid-morph 8s ease-in-out infinite alternate;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.liquid-search-container:focus-within .liquid-blob {
  opacity: 0.9;
  filter: blur(12px);
}

.liquid-search-box {
  position: relative;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  display: flex;
  align-items: center;
  padding: 0 12px 0 20px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.liquid-search-box i {
  color: #00f2fe;
  font-size: 16px;
  margin-right: 12px;
  animation: liquid-drip 2s ease-in-out infinite alternate;
}

.liquid-search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font-size: 14px;
}

.liquid-search-box button {
  background: linear-gradient(135deg, #00f2fe, #4facfe);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.liquid-search-box button:hover {
  transform: scale(1.1);
}

@keyframes liquid-morph {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  50% {
    border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  100% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
}

@keyframes liquid-drip {
  0% { transform: translateY(0); }
  100% { transform: translateY(2px); }
}

/* =========================================================
   17. LASER SCANNER SEARCH
========================================================= */
.laser-search-wrapper {
  width: 100%;
  max-width: 300px;
}

.laser-search-input-wrap {
  position: relative;
  width: 100%;
  background: #0b0f19;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.laser-search-input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font-size: 14px;
  z-index: 2;
}

.laser-icon {
  color: #00f3ff;
  font-size: 16px;
  z-index: 2;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.laser-search-input-wrap input:focus ~ .laser-icon {
  transform: scale(1.2);
  filter: drop-shadow(0 0 6px #00f3ff);
}

/* Border laser line */
.laser-scanner-line {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  pointer-events: none;
  border: 1px solid transparent;
  z-index: 1;
}

.laser-search-input-wrap input:focus ~ .laser-scanner-line {
  background: linear-gradient(90deg, transparent, #00f3ff, transparent) no-repeat;
  background-size: 100px 100%;
  animation: laser-scan-border 2s linear infinite;
  border-color: rgba(0, 243, 255, 0.15);
}

@keyframes laser-scan-border {
  0% { background-position: -150px 0; }
  100% { background-position: 350px 0; }
}

/* =========================================================
   18. RADIAL REVEAL SEARCH
========================================================= */
.radial-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  width: 50px;
  height: 50px;
  transition: width 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

/* Checkbox toggle trick */
.radial-toggle {
  display: none;
}

.radial-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff007f, #7b2cbf);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 4px 15px rgba(255, 0, 127, 0.4);
  transition: transform 0.3s ease, background 0.3s ease;
}

.radial-btn:hover {
  transform: scale(1.05);
}

.radial-btn i {
  color: white;
  font-size: 18px;
  position: absolute;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.radial-btn .close-icon {
  opacity: 0;
  transform: rotate(-90deg);
}

.radial-input-box {
  position: absolute;
  right: 0;
  width: 100%;
  height: 100%;
  border-radius: 25px;
  background: #15102a;
  border: 1px solid rgba(255, 0, 127, 0.3);
  padding: 0 60px 0 20px;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 4;
}

.radial-input-box input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font-size: 14px;
}

/* Checked States */
.radial-toggle:checked ~ .radial-search-wrapper {
  width: 280px;
}

.radial-toggle:checked ~ .radial-search-wrapper .radial-input-box {
  opacity: 1;
  pointer-events: auto;
}

.radial-toggle:checked ~ .radial-search-wrapper .radial-btn {
  background: #15102a;
  box-shadow: none;
  border: 1px solid rgba(255, 0, 127, 0.3);
}

.radial-toggle:checked ~ .radial-search-wrapper .radial-btn .search-icon {
  opacity: 0;
  transform: rotate(90deg);
}

.radial-toggle:checked ~ .radial-search-wrapper .radial-btn .close-icon {
  opacity: 1;
  transform: rotate(0);
  color: #ff007f;
}

/* =========================================================
   19. INTERACTIVE TAG PILL SEARCH
========================================================= */
.tag-search-container {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #111424;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 10px 16px;
  width: 100%;
  max-width: 320px;
  transition: all 0.3s ease;
}

.tag-search-container:focus-within {
  border-color: #8b5cf6;
  box-shadow: 0 0 16px rgba(139, 92, 246, 0.2);
}

.tag-pills {
  display: flex;
  gap: 6px;
}

.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(139, 92, 246, 0.15);
  color: #a78bfa;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.tag-pill i {
  cursor: pointer;
  font-size: 10px;
  transition: color 0.2s;
}

.tag-pill i:hover {
  color: #ef4444;
}

.tag-search-container input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: white;
  font-size: 13px;
  min-width: 60px;
}

.tag-search-container i.fa-filter {
  color: #64748b;
  font-size: 14px;
}

.tag-search-container:focus-within i.fa-filter {
  color: #8b5cf6;
}

/* =========================================================
   20. RETRO ARCADE CONSOLE SEARCH
========================================================= */
.arcade-search-box {
  position: relative;
  width: 100%;
  max-width: 300px;
  background: #020712;
  border: 2px solid #00ff66;
  border-radius: 4px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  box-shadow: 0 0 10px rgba(0, 255, 102, 0.2), inset 0 0 10px rgba(0, 255, 102, 0.1);
  overflow: hidden;
  font-family: 'Courier New', Courier, monospace;
}

.arcade-scanlines {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
  background-size: 100% 4px, 6px 100%;
  pointer-events: none;
  z-index: 3;
}

.arcade-prefix {
  color: #00ff66;
  font-weight: 800;
  font-size: 14px;
  margin-right: 8px;
  text-shadow: 0 0 4px #00ff66;
}

.arcade-search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #00ff66;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  z-index: 2;
  text-shadow: 0 0 4px #00ff66;
}

.arcade-search-box input::placeholder {
  color: rgba(0, 255, 102, 0.4);
  text-shadow: none;
}

.arcade-cursor {
  width: 8px;
  height: 14px;
  background: #00ff66;
  animation: arcade-blink 0.8s steps(2, start) infinite;
  margin-left: 2px;
  box-shadow: 0 0 4px #00ff66;
}

.arcade-icon {
  color: #00ff66;
  font-size: 16px;
  margin-left: auto;
  z-index: 2;
  text-shadow: 0 0 4px #00ff66;
  animation: arcade-bounce 1s infinite alternate;
}

@keyframes arcade-blink {
  to { visibility: hidden; }
}

@keyframes arcade-bounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-2px); }
}

/* =========================
   SEARCH PAGE — UIverse V2
   search.css
========================= */

:root{
  --bg:#070b14;
  --bg2:#0f1729;
  --card:#101827;
  --card2:#121d31;
  --line:rgba(255,255,255,.08);

  --text:#f5f7ff;
  --muted:#9ca8c7;

  --primary:#7b61ff;
  --secondary:#eb6835;
  --cyan:#31d0ff;

  --radius:24px;
  --radius-sm:16px;

  --shadow:
    0 10px 30px rgba(0,0,0,.35);

  --gradient:
    linear-gradient(135deg,#7b61ff 0%,#eb6835 100%);
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:"DM Sans",sans-serif;
  background:
    radial-gradient(circle at top left, rgba(123,97,255,.16), transparent 25%),
    radial-gradient(circle at bottom right, rgba(235,104,53,.14), transparent 20%),
    var(--bg);
  color:var(--text);
  min-height:100vh;
  overflow-x:hidden;
}

/* =========================
   MAIN LAYOUT
========================= */

.main-home{
  margin-left:290px;
  padding:40px;
  min-height:100vh;
}

.page-header{
  margin-bottom:42px;
}

.page-header h1{
  font-family:"Syne",sans-serif;
  font-size:3rem;
  font-weight:800;
  letter-spacing:-1px;
  margin-bottom:14px;
  background:var(--gradient);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.page-header p{
  max-width:780px;
  line-height:1.7;
  color:var(--muted);
  font-size:1.04rem;
}

/* =========================
   GRID
========================= */

.search-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(340px,1fr));
  gap:28px;
}

/* =========================
   CARD
========================= */

.search-card{
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), transparent),
    var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:24px;
  transition:.4s ease;
  box-shadow:var(--shadow);
}

.search-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(135deg,
      rgba(123,97,255,.14),
      rgba(235,104,53,.08));
  opacity:0;
  transition:.4s ease;
  pointer-events:none;
}

.search-card:hover{
  transform:translateY(-6px);
  border-color:rgba(123,97,255,.35);
}

.search-card:hover::before{
  opacity:1;
}

.search-info{
  margin-bottom:22px;
}

.search-info h2{
  font-size:1.25rem;
  margin-bottom:10px;
  font-family:"Syne",sans-serif;
}

.search-info p{
  color:var(--muted);
  line-height:1.6;
  font-size:.96rem;
}

/* =========================
   PREVIEW AREA
========================= */

.component-preview{
  min-height:170px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:20px;
  background:
    linear-gradient(135deg,
      rgba(255,255,255,.02),
      rgba(255,255,255,.01));
  border:1px solid rgba(255,255,255,.05);
  padding:24px;
  overflow:hidden;
}

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

.card-actions{
  margin-top:22px;
}

.copy-btn{
  border:none;
  outline:none;
  cursor:pointer;

  display:flex;
  align-items:center;
  gap:10px;

  background:var(--gradient);
  color:white;

  padding:14px 18px;
  border-radius:14px;

  font-weight:700;
  transition:.3s ease;
}

.copy-btn:hover{
  transform:translateY(-2px) scale(1.02);
}

.copy-btn.copied{
  background:linear-gradient(135deg,#00c853,#00e676);
}

/* =========================
   COMMON INPUTS
========================= */

input{
  font-family:inherit;
}

input::placeholder{
  color:#9ba7c9;
}

button{
  font-family:inherit;
}

/* =========================
   1. EXPANDING SEARCH
========================= */

.expanding-search{
  position:relative;
  width:70px;
  transition:.4s ease;
}

.expanding-search input{
  width:100%;
  height:60px;
  border:none;
  outline:none;
  border-radius:60px;
  padding:0 60px 0 24px;
  background:#121d31;
  color:white;
  transition:.4s ease;
}

.expanding-search button{
  position:absolute;
  right:6px;
  top:6px;
  width:48px;
  height:48px;
  border:none;
  border-radius:50%;
  background:var(--gradient);
  color:white;
  cursor:pointer;
}

.expanding-search:focus-within{
  width:100%;
}

/* =========================
   2. GLASS SEARCH
========================= */

.glass-search-wrapper{
  position:relative;
  width:100%;
}

.glass-search{
  width:100%;
  height:62px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.15);
  background:rgba(255,255,255,.08);
  backdrop-filter:blur(14px);
  outline:none;
  padding:0 58px 0 20px;
  color:white;
}

.glass-icon{
  position:absolute;
  right:20px;
  top:50%;
  transform:translateY(-50%);
  color:white;
}

/* =========================
   3. COMMAND SEARCH
========================= */

.command-search{
  width:100%;
  display:flex;
  align-items:center;
  gap:14px;
  background:#0f1729;
  border:1px solid rgba(255,255,255,.08);
  padding:0 18px;
  border-radius:18px;
  height:62px;
}

.command-search input{
  flex:1;
  background:none;
  border:none;
  outline:none;
  color:white;
}

.command-search kbd{
  padding:7px 12px;
  border-radius:10px;
  background:#1a2740;
  color:#d6dcf7;
  font-size:.82rem;
}

/* =========================
   4. ANIMATED SEARCH
========================= */

.animated-search{
  width:100%;
  position:relative;
}

.animated-search input{
  width:100%;
  height:62px;
  border:none;
  outline:none;
  border-radius:18px;
  background:#121d31;
  color:white;
  padding:0 60px 0 20px;
  transition:.3s ease;
}

.animated-icon{
  position:absolute;
  right:20px;
  top:50%;
  transform:translateY(-50%);
  transition:.4s ease;
}

.animated-search:focus-within .animated-icon{
  color:var(--secondary);
  transform:translateY(-50%) rotate(10deg) scale(1.2);
}

/* =========================
   5. MINIMAL SEARCH
========================= */

.minimal-search{
  width:100%;
  display:flex;
  overflow:hidden;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.08);
}

.minimal-search input{
  flex:1;
  height:60px;
  border:none;
  outline:none;
  background:#121d31;
  color:white;
  padding:0 18px;
}

.minimal-search button{
  border:none;
  background:var(--gradient);
  color:white;
  padding:0 22px;
  font-weight:700;
  cursor:pointer;
}

/* =========================
   6. FLOATING SEARCH
========================= */

.floating-search{
  width:100%;
  position:relative;
}

.floating-search input{
  width:100%;
  height:64px;
  border:none;
  outline:none;
  border-radius:18px;
  background:#121d31;
  color:white;
  padding:24px 60px 10px 18px;
}

.floating-search label{
  position:absolute;
  left:18px;
  top:50%;
  transform:translateY(-50%);
  color:#94a3c5;
  transition:.3s ease;
  pointer-events:none;
}

.floating-search input:focus + label,
.floating-search input:not(:placeholder-shown) + label{
  top:18px;
  font-size:.74rem;
}

.floating-search button{
  position:absolute;
  right:8px;
  top:8px;
  width:48px;
  height:48px;
  border:none;
  border-radius:14px;
  background:var(--gradient);
  color:white;
}

/* =========================
   7. VOICE SEARCH
========================= */

.voice-search{
  width:100%;
  display:flex;
  align-items:center;
  gap:12px;
  background:#121d31;
  padding:0 12px 0 18px;
  border-radius:18px;
  height:64px;
}

.voice-search input{
  flex:1;
  background:none;
  border:none;
  outline:none;
  color:white;
}

.mic-btn{
  width:44px;
  height:44px;
  border:none;
  border-radius:50%;
  background:var(--gradient);
  color:white;
  cursor:pointer;
  animation:pulseMic 2s infinite;
}

@keyframes pulseMic{
  0%,100%{
    box-shadow:0 0 0 0 rgba(123,97,255,.45);
  }
  50%{
    box-shadow:0 0 0 12px rgba(123,97,255,0);
  }
}

/* =========================
   8. SUGGESTION SEARCH
========================= */

.suggestions-search{
  width:100%;
  position:relative;
}

.input-wrap{
  position:relative;
}

.input-wrap input{
  width:100%;
  height:62px;
  border:none;
  outline:none;
  border-radius:18px;
  background:#121d31;
  color:white;
  padding:0 55px 0 18px;
}

.input-wrap i{
  position:absolute;
  right:20px;
  top:50%;
  transform:translateY(-50%);
}

.dropdown-list{
  margin-top:12px;
  list-style:none;
  background:#121d31;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.06);
}

.dropdown-list li{
  padding:14px 18px;
  display:flex;
  align-items:center;
  gap:12px;
  transition:.3s ease;
  color:#d8def3;
}

.dropdown-list li:hover{
  background:rgba(255,255,255,.04);
}

/* =========================
   9. FULLSCREEN SEARCH
========================= */

.trigger-btn{
  background:var(--gradient);
  padding:15px 22px;
  border-radius:16px;
  cursor:pointer;
  font-weight:700;
}

.overlay-search{
  position:fixed;
  inset:0;
  background:rgba(5,8,16,.92);
  backdrop-filter:blur(12px);
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  pointer-events:none;
  transition:.4s ease;
  z-index:9999;
}

.overlay-checkbox:checked ~ .overlay-search{
  opacity:1;
  pointer-events:auto;
}

.search-box{
  width:min(700px,90%);
}

.search-box input{
  width:100%;
  height:80px;
  border:none;
  outline:none;
  border-radius:24px;
  background:#121d31;
  color:white;
  padding:0 28px;
  font-size:1.1rem;
}

.close-btn{
  position:absolute;
  top:30px;
  right:40px;
  font-size:2rem;
  cursor:pointer;
}

.hint{
  display:block;
  margin-top:16px;
  color:var(--muted);
}

/* =========================
   EXTRA COMPONENTS
========================= */

.neumorphic-search,
.cyberpunk-search,
.category-search,
.glow-ring-search,
.terminal-search,
.liquid-search-box,
.laser-search-input-wrap,
.tag-search-container,
.arcade-search-box,
.minimal-animated-search{
  width:100%;
}

/* =========================
   GENERIC PREMIUM INPUT
========================= */

.neumorphic-search,
.cyberpunk-search,
.category-search,
.glow-ring-search,
.liquid-search-box,
.laser-search-input-wrap,
.tag-search-container,
.arcade-search-box,
.minimal-animated-search{
  display:flex;
  align-items:center;
  gap:12px;
  padding:0 18px;
  min-height:64px;
  border-radius:18px;
  background:#121d31;
  border:1px solid rgba(255,255,255,.06);
}

.neumorphic-search input,
.cyberpunk-search input,
.category-search input,
.glow-ring-search input,
.liquid-search-box input,
.laser-search-input-wrap input,
.tag-search-container input,
.arcade-search-box input,
.minimal-animated-search input{
  flex:1;
  background:none;
  border:none;
  outline:none;
  color:white;
}

/* =========================
   TAGS
========================= */

.tag-search-container{
  flex-wrap:wrap;
  padding:12px;
}

.tag-pills{
  display:flex;
  gap:10px;
}

.tag-pill{
  background:rgba(123,97,255,.2);
  color:white;
  padding:8px 14px;
  border-radius:999px;
  display:flex;
  align-items:center;
  gap:10px;
  font-size:.85rem;
}

/* =========================
   TERMINAL
========================= */

.terminal-search{
  background:#05070d;
  border:1px solid #1aff95;
  font-family:monospace;
  padding:18px;
  border-radius:16px;
}

.terminal-prompt{
  color:#1aff95;
}

.terminal-search input{
  background:none;
  border:none;
  outline:none;
  color:#1aff95;
  flex:1;
}

.terminal-cursor{
  width:10px;
  height:20px;
  background:#1aff95;
  animation:blink 1s infinite;
}

@keyframes blink{
  50%{
    opacity:0;
  }
}

/* =========================
   ARCADE
========================= */

.arcade-search-box{
  position:relative;
  overflow:hidden;
  background:#08110d;
  border:2px solid #00ff95;
}

.arcade-search-box input{
  color:#00ff95;
  font-family:monospace;
}

.arcade-prefix,
.arcade-icon{
  color:#00ff95;
}

.arcade-scanlines{
  position:absolute;
  inset:0;
  background:
    repeating-linear-gradient(
      to bottom,
      rgba(255,255,255,.03),
      rgba(255,255,255,.03) 2px,
      transparent 2px,
      transparent 4px
    );
  pointer-events:none;
}

/* =========================
   FOOTER
========================= */

.footer{
  margin-left:290px;
  padding:60px 40px 30px;
  border-top:1px solid rgba(255,255,255,.06);
}

.footer-container{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:40px;
}

.footer-col h3{
  margin-bottom:18px;
  font-family:"Syne",sans-serif;
}

.footer-col ul{
  list-style:none;
}

.footer-col li{
  margin-bottom:12px;
}

.footer-col a{
  color:var(--muted);
  text-decoration:none;
  transition:.3s ease;
}

.footer-col a:hover{
  color:white;
}

.socials{
  display:flex;
  gap:16px;
}

.socials a{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#121d31;
  color:white;
  text-decoration:none;
  transition:.3s ease;
}

.socials a:hover{
  transform:translateY(-4px);
  background:var(--gradient);
}

.newsletter-form{
  display:flex;
  gap:10px;
  margin-top:14px;
}

.newsletter-form input{
  flex:1;
  height:52px;
  border:none;
  outline:none;
  border-radius:14px;
  background:#121d31;
  color:white;
  padding:0 16px;
}

.newsletter-form button{
  border:none;
  padding:0 18px;
  border-radius:14px;
  background:var(--gradient);
  color:white;
  cursor:pointer;
  font-weight:700;
}

.footer-bottom{
  margin-top:50px;
  padding-top:24px;
  border-top:1px solid rgba(255,255,255,.06);
  text-align:center;
  color:var(--muted);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width:1100px){

  .main-home,
  .footer{
    margin-left:0;
  }

}

@media (max-width:768px){

  .main-home{
    padding:24px;
  }

  .footer{
    padding:40px 24px;
  }

  .page-header h1{
    font-size:2.3rem;
  }

  .search-grid{
    grid-template-columns:1fr;
  }

}

@media (max-width:480px){

  .component-preview{
    padding:18px;
  }

  .search-card{
    padding:18px;
  }

  .page-header h1{
    font-size:2rem;
  }

}