:root {
  --green: #00ff00;
  --green-accent: #00ffaa;
  --green-dark: #008f40;
  --yellow: #35ffa7;
  --yellow-accent: #32ff9c;
  --primary: #2e7dff;
  --bg-dark: #0a1016;
  --bg-section: #191d22;
  --bg-card: #222831;
  --bg-input: #181c24;
  --font-mono: 'Fira Mono', monospace;
  --font-sans: 'Roboto', Arial, sans-serif;
  --shadow: 0 0 18px #00ffaa33;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg-dark);
  color: var(--green);
  font-family: var(--font-mono), monospace;
  margin: 0;
  min-height: 100vh;
  padding-bottom: 160px;
  transition: background 0.3s, color 0.3s;
}

h1 {
  text-align: center;
  font-size: 2.5em;
  color: var(--green-accent);
  margin-top: 35px;
  font-family: var(--font-sans);
  letter-spacing: 2px;
  text-shadow: 0 2px 18px #00ffaa55;
  font-weight: bold;
  margin-bottom: 0.7em;
}

nav {
  background: var(--bg-section);
  padding: 12px 0 10px 0;
  display: flex;
  gap: 32px;
  justify-content: center;
  position: sticky;
  top: 0;
  z-index: 10;
  font-family: var(--font-sans);
  box-shadow: 0 2px 12px #00ff8840;
  border-bottom: 1.5px solid var(--green-accent);
  transition: background 0.3s, color 0.3s;
}

