body {
  background: #000 url('public.png') center/cover no-repeat;
  background-attachment: fixed;
  color: #fff;
  font-family: 'IBM Plex Mono', monospace;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: -1;
}
.ascii-art {
  color: #fff;
  font-size: 1.2vw;
  text-align: center;
  line-height: 1;
  margin-top: 2vw;
  font-family: 'IBM Plex Mono', monospace;
  user-select: none;
  white-space: pre;
  background: none;
  border: none;
  padding: 0;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  pointer-events: none;
}
h1, h2 {
  text-align: center;
  font-weight: 700;
  margin: 1.5vw 0 0.5vw 0;
  animation: fadeInUp 1s ease-out;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.desc {
  text-align: center;
  color: #fff;
  margin-bottom: 2vw;
  font-size: 1.1em;
  animation: fadeInUp 1s ease-out 0.2s both;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}
.desc.warning {
  color: #ccc;
}
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 3vw;
  margin: 2vw 0;
  animation: fadeInUp 1s ease-out 0.4s both;
}
.stat {
  text-align: center;
  padding: 1vw;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid #fff;
  border-radius: 8px;
  transition: all 0.3s ease;
}
.stat:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}
.stat-number {
  display: block;
  font-size: 1.5em;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5vw;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
.stat-label {
  font-size: 0.9em;
  color: #ccc;
}
.search-bar {
  display: flex;
  justify-content: center;
  margin: 2vw 0;
  gap: 0;
  animation: fadeInUp 1s ease-out 0.6s both;
}
.search-bar input {
  width: 300px;
  padding: 0.7em;
  font-size: 1em;
  border: 2px solid #fff;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border-radius: 4px 0 0 4px;
  outline: none;
  transition: border-color 0.3s ease;
}
.search-bar input:focus {
  border-color: #ccc;
}
.search-bar button {
  background: #fff;
  color: #000;
  border: none;
  padding: 0.7em 1.2em;
  font-size: 1em;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}
.search-bar button:first-of-type {
  border-radius: 0;
}
.search-bar button:last-of-type {
  border-radius: 0 4px 4px 0;
}
.search-bar button:hover, .search-bar button:focus {
  background: #ccc;
  color: #000;
  transform: scale(1.05);
}
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 1vw;
  margin: 2vw 0;
  animation: fadeInUp 1s ease-out 0.8s both;
}
.filter-tab {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  padding: 0.5em 1em;
  font-size: 0.9em;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 400;
  transition: all 0.3s ease;
  font-family: 'IBM Plex Mono', monospace;
}
.filter-tab.active, .filter-tab:hover {
  background: #fff;
  color: #000;
  transform: scale(1.05);
}
.scenarios-scroll-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2vw 0;
  gap: 0.5vw;
  animation: fadeInUp 1s ease-out 1s both;
}
.scenarios {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 1vw;
  padding: 0.5vw 0;
  scrollbar-width: thin;
  scrollbar-color: #ffe600 #222;
  max-width: 90vw;
  scroll-behavior: smooth;
  white-space: nowrap;
}
.scenarios::-webkit-scrollbar {
  height: 8px;
}
.scenarios::-webkit-scrollbar-thumb {
  background: #ffe600;
  border-radius: 4px;
}
.scenarios::-webkit-scrollbar-track {
  background: #222;
}
.scroll-btn {
  background: #fff;
  color: #000;
  border: none;
  border-radius: 50%;
  width: 2.2em;
  height: 2.2em;
  font-size: 1.3em;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
.scroll-btn:hover, .scroll-btn:focus {
  background: #ccc;
  color: #000;
  transform: scale(1.1);
}
.scenario-btn {
  background: #fff;
  color: #000;
  border: none;
  padding: 0.5em 1.2em;
  font-size: 1em;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
  margin-bottom: 0.5vw;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  flex-shrink: 0;
}
.scenario-btn:hover, .scenario-btn:focus {
  background: #ccc;
  color: #000;
  transform: scale(1.05);
}
.scenario-btn.new {
  background: linear-gradient(45deg, #fff, #ddd);
  border: 1px solid #ccc;
}
.scenario-btn.popular {
  background: linear-gradient(45deg, #eee, #fff);
  border: 1px solid #bbb;
}
.scenario-btn.weird {
  background: linear-gradient(45deg, #f5f5f5, #e5e5e5);
  border: 1px solid #aaa;
}
.dreams-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2vw;
  margin: 2vw 0;
  animation: fadeInUp 1s ease-out 1.2s both;
}
.dreams-list a {
  color: #fff;
  text-decoration: underline;
  font-size: 1em;
  margin: 0.2vw 0;
  display: block;
  transition: all 0.3s ease;
}
.dreams-list a:hover, .dreams-list a:focus {
  color: #ccc;
  transform: translateX(5px);
}
.bonk-status {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2vw;
  margin: 3vw 0;
  padding: 1vw;
  border: 1px dashed #fff;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  animation: fadeInUp 1s ease-out 1.4s both;
}
.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.5vw;
  color: #fff;
  font-weight: 700;
}
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}
.last-update {
  color: #ccc;
  font-size: 0.9em;
}
@media (max-width: 600px) {
  .ascii-art { font-size: 5vw; }
  .search-bar { flex-direction: column; align-items: center; }
  .search-bar input { width: 70vw; border-radius: 4px; margin-bottom: 1vw; }
  .search-bar button { border-radius: 4px; }
  .scenarios-scroll-wrapper { gap: 1vw; }
  .scenarios { max-width: 98vw; }
  .scroll-btn { width: 2.5em; height: 2.5em; font-size: 1.5em; }
  .dreams-list { flex-direction: column; align-items: center; }
  .stats-bar { flex-direction: column; align-items: center; gap: 1vw; }
  .filter-tabs { flex-wrap: wrap; gap: 0.5vw; }
  .bonk-status { flex-direction: column; gap: 1vw; }
}
@media (prefers-reduced-motion: no-preference) {
  * {
    scroll-behavior: smooth;
  }
}
.scenario-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}
.scenario-btn:hover::before {
  left: 100%;
}
.scenario-btn[style*="display: none"] {
  display: none !important;
}
button:focus, input:focus, a:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
* {
  transition: all 0.3s ease;
} 