/* ===================== */
/* ===== BASE ========== */
/* ===================== */

* {
  box-sizing: border-box;
  transition: all 0.2s ease;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: white;
  background: #0a0618;
  overflow-x: hidden;
}

/* glow tła */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(168, 85, 247, 0.25), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(192, 132, 252, 0.2), transparent 40%);
  z-index: -1;
  filter: blur(60px);
}

#bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

/* ===================== */
/* ===== LAYOUT ======== */
/* ===================== */

.container {
  flex: 1;
  max-width: 1000px;
  margin: auto;
  padding: 20px;
}

header {
  text-align: center;
  padding: 60px 20px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.full-width {
  grid-column: span 2;
}

footer {
  text-align: center;
  padding: 30px;
  opacity: 0.6;
}

footer p {
  margin: 5px 0 0;
  font-size: 12px;
  opacity: 0.6;
}

/* responsive */
@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .full-width {
    grid-column: span 1;
  }

  .spec-grid {
    grid-template-columns: 1fr;
  }
}

/* ===================== */
/* ===== TYPOGRAPHY ==== */
/* ===================== */

h1 {
  margin: 15px 0 5px;
  font-size: 2.5rem;
  font-weight: 600;
}

h2 {
  color: #c084fc;
}

.card h2 {
  position: relative;
  text-align: center;
  display: block;
  letter-spacing: 1px;
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.3);
}

.card h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #a855f7, #c084fc);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 1s ease;
}

.card:hover h2::after {
  transform: translateX(-50%) scaleX(1);
}

.card:hover h2 {
  transform: translateX(3px);
}

/* ===================== */
/* ===== CARDS ========= */
/* ===================== */

.card {
  background: linear-gradient(145deg, rgba(30, 20, 60, 0.9), rgba(10, 5, 25, 0.9));
  border: 1px solid #a855f74d;
  border-radius: 20px;
  padding: 20px;
  transform-style: preserve-3d;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  box-shadow: 0 25px 60px rgba(168, 85, 247, 0.4);
}

.card:hover .social-header .separator {
  background: #c084fc;
  box-shadow: 0 0 6px #a855f7;
}

.card:hover .social-header .icon svg {
  transform: scale(1.1);
}

/* ===================== */
/* ===== AVATAR ======== */
/* ===================== */

.avatar-wrapper {
  position: relative;
  display: inline-block;
  padding: 6px;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.avatar-wrapper:hover {
  transform: scale(1.1);
}

.avatar-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(#a855f7, #c084fc, #9333ea, #a855f7);
  filter: blur(6px);
  animation: spin 6s linear infinite;
  z-index: -1;
}

.avatar-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #a855f7;
  filter: blur(25px);
  opacity: 0.5;
  z-index: -2;
}

.avatar {
  width: 130px;
  border-radius: 50%;
  display: block;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.avatar-wrapper:hover .avatar {
  transform: scale(1.05);
  box-shadow: 0 0 30px #a855f7, 0 0 60px #9333ea;
}

/* status bubble */

.status-bubble {
  position: absolute;
  top: -20px;
  left: calc(100% + 15px);
  transform: rotate(-2deg);

  padding: 10px 14px;
  background: #a855f74d;
  color: white;

  border-radius: 12px;
  white-space: nowrap;

  z-index: 5;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

.status-bubble::before,
.status-bubble::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: #a855f74d;
}

.status-bubble::before {
  width: 6px;
  height: 6px;
  left: -28px;
  top: 60%;
}

.status-bubble::after {
  width: 10px;
  height: 10px;
  left: -16px;
  top: 50%;
}

@keyframes float {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(-55%); }
}

/* ===================== */
/* ===== SOCIALS ======= */
/* ===================== */

.social-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-row {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 12px 16px;
  border-radius: 12px;

  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);

  color: white;
  text-decoration: none;

  transition: all 0.25s ease;
}

.social-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.icon svg {
  width: 20px;
  height: 20px;
  fill: white;
  opacity: 0.8;
}

.separator {
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.2);
  transition: 0.3s;
}

