.ws-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  padding: 40px 20px 100px 20px;
  color: var(--seluna-light);
}

.ws-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 40px;
  color: var(--seluna-light);
  text-align: center;
  max-width: 500px;
}

.ws-title--timeout {
  margin-bottom: 16px;
}

.ws-pulsing-circle {
  width: 200px;
  height: 200px;
  background-color: var(--seluna-light);
  border-radius: 50%;
  animation: ws-pulse 2s ease-in-out infinite;
}

.ws-hint {
  padding: 20px 24px;
  background-color: var(--seluna-card-bg);
  border: 1px solid var(--seluna-border);
  border-radius: 12px;
  max-width: 450px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: ws-fade-in 0.5s ease-in-out;
  text-align: center;
}

.ws-hint-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--seluna-light);
  margin-bottom: 8px;
}

.ws-hint-text {
  font-size: 15px;
  color: var(--seluna-light);
  line-height: 1.5;
  margin: 0;
}

.ws-message-box {
  text-align: center;
  margin-top: 30px;
  max-width: 500px;
}

.ws-subtitle {
  font-size: 16px;
  color: #9ca3af;
  line-height: 1.5;
  min-height: 48px;
  transition: opacity 0.3s ease-in-out;
}

.ws-subtitle--timeout {
  color: #ff6b6b;
}

.ws-countdown {
  font-size: 20px;
  font-weight: 500;
  color: var(--seluna-light);
  margin-top: 12px;
  transition: color 0.3s ease;
}

.ws-email-card {
  margin-top: 24px;
  padding: 20px;
  background-color: var(--seluna-card-bg);
  border: 1px solid var(--seluna-border);
  border-radius: 12px;
  max-width: 420px;
  width: 100%;
  animation: ws-fade-in 0.5s ease-in-out;
}

.ws-email-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--seluna-light);
  margin-bottom: 6px;
}

.ws-email-description {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 10px;
  line-height: 1.5;
}

.ws-email-input {
  width: 100%;
  padding: 10px 12px;
  font-size: 15px;
  background-color: var(--seluna-dark);
  color: var(--seluna-light);
  border: 1px solid var(--seluna-border);
  border-radius: 8px;
  outline: none;
  box-sizing: border-box;
  margin-bottom: 10px;
}

.ws-email-button {
  width: 100%;
  padding: 10px;
  font-size: 15px;
  font-weight: 600;
  background-color: var(--seluna-light);
  color: var(--seluna-dark);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 8px;
}

.ws-email-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.ws-email-privacy {
  font-size: 11px;
  color: #6b7280;
  text-align: center;
  line-height: 1.4;
}

.ws-email-error {
  font-size: 13px;
  color: #ff6b6b;
  margin-bottom: 8px;
}

.ws-email-success {
  font-size: 14px;
  color: #4ade80;
  text-align: center;
}

.ws-mic-warning {
  margin: 20px 0;
  padding: 16px;
  background-color: var(--seluna-card-bg);
  border: 1px solid var(--seluna-border);
  border-radius: 8px;
  max-width: 400px;
}

.ws-mic-warning-title {
  margin: 0 0 12px 0;
  font-weight: 600;
  color: var(--seluna-light);
}

.ws-mic-warning-text {
  margin: 0 0 12px 0;
  font-size: 14px;
  color: var(--seluna-light);
}

.ws-mic-retry-button {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  background-color: var(--seluna-warning);
  color: var(--seluna-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.ws-button-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  z-index: 100;
}

.ws-cancel-button {
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
  background-color: #dc3545;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  max-width: 500px;
  width: 100%;
}

.ws-cancel-button:hover {
  background-color: #c82333;
}

@keyframes ws-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.6; }
}

@keyframes ws-fade-in {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.cs-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  padding: 20px 20px 100px 20px;
  color: var(--seluna-light);
}

.cs-header {
  text-align: center;
  margin-bottom: 15px;
  width: 100%;
}

.cs-status {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 8px;
  text-align: center;
  color: #e8eef5;
}

.cs-timer {
  font-size: 1rem;
  color: var(--seluna-light);
  font-weight: 500;
  margin-top: 6px;
}

.cs-audio-stats {
  font-size: 0.8rem;
  opacity: 0.8;
  margin-top: 4px;
}

.cs-logo-container {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px 0;
}

