﻿/* == Podstawy == */
:root {
  --purple: #a855f7;
  --purple-light: #c084fc;
  --purple-dark: #9333ea;
  --purple-soft: #f5d0fe;
  --live-green: #22c55e;
  --live-green-soft: #bbf7d0;
  --offline-red: #ef4444;

  --bg: #0a0618;
  --card: #18122a;

  --card-gradient: linear-gradient(145deg, rgba(24, 18, 42, .92), rgba(12, 8, 24, .94));
  --panel-bg: rgba(255, 255, 255, 0.04);
  --panel-bg-hover: rgba(255, 255, 255, 0.055);
  --panel-border: rgba(192, 132, 252, 0.14);
  --panel-radius: 14px;
  --panel-padding: 14px 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Sora', sans-serif;
  color: white;
  background-color: var(--bg);
  overflow-x: hidden;
  position: relative;
}

/* == Tło == */
body::before {
  content: "";
  position: fixed;
  inset: 0;

  background:
    radial-gradient(circle at 20% 30%, rgba(168, 85, 247, 0.14), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(192, 132, 252, 0.10), transparent 45%),
    linear-gradient(rgba(192, 132, 252, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192, 132, 252, .06) 1px, transparent 1px);

  background-size: auto, auto, 42px 42px, 42px 42px;
  z-index: -3;
  opacity: 0.9;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;

  background: radial-gradient(circle at center, transparent 25%, rgba(10, 6, 24, .18) 65%, rgba(10, 6, 24, .58) 100%);
  pointer-events: none;
  z-index: -2;
}

/* == Efekty kursora == */
.particle {
  position: fixed;
  filter: blur(.3px);
  width: 6px;
  height: 6px;
  background: var(--purple-light);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  box-shadow: 0 0 10px var(--purple), 0 0 20px var(--purple);
  animation: particleFade 0.5s ease-out forwards;
}

@keyframes particleFade {
  0% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
  100% {
    opacity: 0;
    transform: scale(0.5) translateY(-10px);
  }
}

/* == Canvas tła == */
#bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

/* == Układ == */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 24px 8px;
}

header {
  width: 100%;
  margin-bottom: 24px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: stretch;
}

.full-width {
  grid-column: span 2;
  width: 100%;
}

/* == Tekst & nagłówki == */
h1 {
  margin: 15px 0 5px;
  font-size: 2.5rem;
  font-weight: 600;
}

h2 {
  color: var(--purple-light);
}

.card h2 {
  position: relative;
  margin-top: 0;
  margin-bottom: 34px;
  text-align: center;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
  white-space: nowrap;
}

.card h2 span {
  display: inline-block;
  background: linear-gradient(90deg, #ffffff, var(--purple-soft), var(--purple-light), #ffffff);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleGlow 6s linear infinite;
  text-shadow: 0 0 18px rgba(192, 132, 252, 0.38);
}

.card h2::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  width: 100%;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(192, 132, 252, 0.45), transparent);
  box-shadow: 0 0 14px rgba(168, 85, 247, 0.16);
}

/* == Hero - główny panel (avatar + nick) == */
.hero-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px;
}

.hero-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-panel:hover {
  transform: translateY(-3px);
  border-color: rgba(192, 132, 252, 0.32);
  background: linear-gradient(145deg, rgba(28, 20, 49, .94), rgba(13, 9, 27, .96));
}

/* == Avatar == */
.avatar-wrapper {
  position: relative;
  width: 150px;
  height: 150px;
  margin: 16px auto 0;
}

.avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 3;
  border: 4px solid rgba(255, 255, 255, 0.08);
}

.avatar-ring {
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 2px dashed var(--purple-light);
  box-shadow: 0 0 12px rgba(192, 132, 252, 0.22);
  animation: spin 18s linear infinite;
}

/* == Tekst Hero == */
.hero-title {
  margin-top: 10px;
  margin-bottom: 0;
  font-size: 3.8rem;
  font-weight: 700;
  letter-spacing: 8px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #ffffff, var(--purple-soft), var(--purple-light), #ffffff);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: titleGlow 6s linear infinite;
  text-shadow: 0 0 12px rgba(192, 132, 252, 0.12);
}