.social-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #a855f7, #9333ea);
  color: white;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.6);
  opacity: 0.9;
  transition: 0.2s;
}

/* hover */

.social-row:hover .icon {
  transform: translateX(3px) scale(1.1);
}

.social-row:hover .badge {
  transform: scale(1.1);
}

.social-row:hover .separator {
  background: #ffffff;
  box-shadow: 0 0 6px #ffffff;
}

/* kolory */

.twitch:hover {
  background: linear-gradient(90deg, hsl(264, 100%, 64%), hsl(264, 80%, 54%));
}

.instagram:hover {
  background: linear-gradient(90deg, #f58529, #dd2a7b, #8134af);
}

.tiktok:hover {
  background: linear-gradient(90deg, #000, #000);
}

.discord:hover {
  background: linear-gradient(90deg, #5865F2, #404eed);
}

.support:hover {
  background: linear-gradient(90deg, #17552e, #117c38);
}

/* ===================== */
/* ===== CONTACT ======= */
/* ===================== */

.contact-box {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 12px 16px;

  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(168, 85, 247, 0.2);
}

.contact-box p {
  margin: 0;
  font-weight: 600;
  font-size: 16px;
}

.contact-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(168, 85, 247, 0.4);
}

.copy-btn {
  background: transparent;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #c084fc;
}

.copy-btn:hover {
  transform: scale(1.2);
}

/* ===================== */
/* ===== SPEC ========== */
/* ===================== */

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.spec-grid h3 {
  color: #c084fc;
  font-size: 12px;
  letter-spacing: 2px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

/* ===================== */
/* ===== EFFECTS ======= */
/* ===================== */

.sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: #c084fc;
  border-radius: 50%;
  box-shadow: 0 0 10px #a855f7, 0 0 20px #a855f7;
  animation: sparkleFloat 3s infinite ease-in-out;
  opacity: 0.8;
}

.sparkle:nth-child(2) { top: -10px; left: 20%; }
.sparkle:nth-child(3) { top: 10%; right: -10px; }
.sparkle:nth-child(4) { bottom: -10px; left: 30%; }
.sparkle:nth-child(5) { bottom: 20%; right: -10px; }

.shine-text {
  position: relative;
  font-size: 2.8rem;
  font-weight: 600;

  background: linear-gradient(90deg, #a855f7, #c084fc);
  background-clip: text;
  -webkit-background-clip: text;

  color: transparent;
  -webkit-text-fill-color: transparent;

  animation: gradientMove 4s linear infinite, wave 2.5s ease-in-out infinite;

  text-shadow:
    0 0 10px rgba(168, 85, 247, 0.6),
    0 0 20px rgba(168, 85, 247, 0.4),
    0 0 40px rgba(168, 85, 247, 0.3);
}

.shine-text::after {
  content: "domciafk";
  position: absolute;
  inset: 0;
  z-index: -1;
  color: #a855f7;
  filter: blur(20px);
  opacity: 0.6;
}

/* animations */

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes gradientMove {
  to { background-position: 200%; }
}

@keyframes sparkleFloat {
  50% { transform: translateY(-10px) scale(1.4); }
}

@keyframes wave {
  50% { transform: translateY(-3px); }
}

/* ===================== */
/* ===== LOADER ======== */
/* ===================== */

#loader {
  position: fixed;
  inset: 0;
  background: #0a0618;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.loader-logo {
  font-size: 2rem;
  text-align: center;
  color: #c084fc;
  margin-bottom: 20px;
  animation: pulse 1.5s ease-in-out infinite;
}

.loader-logo::after {
  content: "";
  animation: dots 1.5s steps(4, end) infinite;
}


@keyframes dots {
  0%   { content: ""; }
  25%  { content: "."; }
  50%  { content: ".."; }
  75%  { content: "..."; }
}

.progress-bar {
  width: 300px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.progress {
  width: 30%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #c084fc, transparent);
  animation: loadingMove 1s infinite;
}

#loader.hide {
  opacity: 0;
  pointer-events: none;
  transition: 0.5s;
}

@keyframes loadingMove {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(300%); }
}

