/* ==========================================================================
   QUEZIOR.PL — Cyberpunk Biolink Stylesheet
   Electric Violet Theme, Brand Glows, Real Counters, 3D Skin Emotes
   ========================================================================== */

:root {
  --bg-dark: #05040a;
  --bg-card: rgba(13, 10, 22, 0.82);
  --bg-card-border: rgba(168, 85, 247, 0.24);
  --accent-cyan: #a855f7;          /* Primary Accent: Electric Violet */
  --accent-cyan-rgb: 168, 85, 247;
  --accent-violet: #a855f7;
  --accent-violet-rgb: 168, 85, 247;
  --accent-glow: #c084fc;
  --accent-pink: #ec4899;
  --text-primary: #f8f6ff;
  --text-muted: #9d94b0;
  --text-dim: #5c5470;
  --font-display: 'Unbounded', system-ui, sans-serif;
  --font-body: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --card-radius: 20px;
}

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

html {
  font-size: 16px;
  background-color: var(--bg-dark);
  color-scheme: dark;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  position: relative;
  user-select: none;
  -webkit-font-smoothing: antialiased;
}

/* Custom Crosshair Cursor (Desktop only) */
@media (hover: hover) and (pointer: fine) {
  body {
    cursor: none;
  }
  a, button, input, .social-card, .action-card, .tab-btn, .counter-pill, .emote-btn, .gate-overlay, canvas {
    cursor: none !important;
  }
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px var(--accent-cyan), 0 0 2px #fff;
  transition: opacity 0.2s ease;
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(168, 85, 247, 0.75);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.35), inset 0 0 8px rgba(168, 85, 247, 0.15);
  transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease;
}

.cursor-ring::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  width: 1px;
  height: 4px;
  background: var(--accent-cyan);
  transform: translateX(-50%);
  box-shadow: 0 44px 0 var(--accent-cyan);
}

.cursor-ring::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -6px;
  height: 1px;
  width: 4px;
  background: var(--accent-cyan);
  transform: translateY(-50%);
  box-shadow: 44px 0 0 var(--accent-cyan);
}

body.cursor-hover .cursor-ring {
  width: 48px;
  height: 48px;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 25px rgba(168, 85, 247, 0.75);
}

@media (pointer: coarse) {
  .cursor-dot, .cursor-ring {
    display: none !important;
  }
}

/* ==========================================================================
   Background Video & Cyberpunk Layers
   ========================================================================== */

.bg-wrapper {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.42) contrast(1.15) saturate(1.1);
  transform: scale(1.02);
  transition: filter 0.8s ease;
}

.bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(3, 10, 14, 0.45) 0%, rgba(1, 4, 6, 0.88) 100%),
              linear-gradient(rgba(0, 8, 12, 0.4), rgba(0, 0, 0, 0.8));
}

.bg-scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.22) 0, rgba(0, 0, 0, 0.22) 1px, transparent 1px, transparent 3px);
  mix-blend-mode: multiply;
  opacity: 0.6;
  pointer-events: none;
}

.bg-vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 160px rgba(168, 85, 247, 0.08), inset 0 0 280px rgba(0, 0, 0, 0.95);
}

/* Giant Typography in Background — Wyprostowane, eleganckie pasy poziome */
.marquee-bg {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 4vh;
  transform: none; /* Idealnie proste, bez przekrzywienia */
  opacity: 0.16;
  mask-image: radial-gradient(circle at center, transparent 20%, black 75%);
  -webkit-mask-image: radial-gradient(circle at center, transparent 20%, black 75%);
  pointer-events: none;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: clamp(70px, 12vw, 170px);
  font-weight: 900;
  letter-spacing: -0.02em;
  gap: 3rem;
  will-change: transform;
}

.marquee-track span {
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.18), rgba(236, 72, 153, 0.22), rgba(168, 85, 247, 0.18));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.marquee-track span.outline {
  -webkit-text-stroke: 1.5px rgba(168, 85, 247, 0.22);
  color: transparent;
  background: none;
}

.marquee-track.left {
  animation: marqueeLeft 38s linear infinite;
}

