/* Zmienione style tła inspirowane nanoinflu.com */
:root {
  --primary-purple: #8b5cf6;
  --secondary-purple: #6d28d9;
  --accent-purple: #a78bfa;
  --dark-bg: #0a0a0a;
  --card-bg: rgba(139, 92, 246, 0.08);
  --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-2: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  --gradient-3: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%);
}

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

/* Zabezpieczenie przed clickjacking */
body {
  position: relative;
  z-index: 1;
}

/* Stałe ciemne tło zamiast dynamicznego */
body, html {
  font-family: 'Inter', sans-serif;
  background: #0a0a0a;
  background-attachment: fixed;
  color: #ffffff;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Zmieniony efekt pulsacji jak na nanoinflu.com */
.pulse-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.pulse-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  border-radius: 50%;
  /* Gradient z większym rozmyciem i płynniejszymi przejściami */
  background: radial-gradient(circle, rgba(30, 10, 60, 0.9) 0%, rgba(20, 5, 40, 0.7) 20%, rgba(10, 2, 20, 0.5) 40%, rgba(5, 1, 10, 0.3) 60%, rgba(0, 0, 0, 0) 100%);
  filter: blur(40px);
}

/* Więcej pulsujących kół z różnymi czasami animacji */
.pulse-circle:nth-child(1) {
  width: 400px;
  height: 400px;
  animation: pulse-animation 12s infinite alternate ease-in-out;
}

.pulse-circle:nth-child(2) {
  width: 700px;
  height: 700px;
  animation: pulse-animation 18s infinite alternate-reverse ease-in-out;
}

.pulse-circle:nth-child(3) {
  width: 1000px;
  height: 1000px;
  animation: pulse-animation 24s infinite alternate ease-in-out;
}

.pulse-circle:nth-child(4) {
  width: 1300px;
  height: 1300px;
  animation: pulse-animation 30s infinite alternate-reverse ease-in-out;
}

.pulse-circle:nth-child(5) {
  width: 1600px;
  height: 1600px;
  animation: pulse-animation 36s infinite alternate ease-in-out;
}

@keyframes pulse-animation {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.2;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.4);
    opacity: 0.6;
  }
}

/* Zmienione animowane bloby - bardziej subtelne */
.background-blobs {
  position: fixed;
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

.background-blobs:nth-child(1) {
  top: -200px;
  left: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, #8b5cf6, transparent);
  animation: blobFloat 25s infinite alternate ease-in-out;
}

.background-blobs:nth-child(2) {
  top: 50%;
  right: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #ec4899, transparent);
  animation: blobFloat 30s infinite alternate-reverse ease-in-out;
}

.background-blobs:nth-child(3) {
  bottom: -150px;
  left: 30%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #6366f1, transparent);
  animation: blobFloat 35s infinite alternate ease-in-out;
}

@keyframes blobFloat {
  0% { transform: translate(0, 0) scale(1) rotate(0deg); }
  25% { transform: translate(30px, -50px) scale(1.05) rotate(90deg); }
  50% { transform: translate(60px, 0) scale(1.1) rotate(180deg); }
  75% { transform: translate(30px, 50px) scale(1.05) rotate(270deg); }
  100% { transform: translate(0, 0) scale(1) rotate(360deg); }
}

.particle {
  position: fixed;
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
  border-radius: 50%;
}

@keyframes particleFloat {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.5;
  }
  90% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-100vh) translateX(100px);
    opacity: 0;
  }
}

/*Navbar */
header.navbar {
  background: rgba(15, 10, 30, 0.95) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  padding: 1rem 0;
  z-index: 1000;
}

.navbar-brand {
  font-weight: 800;
  font-size: 1.5rem;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  cursor: pointer;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 1rem !important;
}

.nav-link:hover {
  color: var(--accent-purple) !important;
  transform: translateY(-2px);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-2);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 80%;
}

.nav-link.panel-mode {
  color: #10b981 !important;
  font-weight: 600;
}