.cs-logo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: var(--seluna-light);
  box-shadow: 0 0 20px rgba(245, 245, 245, 0.2);
  transition: all 0.3s ease;
}

.cs-logo--connected {
  animation: cs-pulse 4s ease-in-out infinite;
  box-shadow: 0 0 50px rgba(245, 245, 245, 0.5);
}

.cs-warning {
  font-size: 28px;
  font-weight: 600;
  text-align: center;
  margin: 20px 0 30px 0;
  color: #e8eef5;
}

.cs-controls {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: center;
  z-index: 100;
}

.cs-disconnect-btn {
  padding: 14px 20px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s;
  font-family: inherit;
  font-weight: 500;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  background-color: #dc3545;
  color: white;
}

.cs-disconnect-btn:hover {
  background-color: #c82333;
}

.cs-quality-badge {
  position: fixed;
  top: 16px;
  right: 16px;
  font-size: 1.4rem;
  line-height: 1;
  z-index: 10;
  cursor: pointer;
  user-select: none;
}

.cs-quality-info {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: rgba(20, 30, 45, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 10px 14px;
  min-width: 160px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  white-space: nowrap;
}

.cs-quality-info-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}

.cs-quality-info-row {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  padding: 3px 0;
}

.cs-quality-info-row--active {
  color: #e8eef5;
  font-weight: 600;
}

.cs-debug {
  position: fixed;
  bottom: 10px;
  right: 10px;
  font-size: 0.7rem;
  opacity: 0.7;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px 10px;
  border-radius: 3px;
}

@keyframes cs-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.7; }
}

/* EndScreen Styling - Seluna Moon Theme */

.end-screen {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, var(--seluna-dark-bg) 0%, var(--seluna-dark) 100%);
  padding: 20px;
}

.end-card {
  background: var(--seluna-card-bg);
  border: 1px solid var(--seluna-border);
  border-radius: 20px;
  padding: 40px;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.end-logo {
  width: 120px;
  height: 120px;
  margin-bottom: 30px;
  filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.1));
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.end-title {
  color: var(--seluna-light);
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.3;
}

.end-subtitle {
  color: rgba(245, 245, 245, 0.8);
  font-size: 1.1rem;
  margin-bottom: 30px;
  line-height: 1.5;
}

.end-share {
  color: rgba(245, 245, 245, 0.9);
  font-size: 1rem;
  margin-bottom: 30px;
  font-style: italic;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

/* ==================== FEEDBACK SECTION ==================== */

.feedback-section {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--seluna-border);
}

.feedback-title {
  color: var(--seluna-light);
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 20px;
}

/* Sterne Rating */
.stars-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 25px;
}

.star {
  background: none;
  border: none;
  font-size: 3.5rem;
  color: rgba(245, 245, 245, 0.3);
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  line-height: 1;
}

.star:hover {
  transform: scale(1.15);
}

.star.filled {
  color: #ffc107;
  text-shadow: 0 0 15px rgba(255, 193, 7, 0.6);
}

.feedback-error {
  color: var(--seluna-error);
  font-size: 0.9rem;
  margin-top: -10px;
  margin-bottom: 15px;
  animation: shake 0.3s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-10px); }
  75% { transform: translateX(10px); }
}

/* Feedback Submit Button (einzeln, größer) */
.feedback-submit {
  width: 100%;
  padding: 18px 40px;
  font-size: 1.2rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-family: inherit;
  background: var(--seluna-dark);
  color: var(--seluna-light);
  border: 2px solid var(--seluna-border);
  margin-bottom: 30px;
}

