:root {
  --bg: #050816;
  --card-bg: #0f172a;
  --accent: #38bdf8;
  --accent-soft: #0ea5e9;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --danger: #f97316;
  --border: #1f2937;
  --radius: 10px;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.8);
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background: radial-gradient(circle at top, #0f172a 0, #020617 45%, #000 100%);
  color: var(--text);
}

header {
  text-align: center;
  padding: 1.5rem 1rem 1rem;
}

header h1 {
  font-size: 2.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

header p {
  color: var(--muted);
  max-width: 480px;
  margin: 0.5rem auto 0;
}

.ad-slot {
  max-width: 960px;
  margin: 0 auto 1.5rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  color: var(--muted);
  text-align: center;
  font-size: 0.9rem;
}



.ad-slot iframe {
  width: 100%;
  max-width: 500px;
}













main {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1rem 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.tool {
  background: linear-gradient(145deg, #020617, #0f172a);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.tool::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 60%);
  opacity: 0.7;
  pointer-events: none;
}

.tool h2 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-soft);
}






label {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
}

input,
select,
button {
  font-family: inherit;
}

input[type="number"],
input[type="text"],
select {
  width: 100%;
  padding: 0.45rem 0.6rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #020617;
  color: var(--text);
  font-size: 0.9rem;
}

input[type="number"]:focus,
input[type="text"]:focus,
select:focus {
  outline: 1px solid var(--accent-soft);
  border-color: var(--accent-soft);
}

.checkbox-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.5rem 0 0.75rem;
}

.checkbox-row label {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  background: rgba(15, 23, 42, 0.8);
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  border: 1px solid var(--border);
  font-size: 0.8rem;
}

button {
  margin-top: 0.4rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent));
  color: #0b1120;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(56, 189, 248, 0.35);
  transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.08s ease;
}

button:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 14px 32px rgba(56, 189, 248, 0.45);
}

button:active {
  transform: translateY(1px);
  box-shadow: 0 6px 16px rgba(56, 189, 248, 0.35);
}

.output-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
  flex-wrap: wrap;
}

.output-row input[type="text"] {
  flex: 1;
}

.output-row button {
  margin-top: 0;
}

small {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--muted);
}

#pw-message.error {
  color: var(--danger);
}

footer {
  text-align: center;
  padding: 1.5rem 1rem 2rem;
  color: var(--muted);
  font-size: 0.85rem;
  border:none;
}





.logo {
  max-width: 80%;
  height: auto;
}

@media (max-width: 600px) {
  .logo {
    max-width: 60%;
  }
}













#image-compressor input,
#image-compressor button {
  margin: 8px 0;
  display: block;
}





#timezone-tool input,
#timezone-tool select,
#timezone-tool button {
  margin: 8px 0;
  display: block;
}




.fade-in {
  opacity: 0;
  animation: fadeIn 2.5s ease-in forwards;  animation-delay: 0.5s;

}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}




#matrix {
  display: none;
}




#

.landing-content {
  position: relative;
  z-index: 10; /* forces your logo ABOVE the canvas */
}



.logo {
  position: relative;
  z-index: 20;
}





#boot-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.85);
  color: #38bdf8; /* Toolwiki blue */
  font-family: monospace;
  padding: 40px;
  z-index: 100;
  overflow: hidden;
}

#boot-text {
  white-space: pre-line;
  font-size: 1rem;
  line-height: 1.4rem;
  opacity: 0;
  animation: bootFadeIn 0.8s forwards;
}

@keyframes bootFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.landing-content {
  opacity: 0;
  transition: opacity 1s ease;
  position: relative;
  z-index: 10;
}





#mt-results {
  display: grid;
  gap: 15px;
  margin-top: 15px;
}

.ticker-card {
  padding: 12px;
  border-radius: 10px;
  background: #f3f3f3;
}




#pdf-manager input,
#pdf-manager button {
  margin: 8px 0;
  display: block;
}