.marquee-track.right {
  animation: marqueeRight 42s linear infinite;
}

@keyframes marqueeLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marqueeRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ==========================================================================
   Click To Enter (Gate Screen) — Styl ZJAZDBOSS.PL: proste, wyśrodkowane
   ========================================================================== */

.gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #05040a; /* Pełne, jednolite ciemne tło (nic krzywego nie przebija) */
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s ease;
  user-select: none;
  overflow: hidden;
}

/* Falujące pierścienie w tle */
.gate-overlay::before {
  content: '';
  position: absolute;
  inset: -50%;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle at center,
    transparent 0px,
    transparent 38px,
    rgba(168, 85, 247, 0.05) 39px,
    transparent 40px
  );
  animation: gateRipple 8s linear infinite;
  pointer-events: none;
}

@keyframes gateRipple {
  0% { transform: scale(0.96); }
  50% { transform: scale(1.04); }
  100% { transform: scale(0.96); }
}

.gate-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.gate-centerpiece {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: auto;
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 20px;
}

.gate-giant-title {
  font-family: var(--font-display);
  font-size: clamp(70px, 20vw, 220px);
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #ffffff;
  text-shadow: 
    0 0 55px rgba(168, 85, 247, 0.65),
    0 0 110px rgba(168, 85, 247, 0.3),
    0 2px 0 rgba(168, 85, 247, 0.5);
  line-height: 0.95;
  margin-bottom: 34px;
  animation: giantGlow 4s ease-in-out infinite alternate;
  display: block;
  width: 100%;
  text-align: center;
  transform: none; /* Idealnie proste */
}

@keyframes giantGlow {
  0% {
    text-shadow: 0 0 40px rgba(168, 85, 247, 0.5), 0 0 80px rgba(168, 85, 247, 0.2);
    color: #ffffff;
  }
  100% {
    text-shadow: 0 0 75px rgba(168, 85, 247, 0.95), 0 0 130px rgba(168, 85, 247, 0.45);
    color: #faf5ff;
  }
}

.gate-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 30px;
  background: rgba(14, 10, 24, 0.85);
  border: 1px solid rgba(168, 85, 247, 0.4);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.16);
  transition: all 0.3s ease;
  cursor: pointer;
}

.gate-overlay:hover .gate-pill-btn,
.gate-pill-btn:hover {
  border-color: var(--accent-glow);
  background: rgba(168, 85, 247, 0.18);
  box-shadow: 0 0 30px rgba(168, 85, 247, 0.4);
  transform: translateY(-2px);
}

.gate-pill-btn:active {
  transform: translateY(1px) scale(0.98);
}

.gate-pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-glow);
  box-shadow: 0 0 8px var(--accent-glow);
  animation: dotPulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes dotPulse {
  0%, 100% { opacity: 0.5; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.3); }
}

.gate-pill-text {
  font-family: var(--font-mono);
  font-size: clamp(0.62rem, 1.8vw, 0.78rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(245, 235, 255, 0.9);
  text-transform: uppercase;
}

.gate-song-tag {
  display: none;
}

/* ========== EFEKT WYBUCHU (particle burst przy kliknięciu gate) ========== */
.gate-particle {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 999999;
  transform: translate(-50%, -50%);
  animation: gateParticleFly var(--dur, 0.7s) cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes gateParticleFly {
  0%   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--tx)), calc(-50% + var(--ty))) scale(0); }
}

.gate-ring-burst {
  position: fixed;
  border-radius: 50%;
  border: 2px solid rgba(168, 85, 247, 0.9);
  pointer-events: none;
  z-index: 999998;
  transform: translate(-50%, -50%) scale(0);
  animation: gateRingBurst 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes gateRingBurst {
  0%   { transform: translate(-50%, -50%) scale(0); opacity: 1; width: 20px; height: 20px; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 0; width: 400px; height: 400px; }
}


/* ==========================================================================
   Page Layout & Central Cyber Card (Idealnie na środku ekranu)
   ========================================================================== */

.page-container {
  position: relative;
  z-index: 5;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 30px 18px;
  box-sizing: border-box;
}

.cyber-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: auto !important;
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--card-radius);
  padding: 22px 20px 16px;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85),
              0 0 40px rgba(168, 85, 247, 0.1),
              inset 0 0 30px rgba(168, 85, 247, 0.04);
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.cyber-card:hover {
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.9),
              0 0 55px rgba(168, 85, 247, 0.18),
              inset 0 0 35px rgba(168, 85, 247, 0.08);
}