@keyframes titleGlow {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

.socials-card {
  display: flex;
  flex-direction: column;
}

.social-support {
  margin-top: 24px;
}

.hero-subtitle {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 8px;
  font-size: 14px;
  text-transform: uppercase;
}

.contact-content {
  display: grid;
  grid-template-columns: 24px 1px minmax(0, 1fr);
  align-items: center;
  width: 100%;
  min-width: 0;
  gap: 12px;
}

.contact-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.contact-text small {
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 2px;
}

.contact-text p {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* == Karty == */
.card,
.hero-panel {
  position: relative;
  overflow: hidden;
  background: var(--card-gradient);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(192, 132, 252, 0.14);
  height: 100%;
  border-radius: 20px;
  padding: 20px;
  box-shadow: inset 0 0 40px rgba(168, 85, 247, 0.05);
  transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .15s ease;
}

.card::before,
.hero-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(192, 132, 252, 0.72), transparent);
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: center;
  transition: opacity .22s ease, transform .22s ease;
}

.card:hover {
  transform: translateY(-3px);
  background: linear-gradient(145deg, rgba(28, 20, 49, .94), rgba(13, 9, 27, .96));
  border-color: rgba(192, 132, 252, 0.32);
  box-shadow: inset 0 0 40px rgba(168, 85, 247, 0.06);
}

.card:hover::before,
.hero-panel:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.card::after,
.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  pointer-events: none;
  border: 1px solid rgba(168, 85, 247, 0.16);
  box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.06);
  animation: borderPulse 4s ease-in-out infinite;
}

@keyframes borderPulse {
  0%, 100% {
    box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.08), 0 0 16px rgba(168, 85, 247, 0.10);
  }
  50% {
    box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.25), 0 0 24px rgba(168, 85, 247, 0.18);
  }
}

/* == Sociale == */
.social-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
}

.social-row {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: var(--panel-padding);
  border-radius: var(--panel-radius);
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  color: white;
  text-decoration: none;
  overflow: hidden;
  transition: transform .25s ease, border .25s ease, background .2s ease, box-shadow .25s ease;
}

.social-row::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  transform: scaleY(0);
  transition: transform 0.25s ease, background 0.25s ease;
}

.social-row:hover::after {
  transform: scaleY(1);
}

.social-content {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 12px;
}

.icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease;
}

.separator {
  width: 2px;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 18%,
    rgba(255, 255, 255, 0.2) 82%,
    transparent 100%
  );
  transition: background .2s ease, box-shadow .2s ease;
}

.social-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  min-width: 0;
}

.social-row:hover {
  transform: translateX(4px);
  background: var(--panel-bg-hover);
}

.social-row:hover .separator {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 255, 255, 0.92) 18%,
    rgba(255, 255, 255, 0.92) 82%,
    transparent 100%
  );
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
}

.twitch:hover {
  border-color: rgba(145, 70, 255, 0.6);
  box-shadow: inset 0 0 0 1px rgba(145, 70, 255, 0.18);
}

.twitch:hover::after {
  background: #9146ff;
  box-shadow: 0 0 12px rgba(145, 70, 255, 0.8);
}

.twitch:hover .separator {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(145, 70, 255, 0.9) 18%,
    rgba(145, 70, 255, 0.9) 82%,
    transparent 100%
  );
  box-shadow: 0 0 6px rgba(145, 70, 255, 0.9, 0.55);
}

.twitch:hover .icon img,
.instagram:hover .icon img,
.tiktok:hover .icon img,
.discord:hover .icon img {
  animation: none;
  transform: scale(1.18) rotate(-6deg);
}

.instagram:hover {
  border-color: rgba(255, 194, 115, 0.6);
  box-shadow: inset 0 0 0 1px rgba(255, 194, 115, 0.18);
}

.instagram:hover::after {
  background: #ffc273;
  box-shadow: 0 0 12px rgba(255, 194, 115, 0.8);
}

.instagram:hover .separator {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(255, 194, 115, 0.9) 18%,
    rgba(255, 194, 115, 0.9) 82%,
    transparent 100%
  );
  box-shadow: 0 0 6px rgba(255, 194, 115, 0.9, 0.55);
}

.tiktok:hover {
  border-color: rgba(0, 242, 234, 0.6);
  box-shadow: inset 0 0 0 1px rgba(0, 242, 234, 0.18);
}

.tiktok:hover::after {
  background: #00f2ea;
  box-shadow: 0 0 12px rgba(0, 242, 234, 0.8);
}

.tiktok:hover .separator {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(0, 242, 234, 0.9) 18%,
    rgba(0, 242, 234, 0.9) 82%,
    transparent 100%
  );
  box-shadow: 0 0 6px rgba(0, 242, 234, 0.9, 0.55);
}

.discord:hover {
  border-color: rgba(114, 137, 218, 0.6);
  box-shadow: inset 0 0 0 1px rgba(114, 137, 218, 0.18);
}