nav a {
  color: var(--green);
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  font-size: 1.13em;
  transition: color 0.2s, background 0.18s;
  position: relative;
  padding: 7px 15px;
  border-radius: 6px;
}
nav a.active, nav a:focus, nav a:hover {
  color: #111;
  background: var(--green-accent);
  box-shadow: 0 2px 8px #fff70080;
}
.section {
  margin: 36px auto 0 auto;
  padding: 28px 28px 22px 28px;
  border: 1.5px solid var(--green-accent);
  border-radius: 18px;
  background: var(--bg-section);
  box-shadow: var(--shadow);
  max-width: 850px;
  width: 92vw;
  transition: background 0.25s, color 0.25s;
}
.input-row { display: flex; align-items: center; gap: 7px; margin-bottom: 8px;}
#clearDomainBtn { background: none; border: none; color: var(--yellow); font-size: 1.3em; cursor: pointer;}
#clearDomainBtn:focus { outline: 2px solid var(--yellow-accent);}
.input-message { color: #ff4f4f; font-size: 0.98em; margin-left: 12px; }
label {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--green-accent);
  font-size: 1.13em;
  letter-spacing: 1px;
}
input[type="text"] {
  width: 70%;
  padding: 15px;
  margin: 0;
  background: var(--bg-input);
  border: 1.8px solid var(--green-accent);
  color: var(--green);
  border-radius: 8px;
  font-size: 1.13rem;
  font-family: var(--font-mono);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.3s, color 0.3s;
  box-shadow: 0 0 0 0 #00ff8844;
}
input[type="text"]:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 10px 2px #fff70066;
}
.counter {
  color: var(--yellow);
  font-weight: bold;
  margin-left: 8px;
  font-size: 1.1em;
  letter-spacing: 1px;
}
.dork-search {
  width: 64%;
  margin: 10px auto 18px auto;
  display: block;
  font-size: 1.09em;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--yellow);
  background: var(--bg-input);
  color: var(--yellow);
  font-family: var(--font-mono);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.3s, color 0.3s;
}
.dork-search:focus {
  border-color: var(--green-accent);
  box-shadow: 0 0 8px 1px #00ffaa70;
}
.copied-msg {
  position: fixed;
  top: 19px;
  right: 28px;
  background: var(--yellow);
  color: #10131a;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 1.18em;
  padding: 11px 22px;
  z-index: 9999;
  box-shadow: 0 2px 16px #00ffaa77;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.21s;
  font-weight: bold;
}
.copied-msg.active { opacity: 1; animation: pop 0.37s;}
@keyframes pop {0%{transform:scale(1);}60%{transform:scale(1.20);}100%{transform:scale(1);} }
.cmd-copy-container { position: relative; min-height: 42px;}
.cmd-copy-btn {
  position: absolute; right: 32px; top: 18px;
  background: var(--green-accent);
  color: #000;
  border: none;
  border-radius: 7px;
  padding: 7px 14px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 1.07em;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: background 0.2s;
  z-index: 2;
  box-shadow: 0 1px 6px #00ffaa21;
}
.cmd-copy-btn:hover, .btn:hover, .btn:focus {
  background-color: var(--yellow-accent);
  color: #181a1e;
  outline: none;
  box-shadow: 0 2px 13px #fff70044;
}
.btn {
  background-color: var(--yellow);
  color: #23273d;
  border: none;
  padding: 8px 14px 8px 12px;
  cursor: pointer;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1em;
  font-family: var(--font-sans);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none;
  transition: background 0.19s, color 0.19s, box-shadow 0.18s;
  box-shadow: 0 1px 7px #fff70020;
  min-width: 41px;
}
pre {
  background: var(--bg-card);
  color: var(--green-accent);
  padding: 18px 17px;
  border: 1px solid var(--green-accent);
  overflow-x: auto;
  border-radius: 10px;
  font-size: 1.09em;
  margin-bottom: 0;
  font-family: var(--font-mono);
  white-space: pre-line;
  box-shadow: 0 2px 10px #00ffaa22;
}
.dork-card {
  background: var(--bg-card);
  border: 1.6px solid var(--yellow);
  border-radius: 11px;
  padding: 13px 16px;
  margin-bottom: 13px;
  font-size: 1.1em;
  color: var(--yellow);
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 13px;
  box-shadow: 0 2px 10px #fff70028;
  transition: background 0.23s, border-color 0.19s;
}
.dork-card:hover {
  background: #181d22;
  border-color: var(--green-accent);
}
.dork-actions .btn { min-width: 39px;}
.dork-text {
  flex: 1;
  margin-right: 14px;
  font-size: 1.04rem;
  word-break: break-word;
  letter-spacing: 0.2px;
  user-select: all;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: color 0.18s;
}
.dork-text:hover { color: var(--green-accent);}
.theme-toggle {
  position: fixed; top: 18px; left: 18px; z-index: 99; width: 49px; height: 49px; background: var(--bg-section); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; border: 2px solid var(--yellow); color: var(--yellow); font-size: 1.45em; box-shadow: 0 2px 14px #fff70044; transition: background 0.3s, color 0.3s;
}
.theme-toggle:focus { outline: 2.5px solid var(--green-accent);}
.video-list {display:flex;flex-wrap:wrap;gap:18px;justify-content:center;}
.video-list iframe {border-radius:12px;border:2.5px solid #00ffaa;max-width:100%;height:220px;}
.video-caption{color:#fff700;text-align:center;margin-top:8px;font-family:'Roboto',Arial,sans-serif;font-size:1.05em;}
@media(max-width:700px){
  .section { padding: 15px 3vw; font-size: 0.98em; }
  h1 { font-size: 1.3em; }
  input[type="text"], .dork-search { font-size: 0.97em; width: 99%; }
  .dork-card { font-size: 0.97em; }
  .cmd-copy-btn { right: 8px; top: 8px; font-size: 0.97em;}
  .video-list iframe {width:95vw;max-width:95vw;height:170px;}
}
#scrollTopBtn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: var(--yellow);
  color: #191d22;
  border: none;
  padding: 12px;
  border-radius: 50%;
  font-size: 1.6em;
  box-shadow: 0 2px 12px #fff70044;
  cursor: pointer;
  z-index: 999;
  display: none;
  transition: opacity 0.22s;
}
#scrollTopBtn.show { display: block; opacity: 1;}
footer {
  background: #171b20;
  border-top: 2px solid var(--green-accent);
  margin-top: 48px;
  padding: 32px 0 18px 0;
  color: var(--green-accent);
  font-family: var(--font-sans);
  font-size: 1.12em;
  box-shadow: 0 -1.5px 14px #00ffaa18;
}
.footer-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px 60px;
  justify-content: center;
  align-items: flex-start;
}
.footer-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 180px;
  margin-bottom: 10px;
}
.footer-profile-name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.14em;
  font-weight: bold;
  margin-bottom: 6px;
}
.footer-profile-avatar {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  border: 2px solid var(--yellow);
  background: #fff;
  box-shadow: 0 2px 10px #fff7003a;
}
.footer-profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 18px;
  justify-content: center;
  margin: 0;
  font-size: 1em;
}
.footer-profile-links a {
  color: var(--green-accent);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-profile-links a:hover {
  color: var(--yellow);
}
@media (max-width: 700px) {
  .footer-wrapper { flex-direction: column; gap: 22px; }
  .footer-profile { min-width: 0; }
}

/* LIGHT THEME OVERRIDES */
body.light {
  background: #f7f7fa;
  color: #23273d;
}

body.light nav,
body.light .section,
body.light pre,
body.light .video-list iframe,
body.light .dork-card,
body.light .theme-toggle {
  background: #f2f2f7 !important;
  color: #23273d !important;
  border-color: #44ffab;
  box-shadow: 0 2px 12px #ccc !important;
}

body.light .counter,
body.light .footer-profile-links a {
  color: #008f40;
}

body.light .input-message {
  color: #e34234;
}

body.light .footer-profile-avatar {
  border-color: #44ffab;
}

body.light .btn,
body.light .cmd-copy-btn {
  background: #44ffab;
  color: #23273d;
}

body.light .cmd-copy-btn:hover,
body.light .btn:hover {
  background: #00ffaa;
  color: #23273d;
}

body.light .copied-msg {
  background: #44ffab;
  color: #191d22;
}

body.light .dork-search {
  background: #fff;
  color: #008f40;
  border-color: #44ffab;
}

body.light input[type="text"] {
  background: #fff;
  color: #23273d;
  border-color: #44ffab;
}

body.light input[type="text"]:focus {
  border-color: #00ffaa;
  box-shadow: 0 0 10px 2px #44ffab66;
}

body.light footer {
  background: #e9ecef;
  color: #008f40;
  border-top: 2px solid #44ffab;
}

body.light nav a {
  color: #00b56a;
}

body.light nav a.active,
body.light nav a:focus,
body.light nav a:hover {
  background: #44ffab;
  color: #191d22;
}

body.light .video-caption {
  color: #008f40;
}