.feedback-submit:hover:not(:disabled) {
  background: rgba(43, 66, 87, 1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.feedback-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Trennlinie */
.section-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 30px 0;
}

/* ==================== MOBILE OPTIMIZATION ==================== */

@media (max-width: 600px) {
  .end-card {
    padding: 30px 20px;
  }
  
  .end-logo {
    width: 100px;
    height: 100px;
  }
  
  .end-title {
    font-size: 1.5rem;
  }
  
  .end-subtitle {
    font-size: 1rem;
  }

  .feedback-title {
    font-size: 1.1rem;
  }

  .star {
    font-size: 2.8rem;
    gap: 10px;
  }

  .stars-container {
    gap: 10px;
  }

  .feedback-submit {
    padding: 16px 30px;
    font-size: 1.1rem;
  }

  .back-to-start-button {
    padding: 14px 20px;
    font-size: 0.95rem;
  }

  .report-button {
    max-width: 100%;
    font-size: 0.85rem;
  }

  .toast-notification {
    top: 20px;
    padding: 12px 24px;
    font-size: 1rem;
  }

  /* Report Screen */
  .report-screen-subtitle {
    font-size: 0.9rem;
  }

  .report-screen-buttons {
    flex-direction: column;
  }

  .report-cancel-button,
  .report-submit-button {
    width: 100%;
  }
}

/* Tablet */
@media (min-width: 601px) and (max-width: 900px) {
  .end-card {
    max-width: 450px;
  }
}

/* ==================== REPORT SCREEN (Fullscreen statt Modal) ==================== */

.report-screen-subtitle {
  color: rgba(245, 245, 245, 0.8);
  font-size: 1rem;
  margin-bottom: 25px;
  text-align: center;
}

.report-screen-content {
  width: 100%;
}

.report-screen-buttons {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.report-cancel-button,
.report-submit-button {
  flex: 1;
  padding: 15px 20px;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: inherit;
}

.report-cancel-button {
  background: transparent;
  color: rgba(245, 245, 245, 0.7);
  border: 1px solid rgba(245, 245, 245, 0.3);
}

.report-cancel-button:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.05);
  color: var(--seluna-light);
  border-color: var(--seluna-border);
}

.report-submit-button {
  background: var(--seluna-error);
  color: #fff;
}

.report-submit-button:hover:not(:disabled) {
  background: #c82333;
  transform: translateY(-2px);
}

.report-cancel-button:disabled,
.report-submit-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ==================== REPORT SYSTEM (Button auf Hauptscreen) ==================== */
/* Report Section */
.report-section {
  margin-top: 20px;
  text-align: center;
}

.report-hint {
  margin-bottom: 10px;
  margin-top: 0;
  font-size: 0.85rem;
  color: rgba(245, 245, 245, 0.6);
  font-style: italic;
}

.report-button {
  background: var(--seluna-error);
  color: #ffffff;
  border: none;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  max-width: 350px;
  margin-bottom: 20px;
}

.report-button:hover:not(:disabled) {
  opacity: 0.9;
  transform: translateY(-1px);
}

.report-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Report Confirmation */
.report-confirmation {
  margin-top: 15px;
  margin-bottom: 20px;
  padding: 12px;
  background: rgba(52, 199, 89, 0.15);
  border: 1px solid rgba(52, 199, 89, 0.3);
  border-radius: 8px;
  color: #34c759;
  font-size: 14px;
  text-align: center;
}

/* Zurück zur Startseite Button */
.back-to-start-button {
  width: 100%;
  background: transparent;
  color: rgba(245, 245, 245, 0.7);
  border: 1px solid rgba(245, 245, 245, 0.3);
  padding: 14px 30px;
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  font-family: inherit;
  margin-top: 10px;
}

.back-to-start-button:hover:not(:disabled) {
  color: var(--seluna-light);
  border-color: var(--seluna-border);
  background: rgba(255, 255, 255, 0.05);
}

.back-to-start-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(52, 199, 89, 0.95);
  color: white;
  padding: 15px 30px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Modal Content */
