:root {
  --title: "Toast Notification Showcase";
  --author: "Matt Cannon";
  --contact: "mc@mattcannon.design";
  --description: "A stylish interactive showcase where you can mix and match themes and animations to preview toast notifications in real time.";
  --keywords: "toast, notification, snackbar, animation, css effects, frosted glass, UI showcase, frontend demo, javascript, css, codepen";
  --last-modified: "2025-05-13";
  --content-language: "en";
  --generator: "HTML5, CSS3, JavaScript, Font Awesome, Google Fonts";
}


body {
  font-family: "Rubik", sans-serif;
  background: #222325;
  color: white;
  margin: 0;
  /*padding: 3rem 2rem;*/
}

.playground {
  max-width: 880px;
  margin: auto;
}

.header-image {
  width: 100%;
  max-width: 640px;
  margin: 0 auto 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-image img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  display: block;
}

.section {
  margin-bottom: 2.8rem;
}

h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid #333;
  padding-bottom: 0.5rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}

.modern-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  background: #2a2b2c;
  border: 1.5px solid #444;
  border-radius: 10px;
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: "Rubik", sans-serif;
}

.modern-btn i {
  font-size: 1.1rem;
}

.modern-btn:hover {
  background: #333;
  border-color: #666;
}

.modern-btn.active {
  border-color: #0ff;
  box-shadow: 0 0 8px #0ff;
  background: #2a2b2c;
}

.btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 4rem;
}

.launch-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid white;
  background: transparent;
  color: white;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.2s ease;
  font-family: "Rubik", sans-serif;
}

.launch-btn:hover {
  background: white;
  color: #222325;
}

#toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.toast {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.4rem;
  border-radius: 10px;
  font-size: 0.95rem;
  line-height: 1.4;
  max-width: 320px;
  background: #333;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
  opacity: 1;
  animation-fill-mode: both;
  backdrop-filter: blur(4px);
  font-family: "Rubik", sans-serif;
  overflow: hidden;
}

.toast i {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.toast-glow {
  position: absolute;
  inset: -20px;
  border-radius: 20px;
  background: radial-gradient(circle, rgba(0, 255, 255, 0.2), transparent 70%);
  pointer-events: none;
  filter: blur(16px);
  z-index: -1;
}

.arcade {
  background: #0ff;
  color: #000;
  font-family: "Press Start 2P", monospace;
}

.professional {
  background: #2e2e2e;
  color: #eee;
}

.brutalist {
  background: #fff;
  color: #000;
  font-family: monospace;
  border: 2px solid #000;
}

.glass {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.neon {
  background: #111;
  color: #0f0;
  border: 1.5px solid #0f0;
  text-shadow: 0 0 4px #0f0;
  box-shadow: 0 0 6px rgba(0, 255, 0, 0.15), 0 0 12px rgba(0, 255, 0, 0.1);
}

@keyframes slide {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes bounce {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  40% {
    transform: translateY(-20%);
    opacity: 1;
  }
  60% {
    transform: translateY(10%);
  }
  80% {
    transform: translateY(-4%);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes zoom {
  0% {
    transform: scale(0.4);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes zoom-glass {
  0% {
    transform: scale(0.4);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes flip {
  0% {
    transform: rotateX(90deg);
    opacity: 0;
  }
  100% {
    transform: rotateX(0deg);
    opacity: 1;
  }
}