/* Theme variables */
:root {
  --bg: #0a0a0f;
  --panel: #11121a;
  --muted: #9aa0a6;
  --accent: #00fff7;
  --accent-2: #00d1ff;
  --text: #f3f6f8;
  --glass: rgba(255, 255, 255, 0.03);
  --shadow: 0 8px 30px rgba(0, 255, 247, 0.06);
}

:root[data-theme="light"] {
  --bg: linear-gradient(180deg, #f7f8fa, #e8ebf0);
  --panel: rgba(255,255,255,0.9);
  --muted: #556170;
  --accent: #0056ff;
  --accent-2: #003ecb;
  --text: #051124;
  --glass: rgba(255,255,255,0.6);
  --shadow: 0 6px 22px rgba(19, 43, 76, 0.08);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, sans-serif;
}

/* Center area */
.center-box {
  text-align: center;
  width: 90%;
  max-width: 600px;
}

.big-logo { 
  font-size: 6rem; 
  font-weight: 800; 
  color: var(--accent); 
  text-shadow: 0 0 20px rgba(0, 255, 247, 0.3);
  cursor: pointer; 
  text-decoration: none;
  display: inline-block; 
}


/* Header controls */
.controls {
  position: absolute;
  top: 20px;
  right: 30px;
}
.controls button {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  color: var(--text);
}

/* Search Bar */
.search-wrap {
  display: flex;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  box-shadow: var(--shadow);
  border-radius: 12px;
  overflow: hidden;
}
.search-wrap input { 
  flex: 1; 
  padding: 12px 16px; 
  border: 2px solid var(--accent);
   border-right: none; 
  /* remove border between input & button */
  border-radius: 10px 0 0 10px; 
  /* rounded on left side only */
  background: var(--accent); 
  color: var(--text); 
  font-size: 1rem; 
  outline: none; 
  transition: border-color 0.3s, box-shadow 0.3s; 
}

.search-wrap input[type="search"] {
  flex: 1;
  padding: 14px 16px;
  border: none;
  background: rgba(0, 209, 255, 0.15);
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: background 0.3s, box-shadow 0.3s;
}

.search-wrap input[type="search"]:focus {
  background: rgba(0, 209, 255, 0.25);
  box-shadow: inset 0 0 6px rgba(0, 209, 255, 0.4);
}

.search-wrap button { 
  padding: 12px 20px; 
  border: none;
  border-left: none; /* connect visually to input */ 
  border-radius: 0 10px 10px 0; /* rounded on right side only */ 
  background: var(--accent); 
  color: #001; 
  font-weight: 700; 
  cursor: pointer; 
  transition: background 0.3s, box-shadow 0.3s; 
}
.search-wrap button:hover { 
  background: rgba(0, 209, 255, 0.3); 
  box-shadow: inset 0 0 6px rgba(0, 209, 255, 0.4); 
}

/* Hints */
.hint {
  margin-top: 1.5rem;
  color: var(--muted);
}
.hint .quick {
  background: transparent;
  border: none;
  color: var(--accent);
  cursor: pointer;
  margin: 0 6px;
}
.hint button { background: transparent; border: none; color: var(--accent); cursor: pointer; margin: 0 4px; }

@media (max-width: 768px) {
  .center-box {
    max-width: 90%;
  }
  .big-logo {
    font-size: 5rem;
  }
}
/* Mobile */
@media (max-width: 500px) {
  .big-logo { font-size: 4rem; }
  .search-wrap input { padding: 10px; }
  .search-wrap button { padding: 10px; }
}
