:root {
  --bg-color: #0f172a;
  --text-color: #f8fafc;
  --text-muted: #94a3b8;
  --card-bg: rgba(30, 41, 59, 0.7);
  --card-border: rgba(148, 163, 184, 0.1);
  --primary: #3b82f6;
  --primary-hover: #2563eb;
  --accent: #f59e0b;
  /* Kunterbunt Orange */
  --accent-2: #ef4444;
  /* Kunterbunt Red */
  --font-main: 'Outfit', sans-serif;
  --max-width: 1200px;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.05) 0%, transparent 40%);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--card-border);
  padding: 1rem 2rem;
}

nav {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #fff 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Hero Section */
.hero {
  max-width: var(--max-width);
  margin: 2rem auto;
  /* Moderate margin for desktop */
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Mobile Landscape Adjustment */
@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    margin: 1rem auto;
    padding: 1rem;
    gap: 2rem;
  }

  .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  .section {
    margin: 1rem auto;
    padding: 1rem;
  }
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.fork-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 1.25rem;
  margin-top: 2.5rem;
  backdrop-filter: blur(5px);
  width: fit-content;
  text-align: left;
  /* Ensure left alignment inside card */
}

.fork-card-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-forks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  align-items: center;
}

@media (max-width: 450px) {
  .hero-forks {
    grid-template-columns: 1fr;
    /* Stack on very small screens if needed */
  }
}

@media (max-width: 1150px) and (min-width: 769px) {
  .hero-forks {
    max-width: 450px;
    /* Constrain width to force 2x2 grid if they wrap, instead of 3x1 */
  }
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 6px 20px 0 rgba(59, 130, 246, 0.6);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.5s ease;
}

.hero-image:hover img {
  transform: perspective(1000px) rotateY(0deg);
}

/* Cards Grid */
.section {
  max-width: var(--max-width);
  margin: 2rem auto;
  /* Reduced from 4rem */
  padding: 2rem;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

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

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(5px);
  transition: transform 0.3s, border-color 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.3);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.card-link {
  color: var(--primary);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.card-link:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  border-top: 1px solid var(--card-border);
  padding: 4rem 2rem;
  margin-top: 4rem;
  background: rgba(15, 23, 42, 0.5);
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    margin: 2rem auto;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-buttons {
    justify-content: center;
    flex-wrap: wrap;
  }

  .fork-card {
    margin: 2.5rem auto 0 auto;
    /* Center the card itself on mobile */
    width: 100%;
    /* Full width availability */
    max-width: 400px;
    /* But don't get too wide */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* Items left aligned inside */
  }

  .hero-forks {
    justify-content: flex-start;
    /* Start aligned badges */
    width: 100%;
  }

  .hero-image {
    max-width: 80%;
    margin: 0 auto;
  }

  .hero-image img {
    transform: none;
  }

  nav {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Audio Controls */
.audio-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-right: 1.5rem;
  border-right: 1px solid var(--card-border);
  padding-right: 1.5rem;
}

.btn-icon {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--text-color);
  padding: 0.25rem;
  line-height: 1;
  transition: color 0.3s ease;
}

.btn-icon:hover {
  color: var(--primary);
}

.waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 20px;
}

.bar {
  width: 3px;
  background-color: var(--primary);
  border-radius: 2px;
  animation: wave 1s ease-in-out infinite;
  animation-play-state: paused;
}

.bar:nth-child(1) {
  height: 10px;
  animation-delay: 0.1s;
}

.bar:nth-child(2) {
  height: 16px;
  animation-delay: 0.2s;
}

.bar:nth-child(3) {
  height: 12px;
  animation-delay: 0.3s;
}

.bar:nth-child(4) {
  height: 8px;
  animation-delay: 0.4s;
}

.waveform.playing .bar {
  animation-play-state: running;
}

@keyframes wave {

  0%,
  100% {
    transform: scaleY(1);
  }

  50% {
    transform: scaleY(1.5);
  }
}

@media (max-width: 768px) {
  .audio-controls {
    margin: 0;
    border-right: none;
    border-bottom: 1px solid var(--card-border);
    padding: 0 0 1rem 0;
    width: 100%;
    justify-content: center;
  }
}

/* Collapsible Audio Player */
.audio-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-right: 1.5rem;
  border-right: 1px solid var(--card-border);
  padding-right: 1.5rem;
}

.audio-wrapper .audio-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-right: 0;
  border-right: none;
  padding-right: 0;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width 0.4s ease, opacity 0.3s ease;
}

.audio-wrapper.expanded .audio-controls {
  max-width: 200px;
  /* Adjust based on content width */
  opacity: 1;
}

