:root {
  --color-canvas-default: #0d1117;
  --color-canvas-subtle: #161b22;
  --color-border-default: #30363d;
  --color-fg-default: #c9d1d9;
  --color-fg-muted: #8b949e;
  --color-accent-fg: #58a6ff;
  --color-success-fg: #238636;
  --color-danger-fg: #f85149;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

body {
  background-color: var(--color-canvas-default);
  color: var(--color-fg-default);
  font-family: var(--font-stack);
  margin: 0;
  line-height: 1.5;
}

header {
  background-color: var(--color-canvas-subtle);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border-default);
}

.logo {
  font-weight: bold;
  font-size: 24px;
  color: var(--color-fg-default);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  height: 48px;
  width: auto;
  animation: dizzy 3s infinite linear;
}

@keyframes dizzy {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-10deg);
  }

  50% {
    transform: rotate(10deg);
  }

  75% {
    transform: rotate(-5deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

nav a {
  color: var(--color-fg-default);
  text-decoration: none;
  margin-left: 16px;
  font-weight: 600;
}

nav a:hover {
  color: var(--color-accent-fg);
  text-decoration: line-through;
  /* Stupid feature */
}

main {
  /* max-width: 1012px; Removed to allow full width hero */
  /* margin: 48px auto; */
  /* padding: 0 16px; */
  text-align: center;
}

.hero {
  min-height: calc(100vh - 67px);
  /* header is approx 65px + border */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background-image: linear-gradient(rgba(13, 17, 23, 0.7), rgba(13, 17, 23, 0.7)), url('/wacky-bg.png');
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--color-border-default);
}

h1 {
  font-size: 64px;
  margin-bottom: 16px;
}

.subtitle {
  font-size: 24px;
  color: var(--color-fg-muted);
  margin-bottom: 32px;
}

.cta-group {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.btn {
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(240, 246, 252, 0.1);
  transition: 0.2s;
}

.btn-primary {
  background-color: var(--color-success-fg);
  color: #fff;
}

.btn-secondary {
  background-color: var(--color-canvas-subtle);
  color: var(--color-accent-fg);
}

.btn:hover {
  filter: brightness(1.1);
}

/* Joke Elements */
.stats-container {
  display: flex;
  justify-content: center;
  margin-top: 64px;
  gap: 48px;
  /* Ensure stats ensure readability on bg */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.stat-item h3 {
  font-size: 32px;
  margin: 0;
}

.stat-item p {
  color: var(--color-fg-muted);
}

.run-away {
  position: relative;
  transition: all 0.1s;
}

#toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--color-danger-fg);
  color: white;
  padding: 12px 24px;
  border-radius: 6px;
  display: none;
}