.discord:hover::after {
  background: #7289da;
  box-shadow: 0 0 12px rgba(114, 137, 218, 0.8);
}

.discord:hover .separator {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(114, 137, 218, 0.9) 18%,
    rgba(114, 137, 218, 0.9) 82%,
    transparent 100%
  );
  box-shadow: 0 0 6px rgba(114, 137, 218, 0.9, 0.55);
}

.support-box {
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, border .25s ease, background .2s ease, box-shadow .25s ease;
}

.support-box::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  transform: scaleY(0);
  background: #22c55e;
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.75);
  transition: transform 0.25s ease;
}

.support-box:hover {
  transform: translateX(4px);
  background: rgba(34, 197, 94, 0.055);
  border-color: rgba(34, 197, 94, 0.5);
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.16);
}

.support-box:hover::after {
  transform: scaleY(1);
}

.support-box:hover .separator {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(34, 197, 94, 0.9) 18%,
    rgba(34, 197, 94, 0.9) 82%,
    transparent 100%
  );
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.55);
}

.support-box:hover .icon img {
  transform: scale(1.16) rotate(-6deg);
}

.support-box:hover .go-btn {
  background: rgba(34, 197, 94, 0.10);
  border-color: rgba(34, 197, 94, 0.35);
  color: #bbf7d0;
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.14);
}

/* == Kontakt == */
.contact-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: var(--panel-padding);
  border-radius: var(--panel-radius);
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  color: white;
  transition: all 0.25s ease;
}

.contact-box:hover {
  background: var(--panel-bg-hover);
}
.contact-box p {
  margin: 0;
  font-weight: 500;
}

.panel-subtitle {
  margin: 0 0 14px;
  color: var(--purple-light);
  font-size: 1.35rem;
  line-height: 1.2;
  text-align: center;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}

.contact-subtitle {
  margin-top: 26px;
}

.copy-btn,
.go-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  height: 40px;
  padding: 0 12px;
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  border: 1px solid var(--panel-border);
  color: var(--purple-light);
  border-radius: calc(var(--panel-radius) - 2px);
  font-family: 'Sora', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background .2s ease, border .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.copy-btn:hover,
.go-btn:hover {
  background: rgba(168, 85, 247, 0.10);
  border-color: rgba(192, 132, 252, 0.28);
  color: #e9d5ff;
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.14);
  transform: translateY(-1px);
}

.copy-btn:active,
.go-btn:active {
  transform: scale(0.97);
}

/* == Specyfikacje == */
.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  white-space: nowrap;
  gap: 20px;
}

.pc-spec h2 {
  margin-bottom: 26px;
}

.spec-grid h3 {
  color: var(--purple-light);
  font-size: 12px;
  letter-spacing: 2px;
}

.spec-row {
  display: grid;
  grid-template-columns: minmax(88px, 0.45fr) minmax(0, 1.55fr);
  align-items: start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

.spec-row span,
.spec-row strong {
  min-width: 0;
}

.spec-row strong {
  font-size: 13px;
  text-align: right;
  white-space: nowrap;
}

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

/* == Status transmisji == */
.live-card {
  width: 100%;
  max-width: 100%;
}

.live-card:hover {
  transform: translateY(-3px);
  background: linear-gradient(145deg, rgba(28, 20, 49, .94), rgba(13, 9, 27, .96));
  border-color: rgba(192, 132, 252, 0.32);
  box-shadow: inset 0 0 40px rgba(168, 85, 247, 0.06);
}

.live-card:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.live-wrapper {
  display: flex;
  align-items: stretch;
  gap: 28px;
}

.live-status {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: grid;
  grid-template-columns: 72px 1px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  min-height: 124px;
  padding: 22px 26px;
  border-radius: var(--panel-radius);
  background: var(--panel-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--panel-border);
  box-shadow: inset 0 0 40px rgba(168, 85, 247, 0.05);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.live-status:hover {
  transform: translateY(-3px);
  background: var(--panel-bg-hover);
}

.live-status:hover .live-platform {
  transform: scale(1.04);
  opacity: 0.9;
}

.live-status > .separator {
  height: 104px;
  box-shadow: none;
}

.live-status.unavailable {
  cursor: not-allowed;
  opacity: 0.58;
  filter: grayscale(0.85);
}

.live-status.unavailable:hover {
  transform: none;
  background: var(--panel-bg);
}

.live-status.unavailable:hover .live-platform {
  transform: none;
  opacity: 1;
}

.live-status.unavailable::after {
  content: none;
}

#twitch-status.offline:hover {
  border-color: rgba(255, 0, 0, 0.48) !important;
  background: rgba(255, 0, 0, 0.055);
  box-shadow: inset 0 0 0 1px rgba(255, 0, 0, 0.16), inset 0 0 40px rgba(255, 0, 0, 0.045) !important;
}

#twitch-status.online:hover {
  border-color: rgba(34, 197, 94, 0.72) !important;
  background: rgba(34, 197, 94, 0.095);
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.24), 0 0 28px rgba(34, 197, 94, 0.16) !important;
}