#toggle-player {
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .audio-wrapper {
    margin: 0;
    border-right: none;
    border-bottom: 1px solid var(--card-border);
    padding: 0 0 1rem 0;
    width: 100%;
    justify-content: center;
    flex-direction: column;
  }

  .audio-wrapper .audio-controls {
    max-height: 0;
    max-width: 100%;
    transition: max-height 0.4s ease, opacity 0.3s ease;
  }

  .audio-wrapper.expanded .audio-controls {
    max-height: 60px;
    opacity: 1;
  }
}

/* Relocated Audio Player */
.audio-wrapper {
  position: absolute;
  top: 100%;
  right: 2rem;
  margin-right: 0;
  border-right: none;
  padding: 0.75rem;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-top: none;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
  z-index: 90;
  flex-direction: row-reverse;
  /* Button on right, controls expand to left */
}

/* Highlighted Toggle Button */
#toggle-player {
  background: var(--primary);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1.2rem;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

#toggle-player:hover {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.7);
  background: var(--primary-hover);
}

/* Adjust controls for right-aligned expansion */
.audio-wrapper .audio-controls {
  margin-right: 0.5rem;
  padding-right: 0.5rem;
  border-right: 1px solid var(--card-border);
}

/* Mobile Adjustment */
@media (max-width: 768px) {
  .audio-wrapper {
    position: static;
    width: 100%;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--card-border);
    background: transparent;
    box-shadow: none;
    flex-direction: row;
    /* Back to normal for mobile */
    justify-content: center;
    padding: 0.5rem 0;
  }

  #toggle-player {
    box-shadow: none;
    width: auto;
    height: auto;
    border-radius: 8px;
    padding: 0.5rem;
    background: transparent;
    color: var(--text-color);
    border: none;
  }

  .audio-wrapper .audio-controls {
    border-right: none;
    margin-right: 0;
  }
}

/* Audio Player - Hanging below header */
header {
  position: sticky;
  /* Keep sticky */
  /* Ensure relative positioning context if needed, but sticky acts as relative for children usually */
}

.audio-wrapper {
  position: absolute;
  top: 100%;
  /* Push completely below header */
  right: 2rem;
  /* Align with right padding of header */
  margin-right: 0;

  /* Reset previous styles just in case */
  border-right: none;
  border-left: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  border-top: none;
  /* Connect to header */

  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 0 0 12px 12px;
  padding: 0.5rem 1rem;

  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 90;

  flex-direction: row-reverse;
  /* Button on right */
}

/* Ensure controls are hidden/shown correctly in this new context */
.audio-wrapper .audio-controls {
  margin-right: 0.5rem;
  padding-right: 0.5rem;
  border-right: 1px solid var(--card-border);

  /* Animation props */
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width 0.4s ease, opacity 0.3s ease;
}

.audio-wrapper.expanded .audio-controls {
  max-width: 200px;
  opacity: 1;
}

/* =========================================
   Redesigned Audio Widget (Floating)
   ========================================= */

.audio-widget {
  position: fixed;
  top: 100px;
  /* Below header approx */
  right: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
  font-family: var(--font-main);
}

/* The Trigger (Waveform Button) */
.audio-trigger {
  pointer-events: auto;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--card-border);
  border-right: none;
  border-radius: 12px 0 0 12px;
  padding: 10px 14px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  box-shadow: -4px 4px 10px rgba(0, 0, 0, 0.3);
  transition: background 0.3s, transform 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.audio-trigger:hover {
  background: rgba(30, 41, 59, 0.95);
}

/* Pulsing Animation for Muted State */
.audio-widget.pulsing .audio-trigger {
  animation: pulse-border 2s infinite;
  background: rgba(239, 68, 68, 0.2);
  /* Red tint */
  border-color: var(--accent-2);
}

@keyframes pulse-border {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

/* Controls Panel (Collapsible) */
.audio-controls-panel {
  pointer-events: auto;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  border-right: none;
  border-radius: 12px 0 0 12px;
  padding: 15px;
  margin-top: 5px;

  display: flex;
  flex-direction: column;
  gap: 10px;

  transform-origin: top right;
  transform: scale(0);
  opacity: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
  box-shadow: -4px 8px 20px rgba(0, 0, 0, 0.4);
}

.audio-widget.expanded .audio-controls-panel {
  transform: scale(1);
  opacity: 1;
}

.controls-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

/* Volume Slider styling */
.volume-slider {
  -webkit-appearance: none;
  width: 100px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  outline: none;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.1s;
}

.volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Clean up old styles if necessary by overriding or rely on cascade */
/* We are using new class names mostly, so conflicts should be minimal */

/* Mobile Adjustments */
@media (max-width: 768px) {
  .audio-widget {
    top: auto;
    bottom: 20px;
    right: 15px;
    /* Slightly inset to prevent cutoff */
  }

  .audio-trigger {
    padding: 8px 12px;
    border-radius: 12px;
    border-right: 1px solid var(--card-border);
  }

  .audio-controls-panel {
    transform-origin: bottom right;
    margin-top: 0;
    margin-bottom: 5px;
  }
}

/* =========================================
   Audio Consent Modal
   ========================================= */

.audio-consent-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.4s ease-out;
}