/* Neon Corner Brackets */
.corner {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid var(--accent-cyan);
  filter: drop-shadow(0 0 6px var(--accent-cyan));
  pointer-events: none;
  opacity: 0.85;
  transition: transform 0.35s ease;
}

.c-tl { top: -6px; left: -6px; border-bottom: 0; border-right: 0; border-top-left-radius: 8px; }
.c-tr { top: -6px; right: -6px; border-bottom: 0; border-left: 0; border-top-right-radius: 8px; }
.c-bl { bottom: -6px; left: -6px; border-top: 0; border-right: 0; border-bottom-left-radius: 8px; }
.c-br { bottom: -6px; right: -6px; border-top: 0; border-left: 0; border-bottom-right-radius: 8px; }

.cyber-card:hover .c-tl { transform: translate(-3px, -3px); }
.cyber-card:hover .c-tr { transform: translate(3px, -3px); }
.cyber-card:hover .c-bl { transform: translate(-3px, 3px); }
.cyber-card:hover .c-br { transform: translate(3px, 3px); }

/* ==========================================================================
   Card Header: Tabs & Counters
   ========================================================================== */

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
}

.tabs-group {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.4, 1);
}

.tab-btn .tab-icon {
  width: 15px;
  height: 15px;
}

.tab-btn:hover {
  color: #fff;
  border-color: rgba(168, 85, 247, 0.35);
  background: rgba(168, 85, 247, 0.08);
}

.tab-btn.active {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  color: #ffffff;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.55);
}

.tab-btn.active .tab-icon {
  stroke: #ffffff;
}

.counters-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.counter-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.counter-icon {
  width: 14px;
  height: 14px;
  stroke: var(--accent-cyan);
}

.counter-pill.like-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  transition: all 0.25s ease;
  position: relative;
}

.counter-pill.like-btn .heart-icon {
  stroke: #ff6b8b;
  transition: transform 0.25s ease, fill 0.25s ease;
}

.counter-pill.like-btn:hover {
  border-color: rgba(255, 107, 139, 0.5);
  background: rgba(255, 107, 139, 0.12);
  color: #fff;
}

.counter-pill.like-btn:hover .heart-icon {
  transform: scale(1.2);
}

.counter-pill.like-btn.liked {
  border-color: #ff6b8b;
  background: rgba(255, 107, 139, 0.22);
  color: #fff;
  box-shadow: 0 0 14px rgba(255, 107, 139, 0.35);
}

.counter-pill.like-btn.liked .heart-icon {
  fill: #ff6b8b;
  stroke: #ff6b8b;
}

/* Floating Hearts Spawn */
.hearts-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10000;
  overflow: hidden;
}

.floating-heart {
  position: fixed;
  font-size: 20px;
  pointer-events: none;
  animation: floatUp 1.2s ease-out forwards;
}

@keyframes floatUp {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(0.6);
  }
  50% {
    opacity: 0.9;
    transform: translate(calc(var(--rx, 0) * 40px), -60px) scale(1.2);
  }
  100% {
    opacity: 0;
    transform: translate(calc(var(--rx, 0) * 80px), -130px) scale(1.5);
  }
}

/* ==========================================================================
   Tab Panes
   ========================================================================== */

.tab-pane {
  display: none;
  animation: tabFadeIn 0.35s ease forwards;
}

.tab-pane.active {
  display: block;
}

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

/* ==========================================================================
   TAB 1: Profil Content
   ========================================================================== */

.profile-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
}

.avatar-wrapper {
  position: relative;
  width: 96px;
  height: 96px;
  margin-bottom: 14px;
}

.avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px dashed rgba(168, 85, 247, 0.4);
  animation: spinSlow 20s linear infinite;
}

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

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-cyan);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

.status-indicator {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid #080e14;
}

.status-indicator.online { background: #23a55a; box-shadow: 0 0 10px #23a55a; }
.status-indicator.dnd { background: #f23f43; box-shadow: 0 0 10px #f23f43; }
.status-indicator.idle { background: #f0b232; box-shadow: 0 0 10px #f0b232; }
.status-indicator.offline { background: #80848e; }

.user-handle {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
  text-shadow: 0 0 18px rgba(168, 85, 247, 0.6);
  margin-bottom: 6px;
}

.user-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}

.tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

.tag-badge.primary {
  color: var(--accent-cyan);
  background: rgba(168, 85, 247, 0.08);
  border-color: rgba(168, 85, 247, 0.25);
}

.tag-badge.accent {
  color: var(--accent-purple);
  background: rgba(201, 167, 255, 0.08);
  border-color: rgba(201, 167, 255, 0.25);
}

.badge-icon {
  width: 12px;
  height: 12px;
}

.user-quote {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #bfd9e6;
  font-style: italic;
  line-height: 1.4;
  max-width: 320px;
}

/* Social Grid — Eleganckie kafelki w stylu zjazdboss ze świecącymi znaczkami */
.social-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.social-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 13px 14px 12px;
  min-height: 96px;
  border-radius: 14px;
  background: rgba(14, 11, 24, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.3, 1),
              box-shadow 0.25s ease,
              border-color 0.25s ease,
              background 0.25s ease;
}

/* Błyszczący efekt przejeżdżania (shimmer light sweep) */
.social-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -130%;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
  transform: skewX(-25deg);
  transition: left 0.65s cubic-bezier(0.2, 0.8, 0.35, 1);
  pointer-events: none;
}

.social-card:hover::after {
  left: 160%;
}

/* Płynny hover z uniesieniem i poświatą */
.social-card:hover {
  transform: translateY(-4px) scale(1.015);
}

/* Efekt naciskania (kliknięcia / active) */
.social-card:active {
  transform: translateY(1px) scale(0.975);
  transition-duration: 0.08s;
}

/* Górny rząd w kafelku: znaczek po lewej + strzałka po prawej */
.card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 10px;
}

/* Znaczki z kolorową poświatą w stylu screena */
.brand-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  transition: transform 0.25s ease;
}

.brand-icon {
  width: 24px;
  height: 24px;
  display: block;
}

.social-card:hover .brand-icon-wrap {
  transform: scale(1.12);
}

/* Unikalne poświaty dla każdego znaczka (jak na przesłanym screenie) */
.yt-glow {
  filter: drop-shadow(0 0 10px rgba(255, 0, 50, 0.95)) drop-shadow(0 0 20px rgba(255, 0, 50, 0.45));
}

.discord-glow {
  filter: drop-shadow(0 0 10px rgba(88, 101, 242, 0.95)) drop-shadow(0 0 20px rgba(88, 101, 242, 0.45));
}

.mc-glow {
  filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.95)) drop-shadow(0 0 20px rgba(168, 85, 247, 0.45));
}

.tt-glow {
  filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.95)) drop-shadow(0 0 20px rgba(254, 44, 85, 0.5));
}

