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

body {
  background: #0d0d0d;
  color: #c8c8c8;
  font-family: 'Courier New', Courier, monospace;
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

/* Tumbleweed */
.tumbleweed {
  font-size: 60px;
  animation: roll 8s linear infinite;
  position: relative;
}

@keyframes roll {
  0%   { left: -80px; transform: rotate(0deg); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { left: calc(100vw + 80px); transform: rotate(720deg); opacity: 0; }
}

/* Glitch heading */
h1.glitch {
  font-size: 3rem;
  color: #fff;
  margin: 40px 0 10px;
  position: relative;
  animation: flicker 4s infinite;
}

h1.glitch::before,
h1.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  right: 0;
  overflow: hidden;
}

h1.glitch::before {
  color: #ff004c;
  animation: glitch-1 3s infinite linear alternate-reverse;
  clip-path: inset(0 0 60% 0);
}

h1.glitch::after {
  color: #00e5ff;
  animation: glitch-2 2s infinite linear alternate-reverse;
  clip-path: inset(60% 0 0 0);
}

@keyframes glitch-1 {
  0%   { transform: translate(0); }
  20%  { transform: translate(-3px, 2px); }
  40%  { transform: translate(3px, -1px); }
  60%  { transform: translate(-2px, 1px); }
  80%  { transform: translate(2px, -2px); }
  100% { transform: translate(0); }
}

@keyframes glitch-2 {
  0%   { transform: translate(0); }
  25%  { transform: translate(2px, 1px); }
  50%  { transform: translate(-3px, -1px); }
  75%  { transform: translate(1px, 2px); }
  100% { transform: translate(0); }
}

@keyframes flicker {
  0%, 95%, 100% { opacity: 1; }
  96% { opacity: 0.4; }
  97% { opacity: 1; }
  98% { opacity: 0.6; }
}

.subtitle {
  font-size: 1.1rem;
  color: #888;
  margin-bottom: 40px;
  font-style: italic;
}

/* Info boxes */
.box {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 20px;
  margin: 16px 0;
  text-align: left;
  line-height: 1.6;
  transition: border-color 0.3s;
}

.box:hover {
  border-color: #555;
}

.label {
  color: #ff6b6b;
  font-weight: bold;
}

/* Facts list */
.facts {
  margin: 40px 0;
  text-align: left;
}

.facts h2 {
  font-size: 1rem;
  color: #aaa;
  margin-bottom: 14px;
}

.facts ul {
  list-style: none;
  padding: 0;
}

.facts li {
  padding: 8px 0;
  border-bottom: 1px dashed #222;
  color: #777;
}

.facts li::before {
  content: "▸ ";
  color: #444;
}

/* Counter */
.counter {
  margin: 30px 0;
  font-size: 0.95rem;
  color: #666;
}

#count {
  color: #ff6b6b;
  font-weight: bold;
}

/* Buttons */
.exit-options {
  margin: 40px 0;
}

.exit-options p {
  color: #555;
  margin-bottom: 16px;
}

button {
  background: #1a1a1a;
  color: #c8c8c8;
  border: 1px solid #333;
  padding: 10px 20px;
  margin: 6px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

button:hover {
  background: #2a2a2a;
  border-color: #666;
  color: #fff;
}

.lie-btn:hover {
  animation: shake 0.3s infinite;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25%      { transform: translateX(-4px) rotate(-1deg); }
  75%      { transform: translateX(4px) rotate(1deg); }
}

/* Footer */
footer {
  margin-top: 60px;
  color: #444;
  font-size: 0.8rem;
  line-height: 1.8;
}

.tiny {
  font-size: 0.65rem;
  color: #333;
  margin-top: 10px;
}

/* Party mode */
body.party {
  animation: rainbow 0.5s linear infinite;
}

body.party .container {
  animation: spin 3s linear infinite;
}

@keyframes rainbow {
  0%   { background: #ff0000; }
  16%  { background: #ff8800; }
  33%  { background: #ffff00; }
  50%  { background: #00ff00; }
  66%  { background: #0088ff; }
  83%  { background: #8800ff; }
  100% { background: #ff0000; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
