/* style.css – Custom Styles für 10 Antworten */

.btn-primary {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  border-radius: 1.5rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #6366f1 0%, #2563eb 100%);
  box-shadow: 0 4px 16px 0 rgba(99,102,241,0.15);
  transition: all 0.2s;
  cursor: pointer;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, #4338ca 0%, #2563eb 100%);
  transform: scale(1.07) rotate(-1deg);
  box-shadow: 0 8px 32px 0 rgba(99,102,241,0.25);
}

body, html {
  font-family: 'Inter', 'Poppins', Arial, sans-serif;
  background: linear-gradient(135deg, #f0f4ff 0%, #e0e7ff 100%);
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

input, textarea, select, button {
  transition: all 0.15s;
}

/* Modernisiertes, spannenderes Design für 10 Antworten */
main {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  background: #fff;
  border-radius: 1.5rem;
  box-shadow: 0 8px 32px 0 rgba(99,102,241,0.10);
  margin-top: 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Animierte Hover-Effekte für Cards */
.bg-gray-100, .dark .bg-gray-800 {
  border-radius: 1.25rem;
  box-shadow: 0 2px 8px 0 rgba(99,102,241,0.07);
  background: linear-gradient(120deg, #f3f4f6 60%, #e0e7ff 100%);
  border: 1px solid #e0e7ff;
}
.bg-gray-100:hover, .dark .bg-gray-800:hover {
  box-shadow: 0 8px 32px 0 rgba(99,102,241,0.13);
  transform: scale(1.03) rotate(-1deg);
  transition: all 0.2s;
}

/* Dark Mode Toggle Animation */
#dark-toggle {
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
#dark-toggle:hover {
  transform: rotate(-15deg) scale(1.1);
  background: #222;
  color: #fff;
}

/* Modale Fenster (Platzhalter, falls benötigt) */
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.5);
  z-index: 50;
}
.modal-content {
  background: #fff;
  color: #222;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 4px 32px 0 rgba(0,0,0,0.15);
}
.dark .modal-content {
  background: #18181b;
  color: #fff;
}

/* Fokussiert, kontrastreich */
::selection {
  background: #6366f1;
  color: #fff;
}

/* Avatar-Initialen */
.avatar-initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  background: linear-gradient(135deg, #6366f1 0%, #2563eb 100%);
  color: #fff;
  border-radius: 9999px;
  font-size: 1.3rem;
  font-weight: bold;
  box-shadow: 0 2px 8px 0 rgba(99,102,241,0.15);
  border: 2px solid #fff;
  margin-right: 0.5rem;
}

/* Voting-Buttons als bunte Kreise */
.vote-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0.2rem 0;
  background: #f3f4f6;
  border: 2px solid #e0e7ff;
  transition: all 0.15s;
  box-shadow: 0 2px 8px 0 rgba(99,102,241,0.07);
}
.vote-btn.up { color: #22c55e; background: #e0ffe7; border-color: #22c55e; }
.vote-btn.down { color: #ef4444; background: #ffe4e6; border-color: #ef4444; }
.vote-btn:hover { transform: scale(1.15) rotate(-3deg); box-shadow: 0 4px 16px 0 rgba(99,102,241,0.15); }

/* Bunte Chips für Tags, Status, etc. */
.chip {
  display: inline-block;
  padding: 0.2em 0.8em;
  border-radius: 1em;
  font-size: 0.95em;
  font-weight: 600;
  background: #e0e7ff;
  color: #6366f1;
  margin-right: 0.3em;
}

/* Animierte Section-Überschriften */
h1, h2, h3 {
  letter-spacing: -0.01em;
  font-weight: 800;
  background: linear-gradient(90deg, #6366f1 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Emoji-Icons für Listen */
ul.space-y-2 > li:before {
  content: '💬';
  margin-right: 0.5em;
  font-size: 1.1em;
  vertical-align: middle;
}

/* Responsive Anpassungen */
@media (max-width: 600px) {
  main { border-radius: 0.5rem; }
  .avatar-initial { width: 2rem; height: 2rem; font-size: 1rem; }
  .vote-btn { width: 2rem; height: 2rem; font-size: 1.1rem; }
}