.live-platform {
  width: 72px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .22s ease, opacity .22s ease;
}

.live-platform img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.live-platform-twitch img {
  width: 40px;
  height: 40px;
  transform: translateX(-1px);
}

.live-platform-tiktok img {
  width: 44px;
  height: 44px;
  transform: translateX(1px);
}

.live-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 60px;
  text-align: left;
  width: 100%;
  max-width: none;
  justify-self: stretch;
}

.live-label {
  display: block;
  width: 100%;
  margin-bottom: 5px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-align: left;
  text-transform: uppercase;
}

.live-info h3 {
  width: 100%;
  margin: 0;
  text-align: left;
  font-size: 2rem;
  letter-spacing: 1px;
}

.status-note {
  display: block;
  width: 100%;
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  text-align: left;
}

.live-status.offline .live-label::before,
.live-status.online .live-label::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  vertical-align: 1px;
}

.live-status.online .live-label::before {
  background: var(--live-green);
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.65);
}

.live-status.offline .live-label::before {
  background: var(--offline-red);
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.45);
}

.live-status.online {
  background: rgba(34, 197, 94, 0.075);
  border-color: rgba(34, 197, 94, 0.62) !important;
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.20), 0 0 22px rgba(34, 197, 94, 0.13) !important;
}

.live-status.online > .separator {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(34, 197, 94, 0.88) 18%,
    rgba(34, 197, 94, 0.88) 82%,
    transparent 100%
  );
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.45);
}

.live-status.online h3 {
  color: var(--live-green-soft);
  text-shadow: 0 0 12px rgba(34, 197, 94, 0.65);
}

.live-status.offline {
  border-color: var(--panel-border) !important;
  box-shadow: none !important;
}

.live-status.offline h3 {
  color: var(--offline-red);
  text-shadow: 0 0 12px rgba(239, 68, 68, 0.45);
}

@media (max-width: 900px) {
  .container {
    padding: 30px 18px 10px;
  }

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

  .full-width {
    grid-column: span 1;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-panel {
    padding: 18px 16px;
  }

  .live-wrapper {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
  }

  .live-status {
    display: grid;
    grid-template-columns: 58px 1px minmax(0, 1fr);
    width: 100%;
    min-height: 104px;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    overflow: visible;
  }

  .live-status > .separator {
    height: 74px;
  }

  .live-info {
    align-items: flex-start;
    width: 100%;
    max-width: none;
    min-height: 0;
    text-align: left;
    justify-self: stretch;
  }

  .social-list,
  .social-row {
    width: 100%;
  }

  .social-row {
    justify-content: flex-start;
  }

  .social-content {
    display: flex;
    justify-content: flex-start;
    max-width: none;
  }

  .contact-box {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 14px;
  }

  .copy-btn,
  .go-btn {
    width: 100%;
  }

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

.spec-row {
  grid-template-columns: 72px minmax(0, 1fr);
}

/* == Ekran ładowania == */
#loader {
  position: fixed;
  inset: 0;
  backdrop-filter: blur(8px);
  background:
    radial-gradient(circle at 20% 30%, rgba(168, 85, 247, 0.14), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(192, 132, 252, 0.10), transparent 45%),
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px),
    var(--bg);
  background-size: auto, auto, 42px 42px, 42px 42px;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loader-logo {
  font-size: 2rem;
  text-align: center;
  color: var(--purple-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 20px;
  animation: pulse 1.5s ease-in-out infinite;
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.5), 0 0 25px rgba(168, 85, 247, 0.35);
}

.loader-logo::after {
  content: "";
  margin-left: 2px;
  animation: dots 1.5s steps(4, end) infinite;
}

.progress-bar {
  width: 300px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(168, 85, 247, 0.15);
}

.progress {
  width: 30%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--purple-light), transparent);
  animation: loadingMove 1s linear infinite;
}

#loader.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s ease;
}

@keyframes dots {
  0% {
    content: "";
  }

  25% {
    content: ". ";
  }

  50% {
    content: ".. ";
  }

  75% {
    content: "...";
  }
}

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

  100% {
    transform: translateX(300%);
  }
}