.modal-content {
  background: var(--seluna-card-bg);
  border: 1px solid var(--seluna-border);
  border-radius: 20px;
  padding: 30px;
  max-width: 90%;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-content h2 {
  margin: 0 0 10px 0;
  font-size: 24px;
  color: var(--seluna-light);
  text-align: center;
}

.modal-subtitle {
  margin: 0 0 20px 0;
  font-size: 14px;
  color: rgba(245, 245, 245, 0.7);
  text-align: center;
}

/* Report Categories */
.report-categories {
  margin: 20px 0;
}

.category-group {
  margin-bottom: 20px;
}

/* Report Categories */
.report-categories {
  margin: 20px 0;
}

.category-group {
  margin-bottom: 20px;
}

.category-group h4 {
  margin: 0 0 10px 0;
  font-size: 14px;
  color: rgba(245, 245, 245, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Category Options Grid */
.category-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

/* Ab 420px zweispaltig */
@media (min-width: 420px) {
  .category-options {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

.report-option {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(245, 245, 245, 0.1);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.report-option:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(245, 245, 245, 0.2);
}

.report-option input[type="radio"] {
  margin-right: 12px;
  cursor: pointer;
  width: 18px;
  height: 18px;
  accent-color: var(--seluna-dark);
  flex-shrink: 0;
}

.report-option span {
  font-size: 14px;
  color: var(--seluna-light);
  flex: 1;
  line-height: 1.3;
}

/* Modal Buttons */
.modal-buttons {
  display: flex;
  gap: 12px;
  margin-top: 25px;
}

.modal-button {
  flex: 1;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.modal-button.cancel {
  background: transparent;
  color: rgba(245, 245, 245, 0.7);
  border: 1px solid rgba(245, 245, 245, 0.3);
}

.modal-button.cancel:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.05);
  color: var(--seluna-light);
  border-color: var(--seluna-border);
}

.modal-button.submit {
  background: var(--seluna-error);
  color: #fff;
}

.modal-button.submit:hover:not(:disabled) {
  background: #c82333;
  transform: translateY(-1px);
}

.modal-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Minor Modal Specific */
.minor-modal {
  max-width: 400px;
  text-align: center;
}

.minor-modal .modal-text {
  margin: 15px 0;
  font-size: 15px;
  color: rgba(245, 245, 245, 0.8);
  line-height: 1.6;
}

.minor-modal .modal-question {
  margin: 25px 0 20px 0;
  font-size: 16px;
  color: var(--seluna-light);
}

.minor-modal .modal-button {
  padding: 16px 20px;
  font-size: 16px;
}

.minor-modal .modal-button.no {
  background: #34c759;
  color: #fff;
}

.minor-modal .modal-button.no:hover:not(:disabled) {
  background: #2fb350;
}

.minor-modal .modal-button.yes {
  background: rgba(220, 53, 69, 0.2);
  color: var(--seluna-error);
  border: 1px solid rgba(220, 53, 69, 0.4);
}

.minor-modal .modal-button.yes:hover:not(:disabled) {
  background: rgba(220, 53, 69, 0.3);
}

.minor-modal .modal-info {
  margin-top: 20px;
  font-size: 12px;
  color: rgba(245, 245, 245, 0.5);
  font-style: italic;
}

/* Mobile Responsive */
@media (max-width: 600px) {
  .modal-content {
    padding: 20px;
  }

  .modal-buttons {
    flex-direction: column;
  }

  .report-button {
    max-width: 100%;
  }
}

.minor-confirmation-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--seluna-dark-bg, #1a2f3f);
  padding: 2rem;
  color: var(--seluna-light, #f5f5f5);
}

.minor-confirmation-content {
  max-width: 500px;
  width: 100%;
  text-align: center;
  background: var(--seluna-card-bg, rgba(43, 66, 87, 0.8));
  border-radius: 20px;
  padding: 3rem 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid var(--seluna-border, rgba(245, 245, 245, 0.2));
}

.minor-confirmation-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--seluna-light, #f5f5f5);
}

.minor-confirmation-message {
  margin-bottom: 2rem;
}

.minor-confirmation-message p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: var(--seluna-light, #f5f5f5);
  opacity: 0.9;
}

.minor-confirmation-error {
  background: var(--seluna-error, #dc3545);
  color: #ffffff;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.minor-confirmation-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.minor-btn {
  padding: 1rem 2rem;
  font-size: 1.05rem;
  font-weight: 500;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.minor-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.minor-btn-confirm {
  background: var(--seluna-success, #28a745);
  color: #ffffff;
}

.minor-btn-confirm:hover:not(:disabled) {
  opacity: 0.9;
  transform: translateY(-2px);
}

.minor-btn-reject {
  background: var(--seluna-card-bg, rgba(43, 66, 87, 0.8));
  color: var(--seluna-light, #f5f5f5);
  border: 1px solid var(--seluna-border, rgba(245, 245, 245, 0.2));
}

.minor-btn-reject:hover:not(:disabled) {
  background: rgba(43, 66, 87, 0.6);
}

.minor-confirmation-info {
  padding-top: 2rem;
  border-top: 1px solid var(--seluna-border, rgba(245, 245, 245, 0.2));
}

.minor-confirmation-info p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--seluna-light, #f5f5f5);
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
  .minor-confirmation-content {
    padding: 2rem 1.5rem;
  }
  
  .minor-confirmation-title {
    font-size: 1.5rem;
  }
}

.blocked-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--seluna-dark-bg, #1a2f3f);
  padding: 2rem;
  color: var(--seluna-light, #f5f5f5);
}

.blocked-content {
  max-width: 500px;
  width: 100%;
  text-align: center;
  background: var(--seluna-card-bg, rgba(43, 66, 87, 0.8));
  border-radius: 20px;
  padding: 3rem 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid var(--seluna-border, rgba(245, 245, 245, 0.2));
}

.blocked-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--seluna-light, #f5f5f5);
}

.blocked-message {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: var(--seluna-light, #f5f5f5);
  opacity: 0.9;
}

.blocked-timer {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--seluna-error, #dc3545);
  color: #ffffff;
  border-radius: 12px;
  font-variant-numeric: tabular-nums;
}

.blocked-info {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--seluna-border, rgba(245, 245, 245, 0.2));
}

.blocked-info p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: var(--seluna-light, #f5f5f5);
  opacity: 0.8;
}

.blocked-info a {
  color: var(--seluna-light, #f5f5f5);
  text-decoration: underline;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.blocked-info a:hover {
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
  .blocked-content {
    padding: 2rem 1.5rem;
  }
  
  .blocked-title {
    font-size: 1.5rem;
  }
  
  .blocked-timer {
    font-size: 2rem;
    padding: 1rem;
  }
}

/* Age Verification Modal - Seluna Original Branding */

.age-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: flex-start; 
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  padding-top: 40px;
  padding-bottom: 40px;
  overflow-y: auto;
}

.age-modal-content {
  background: var(--seluna-card-bg);
  border: 1px solid var(--seluna-border);
  border-radius: 16px;
  padding: 32px;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  color: #f5f5f5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  margin: auto 0; /* NEU: Erlaubt Zentrierung wenn Platz ist */
}

/* Header mit Logo */
.age-modal-header {
  text-align: center;
  margin-bottom: 20px; /* REDUZIERT: von 24px */
}

.age-modal-logo {
  width: 80px;
  height: 80px;
  margin-bottom: 12px; /* REDUZIERT: von 16px */
  /* filter: drop-shadow(0 2px 8px rgba(245, 245, 245, 0.2)); */ /* ENTFERNT */
}

.age-modal-title {
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: #f5f5f5;
}

.age-modal-subtitle {
  font-size: 15px;
  margin: 0;
  opacity: 0.85;
  line-height: 1.5;
}

/* Regeln Box (ohne eigene Scrollbar) */
.age-modal-rules-box {
  background: var(--seluna-dark);
  border: 1px solid var(--seluna-border);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 20px;
  /* max-height und overflow-y entfernt - Modal scrollt stattdessen */
}

.age-modal-rules-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 12px 0;
  color: #f5f5f5;
}

.age-modal-rules-content {
  font-size: 14px;
  line-height: 1.6;
}

/* Custom Scrollbar - Dunkelblau (nur für Overlay, nicht mehr für Regeln-Box) */
/* Regeln-Box scrollt nicht mehr separat - alle Scrollbar-Styles entfernt */


/* Checkboxen */
.age-modal-checkboxes {
  margin-bottom: 16px; /* REDUZIERT: von 20px */
  display: flex;
  flex-direction: column;
  gap: 12px; /* REDUZIERT: von 14px */
}

.age-modal-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.5;
  transition: opacity 0.2s ease;
}

.age-modal-checkbox-label:hover {
  opacity: 0.9;
}

.age-modal-checkbox {
  width: 20px;
  height: 20px;
  min-width: 20px;
  cursor: pointer;
  accent-color: #5a7d99;
  margin-top: 2px;
}

/* Button - Mondweiß mit Dunkelblau */
.age-modal-button {
  width: 100%;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.age-modal-button.active {
  background: var(--seluna-light);
  color: var(--seluna-dark);
  box-shadow: 0 4px 12px rgba(245, 245, 245, 0.2);
}

.age-modal-button.active:hover {
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(245, 245, 245, 0.3);
  transform: translateY(-1px);
}

.age-modal-button.active:active {
  transform: translateY(0);
}

.age-modal-button.disabled {
  background: rgba(43, 66, 87, 0.5);
  color: rgba(245, 245, 245, 0.4);
  cursor: not-allowed;
}

/* Hinweis bei fehlender Bestätigung */
.age-modal-hint {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #fca5a5;
  text-align: center;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hinweise Sektion (ohne Bestätigung) */
.age-modal-hinweise {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--seluna-border);
}

.age-modal-hinweise-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 10px 0;
  color: #f5f5f5;
  opacity: 0.9;
}

/* Footer Text */
.age-modal-footer {
  text-align: center;
  font-size: 13px;
  margin: 12px 0 0 0; /* REDUZIERT: von 16px */
  opacity: 0.7;
  line-height: 1.5;
}

/* Mobile Responsive */
@media (max-width: 640px) {
  .age-modal-overlay {
    padding: 12px; /* REDUZIERT: von 20px */
    padding-top: 20px; /* REDUZIERT: von 40px */
    padding-bottom: 20px; /* REDUZIERT: von 40px */
  }

  .age-modal-content {
    padding: 20px 16px; /* REDUZIERT: von 24px 20px */
  }

  .age-modal-logo {
    width: 60px; /* REDUZIERT: von 64px */
    height: 60px; /* REDUZIERT: von 64px */
    margin-bottom: 10px; /* REDUZIERT: von 12px */
  }

  .age-modal-header {
    margin-bottom: 16px; /* REDUZIERT: von 20px */
  }

  .age-modal-title {
    font-size: 20px; /* REDUZIERT: von 22px */
  }

  .age-modal-subtitle {
    font-size: 14px;
  }

  .age-modal-rules-box {
    /* max-height entfernt - Modal scrollt */
    padding: 14px;
    margin-bottom: 16px; /* REDUZIERT */
  }

  .age-modal-rules-title {
    font-size: 16px;
    margin-bottom: 10px; /* REDUZIERT */
  }

  .age-modal-checkboxes {
    gap: 10px; /* REDUZIERT: von 12px */
    margin-bottom: 14px; /* REDUZIERT */
  }

  .age-modal-checkbox-label {
    font-size: 14px;
  }

  .age-modal-button {
    font-size: 15px;
    padding: 12px 18px; /* REDUZIERT: von 12px 20px */
  }

  .age-modal-hinweise {
    margin-top: 16px; /* REDUZIERT */
    padding-top: 14px; /* REDUZIERT */
  }

  .age-modal-hinweise-title {
    font-size: 15px; /* REDUZIERT */
  }
}

/* Sehr kleine Bildschirme (< 400px) */
@media (max-width: 400px) {
  .age-modal-overlay {
    padding: 8px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .age-modal-content {
    padding: 16px 12px;
  }

  .age-modal-logo {
    width: 50px;
    height: 50px;
  }

  .age-modal-title {
    font-size: 18px;
  }

  .age-modal-rules-box {
    /* max-height entfernt - Modal scrollt */
  }
}

/* Focus States für Accessibility - Mondweiß Akzent */
.age-modal-checkbox:focus {
  outline: 2px solid rgba(245, 245, 245, 0.5);
  outline-offset: 2px;
}

.age-modal-button:focus-visible {
  outline: 2px solid rgba(245, 245, 245, 0.5);
  outline-offset: 2px;
}

/* ==================== ERROR MODAL - SELUNA BRANDING ==================== */

/* Overlay mit Blur-Effekt wie AgeVerification */
.error-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.error-modal-overlay.visible {
  opacity: 1;
}

.error-modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

/* ==================== MODAL CONTENT - SELUNA STYLE ==================== */
.error-modal-content {
  background: var(--seluna-card-bg);
  border: 1px solid var(--seluna-border);
  border-radius: 16px;
  padding: 32px;
  max-width: 450px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  text-align: center;
  color: #f5f5f5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  transform: scale(0.9);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.error-modal-content.visible {
  transform: scale(1);
  opacity: 1;
}

.error-modal-content.hidden {
  transform: scale(0.9);
  opacity: 0;
}

/* ==================== ICON - MINIMALISTISCH SELUNA STYLE ==================== */
.error-modal-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--seluna-dark);
  border: 2px solid var(--seluna-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 600;
  color: var(--seluna-light);
  animation: iconFadeIn 0.5s ease;
}

@keyframes iconFadeIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ==================== MESSAGE ==================== */
.error-modal-message {
  font-size: 18px;
  font-weight: 500;
  color: #f5f5f5;
  line-height: 1.6;
  margin-bottom: 24px;
  font-family: inherit;
}

/* ==================== PROGRESS BAR - MONDWEISS ==================== */
.error-modal-progress-bar {
  width: 100%;
  height: 4px;
  background: var(--seluna-dark);
  border: 1px solid var(--seluna-border);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 20px;
}

.error-modal-progress-fill {
  height: 100%;
  background: var(--seluna-light);
  border-radius: 2px;
  transition: width 0.05s linear;
  box-shadow: 0 0 8px rgba(245, 245, 245, 0.4);
}

/* ==================== BUTTON - MONDWEISS WIE AGEVERIFICATION ==================== */
.error-modal-button {
  width: 100%;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  background: var(--seluna-light);
  color: var(--seluna-dark);
  box-shadow: 0 4px 12px rgba(245, 245, 245, 0.2);
}

.error-modal-button:hover {
  background: #ffffff;
  box-shadow: 0 6px 16px rgba(245, 245, 245, 0.3);
  transform: translateY(-1px);
}

.error-modal-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(245, 245, 245, 0.2);
}

/* ==================== MOBILE OPTIMIERUNG ==================== */
@media (max-width: 640px) {
  .error-modal-content {
    padding: 24px 20px;
    max-width: 90%;
  }

  .error-modal-icon {
    width: 64px;
    height: 64px;
    font-size: 28px;
    margin-bottom: 16px;
  }

  .error-modal-message {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .error-modal-button {
    padding: 12px 20px;
    font-size: 15px;
  }
}

@media (max-width: 400px) {
  .error-modal-content {
    padding: 20px 16px;
  }

  .error-modal-icon {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }

  .error-modal-message {
    font-size: 15px;
  }
}

/* ==================== ACCESSIBILITY & FOKUS ==================== */
.error-modal-button:focus-visible {
  outline: 2px solid rgba(245, 245, 245, 0.5);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .error-modal-overlay,
  .error-modal-content,
  .error-modal-icon,
  .error-modal-button {
    animation: none;
    transition: none;
  }
}

:root {
  --seluna-dark: #2b4257;
  --seluna-light: #f5f5f5;

  --seluna-dark-bg: #1a2f3f;
  --seluna-card-bg: rgba(43, 66, 87, 0.8);
  --seluna-border: rgba(245, 245, 245, 0.2);

  --seluna-success: #28a745;
  --seluna-warning: #ffc107;
  --seluna-error: #dc3545;
}

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

body {
  font-family:
    'Inter',
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  background: var(--seluna-dark);
  color: var(--seluna-light);
  overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  background: var(--seluna-dark);
  font-family: Inter, sans-serif;
  color: var(--seluna-light);
}
body {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 100vh;
  padding: 60px 20px 20px 20px;
  overflow-x: hidden;
}
.container {
  width: 100%;
  max-width: 520px;
  text-align: center;
}
.title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--seluna-light);
  line-height: 1.2;
}
.subtitle {
  font-size: clamp(14px, 4vw, 18px);
  opacity: 0.9;
  margin-bottom: 24px;
  line-height: 1.3;
}
.logo-container {
  margin: 24px 0;
}
.logo {
  width: min(70vw, 280px);
  height: min(70vw, 280px);
  max-width: 280px;
  max-height: 280px;
  border-radius: 50%;
  display: block;
  margin: 0 auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.logo:hover {
  transform: scale(1.05);
}
.logo-button {
  text-decoration: none;
  display: inline-block;
}
.instruction {
  margin: 20px 0;
  opacity: 0.8;
  font-size: clamp(14px, 3.5vw, 16px);
  line-height: 1.3;
}
.form-group {
  margin: 16px 0;
}
.form-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: var(--seluna-light);
  font-size: clamp(14px, 3.5vw, 16px);
}
.form-select {
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 50px;
  background: var(--seluna-light);
  color: var(--seluna-dark);
  font-size: clamp(14px, 3.5vw, 16px);
  font-family: inherit;
  transition: opacity 0.2s ease;
}
.form-select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Footer Styles */
.footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(245, 245, 245, 0.1);
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--seluna-light);
  text-decoration: none;
  opacity: 0.6;
  font-size: clamp(12px, 3vw, 14px);
  transition: opacity 0.2s ease;
  padding: 4px 8px;
  border-radius: 6px;
}