.flag-pl {
  width: 28px;
  height: 20px;
  background: linear-gradient(to bottom, white 50%, #dc143c 50%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  display: inline-block;
}

/* Main Content Area */
main {
  position: relative;
  z-index: 1;
  padding-top: 100px;
  padding-bottom: 80px;
  min-height: 100vh;
  opacity: 0;
  transition: opacity 0.5s ease;
}

main.visible {
  opacity: 1;
}

/* Premium Card Styles */
.premium-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.premium-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(139, 92, 246, 0.3);
  border-color: rgba(139, 92, 246, 0.4);
}

.premium-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-2);
}

/* New hero section styling inspired by nanoinflu.com */
#landing {
  display: none;
}

#landing.active {
  display: block;
}

.hero-section {
  text-align: center;
  padding: 4rem 0;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.btn-primary-hero {
  background: var(--gradient-2);
  border: none;
  border-radius: 50px;
  padding: 16px 48px;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-primary-hero:hover::before {
  left: 100%;
}

.btn-primary-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.6);
}

.btn-secondary-hero {
  background: transparent;
  border: 2px solid rgba(139, 92, 246, 0.5);
  border-radius: 50px;
  padding: 14px 46px;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  transition: all 0.3s ease;
}

.btn-secondary-hero:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: var(--accent-purple);
  transform: translateY(-3px);
}

/* Hero Benefits - Nowa sekcja */
.hero-benefits {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.hero-benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  font-weight: 500;
}

.hero-benefit-item i {
  color: var(--accent-purple);
  font-size: 1.5rem;
}

/* How it works section with 3 steps and icons */
.how-it-works-section {
  padding: 4rem 0;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.steps-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  position: relative;
}

.step-item {
  flex: 1;
  min-width: 250px;
  max-width: 350px;
  text-align: center;
}

.step-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.step-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-3);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.step-icon:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.6);
}

.step-icon:hover::before {
  opacity: 1;
}

.step-icon i {
  position: relative;
  z-index: 1;
}

.step-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
}

.step-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* Streamer Benefits Section */
.streamer-benefits-section {
  padding: 4rem 0;
  text-align: center;
  background: rgba(139, 92, 246, 0.05);
  border-radius: 20px;
  margin: 2rem auto;
  max-width: 1200px;
}

.streamer-benefits-container {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.streamer-benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 300px;
}

.streamer-benefit-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: white;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
  transition: all 0.3s ease;
}

.streamer-benefit-icon:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.6);
}

.streamer-benefit-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.streamer-benefit-description {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* Brands Section */
.brands-section {
  padding: 5rem 0;
  text-align: center;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
  scroll-margin-top: 100px;
}

.brands-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-2);
}

.brands-intro {
  max-width: 800px;
  margin: 0 auto 3rem;
}

.brands-intro h2 {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}

.brands-intro p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.brands-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(139, 92, 246, 0.2);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}