/* Dolny rząd: Tytuł + Nick w całości */
.card-bottom-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-title {
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.card-subtitle {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
}

.card-subtitle.mc-nick-full {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(240, 230, 255, 0.9);
}

.external-icon {
  width: 14px;
  height: 14px;
  stroke: var(--text-dim);
  transition: transform 0.22s ease, stroke 0.22s ease;
  flex-shrink: 0;
}

.social-card:hover .external-icon {
  stroke: #ffffff;
  transform: translate(2px, -2px);
}

/* Kolorowe poświaty ramki i tła na hover */
.social-card.yt-card:hover {
  border-color: rgba(255, 0, 50, 0.6);
  background: rgba(255, 0, 50, 0.08);
  box-shadow: 0 10px 28px rgba(255, 0, 50, 0.25), 0 0 20px rgba(255, 0, 50, 0.15);
}

.social-card.discord-card:hover {
  border-color: rgba(88, 101, 242, 0.6);
  background: rgba(88, 101, 242, 0.08);
  box-shadow: 0 10px 28px rgba(88, 101, 242, 0.25), 0 0 20px rgba(88, 101, 242, 0.15);
}

.social-card.tt-card:hover {
  border-color: rgba(0, 242, 254, 0.6);
  background: rgba(0, 242, 254, 0.08);
  box-shadow: 0 10px 28px rgba(254, 44, 85, 0.22), 0 0 20px rgba(0, 242, 254, 0.22);
}

.social-card.namemc-quick-card:hover {
  border-color: rgba(168, 85, 247, 0.65);
  background: rgba(168, 85, 247, 0.1);
  box-shadow: 0 10px 28px rgba(168, 85, 247, 0.3), 0 0 20px rgba(168, 85, 247, 0.22);
}

/* ==========================================================================
   TAB 2: NAMEMC (3D Skin Viewer + Emotki DAB, 67, Chód, Bieg, Stój)
   ========================================================================== */

.skin-viewport-box {
  position: relative;
  width: 100%;
  height: 250px;
  background: rgba(10, 7, 18, 0.45);
  border: 1px solid rgba(168, 85, 247, 0.16);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.viewport-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(168, 85, 247, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, 0.05) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.viewport-glow {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 35px;
  background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.3) 0%, transparent 70%);
  pointer-events: none;
}

.skin-canvas {
  position: relative;
  z-index: 2;
  display: block;
  margin: 0 auto;
  outline: none;
}

.skin-drag-hint {
  position: absolute;
  top: 10px;
  left: 10px;
  transform: none;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: rgba(168, 85, 247, 0.75);
  pointer-events: none;
  background: rgba(8, 6, 16, 0.8);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(168, 85, 247, 0.2);
  white-space: nowrap;
}

.drag-icon {
  width: 11px;
  height: 11px;
  stroke: var(--accent-cyan);
}

.skin-controls-bar {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  display: flex;
  gap: 6px;
}

.skin-ctrl-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(8, 14, 20, 0.8);
  border: 1px solid rgba(168, 85, 247, 0.2);
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.skin-ctrl-btn:hover {
  background: rgba(168, 85, 247, 0.15);
  color: #fff;
  border-color: var(--accent-cyan);
}

.skin-ctrl-btn svg {
  width: 13px;
  height: 13px;
}

/* Emotki dla skina — czysty cyber styl bez emoji, w osobnym rzędzie */
.emotes-bar {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(14, 10, 24, 0.75);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 12px;
  padding: 6px 8px;
  margin-bottom: 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.emote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.emote-btn:hover {
  color: #ffffff;
  background: rgba(168, 85, 247, 0.12);
  border-color: rgba(168, 85, 247, 0.35);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
}

.emote-btn.active {
  background: linear-gradient(135deg, #a855f7, #7c3aed);
  color: #ffffff;
  border-color: transparent;
  font-weight: 800;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.6);
}

/* NameMC Profile Info Box */
.namemc-info-box {
  text-align: center;
  margin-bottom: 14px;
}

.namemc-username {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 0 16px rgba(168, 85, 247, 0.6);
  margin-bottom: 4px;
}

.namemc-uuid-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.uuid-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}

.uuid-code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(168, 85, 247, 0.75);
}

/* Actions Grid (Otwórz NameMC / Kopiuj nick) */
.namemc-actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.action-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  min-height: 54px;
  border-radius: 12px;
  background: rgba(18, 14, 30, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
  transition: all 0.22s cubic-bezier(0.2, 0.8, 0.3, 1);
  text-align: left;
  cursor: pointer;
}

.action-card:hover {
  transform: translateY(-3px) scale(1.015);
  border-color: rgba(168, 85, 247, 0.55);
  background: rgba(168, 85, 247, 0.09);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(168, 85, 247, 0.2);
}

.action-card:active {
  transform: translateY(1px) scale(0.975);
  transition-duration: 0.08s;
}