.audio-consent-overlay.hidden {
  display: none;
}

/* =========================================
   Flip Card Styles for Podcast Covers
   ========================================= */
.cover-flip-container {
  width: 160px;
  /* Matches .cover-art width */
  height: 160px;
  perspective: 1000px;
  cursor: pointer;
  margin: 0 auto;
  /* Center on mobile if needed */
}

.flipper {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

/* Flip on hover */
.cover-flip-container:hover .flipper {
  transform: rotateY(180deg);
}

/* Flip on click (JS toggles this class) */
.cover-flip-container.flipped .flipper {
  transform: rotateY(180deg);
}

.front,
.back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.front img,
.back img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.back {
  transform: rotateY(180deg);
}
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.audio-consent-modal {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border: 2px solid rgba(245, 158, 11, 0.3);
  border-radius: 16px;
  padding: 3rem 2.5rem;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  text-align: center;
}

.consent-headline {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--accent) 0%, #fbbf24 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.consent-body {
  font-family: var(--font-main);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  text-align: left;
}

.consent-warning {
  font-family: var(--font-main);
  font-size: 1rem;
  line-height: 1.6;
  color: #f472b6;
  background: rgba(244, 114, 182, 0.1);
  border-left: 3px solid #f472b6;
  padding: 1rem;
  margin-bottom: 1.5rem;
  text-align: left;
}

.consent-author {
  font-family: var(--font-main);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1.5rem;
  text-align: left;
}

.consent-cta {
  font-family: var(--font-main);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-color);
  margin-bottom: 2rem;
  text-align: center;
}

.consent-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.consent-btn {
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.consent-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #fbbf24 100%);
  color: #0f172a;
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
  animation: pulse-shadow 2s infinite;
}

.consent-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.6);
}

@keyframes pulse-shadow {

  0%,
  100% {
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.4);
  }

  50% {
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.6);
  }
}

.consent-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.consent-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.consent-tertiary {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid transparent;
  opacity: 0.7;
}

.consent-tertiary:hover {
  opacity: 1;
  color: var(--text-color);
}

.consent-footer {
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

.consent-data {
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-muted);
  border: 1px solid rgba(148, 163, 184, 0.2);
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  padding: 0.75rem 1.25rem;
}

.consent-data:hover {
  background: rgba(148, 163, 184, 0.15);
  color: var(--text-color);
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .audio-consent-modal {
    padding: 1.25rem 1rem;
    max-width: 95%;
  }

  .consent-headline {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }

  .consent-body {
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
  }

  .consent-warning {
    font-size: 0.85rem;
    padding: 0.6rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
  }

  .consent-cta {
    font-size: 0.95rem;
    margin-bottom: 1rem;

    .consent-buttons {
      gap: 0.5rem;
      margin-bottom: 0.75rem;
    }

    .consent-btn {
      font-size: 0.8rem;
      padding: 0.5rem 0.75rem;
    }
  }
}

/* =========================================
   Confetti Canvas
   ========================================= */

#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
}

/* Confetti Widget */
.confetti-widget {
  position: fixed;
  top: 80px;
  left: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  pointer-events: none;
}

/* Confetti Canvas - Fix for layout issue */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

.confetti-btn {
  pointer-events: auto;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid var(--card-border);
  border-left: none;
  border-radius: 0 12px 12px 0;
  padding: 10px 14px;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
}

.confetti-btn:hover {
  background: rgba(30, 41, 59, 0.95);
  transform: translateX(2px);
}

.confetti-btn.confetti-active {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 4px 4px 15px rgba(16, 185, 129, 0.3);
}

.confetti-btn.confetti-inactive {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  box-shadow: 4px 4px 15px rgba(239, 68, 68, 0.3);
}

@media (max-width: 768px) {
  .confetti-widget {
    top: 80px;
  }

  .confetti-btn {
    width: 45px;
    height: 45px;
    font-size: 1.25rem;
    padding: 8px 12px;
  }
}