.benefit-card:hover {
  transform: translateY(-8px);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  background: rgba(139, 92, 246, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: var(--accent-purple);
  transition: all 0.3s ease;
}

.benefit-card:hover .benefit-icon {
  transform: scale(1.1);
  background: rgba(139, 92, 246, 0.3);
  box-shadow: 0 10px 20px rgba(139, 92, 246, 0.4);
}

.benefit-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.benefit-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.brands-cta {
  margin-top: 3rem;
}

/* Features Section - Pełne statystyki/kontrola */
.features-section {
  padding: 4rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(139, 92, 246, 0.2);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.feature-icon-circle {
  width: 60px;
  height: 60px;
  background: rgba(139, 92, 246, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  color: var(--accent-purple);
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-circle {
  transform: scale(1.1);
  background: rgba(139, 92, 246, 0.3);
  box-shadow: 0 10px 20px rgba(139, 92, 246, 0.4);
}

.feature-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
}

.feature-text {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* FAQ section */
.faq-section {
  padding: 4rem 0;
  text-align: center;
}

.faq-badge {
  display: inline-block;
  background: var(--gradient-2);
  color: white;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.faq-container {
  max-width: 900px;
  margin: 3rem auto 0;
}

.faq-item {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(139, 92, 246, 0.2);
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.faq-item:hover {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.2);
}

.faq-question {
  font-size: 1.15rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-top: 1rem;
  display: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  display: block;
  max-height: 500px;
  opacity: 1;
}

.faq-item .bi-chevron-down {
  transition: transform 0.3s ease;
}

.faq-item.active .bi-chevron-down {
  transform: rotate(180deg);
}

/* CTA section with purple gradient */
.cta-section {
  margin: 4rem 0;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(109, 40, 217, 0.3) 100%);
  border: 2px solid rgba(139, 92, 246, 0.4);
  border-radius: 30px;
  text-align: center;
  transition: all 0.4s ease;
}

.cta-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.4);
  border-color: rgba(139, 92, 246, 0.6);
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.cta-text {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Premium Buttons */
.btn-premium {
  background: var(--gradient-2);
  border: none;
  border-radius: 50px;
  padding: 16px 48px;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn-premium:hover::before {
  left: 100%;
}

.btn-premium:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(139, 92, 246, 0.6);
}

.btn-premium i {
  margin-right: 8px;
}

.btn-premium:disabled {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  cursor: not-allowed;
  box-shadow: none;
}

.btn-premium:disabled::before {
  display: none;
}

.btn-premium:disabled:hover {
  transform: none;
}

/* Panel Styles */
#panel {
  display: none;
}

#panel.active {
  display: block;
}

.panel-header {
  background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
  padding: 2rem;
  border-radius: 20px;
  margin-bottom: 2rem;
  text-align: center;
  box-shadow: 0 10px 40px rgba(16, 185, 129, 0.3);
}

.panel-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

#username-display {
  font-size: 1.5rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.balance-card {
  background: var(--gradient-1);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
}

.balance-label {
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.9;
  margin-bottom: 0.5rem;
}

.balance-amount {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0;
}

.ready-balance-amount {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 0;
}

.content-item {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(139, 92, 246, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.content-item:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateX(8px);
}

.content-item.aktywny {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.5);
}

.content-item strong {
  font-size: 1.2rem;
  color: var(--accent-purple);
  display: block;
  margin-bottom: 0.5rem;
}

.action-btn {
  background: var(--gradient-2);
  border: none;
  border-radius: 50px;
  padding: 10px 24px;
  font-weight: 600;
  color: white;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.action-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
}

.action-btn:disabled {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.original-btn {
  display: none;
}

.obs-section {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  padding: 2rem;
  margin-top: 2rem;
}

#obs-instructions {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

#obs-link {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 12px;
  padding: 1rem;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  word-break: break-all;
  color: var(--accent-purple);
  user-select: all;
}

#obs-drag-link {
  display: inline-block;
  background: var(--gradient-2);
  color: white;
  text-decoration: none;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  margin-top: 1rem;
  cursor: grab;
  transition: all 0.3s ease;
}

#obs-drag-link:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.5);
}

#obs-drag-link:active {
  cursor: grabbing;
}

#yt-link {
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid rgba(255, 0, 0, 0.3);
  border-radius: 12px;
  padding: 1rem;
  margin-top: 1rem;
  text-align: center;
}

#yt-link a {
  color: #ff0000;
  font-weight: 600;
  text-decoration: none;
}

#yt-link a:hover {
  text-decoration: underline;
}

#logout-button, #navbar-logout-btn {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border: none;
  border-radius: 50px;
  padding: 12px 32px;
  font-weight: 600;
  color: white;
  transition: all 0.3s ease;
}

#logout-button:hover, #navbar-logout-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.4);
}

#navbar-logout-btn {
  display: none;
  padding: 8px 20px;
  font-size: 0.9rem;
}