.action-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.25);
  flex-shrink: 0;
}

.action-icon {
  width: 17px;
  height: 17px;
  stroke: var(--accent-cyan);
}

.action-texts {
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1;
}

.action-title {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.action-arrow {
  width: 14px;
  height: 14px;
  stroke: var(--text-dim);
  transition: transform 0.2s ease, stroke 0.2s ease;
  flex-shrink: 0;
}

.action-card:hover .action-arrow {
  stroke: var(--accent-cyan);
  transform: translate(2px, -2px);
}

/* Copy button feedback */
.copy-feedback-pill {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: #a855f7;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.6);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.17, 0.89, 0.32, 1.49);
}

.copy-btn.copied .copy-feedback-pill {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ==========================================================================
   Card Footer: Barcode & Watermark
   ========================================================================== */

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.barcode-graphic {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 14px;
  opacity: 0.45;
}

.barcode-graphic span {
  display: block;
  background: var(--accent-cyan);
  height: 100%;
  width: 2px;
}

.barcode-graphic span:nth-child(2n) { width: 1px; }
.barcode-graphic span:nth-child(3n) { width: 3px; }
.barcode-graphic span:nth-child(5n) { width: 1.5px; }

.footer-domain {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(168, 85, 247, 0.55);
}

/* ==========================================================================
   Music Player Dock (Bottom Right)
   ========================================================================== */

.audio-dock {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: rgba(8, 14, 20, 0.85);
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 14px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(168, 85, 247, 0.1);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.audio-dock:hover {
  border-color: rgba(168, 85, 247, 0.45);
}

.audio-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  color: var(--accent-cyan);
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.audio-toggle-btn:hover {
  background: var(--accent-cyan);
  color: #031018;
}

.audio-toggle-btn svg {
  width: 17px;
  height: 17px;
}

.audio-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 140px;
}

.audio-title-marquee {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #ffffff;
  font-weight: 600;
}

/* Equalizer Bars */
.audio-visualizer {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 12px;
}

.audio-visualizer .bar {
  width: 2.5px;
  height: 3px;
  background: var(--accent-cyan);
  border-radius: 1px;
  transition: height 0.15s ease;
}

.audio-dock.playing .b1 { animation: eqJump 0.8s ease-in-out infinite alternate; }
.audio-dock.playing .b2 { animation: eqJump 0.6s ease-in-out 0.2s infinite alternate; }
.audio-dock.playing .b3 { animation: eqJump 1.1s ease-in-out 0.1s infinite alternate; }
.audio-dock.playing .b4 { animation: eqJump 0.7s ease-in-out 0.3s infinite alternate; }
.audio-dock.playing .b5 { animation: eqJump 0.9s ease-in-out 0.15s infinite alternate; }

@keyframes eqJump {
  0% { height: 2px; }
  100% { height: 12px; }
}

.audio-volume-wrap {
  display: flex;
  align-items: center;
}

#volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 60px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  outline: none;
}

#volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 6px var(--accent-cyan);
  cursor: pointer;
}

/* Page Bottom Left Credit */
.page-bottom-credit {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 90;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.05em;
}

.page-bottom-credit b {
  color: rgba(168, 85, 247, 0.65);
}

/* ==========================================================================
   Mobile Responsive Styles
   ========================================================================== */

@media (max-width: 520px) {
  .page-container {
    padding: 20px 10px 100px;
  }

  .cyber-card {
    padding: 16px 12px 14px;
  }

  .social-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .social-card {
    padding: 11px 10px 10px;
    min-height: 88px;
  }

  .card-title {
    font-size: 0.86rem;
  }

  .card-subtitle {
    font-size: 0.68rem;
  }

  .namemc-actions-grid {
    grid-template-columns: 1fr;
  }

  .skin-viewport-box {
    height: 230px;
  }

  .emotes-bar {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .audio-dock {
    bottom: 12px;
    right: 12px;
    left: 12px;
    justify-content: space-between;
  }

  .audio-info {
    max-width: 170px;
  }

  .page-bottom-credit {
    display: none;
  }
}
