/* Start custom CSS */@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

/* === MAREK STILLER PAGE === */

body.elementor-page {
  background: #050d24 !important;
}

.elementor-section-wrap,
.elementor-section,
.elementor-container,
.elementor-row,
.elementor-widget-wrap {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
}

.ms-page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 48px 20px;
  max-width: 540px;
  margin: 0 auto;
  background: transparent;
}

/* Tło gradientowe na cały ekran */
.ms-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(59, 130, 246, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(30, 84, 201, 0.25) 0%, transparent 65%),
    linear-gradient(180deg, #061128 0%, #050d24 40%, #030917 100%);
  pointer-events: none;
}

/* Krateczka jak u Piotrka */
.ms-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(139, 192, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 192, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 30%, black 0%, transparent 80%);
  pointer-events: none;
}

/* Glow pulsujący pod awatarem */
.ms-header::before {
  content: "";
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(91, 167, 255, 0.35) 0%, transparent 60%);
  filter: blur(40px);
  pointer-events: none;
  z-index: -1;
  animation: msPulse 8s ease-in-out infinite;
}

@keyframes msPulse {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.08); }
}

/* HEADER */
.ms-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: msFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  position: relative;
}

/* AVATAR */
.ms-avatar-wrap {
  position: relative;
  width: 132px;
  height: 132px;
  margin-bottom: 22px;
}

.ms-avatar-wrap::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: conic-gradient(
    from 180deg,
    #5ba7ff 0deg,
    #3b82f6 90deg,
    #0a1a3a 180deg,
    #3b82f6 270deg,
    #5ba7ff 360deg
  );
  animation: msRotate 12s linear infinite;
  z-index: 0;
}

.ms-avatar-wrap::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: #050d24;
  z-index: 1;
}

@keyframes msRotate {
  to { transform: rotate(360deg); }
}

.ms-avatar {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 50% !important;
  object-fit: cover;
  object-position: center 30%;
  box-shadow:
    0 0 0 2px rgba(139, 192, 255, 0.2),
    0 20px 50px -10px rgba(30, 84, 201, 0.6);
  display: block;
}

/* NAZWA */
.ms-name {
  font-family: 'Fraunces', Georgia, serif !important;
  font-size: 34px !important;
  font-weight: 600 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.1 !important;
  margin-bottom: 10px !important;
  background: linear-gradient(180deg, #ffffff 0%, #c8dcff 100%);
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
}

/* TAGLINE */
.ms-tagline {
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #8ec5ff !important;
  opacity: 0.85;
  margin-bottom: 8px !important;
}

.ms-sep {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #5ba7ff;
  margin: 0 10px;
  vertical-align: middle;
  opacity: 0.6;
}

/* LINKI */
.ms-links {
  width: 100%;
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none !important;
  padding: 0 !important;
}

.ms-link {
  position: relative;
  display: flex !important;
  align-items: center !important;
  gap: 16px;
  padding: 18px 20px !important;
  background: linear-gradient(135deg, rgba(30, 84, 201, 0.18) 0%, rgba(10, 26, 58, 0.6) 100%) !important;
  border: 1px solid rgba(139, 192, 255, 0.18) !important;
  border-radius: 16px !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.25s ease,
              background 0.25s ease,
              box-shadow 0.25s ease;
  overflow: hidden;
  opacity: 0;
  animation: msFadeUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.ms-link:nth-child(1) { animation-delay: 0.15s; }
.ms-link:nth-child(2) { animation-delay: 0.22s; }
.ms-link:nth-child(3) { animation-delay: 0.29s; }
.ms-link:nth-child(4) { animation-delay: 0.36s; }
.ms-link:nth-child(5) { animation-delay: 0.43s; }

/* Shine effect */
.ms-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(139, 192, 255, 0.15), transparent);
  transition: left 0.6s ease;
  pointer-events: none;
}

.ms-link:hover::before { left: 130%; }

.ms-link:hover {
  transform: translateY(-2px) !important;
  border-color: rgba(139, 192, 255, 0.35) !important;
  background: linear-gradient(135deg, rgba(30, 84, 201, 0.32) 0%, rgba(18, 42, 92, 0.7) 100%) !important;
  box-shadow: 0 12px 30px -10px rgba(30, 84, 201, 0.5),
              0 0 0 1px rgba(139, 192, 255, 0.2) !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

.ms-link:hover *,
.ms-link:hover strong,
.ms-link:hover span {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-decoration: none !important;
}

.ms-link:active { transform: translateY(0) !important; }

.ms-link.ms-featured {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.28) 0%, rgba(30, 84, 201, 0.4) 100%) !important;
  border-color: rgba(139, 192, 255, 0.35) !important;
}

/* IKONY */
.ms-link-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.ms-link-icon::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, transparent 100%);
  pointer-events: none;
}

.ms-link-icon svg {
  width: 23px;
  height: 23px;
  stroke: #ffffff;
  fill: none;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,0.25));
}

.icon-bybit {
  background: linear-gradient(135deg, #f7a30b 0%, #d97706 100%) !important;
  box-shadow: 0 6px 18px -4px rgba(247, 163, 11, 0.55),
              inset 0 1px 0 rgba(255,255,255,0.3) !important;
}
.icon-book {
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%) !important;
  box-shadow: 0 6px 18px -4px rgba(0,0,0,0.7),
              inset 0 1px 0 rgba(255,255,255,0.1) !important;
}
.icon-telegram {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 100%) !important;
  box-shadow: 0 6px 18px -4px rgba(56, 189, 248, 0.55),
              inset 0 1px 0 rgba(255,255,255,0.3) !important;
}
.icon-forbes {
  background: linear-gradient(135deg, #14b8a6 0%, #047857 100%) !important;
  box-shadow: 0 6px 18px -4px rgba(20, 184, 166, 0.5),
              inset 0 1px 0 rgba(255,255,255,0.25) !important;
}
.icon-premium {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 50%, #b45309 100%) !important;
  box-shadow: 0 6px 18px -4px rgba(251, 191, 36, 0.6),
              inset 0 1px 0 rgba(255,255,255,0.35) !important;
}

.ms-link-text { flex: 1; min-width: 0; }

.ms-link-arrow {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  opacity: 0.45;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.ms-link-arrow svg {
  width: 100%; height: 100%;
  stroke: #8ec5ff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ms-link:hover .ms-link-arrow {
  opacity: 1;
  transform: translateX(3px);
}

/* FOOTER */
.ms-footer {
  margin-top: 48px;
  text-align: center;
  font-size: 12px;
  color: #8ec5ff !important;
  opacity: 0.5;
  letter-spacing: 0.05em;
  animation: msFadeUp 0.8s 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ms-dot {
  display: inline-block;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: #5ba7ff;
  margin: 0 8px;
  vertical-align: middle;
}

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

@media (max-width: 480px) {
  .ms-page { padding: 36px 16px; }
  .ms-avatar-wrap { width: 116px; height: 116px; }
  .ms-name { font-size: 28px !important; }
  .ms-link { padding: 16px !important; font-size: 14px !important; }
  .ms-link-icon { width: 40px; height: 40px; }
}

@media (min-width: 600px) {
  .ms-page { padding-top: 64px; }
  .ms-name { font-size: 38px !important; }
}/* End custom CSS */