.table-premium {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(249, 250, 251, 0.95) 100%);
  border: 2px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  overflow: hidden;
  margin-top: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.table-premium thead {
  background: var(--gradient-1);
}

.table-premium th {
  border: none;
  padding: 1rem;
  font-weight: 600;
  color: #000000;
  text-shadow: none;
}

.table-premium td {
  border: none;
  padding: 1rem;
  color: rgba(0, 0, 0, 0.9);
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  font-weight: 500;
}

.table-premium tbody tr:hover {
  background: rgba(139, 92, 246, 0.15);
}

.table-premium tbody tr:last-child td {
  border-bottom: none;
}

#description-section {
  display: block;
}

#ads-selection {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-purple);
  text-align: center;
  margin: 2rem 0;
}

#balance-details-container {
  margin-top: 2rem;
}

#balance-details-container h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-purple);
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Status badges for withdrawals */
.status-badge {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
}

.status-pending {
  background-color: rgba(251, 191, 36, 0.2);
  color: #f59e0b;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.status-processed {
  background-color: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-completed {
  background-color: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-cancelled {
  background-color: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Withdrawal details */
.withdrawal-details {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1rem;
  margin-top: 0.5rem;
}

.withdrawal-details h5 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-purple);
  margin-bottom: 0.5rem;
}

.withdrawal-details p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.25rem;
}

.withdrawal-details .detail-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.withdrawal-details .detail-label {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
}

.withdrawal-details .detail-value {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

/* Login Modal */
.login-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.login-modal.active {
  display: flex;
  opacity: 1;
}

.login-modal-content {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(109, 40, 217, 0.1) 100%);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(139, 92, 246, 0.3);
  border-radius: 30px;
  padding: 3rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.4);
  position: relative;
}

.login-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.login-modal-close:hover {
  color: white;
}

.login-modal h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.login-modal p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.platform-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.platform-btn {
  padding: 1rem 2rem;
  border: 2px solid rgba(139, 92, 246, 0.3);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(109, 40, 217, 0.2) 100%);
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.platform-btn:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.platform-btn.twitch:hover {
  background: linear-gradient(135deg, rgba(145, 70, 255, 0.3) 0%, rgba(100, 65, 165, 0.3) 100%);
}

.platform-btn.youtube:hover {
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.3) 0%, rgba(200, 0, 0, 0.3) 100%);
}

.platform-btn.kick:hover {
  background: linear-gradient(135deg, rgba(83, 255, 26, 0.3) 0%, rgba(50, 200, 20, 0.3) 100%);
}

/* Akceptacja regulaminu i polityki prywatności */
.terms-acceptance {
  margin-top: 1.5rem;
  text-align: left;
}

.terms-acceptance .form-check {
  display: flex;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.terms-acceptance .form-check-input {
  margin-top: 0.25rem;
  margin-right: 0.5rem;
  width: 1.2rem;
  height: 1.2rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.5);
  border-radius: 0.25rem;
  transition: all 0.2s ease;
}

.terms-acceptance .form-check-input:checked {
  background-color: var(--accent-purple);
  border-color: var(--accent-purple);
}

.terms-acceptance .form-check-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.4;
}

.terms-acceptance .form-check-label a {
  color: var(--accent-purple);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.terms-acceptance .form-check-label a:hover {
  color: #a78bfa;
  text-decoration: underline;
}

#terms-error {
  color: #ef4444;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  padding: 0.25rem 0.5rem;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 4px;
  border-left: 3px solid #ef4444;
}

/* Footer */
footer {
  background: rgba(15, 10, 30, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  padding: 4rem 0 2rem;
  margin-top: 6rem;
  position: relative;
  z-index: 10;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-section {
  margin-bottom: 2rem;
}

.footer-section h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-purple);
  margin-bottom: 1rem;
}

