/* ==========================================================
   neonFREQUENZ · Guestbook Page Styles
   ========================================================== */

/* === System-Fallback-Schriftarten (Ohne Google Fonts) === */
.font-caveat { font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', cursive; font-size: 1.1em; line-height: 1.3; }
.font-special-elite { font-family: 'Courier New', Courier, monospace; font-size: 0.95em; line-height: 1.5; }
.font-marker { font-family: 'Brush Script MT', 'Lucida Handwriting', 'Impact', cursive; font-size: 1.1em; line-height: 1.5; }
.font-architects { font-family: 'Bradley Hand', 'Bradley Hand ITC', 'Comic Sans MS', cursive; font-size: 1.1em; line-height: 1.5; }

/* === Allgemeine Layout-Anpassungen (vorher Inline) === */
.page-guestbook .home-ticker { margin-top: 14px; }
.guestbook-stat-card { padding: 18px; width: 100%; }
.guestbook-stat-card h2, .section-head-guestbook h2 { margin-top: 0; }
.guestbook-stat-card p.muted { margin: 8px 0 14px; }
.guestbook-likebox { width: 100%; }
.section-head-guestbook { padding: 0 24px; max-width: 100%; box-sizing: border-box; }
.honeypot-hidden { position: absolute; left: -5000px; }
.btn-pink { background: #ff1493; border-color: #ff1493; }

/* === Formular Styles (Neon-Quarz) === */
.guestbook-form {
  background: rgba(20, 0, 10, 0.4); 
  border: 1px solid rgba(255, 20, 147, 0.4);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 40px;
  box-shadow: 0 0 30px rgba(255, 20, 147, 0.15); 
  position: relative;
  overflow: hidden;
}

.guestbook-form::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 100%;
  background: linear-gradient(180deg, rgba(255,20,147,0.1) 0%, transparent 100%);
  pointer-events: none;
}

.input-wrapper {
  position: relative;
  margin-bottom: 24px;
}

.inner-label {
  position: absolute;
  top: 12px;
  left: 20px;
  color: #ff69b4;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.7em;
  text-shadow: 0 0 8px rgba(255, 105, 180, 0.5);
  pointer-events: none; 
  z-index: 2;
}

.quartz-pink-input {
  width: 100%;
  background: linear-gradient(135deg, rgba(255, 20, 147, 0.4) 0%, rgba(255, 20, 147, 0.1) 100%);
  border: 1px solid #ff69b4; 
  border-bottom: 3px solid #ff1493; 
  color: #ffffff;
  border-radius: 12px;
  padding: 36px 20px 14px 20px;
  font-family: inherit;
  font-size: 1.05em;
  box-shadow: 
    0 4px 20px rgba(255, 20, 147, 0.4),
    inset 0 2px 15px rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  box-sizing: border-box;
}

.quartz-pink-input:focus {
  outline: none;
  background: linear-gradient(135deg, rgba(255, 20, 147, 0.5) 0%, rgba(255, 20, 147, 0.2) 100%);
  border-color: #ffb6c1; 
  border-bottom: 3px solid #ffb6c1;
  box-shadow: 
    0 0 25px rgba(255, 20, 147, 0.8),
    inset 0 0 15px rgba(255, 20, 147, 0.5);
  transform: translateY(-2px); 
}

.quartz-pink-input::placeholder {
  color: rgba(255, 255, 255, 0.4); 
}

/* === Kork-Pinnwand (Hintergrund & Rahmen) === */
.corkboard {
  background-color: #9c6c42; 
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.35'/%3E%3C/svg%3E");
  border: 8px solid #2e1a10; 
  border-radius: 12px;
  box-shadow: 
    inset 0 0 40px rgba(0,0,0,0.8), 
    0 10px 30px rgba(0,0,0,0.3); 
  margin: 0 24px 40px 24px; 
  min-height: 200px;
}

.pinboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 30px;
  padding: 30px; 
  box-sizing: border-box;
}
 
.pin-note {
  background: #fdfbf7; 
  color: #222;
  padding: 35px 25px 20px 25px;
  border-radius: 2px 2px 5px 5px;
  box-shadow: 3px 5px 15px rgba(0,0,0,0.3);
  position: relative;
  transform-origin: top center;
  transition: transform 0.1s ease-out, box-shadow 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
 
.pin-note:hover {
  transform: scale(1.08) rotate(0deg) !important;
  z-index: 10;
  box-shadow: 8px 12px 25px rgba(0,0,0,0.4);
}
 
.pin-note-text {
  font-size: 1.05em;
  line-height: 1.5;
  margin-bottom: 15px;
}
.pin-note-meta {
  font-size: 0.8em;
  color: #666;
  border-top: 1px dashed #ccc;
  padding-top: 10px;
}

/* === Die Pins === */
.pin {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 6px rgba(0,0,0,0.5), inset 0px -4px 6px rgba(0,0,0,0.3);
}
.pin::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 4px;
  width: 5px;
  height: 5px;
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
}
.pin-blau { background: radial-gradient(circle at 30% 30%, #4da6ff, #005ce6); }
.pin-gelb { background: radial-gradient(circle at 30% 30%, #ffeb3b, #f57f17); }
.pin-rot { background: radial-gradient(circle at 30% 30%, #ff6b6b, #cc0000); }
.pin-gruen { background: radial-gradient(circle at 30% 30%, #81c784, #2e7d32); }

/* === Empty State Styles === */
.empty-board-wrapper {
  padding: 30px;
  text-align: center;
}
.empty-board-card {
  display: inline-block;
  padding: 20px 30px;
  background: #fdfbf7;
  color: #222;
  transform: rotate(-2deg);
  box-shadow: 3px 5px 15px rgba(0,0,0,0.4);
}
.empty-board-pin {
  position: relative;
  top: -5px;
  margin: 0 auto 10px auto;
}
.empty-board-card p {
  margin: 0;
  font-weight: bold;
}

/* === Alerts & Cyberpunk Glitch-Keyframes === */
.alert { padding: 15px; border-radius: 8px; margin-bottom: 20px; font-weight: bold; }
.alert-success { background: rgba(50, 205, 50, 0.2); border: 1px solid #32cd32; color: #32cd32; }
.alert-error { background: rgba(255, 0, 0, 0.2); border: 1px solid #ff0000; color: #ff0000; }

.glitch-error {
  animation: cyber-glitch 2s infinite;
  position: relative;
}
@keyframes cyber-glitch {
  0% { transform: translate(0); text-shadow: none; }
  2% { transform: translate(-3px, 1px); text-shadow: 2px -2px #ff00ff, -2px 2px #00ffff; border-color: #ff00ff; }
  4% { transform: translate(3px, -1px); text-shadow: -2px 2px #ff00ff, 2px -2px #00ffff; border-color: #00ffff; }
  6% { transform: translate(0); text-shadow: none; border-color: #ff0000; }
  15% { transform: translate(0); }
  17% { transform: translate(-1px, -2px); box-shadow: 0 0 15px rgba(0, 255, 255, 0.6); }
  19% { transform: translate(2px, 1px); box-shadow: 0 0 15px rgba(255, 0, 255, 0.6); }
  21% { transform: translate(0); box-shadow: none; }
  100% { transform: translate(0); }
}