#pdf-output {
  width: 100%;
  height: 200px;
  margin-top: 10px;
  padding: 10px;
  border-radius: 10px;
}




#bg-remover input,
#bg-remover button {
  margin: 8px 0;
  display: block;
}



/* Toolwiki Pro Base */
body {
  background: #0d0f12;
  color: #fff;
  font-family: 'Inter', sans-serif;
}

/* Glass Panels */
.glass {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  box-shadow: 0 0 20px rgba(0,234,255,0.15);
}

/* Neon Text */
.neon {
  color: #00eaff;
  text-shadow: 0 0 8px rgba(0,234,255,0.6);
}

/* Tool Cards */
.tool-card {
  padding: 20px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  transition: all 0.25s ease;
  cursor: pointer;
}

.tool-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0 18px rgba(0,234,255,0.4);
  border-color: #00eaff;
}

/* Slide-In Tool Panel */
.tool-panel {
  position: fixed;
  right: 0;
  top: 0;
  width: 420px;
  height: 100%;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(18px);
  border-left: 2px solid #00eaff;
  box-shadow: -4px 0 20px rgba(0,234,255,0.25);
  padding: 30px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}

.tool-panel.open {
  transform: translateX(0);
}

/* Inputs */
input, select, textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  padding: 10px;
  border-radius: 8px;
  width: 100%;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #00eaff;
  box-shadow: 0 0 10px rgba(0,234,255,0.4);
}

/* Buttons */
button {
  background: #00eaff;
  color: #000;
  padding: 12px 18px;
  border-radius: 8px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.25s ease;
}

button:hover {
  background: #00bcd4;
  box-shadow: 0 0 12px rgba(0,234,255,0.6);
}




















body {
  margin: 0;
  font-family: system-ui, sans-serif;
  background: #000;
  color: #fff;
  overflow: hidden;
}

/* Background video */
#backgroundVideo {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
}

/* Logo */
.logo {
  display: block;
  margin: 40px auto 20px;
  max-width: 260px;
  z-index: 10;
}

/* Enter button container */
.enter-container {
  position: fixed;
  left: 50%;
  bottom: 40px;      /* adjust how far from bottom */
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  z-index: 20;
}


/* Enter button */
.enter-button {
  width: 80px;          /* make width equal to height */
  height: 80px;
  border-radius: 50%;   /* perfect circle */
  background: #00eaff;
  color: #000;
  font-size: 1.1rem;
  font-weight: bold;
  display: flex;         /* centers the text */
  justify-content: center;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  z-index: 20;
  /* 🔥 Neon Glow */
  box-shadow: 0 0 18px rgba(0, 234, 255, 0.7),
              0 0 32px rgba(0, 234, 255, 0.5),
              0 0 48px rgba(0, 234, 255, 0.3);
}


.enter-button:hover {
  box-shadow: 0 0 25px rgba(0, 234, 255, 0.9),
              0 0 45px rgba(0, 234, 255, 0.7),
              0 0 65px rgba(0, 234, 255, 0.5);
  transform: scale(1.05);
}






/* Soft blur behind Enter button */
.blur-wrap {
  position: relative;
}

.blur-wrap::before {
  content: "";
  position: absolute;
  inset:0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.25);
  z-index: 5;
}

/* Transition overlay */
#transitionVideo {
  position: fixed;
  inset: 0;
  background: black;
  display: none;
  z-index: 9999;
}

/* Foreground transition video */
#transitionVideo video {
  position: absolute;
  inset: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  animation: fadeIn 2s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}



/* Blur behind Enter button */
.blur-wrap {
  position: relative;
}






#tagline {
  background: rgba(255, 255, 255, 0.85); /* soft white */
  color: #000; /* black text for contrast */
  padding: 8px 14px;
  border-radius: 8px;
  display: inline-block;
  backdrop-filter: blur(4px); /* optional soft blur */
}




.enter-btn a {
  text-decoration: none !important;
}