.footer-section p, .footer-section a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--accent-purple);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(139, 92, 246, 0.2);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: var(--gradient-2);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(139, 92, 246, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Legal Pages */
#regulamin-page,
#polityka-page {
  display: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

#regulamin-page.active,
#polityka-page.active {
  display: block;
  opacity: 1;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.legal-content h1 {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 2rem;
}

.legal-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-purple);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.legal-content p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 1rem;
  text-align: justify;
}

.legal-content ul {
  list-style: none;
  padding-left: 0;
}

.legal-content li {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.legal-content li::before {
  content: '•';
  color: var(--accent-purple);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--gradient-2);
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 2rem;
}

.back-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

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

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

  .panel-header h1 {
    font-size: 2rem;
  }

  .balance-amount {
    font-size: 2rem;
  }

  .ready-balance-amount {
    font-size: 2rem;
  }

  .steps-container {
    flex-direction: column;
    align-items: center;
  }

  .step-item {
    max-width: 100%;
  }

  .streamer-benefits-container {
    flex-direction: column;
    gap: 2rem;
  }

  .brands-benefits {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2rem;
  }

  .btn-primary-hero, .btn-secondary-hero {
    padding: 14px 32px;
    font-size: 1rem;
  }

  .balance-amount {
    font-size: 1.8rem;
  }

  .ready-balance-amount {
    font-size: 1.8rem;
  }

  .cta-section {
    padding: 3rem 1rem;
  }
}

/* Overlay CSS */
#reklama-iframe {
  position: fixed;
  top: 0;
  left: 0;
  width: 1920px;
  height: 1080px;
  border: none;
  display: none;
  z-index: 999;
  background: transparent;
  pointer-events: none;
}

#reklama-iframe.visible {
  display: block;
  pointer-events: auto;
}

/* Notification styles */
.notification {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 15px 20px;
  border-radius: 8px;
  color: white;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 10px;
  width: auto;
  max-width: 80%;
  transition: all 0.3s ease;
}

.notification.show {
  transform: translateX(-50%) translateY(0);
}