@keyframes pulse {
  50% {
    transform: scale(1.03);
  }
}

/* == Stopka == */
.footer {
  width: 100%;
  margin: 4px auto 0;
  padding: 0 0 12px;
  text-align: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
}

.footer p {
  margin: 0;
  font-size: 13px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.45);
}

/* == Responsywność == */
@media (max-width: 768px) {
  .container {
    padding: 20px 14px 6px;
  }

  .hero-panel {
    min-height: auto;
    padding: 34px 20px;
  }

  .avatar-wrapper {
    width: 115px;
    height: 115px;
    margin-top: 5px;
  }

  .hero-title {
    font-size: 2.8rem;
    letter-spacing: 4px;
    margin-top: 24px;
  }

  .hero-subtitle {
    font-size: 11px;
    letter-spacing: 5px;
    margin-top: 4px;
  }

  .card {
    padding: 18px;
    border-radius: 18px;
  }

  .card h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .contact-subtitle {
    margin-top: 22px;
    margin-bottom: 14px;
    font-size: 1.35rem;
  }

  .social-list {
    gap: 14px;
  }

  .social-row {
    min-height: 52px;
    padding: var(--panel-padding);
    border-radius: var(--panel-radius);
  }

  .social-content {
    gap: 13px;
  }

  .icon img {
    width: 24px;
    height: 24px;
  }

  .social-title {
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    white-space: normal;
    font-weight: 500;
  }

  .contact-box {
    padding: var(--panel-padding);
  }

  .copy-btn,
  .go-btn {
    min-width: 100px;
    height: 40px;
    padding: 0 12px;
    font-size: 12px;
  }

  .contact-text p {
    font-size: 14px;
  }

  .spec-row strong {
    font-size: 13px;
    line-height: 1.4;
  }

  .live-status {
    grid-template-columns: 54px 1px minmax(0, 1fr);
    gap: 15px;
    min-height: 100px;
    padding: 14px 16px;
  }

  .live-status > .separator {
    height: 74px;
  }

  .live-platform {
    width: 54px;
    height: 56px;
  }

  .live-platform img {
    width: 29px;
    height: 29px;
  }

  .live-platform-twitch img {
    width: 28px;
    height: 28px;
  }

  .live-platform-tiktok img {
    width: 30px;
    height: 30px;
  }

  .live-label {
    margin-bottom: 4px;
    font-size: 12px;
    text-align: left;
  }

  .live-info h3 {
    text-align: left;
    font-size: 1.45rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  .status-note {
    margin-top: 4px;
    text-align: left;
    font-size: 10px;
  }

}

@media (max-width: 560px) {
  .container {
    padding: 14px 10px 4px;
  }

  .card {
    padding: 14px;
    border-radius: 16px;
  }

  .hero-panel {
    padding: 16px 12px;
  }

  .hero-title {
    font-size: 2.6rem;
    letter-spacing: 5px;
  }

  .avatar-wrapper {
    width: 125px;
    height: 125px;
  }

  .hero-subtitle {
    letter-spacing: 5px;
  }

  .live-card {
    padding: 14px;
  }

  .live-wrapper {
    gap: 12px;
  }

  .live-status {
    grid-template-columns: 50px 1px minmax(0, 1fr);
    min-height: 96px;
    gap: 13px;
    padding: var(--panel-padding);
    border-radius: var(--panel-radius);
  }

  .live-status > .separator {
    height: 66px;
  }

  .live-platform {
    width: 50px;
    height: 52px;
  }

  .live-platform img {
    width: 27px;
    height: 27px;
  }

  .live-platform-twitch img {
    width: 26px;
    height: 26px;
  }

  .live-platform-tiktok img {
    width: 28px;
    height: 28px;
  }

  .live-info h3 {
    font-size: 1.35rem;
  }

  .socials-card {
    padding: 14px;
  }

  .card h2 {
    font-size: 1.4rem;
    white-space: nowrap;
  }

  .social-list {
    gap: 12px;
  }

  .social-row {
    min-height: 51px;
    padding: var(--panel-padding);
    border-radius: var(--panel-radius);
  }

  .social-content {
    gap: 12px;
  }

  .social-title {
    font-size: 14px;
  }

  .contact-box {
    padding: var(--panel-padding);
  }

  .spec-row {
    grid-template-columns: minmax(82px, 0.45fr) minmax(0, 1.55fr);
    gap: 8px;
    font-size: 13px;
  }

  .spec-row strong {
    font-size: 12px;
  }
}