.footer-link:hover {
  opacity: 1;
  background: rgba(245, 245, 245, 0.05);
}

.footer-separator {
  opacity: 0.4;
  font-size: clamp(12px, 3vw, 14px);
  user-select: none;
}

/* Desktop Optimierungen */
@media (min-width: 769px) {
  body {
    align-items: flex-start;
    padding: 40px 20px 20px 20px;
  }
  /* .title bleibt 28px - KEINE Änderung hier */
  .subtitle {
    font-size: 20px;
    margin-bottom: 32px;
  }
  .logo {
    width: 300px;
    height: 300px;
    max-width: 300px;
    max-height: 300px;
  }
  .logo-container {
    margin: 32px 0;
  }
  .instruction {
    font-size: 16px;
    margin: 24px 0;
  }
  .form-group {
    margin: 20px 0;
  }
  .form-label {
    font-size: 16px;
    margin-bottom: 8px;
  }
  .form-select {
    padding: 14px 18px;
    font-size: 16px;
  }
  
  /* Footer Desktop */
  .footer {
    margin-top: 50px;
    padding-top: 25px;
  }
  
  .footer-link {
    font-size: 14px;
    padding: 6px 10px;
  }
  
  .footer-separator {
    font-size: 14px;
  }
}

/* Extra kleine Bildschirme */
@media (max-width: 480px) {
  body {
    padding: 40px 15px 15px 15px;
  }
  .subtitle {
    font-size: clamp(12px, 4vw, 16px);
    margin-bottom: 20px;
  }
  .logo {
    width: min(65vw, 220px);
    height: min(65vw, 220px);
    max-width: 220px;
    max-height: 220px;
  }
  .logo-container {
    margin: 20px 0;
  }
  .instruction {
    font-size: clamp(12px, 3.5vw, 14px);
    margin: 16px 0;
  }
  .form-group {
    margin: 12px 0;
  }
  .form-select {
    padding: 10px 14px;
  }
  
  /* Footer Mobile */
  .footer {
    margin-top: 30px;
    padding-top: 15px;
  }
  
  .footer-links {
    gap: 6px;
  }
  
  .footer-link {
    font-size: 12px;
    padding: 3px 6px;
  }
  
  .footer-separator {
    font-size: 12px;
  }
}