.notification.success {
  background: linear-gradient(135deg, #10b981, #059669);
}

.notification.error {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.notification.info {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.notification i {
  font-size: 1.2rem;
}

/* Loading Spinner */
.loading-spinner {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.loading-spinner.active {
  display: flex;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid rgba(255, 255, 255, 0.2);
  border-top: 6px solid var(--accent-purple);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1.5rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-text {
  color: white;
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
  max-width: 80%;
  margin-bottom: 1rem;
}

.loading-subtext {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  text-align: center;
  max-width: 80%;
}

/* Modal styles */
.modal-content {
  background: linear-gradient(135deg, rgba(15, 10, 30, 0.95) 0%, rgba(30, 20, 50, 0.95) 100%);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(139, 92, 246, 0.3);
  border-radius: 20px;
  color: white;
}

.modal-header {
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  padding: 1.5rem;
}

.modal-title {
  color: var(--accent-purple);
  font-weight: 700;
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  padding: 1.5rem;
}

.form-control, .form-select {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: white;
  border-radius: 10px;
}

.form-control:focus, .form-select:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--accent-purple);
  color: white;
  box-shadow: 0 0 0 0.25rem rgba(139, 92, 246, 0.25);
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-text {
  color: rgba(255, 255, 255, 0.7);
}

.form-check-input:checked {
  background-color: var(--accent-purple);
  border-color: var(--accent-purple);
}

.alert {
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 10px;
}

.alert-info {
  background: rgba(59, 130, 246, 0.2);
  color: rgba(255, 255, 255, 0.9);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  color: white;
}

/* Tooltip styles */
.tooltip {
  --bs-tooltip-bg: #333;
  --bs-tooltip-color: #fff;
  --bs-tooltip-border-radius: 8px;
  --bs-tooltip-padding-y: 0.5rem;
  --bs-tooltip-padding-x: 0.75rem;
  --bs-tooltip-font-size: 0.875rem;
}

/* File upload styling */
.file-upload-wrapper {
  position: relative;
  overflow: hidden;
  display: inline-block;
  width: 100%;
}

.file-upload-wrapper input[type=file] {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.file-upload-label {
  display: block;
  padding: 12px 20px;
  background: rgba(139, 92, 246, 0.2);
  border: 2px dashed rgba(139, 92, 246, 0.5);
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--accent-purple);
  font-weight: 500;
}

.file-upload-label:hover {
  background: rgba(139, 92, 246, 0.3);
  border-color: var(--accent-purple);
}

.file-upload-label i {
  font-size: 1.5rem;
  margin-right: 8px;
}

.file-info {
  margin-top: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.file-info .file-name {
  color: var(--accent-purple);
  font-weight: 500;
}

/* Withdrawal History Table Enhancements */
.withdrawal-history-container {
  margin-top: 2rem;
}

.withdrawal-history-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.withdrawal-history-table th {
  background: var(--gradient-1);
  color: #000;
  font-weight: 600;
  text-align: left;
  padding: 1rem;
  border: none;
}

.withdrawal-history-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  vertical-align: middle;
}

.withdrawal-history-table tr:last-child td {
  border-bottom: none;
}

.withdrawal-history-table tr:hover {
  background: rgba(139, 92, 246, 0.1);
}

.withdrawal-amount {
  font-weight: 600;
  color: var(--accent-purple);
}

.withdrawal-date {
  color: rgba(255, 255, 255, 0.7);
}

.withdrawal-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-details {
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.3);
  color: var(--accent-purple);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-details:hover {
  background: rgba(139, 92, 246, 0.3);
  border-color: var(--accent-purple);
  color: white;
}

/* Empty state for withdrawal history */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: rgba(255, 255, 255, 0.6);
}

.empty-state i {
  font-size: 3rem;
  color: rgba(139, 92, 246, 0.3);
  margin-bottom: 1rem;
}

.empty-state p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* Withdrawal Details Modal */
.withdrawal-details-modal .modal-body {
  padding: 2rem;
}

.detail-section {
  margin-bottom: 1.5rem;
}

.detail-section h5 {
  color: var(--accent-purple);
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-label {
  color: rgba(255, 255, 255, 0.7);
}

.detail-value {
  font-weight: 500;
  color: white;
}

/* Loading Overlay for Withdrawal Modal */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10500;
}

.loading-overlay .spinner-border {
  width: 3rem;
  height: 3rem;
}

/* Civil Contract Modal Styles */
.civil-contract-content {
  max-height: 60vh;
  overflow-y: auto;
  padding: 1rem;
}

.civil-contract-content h6 {
  color: var(--accent-purple);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.civil-contract-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* Checkbox styling for withdrawal form */
.withdrawal-checkbox {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.withdrawal-checkbox .form-check-input {
  width: 1.2rem;
  height: 1.2rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.5);
  border-radius: 0.25rem;
  transition: all 0.2s ease;
}

.withdrawal-checkbox .form-check-input:checked {
  background-color: var(--accent-purple);
  border-color: var(--accent-purple);
}

.withdrawal-checkbox .form-check-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.4;
}

.withdrawal-checkbox .form-check-label a {
  color: var(--accent-purple);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.withdrawal-checkbox .form-check-label a:hover {
  color: #a78bfa;
  text-decoration: underline;
}

/* Poprawka przycisku zamknięcia modalu */
.btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
  opacity: 0.8;
}

.btn-close:hover {
  filter: invert(1) grayscale(100%) brightness(200%);
  opacity: 1;
}

/* Company data styling */
.company-data {
  background: rgba(139, 92, 246, 0.1);
  border-radius: 10px;
  padding: 1rem;
  margin-top: 1rem;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.company-data-item {
  display: flex;
  margin-bottom: 0.5rem;
}

.company-data-item:last-child {
  margin-bottom: 0;
}

.company-data-label {
  font-weight: 600;
  color: var(--accent-purple);
  width: 120px;
  flex-shrink: 0;
}

.company-data-value {
  color: rgba(255, 255, 255, 0.9);
}

/* Style dla typu wypłaty w historii */
.withdrawal-type-badge {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  margin-left: 0.5rem;
}

.type-dg {
  background-color: rgba(139, 92, 246, 0.2);
  color: var(--accent-purple);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.type-non-dg {
  background-color: rgba(139, 92, 246, 0.2);
  color: var(--accent-purple);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

/* Style dla sekcji faktury */
.invoice-section {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 10px;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.invoice-section h5 {
  color: var(--accent-purple);
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.invoice-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

.invoice-status i {
  color: var(--accent-purple);
}

/* Responsive adjustments for withdrawal history */
@media (max-width: 768px) {
  .withdrawal-history-table {
    font-size: 0.9rem;
  }

  .withdrawal-history-table th,
  .withdrawal-history-table td {
    padding: 0.75rem 0.5rem;
  }

  .withdrawal-actions {
    flex-direction: column;
    gap: 0.25rem;
  }

  .btn-details {
    width: 100%;
  }
}

/* Animacja zmiany salda */
.balance-change {
  animation: balanceChange 1s ease;
}

@keyframes balanceChange {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); color: #10b981; }
  100% { transform: scale(1); }
}

/* Style dla sekcji salda gotowego do wypłaty */
.ready-balance-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin-bottom: 1rem;
}

.ready-balance-label {
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
}

.ready-balance-label i {
  margin-right: 8px;
  color: var(--accent-purple);
}

.ready-balance-amount-container {
  text-align: right;
}

/* Style dla szczegółów wypłaty */
.withdrawal-details-item {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.withdrawal-details-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.withdrawal-details-label {
  font-weight: 600;
  color: var(--accent-purple);
  margin-bottom: 0.25rem;
}

.withdrawal-details-value {
  color: rgba(255, 255, 255, 0.9);
}

/* Style dla sekcji panelu z możliwością zwijania */
.panel-section {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.panel-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 70px rgba(139, 92, 246, 0.3);
  border-color: rgba(139, 92, 246, 0.4);
}

.panel-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-2);
}

.panel-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.panel-section-header:hover {
  background: rgba(139, 92, 246, 0.05);
}

.panel-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-purple);
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center; /* Wyśrodkowanie tekstu */
  width: 100%; /* Pełna szerokość */
  gap: 0.75rem;
}

.panel-section-title i {
  font-size: 1.8rem;
}

.toggle-visibility {
  background: none;
  border: none;
  color: var(--accent-purple);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 50%;
}

.toggle-visibility:hover {
  background: rgba(139, 92, 246, 0.1);
  transform: scale(1.1);
}

.panel-section-content {
  padding: 1.5rem;
  transition: all 0.3s ease;
  overflow: hidden;
}

.panel-section-content.hidden {
  display: none;
}

/* Poprawki dla tabel w panelu */
.panel-section .table-premium {
  margin-top: 0;
  border-radius: 12px;
  overflow: hidden;
}

.panel-section .table-premium th {
  padding: 1rem;
  font-weight: 600;
  font-size: 1rem;
}

.panel-section .table-premium td {
  padding: 1rem;
  font-size: 0.95rem;
}

/* Animacja przejścia dla zwijania/rozwijania */
.panel-section-content {
  max-height: 2000px;
  transition: max-height 0.5s ease-in-out, opacity 0.3s ease, padding 0.3s ease;
  opacity: 1;
}

.panel-section-content.hidden {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
}

/* Dodatkowe style dla suwaka */
.collapsible-slider {
  position: relative;
  margin-bottom: 1rem;
}

.collapsible-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.collapsible-slider-header:hover {
  background: rgba(139, 92, 246, 0.2);
}

.collapsible-slider-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  text-align: center;
  width: 100%;
}

.collapsible-slider-icon {
  color: var(--accent-purple);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.collapsible-slider-icon.rotated {
  transform: rotate(180deg);
}

.collapsible-slider-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}

.collapsible-slider-content.expanded {
  max-height: 2000px;
}