:root {
  --primary: #e10092;
  --primary-dark: #c2185b;
  --secondary: #0095f6;
  --dark-bg: #121212;
  --card-bg: #1e1e1e;
  --card-border: #333;
  --text-color: #e0e0e0;
  --nav-bg: rgba(26, 26, 26, 0.95);
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --muted: #aaa;
}

/* TRYB JASNY */
[data-bs-theme="light"] {
  --dark-bg: #f8f9fa;
  --card-bg: #ffffff;
  --card-border: #dee2e6;
  --text-color: #222222;
  --nav-bg: rgba(255, 255, 255, 0.95);
  --glass-bg: rgba(0, 0, 0, 0.05);
  --glass-border: rgba(0, 0, 0, 0.1);
  --muted: #666666;
}

/* STYLE GŁÓWNE */
* {
  box-sizing: border-box;
}

body {
  background: linear-gradient(135deg, #5303d5bf 0%, #000000 120%);
  min-height: 100vh;
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 80px !important;
}

[data-bs-theme="light"] body {
  background: linear-gradient(135deg, #5303d5bf 0%, #000000 120%);
  color: var(--text-color);
}

/* GLASS MORPHISM */
.glass-effect {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
}

/* GLASS MORPHISM NAVBAR - ULEPSZONY */
.desktop-nav {
  width: 100%;
  max-width: 1100px;
  margin: 1rem auto;
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(25px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 1rem;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
}

[data-bs-theme="light"] .desktop-nav {
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* Mobile Nav też glass */
.mobile-bottom-nav {
  position: fixed;
  bottom: 15px;
  left: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(25px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 1rem;
  padding: 0.5rem 0;
  z-index: 1000;
  display: none;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

[data-bs-theme="light"] .mobile-bottom-nav {
  background: rgba(255, 255, 255, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* MOBILE BOTTOM NAVIGATION - ORYGINALNA WERSJA */
.mobile-bottom-nav {
  position: fixed;
  bottom: 15px;
  left: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(25px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 1rem !important;
  padding: 0.5rem 0;
  z-index: 1000;
  display: none;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  max-width: calc(100% - 30px);
  margin: 0 auto;
}

[data-bs-theme="light"] .mobile-bottom-nav {
  background: rgba(255, 255, 255, 0.7) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.mobile-nav-items {
  display: flex;
  justify-content: space-around;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.mobile-nav-item {
  flex: 1;
  text-align: center;
  min-width: 0;
}

.mobile-nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem;
  color: var(--text-color);
  text-decoration: none;
  font-size: 0.75rem;
  transition: all 0.3s ease;
  border-radius: 0.75rem;
  margin: 0 0.25rem;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 100%;
  position: relative;
  overflow: hidden;
}

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

.mobile-nav-link:hover::before {
  left: 100%;
}

.mobile-nav-link.active {
  color: var(--primary) !important;
  background: rgba(225, 48, 108, 0.15) !important;
  backdrop-filter: blur(10px);
  transform: translateY(-2px);
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 4px 12px rgba(225, 48, 108, 0.2);
}

.mobile-nav-link:hover {
  color: var(--primary) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  transform: translateY(-1px);
}

.mobile-nav-icon {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
  transition: all 0.3s ease;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-nav-link.active .mobile-nav-icon {
  transform: scale(1.1);
}

/* FIX dla przycisków w mobile nav */
.mobile-nav-link[style*="background: none"] {
  background: transparent !important;
  border: none !important;
}

.mobile-nav-link[style*="background: none"]:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}

.mobile-nav-link[style*="background: none"].active {
  background: rgba(225, 48, 108, 0.15) !important;
}

/* ANDROID - BEZ BLUR */
.android-device .mobile-bottom-nav {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: rgba(30, 30, 30, 0.95) !important;
}

.android-device[data-bs-theme="light"] .mobile-bottom-nav {
  background: rgba(255, 255, 255, 0.95) !important;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex !important;
  }
  
  body {
    padding-bottom: 90px !important;
  }
  
  .container.py-4 {
    padding-bottom: 80px !important;
  }
  
  /* Zapobiega rozciąganiu */
  .mobile-nav-items {
    flex-wrap: nowrap;
    overflow: hidden;
  }
  
  .mobile-nav-item {
    flex-shrink: 1;
    min-width: 60px;
  }
  
  .mobile-nav-link {
    font-size: 0.7rem;
    padding: 0.4rem 0.25rem;
    margin: 0 0.1rem;
  }
  
  .mobile-nav-icon {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
  }
}

@media (max-width: 480px) {
  .mobile-bottom-nav {
    bottom: 10px;
    left: 10px;
    right: 10px;
    max-width: calc(100% - 20px);
  }
  
  .mobile-nav-link {
    font-size: 0.65rem;
    padding: 0.35rem 0.2rem;
  }
  
  .mobile-nav-icon {
    font-size: 1rem;
  }
}

/* Zapobiega pokazywaniu się desktop nav na mobile */
@media (max-width: 768px) {
  .desktop-nav {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .mobile-bottom-nav {
    display: none !important;
  }
}

/* KARTY */
.card {
  width: 100%;
  max-width: 1100px;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  overflow: hidden;
  color: var(--text-color);
}

[data-bs-theme="light"] .card {
  background: rgba(255, 255, 255, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
}

.card:hover {
  box-shadow: 
    0 12px 40px rgba(225,48,108,0.15),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15) !important;
}

[data-bs-theme="light"] .card:hover {
  background: rgba(255, 255, 255, 0.9) !important;
}

.card-header {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
  padding: 0.75rem 1rem;
  color: var(--text-color);
}

[data-bs-theme="light"] .card-header {
  background: rgba(255, 255, 255, 0.2) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.post-content {
  padding: 1rem;
  line-height: 1.6;
  color: var(--text-color);
}

.post-footer {
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

[data-bs-theme="light"] .post-footer {
  background: rgba(255, 255, 255, 0.15) !important;
  border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* PRZYCISKI */
.btn-like, .btn-comments {
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1rem;
  transition: all 0.3s ease;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
}

.btn-like {
  color: var(--primary);
}

.btn-like:hover {
  background: rgba(225, 48, 108, 0.1);
  transform: scale(1.05);
}

.btn-comments {
  color: var(--secondary);
}

.btn-comments:hover {
  background: rgba(0, 149, 246, 0.1);
  transform: scale(1.05);
}

/* HERO SECTION */
.hero-section {
  text-align: center;
  padding: 3rem 0;
  margin-bottom: 2rem;
  width: 100%;
  max-width: 1100px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 1rem;
  text-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-color);
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ANKIETY */
.poll-option {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(15px);
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-color);
}

[data-bs-theme="light"] .poll-option {
  background: rgba(255, 255, 255, 0.4) !important;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.poll-option:hover {
  background: rgba(0, 149, 246, 0.15) !important;
  border-color: var(--secondary);
  transform: translateY(-2px);
}

.poll-results {
  margin-top: 1.5rem;
}

.poll-bar {
  height: 28px;
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  margin-bottom: 0.75rem;
  overflow: hidden;
  position: relative;
}

[data-bs-theme="light"] .poll-bar {
  background: rgba(0, 0, 0, 0.05) !important;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.poll-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary), #4db8ff);
  border-radius: 14px;
  transition: width 0.8s ease;
  display: flex;
  align-items: center;
  padding-left: 12px;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  min-width: 40px;
}

.poll-stats {
  font-size: 0.9rem;
  color: var(--text-color);
  opacity: 0.8;
  margin-top: 0.5rem;
  text-align: center;
}

/* KOMENTARZE */
.comment-box {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(15px);
  border-radius: 0.75rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
  color: var(--text-color);
  border-left: 4px solid var(--secondary);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-bs-theme="light"] .comment-box {
  background: rgba(255, 255, 255, 0.4) !important;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.comment-author {
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

/* TOASTY */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1055;
}

/* TABY */
.nav-tabs {
  border-bottom: 1px solid var(--card-border);
}

.nav-tabs .nav-link {
  color: var(--text-color);
  border: none;
  padding: 1rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-tabs .nav-link.active {
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  color: white !important;
  border-radius: 0.75rem 0.75rem 0 0;
  border: none;
}

.nav-tabs .nav-link:hover {
  border: none;
  color: var(--primary);
}

/* FORMULARZE */
.form-control {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  color: var(--text-color);
}

.form-control:focus {
  background: var(--card-bg);
  border-color: var(--secondary);
  color: var(--text-color);
  box-shadow: 0 0 0 0.2rem rgba(0, 149, 246, 0.25);
}

.form-control::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

/* TEXT MUTED */
.text-muted {
  color: var(--muted) !important;
}

/* Glass Morphism Modal */
.glass-modal {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 20px !important;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
  color: var(--text-color) !important;
}

[data-bs-theme="light"] .glass-modal {
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

/* Login Container */
.login-container {
  padding: 1rem;
}

.login-header {
  position: relative;
}

.login-avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  box-shadow: 0 10px 30px rgba(225, 48, 108, 0.3);
  animation: pulse-avatar 2s infinite;
}

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

/* Form Styles */
.form-group {
  position: relative;
}

.input-group {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

[data-bs-theme="light"] .input-group {
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.input-group-text {
  background: transparent !important;
  border: none !important;
  color: var(--text-color) !important;
  opacity: 0.7;
}

.form-control {
  background: transparent !important;
  border: none !important;
  color: var(--text-color) !important;
  padding: 15px 0 !important;
}

.form-control:focus {
  box-shadow: none !important;
  background: transparent !important;
}

.form-control::placeholder {
  color: var(--muted) !important;
  opacity: 0.7;
}

/* Login Button */
.btn-login {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  border-radius: 15px;
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

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

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(225, 48, 108, 0.4);
}

.btn-login:active {
  transform: translateY(0);
}

.btn-loading {
  display: none;
}

.btn-login.loading .btn-text {
  display: none;
}

.btn-login.loading .btn-loading {
  display: block;
}

/* Toggle Password */
.toggle-password {
  cursor: pointer;
  transition: all 0.3s ease;
}

.toggle-password:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  transform: scale(1.1);
}

/* Security Features */
.security-features {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

.security-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Modal Animations */
.modal.fade .glass-modal {
  transform: scale(0.8) translateY(-50px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal.show .glass-modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Error States */
.input-error {
  border-color: #ff4757 !important;
  animation: shake 0.5s ease-in-out;
}

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

.error-message {
  color: #ff4757;
  font-size: 0.8rem;
  margin-top: 5px;
  display: none;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  text-align: center;
}

.preloader-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.logo-text {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  letter-spacing: 2px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.logo-dot {
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  margin-left: 5px;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.7;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.preloader-progress {
  width: 200px;
  height: 4px;
  background-color: rgba(255,255,255,0.3);
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: white;
  width: 0%;
  animation: loading 2s ease-in-out forwards;
  box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

@keyframes loading {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

/* Floating shapes for hero */
.floating-shapes {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  opacity: 0.1;
  animation: float 8s ease-in-out infinite;
}

.shape-1 {
  width: 100px;
  height: 100px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  left: 70%;
  animation-delay: 2s;
}

.shape-3 {
  width: 80px;
  height: 80px;
  top: 80%;
  left: 20%;
  animation-delay: 4s;
}

.shape-4 {
  width: 120px;
  height: 120px;
  top: 30%;
  left: 80%;
  animation-delay: 1s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}

/* RESPONSYWNOŚĆ */
@media (max-width: 768px) {
  .desktop-nav {
    display: none !important;
  }
  
  .mobile-bottom-nav {
    display: block;
  }
  
  body {
    padding-bottom: 90px !important;
  }
  
  .container.py-4 {
    padding: 1rem !important;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .card {
    margin-bottom: 1rem;
    border-radius: 0.75rem;
  }
  
  .btn, .form-control {
    border-radius: 12px !important;
    padding: 12px 16px !important;
  }
  
  .mobile-bottom-nav {
    bottom: 10px;
    left: 10px;
    right: 10px;
  }
}

@media (min-width: 769px) {
  .mobile-bottom-nav {
    display: none !important;
  }
}

/* NOWE KONTAKTY - MEGA WYGODNE UI */
.contact-hero {
  text-align: center;
  padding: 2rem 0;
  margin-bottom: 2rem;
  width: 100%;
  max-width: 1100px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 1.5rem !important;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.3);
  background: rgba(255, 255, 255, 0.15) !important;
}

.contact-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2.5rem;
  transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
  transform: scale(1.1);
}

.phone-icon { 
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
}

.instagram-icon { 
  background: linear-gradient(135deg, #E1306C, #C13584);
  color: white;
}

.tiktok-icon { 
  background: linear-gradient(135deg, #000000, #25F4EE);
  color: white;
}

.contact-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.contact-detail {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--secondary);
  word-break: break-all;
}

.contact-description {
  color: var(--text-color);
  opacity: 0.8;
  margin-bottom: 2rem;
  line-height: 1.6;
  flex-grow: 1;
}

.contact-btn {
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  color: white;
  margin-top: auto;
  font-size: 1rem;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  color: white;
}

.btn-phone { 
  background: linear-gradient(45deg, #25D366, #128C7E); 
}

.btn-instagram { 
  background: linear-gradient(45deg, #E1306C, #C13584); 
}

.btn-tiktok { 
  background: linear-gradient(45deg, #000000, #25F4EE); 
}

/* STATYSTYKI KONTAKTOWE */
.contact-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 4rem;
  max-width: 800px;
  width: 100%;
  padding: 0 1rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-color);
  opacity: 0.8;
  font-weight: 500;
  font-size: 0.9rem;
}

/* RESPONSYWNOŚĆ KONTAKTÓW */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 0.5rem;
  }
  
  .contact-card {
    padding: 1.5rem;
    margin: 0 0.5rem;
  }
  
  .contact-hero {
    padding: 1rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  .contact-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }
  
  .contact-detail {
    font-size: 1.1rem;
  }
  
  .contact-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 3rem;
  }
}

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

@media (min-width: 1200px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* CALENDAR STYLES - ORYGINALNA WERSJA */
#calendar {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 1rem !important;
  padding: 1.5rem !important;
  min-height: 600px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

[data-bs-theme="light"] #calendar {
  background: rgba(255, 255, 255, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

/* FullCalendar Overrides */
.fc {
  --fc-border-color: rgba(255, 255, 255, 0.2) !important;
  --fc-page-bg-color: transparent !important;
  --fc-neutral-bg-color: transparent !important;
  --fc-now-indicator-color: var(--primary) !important;
  --fc-today-bg-color: rgba(225, 48, 108, 0.15) !important;
  --fc-list-event-hover-bg-color: rgba(255, 255, 255, 0.1) !important;
  color: var(--text-color) !important;
}

[data-bs-theme="light"] .fc {
  --fc-border-color: rgba(0, 0, 0, 0.1) !important;
  --fc-today-bg-color: rgba(225, 48, 108, 0.1) !important;
}

/* Toolbar - Glass Morphism */
.fc-toolbar {
  color: var(--text-color) !important;
  margin-bottom: 2rem !important;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border-radius: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.fc-toolbar-title {
  font-size: 1.8rem !important;
  font-weight: 700;
  text-align: center;
  margin: 10px 0 !important;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons - Glass Style */
.fc-button {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 12px !important;
  padding: 0.7rem 1.2rem !important;
  font-size: 0.9rem !important;
  margin: 2px !important;
  transition: all 0.3s ease !important;
  color: var(--text-color) !important;
  font-weight: 600;
}

.fc-button:hover {
  background: rgba(225, 48, 108, 0.2) !important;
  border-color: var(--primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(225, 48, 108, 0.3);
}

.fc-button:active, .fc-button:focus {
  background: rgba(225, 48, 108, 0.3) !important;
  border-color: var(--primary) !important;
  box-shadow: none !important;
}

.fc-button-active {
  background: linear-gradient(45deg, var(--primary), var(--secondary)) !important;
  color: white !important;
  border-color: transparent !important;
}

/* Events - Glass Style */
.fc-event {
  background: linear-gradient(45deg, var(--primary), var(--secondary)) !important;
  border: none !important;
  cursor: pointer;
  font-size: 0.8rem;
  padding: 6px 8px;
  border-radius: 8px;
  margin: 2px;
  box-shadow: 0 4px 12px rgba(225, 48, 108, 0.3);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.fc-event:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(225, 48, 108, 0.4);
}

.fc-event-title {
  font-weight: 600;
  color: white !important;
}

/* Headers */
.fc-col-header-cell {
  background: rgba(255, 255, 255, 0.05) !important;
  backdrop-filter: blur(10px);
  border-color: rgba(255, 255, 255, 0.1) !important;
  padding: 0.75rem !important;
  font-weight: 600;
}

.fc-col-header-cell-cushion {
  color: var(--text-color) !important;
  text-decoration: none !important;
  font-size: 1rem;
}

/* Cells */
.fc-daygrid-day {
  background: rgba(255, 255, 255, 0.02) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  transition: all 0.3s ease;
  min-height: 100px;
}

.fc-daygrid-day:hover {
  background: rgba(255, 255, 255, 0.05) !important;
}

.fc-daygrid-day-number {
  color: var(--text-color) !important;
  font-weight: 600;
  padding: 8px !important;
  font-size: 1rem;
}

/* Time Grid */
.fc-timegrid-slot {
  border-color: rgba(255, 255, 255, 0.05) !important;
  height: 2.5em !important;
}

.fc-timegrid-axis {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.fc-timegrid-slot-label {
  color: var(--text-color) !important;
  font-size: 0.9rem;
}

/* Nowy dzien */
.fc-day-today {
  background: rgba(225, 48, 108, 0.1) !important;
}

/* ADMIN PANEL - Glass */
.admin-panel {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(20px) !important;
  border-radius: 1rem !important;
  padding: 1.5rem !important;
  margin-bottom: 2rem !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-left: 4px solid var(--secondary) !important;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

[data-bs-theme="light"] .admin-panel {
  background: rgba(255, 255, 255, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

/* EVENT MODAL - Glass */
.event-modal-content {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(25px) !important;
  border-radius: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

[data-bs-theme="light"] .event-modal-content {
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.event-modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border-radius: 20px 20px 0 0 !important;
  backdrop-filter: blur(10px);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  #calendar {
    padding: 1rem !important;
    min-height: 500px;
    border-radius: 0.75rem !important;
  }
  
  .fc-toolbar-title {
    font-size: 1.3rem !important;
  }
  
  .fc-button {
    padding: 0.5rem 0.8rem !important;
    font-size: 0.8rem !important;
  }
  
  .fc-toolbar {
    padding: 0.75rem !important;
    flex-direction: column;
    gap: 10px;
  }
  
  .fc-header-toolbar {
    flex-direction: column !important;
  }
  
  .fc-toolbar-chunk {
    margin-bottom: 10px;
  }
  
  /* Na mobile domyślnie pokazuj widok dnia z focusem na godziny spotkań */
  .fc-timegrid-slots {
    min-height: 400px;
  }
  
  .fc-col-header-cell-cushion {
    font-size: 0.8rem;
  }
  
  .fc-daygrid-day-number {
    font-size: 0.8rem;
  }
  
  .admin-panel {
    padding: 1rem !important;
    margin-bottom: 1rem !important;
  }
}

/* Desktop Optimizations */
@media (min-width: 1200px) {
  #calendar {
    min-height: 700px;
  }
  
  .fc-toolbar-title {
    font-size: 2rem !important;
  }
  
  .fc-button {
    padding: 0.8rem 1.5rem !important;
    font-size: 1rem !important;
  }
}

/* ADMIN PANEL - Glass */
.admin-panel {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(20px) !important;
  border-radius: 1rem !important;
  padding: 1.5rem !important;
  margin-bottom: 2rem !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-left: 4px solid var(--secondary) !important;
}

[data-bs-theme="light"] .admin-panel {
  background: rgba(255, 255, 255, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

/* EVENT MODAL - Glass */
.event-modal-content {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(25px) !important;
  border-radius: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

[data-bs-theme="light"] .event-modal-content {
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.event-modal-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border-radius: 20px 20px 0 0 !important;
  backdrop-filter: blur(10px);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  #calendar {
    padding: 1rem !important;
    min-height: 500px;
  }
  
  .fc-toolbar-title {
    font-size: 1.3rem !important;
  }
  
  .fc-button {
    padding: 0.5rem 0.8rem !important;
    font-size: 0.8rem !important;
  }
  
  .fc-toolbar {
    padding: 0.75rem !important;
  }
  
  /* Na mobile domyślnie pokazuj widok dnia z focusem na godziny spotkań */
  .fc-timegrid-slots {
    min-height: 400px;
  }
}
/* Page Sections */
.page-section {
  display: none;
  width: 100%;
  animation: fadeIn 0.5s ease;
}

.page-section.active {
  display: block;
}

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

/* Smooth Theme Transition */
html {
  transition: background-color 0.5s ease, color 0.5s ease;
}

body * {
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
/* POPRAWKI KALENDARZA NA WIĘKSZYCH TELEFONACH */
@media (min-width: 769px) and (max-width: 1024px) {
  #calendar {
    min-height: 700px !important;
    padding: 2rem !important;
  }
  
  .fc-toolbar-title {
    font-size: 1.8rem !important;
  }
  
  .fc-button {
    padding: 0.8rem 1.2rem !important;
    font-size: 1rem !important;
  }
  
  .fc-col-header-cell-cushion {
    font-size: 1.1rem !important;
  }
  
  .fc-daygrid-day-number {
    font-size: 1.1rem !important;
  }
}

/* Tablet landscape */
@media (min-width: 1025px) and (max-width: 1366px) {
  #calendar {
    min-height: 800px !important;
  }
}