/* ==========================================================================
   DZIELNICARP.EU - Elite Bespoke Dark UI System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --bg-core: #06050b;
  --bg-surface: #0b0914;
  --bg-surface-elevated: #110e1f;
  --accent-purple: #9333ea;
  --accent-neon: #a855f7;
  --accent-glow: #c084fc;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-glass: rgba(168, 85, 247, 0.2);
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--bg-core);
  color: #f8fafc;
  overflow-x: hidden;
  letter-spacing: -0.01em;
  background-image: 
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(147, 51, 234, 0.15), transparent 70%),
    radial-gradient(ellipse 50% 30% at 85% 30%, rgba(126, 34, 206, 0.08), transparent 60%),
    radial-gradient(ellipse 50% 30% at 15% 70%, rgba(168, 85, 247, 0.06), transparent 60%);
  background-attachment: fixed;
}

::selection {
  background-color: #9333ea;
  color: #ffffff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: #06050b;
}

::-webkit-scrollbar-thumb {
  background: #23193d;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #4c2882;
}

/* Typography */
h1, h2, h3, h4, .font-title {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.025em;
}

.font-mono-tech {
  font-family: 'Space Grotesk', monospace;
}

/* Scroll Progress Bar */
#scrollProgress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #7c3aed, #c084fc, #f43f5e);
  z-index: 100;
  width: 0%;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.8);
  transition: width 0.1s ease-out;
}

/* Navigation Blur */
.nav-blur {
  background: rgba(6, 5, 11, 0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Sleek Luxury Glass Cards */
.elite-card {
  position: relative;
  background: linear-gradient(180deg, rgba(16, 13, 27, 0.6) 0%, rgba(9, 7, 16, 0.8) 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.elite-card:hover {
  transform: translateY(-3px);
  border-color: rgba(168, 85, 247, 0.35);
  box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.7), 0 0 25px -5px rgba(147, 51, 234, 0.15);
}

/* Status Indicator Dot */
@keyframes livePulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 8px #22c55e;
  }
  50% {
    opacity: 0.4;
    transform: scale(0.85);
    box-shadow: 0 0 2px #22c55e;
  }
}

.live-pulse {
  animation: livePulse 2s infinite ease-in-out;
}

/* Timeline Sleek Rail */
.timeline-rail {
  position: relative;
}

.timeline-rail::before {
  content: '';
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.6) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(168, 85, 247, 0.6) 100%);
  transform: translateX(-50%);
}

@media (max-width: 768px) {
  .timeline-rail::before {
    left: 20px;
  }
}

/* InstaPic Cards */
.instapic-post-card {
  background: linear-gradient(180deg, rgba(15, 12, 25, 0.7) 0%, rgba(9, 7, 16, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.instapic-post-card:hover {
  transform: translateY(-3px);
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(168, 85, 247, 0.15);
}

.like-btn.liked i {
  fill: #f43f5e;
  color: #f43f5e;
  animation: heartPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes heartPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* Toast */
#copyToast {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateY(30px);
  opacity: 0;
  pointer-events: none;
}

#copyToast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* FAQ Accordion */
.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.2s ease;
  opacity: 0;
}

.faq-row.active .faq-body {
  max-height: 300px;
  opacity: 1;
}

.faq-row.active .faq-icon {
  transform: rotate(180deg);
}

.faq-row.active {
  border-color: rgba(168, 85, 247, 0.3);
  background: rgba(18, 14, 30, 0.7);
}