/* ==================== ACTION BUTTONS SECTION ==================== */
.action-section {
  margin: 32px 0 24px 0;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.action-button {
  display: inline-block;
  padding: 12px 28px;
  text-decoration: none;
  border-radius: 50px;
  font-size: clamp(14px, 3.5vw, 16px);
  font-weight: 500;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.action-button-primary {
  background: var(--seluna-light);
  color: var(--seluna-dark);
  box-shadow: 0 4px 12px rgba(245, 245, 245, 0.15);
}

.action-button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(245, 245, 245, 0.25);
  opacity: 0.95;
}

.action-button-secondary {
  background: transparent;
  color: var(--seluna-light);
  border: 1px solid var(--seluna-light);
  opacity: 0.8;
}

.action-button-secondary:hover {
  opacity: 1;
  background: rgba(245, 245, 245, 0.05);
  transform: translateY(-2px);
}

.action-button:active {
  transform: translateY(0);
}

/* Desktop */
@media (min-width: 769px) {
  .action-section {
    margin: 40px 0 30px 0;
    gap: 16px;
  }
  
  .action-button {
    padding: 14px 36px;
    font-size: 16px;
  }
}

/* Mobile klein */
@media (max-width: 480px) {
  .action-section {
    margin: 24px 0 20px 0;
    gap: 10px;
  }
  
  .action-button {
    padding: 10px 24px;
    font-size: 14px;
    flex: 1 1 auto;
    min-width: 140px;
  }
}

/* ==================== SELUNA HOUR CARD ==================== */
.seluna-hour-card {
  margin: 20px auto 24px auto;
  padding: 16px 20px;
  max-width: 460px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  text-align: center;
  /* WICHTIG: kein display: flex! */
}

.card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--seluna-light);
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.card-subtitle {
  font-size: 13px;
  color: rgba(245, 245, 245, 0.7);
  margin: 0;
  line-height: 1.4;
}

/* Desktop */
@media (min-width: 769px) {
  .seluna-hour-card {
    margin: 24px auto 32px auto;
    padding: 18px 24px;
  }
  
  .card-title {
    font-size: 17px;
    margin: 0 0 8px 0;
  }
  
  .card-subtitle {
    font-size: 14px;
  }
}

/* Mobile klein */
@media (max-width: 480px) {
  .seluna-hour-card {
    margin: 16px auto 20px auto;
    padding: 14px 16px;
  }
  
  .card-title {
    font-size: 14px;
    margin: 0 0 5px 0;
  }
  
  .card-subtitle {
    font-size: 12px;
  }
}

