/* ==========================================================================
   KUBUS.LOL — PROFILE CARD (GUNS.LOL 1000x ELITE REDESIGN)
   Center Biolink Card, Holographic Glows, Avatar Halo, Badges, Rich Presence
   ========================================================================== */

.main-wrapper {
  position: relative;
  z-index: 10;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 85px 20px 40px;
  perspective: 1200px;
}

/* GUNS.LOL PROFILE CARD */
.profile-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  border-radius: var(--card-radius);
  overflow: visible;
  transition: transform 0.12s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  transform-style: preserve-3d;
  display: flex;
  flex-direction: column;
}

/* AUDIO-REACTIVE CARD WRAPPER */
.card-audio-reactive {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.08s ease-out;
  transform-origin: center center;
}

/* RAINBOW CONIC BORDER GLOW */
.card-rainbow-border {
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--card-radius) + 2px);
  background: var(--conic-rainbow);
  z-index: -1;
  opacity: 0.65;
  filter: blur(14px);
  transition: opacity 0.4s ease, filter 0.4s ease;
  animation: rotateConic 7s linear infinite;
}

.profile-card:hover .card-rainbow-border {
  opacity: 0.95;
  filter: blur(18px);
}

/* HOLOGRAPHIC SPECULAR GLARE FOLLOWING MOUSE */
.card-glare {
  position: absolute;
  inset: 0;
  border-radius: var(--card-radius);
  pointer-events: none;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 255, 255, 0.08),
    transparent 60%
  );
  z-index: 5;
  mix-blend-mode: overlay;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.profile-card:hover .card-glare {
  opacity: 1;
}

/* CARD INNER (FROSTED GLASS CONTAINER) */
.card-inner {
  position: relative;
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: var(--card-radius);
  padding: 26px 24px 22px;
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.75),
    0 0 2px rgba(255, 255, 255, 0.2) inset;
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 0;
  overflow: visible;
  backdrop-filter: blur(30px) saturate(190%);
  -webkit-backdrop-filter: blur(30px) saturate(190%);
}

/* CYBER HUD CORNER BRACKETS */
.hud-corner {
  position: absolute;
  width: 12px;
  height: 12px;
  border-color: var(--accent-cyan);
  pointer-events: none;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.profile-card:hover .hud-corner {
  opacity: 1;
  border-color: var(--accent-pink);
}

.hud-corner.tl {
  top: -1px;
  left: -1px;
  border-top: 2px solid;
  border-left: 2px solid;
  border-top-left-radius: var(--card-radius);
}
.hud-corner.tr {
  top: -1px;
  right: -1px;
  border-top: 2px solid;
  border-right: 2px solid;
  border-top-right-radius: var(--card-radius);
}
.hud-corner.bl {
  bottom: -1px;
  left: -1px;
  border-bottom: 2px solid;
  border-left: 2px solid;
  border-bottom-left-radius: var(--card-radius);
}
.hud-corner.br {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid;
  border-right: 2px solid;
  border-bottom-right-radius: var(--card-radius);
}

@keyframes rotateConic {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   CARD HEADER (UID, AURA LEVEL & LIVE CLOCK)
   ========================================================================== */
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 12px;
}

.uid-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: 1px;
  font-size: 0.72rem;
}
.uid-tag span {
  color: var(--accent-pink);
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 42, 141, 0.4);
}

/* INTERACTIVE AURA COUNTER */
.aura-counter-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(255, 42, 141, 0.15));
  border: 1px solid rgba(245, 158, 11, 0.4);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fcd34d;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  user-select: none;
}

.aura-counter-pill:hover {
  transform: scale(1.06);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.4);
}

.aura-counter-pill:active {
  transform: scale(0.95);
}

.live-clock {
  color: var(--text-secondary);
  letter-spacing: 1px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================================================
   AVATAR SECTION (MULTI-ORBITAL NEON RINGS & MLG GLASSES)
   ========================================================================== */
.avatar-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-top: 2px;
}

.avatar-halo-container {
  position: relative;
  width: 130px;
  height: 130px;
}

/* Outer rotating laser ring */
.avatar-outer-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: var(--conic-rainbow);
  animation: rotateConic 8s linear infinite;
  filter: blur(6px);
  opacity: 0.75;
}

/* Inner orbital ring */
.avatar-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-pink));
  animation: rotateConic 12s linear infinite reverse;
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.35);
  cursor: pointer;
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1);
}

.avatar-ring:hover {
  transform: scale(1.04);
}

.avatar-ring:active {
  transform: scale(0.96);
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #090b14;
  display: block;
  border: 3px solid #070913;
  transition: filter 0.2s ease;
}

.avatar-ring:hover .avatar-img {
  filter: brightness(1.08);
}

/* 8-BIT MLG SUNGLASSES EASTER EGG */
.mlg-glasses {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%) rotate(-14deg);
  width: 110px;
  height: auto;
  opacity: 0;
  pointer-events: none;
  transition: all 0.65s cubic-bezier(0.18, 0.89, 0.32, 1.3);
  z-index: 25;
}

.mlg-glasses.drop-glasses {
  top: 42px;
  opacity: 1;
  transform: translateX(-50%) rotate(0deg);
}

.glasses-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.9));
}

/* ONLINE STATUS INDICATOR WITH DUAL BEACON RINGS */
.status-indicator {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #10b981;
  border: 3px solid #070913;
  box-shadow: 0 0 12px #10b981;
  z-index: 10;
}

.status-ping {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #10b981;
  animation: pingAnimation 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.status-ping-2 {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px solid rgba(16, 185, 129, 0.5);
  animation: pingAnimation 2s cubic-bezier(0, 0, 0.2, 1) infinite 0.75s;
}

@keyframes pingAnimation {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* AVATAR TOGGLE PILL (JPG / GIF) */
.avatar-toggle-pill {
  margin-top: 10px;
  font-family: var(--font-cyber);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.avatar-toggle-pill:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.1);
  transform: translateY(-1px);
}

/* ==========================================================================
   IDENTITY SECTION (NAME, DOMAIN PILL, BADGES)
   ========================================================================== */
.identity-section {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.name-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.username-text {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: 1px;
  line-height: 1.1;
  background: var(--rainbow-gradient);
  background-size: 250% 250%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: rainbowShine 6s linear infinite;
  text-shadow: 0 0 30px rgba(0, 242, 254, 0.25);
  transition: filter 0.2s ease;
}

.username-text:hover {
  filter: drop-shadow(0 0 16px rgba(255, 42, 141, 0.6));
}

.badge-icon.verified {
  color: var(--accent-cyan);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 10px var(--accent-cyan));
  animation: badgeSpin 10s linear infinite;
}

.badge-icon.verified svg {
  width: 26px;
  height: 26px;
}

@keyframes badgeSpin {
  0% { transform: rotate(0deg); }
  10% { transform: rotate(15deg); }
  20% { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

/* COPYABLE DOMAIN PILL */
.domain-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 42, 141, 0.35);
  padding: 4px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-pink);
  letter-spacing: 1px;
  box-shadow: 0 0 15px rgba(255, 42, 141, 0.15);
  cursor: pointer;
  transition: all 0.2s ease;
}

.domain-pill:hover {
  border-color: var(--accent-pink);
  background: rgba(255, 42, 141, 0.12);
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(255, 42, 141, 0.4);
}

.domain-pill:active {
  transform: translateY(0);
}

.domain-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-pink);
  box-shadow: 0 0 8px var(--accent-pink);
  animation: hudBlink 1.5s infinite ease-in-out;
}

.domain-copy-icon {
  width: 13px;
  height: 13px;
  opacity: 0.7;
  transition: opacity 0.15s ease;
}

.domain-pill:hover .domain-copy-icon {
  opacity: 1;
}

/* BADGES ROW (6 ELITE BADGES) */
.badges-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 4px;
}

.custom-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: 1px solid transparent;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.18s ease, filter 0.18s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.custom-badge::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 40%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 60%
  );
  transform: rotate(25deg) translateY(-100%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.custom-badge:hover::after {
  transform: rotate(25deg) translateY(100%);
}

.custom-badge:hover {
  transform: translateY(-2px) scale(1.08);
}

.custom-badge.vip {
  background: rgba(245, 158, 11, 0.16);
  border-color: rgba(245, 158, 11, 0.5);
  color: #fcd34d;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
}

.custom-badge.dev {
  background: rgba(0, 242, 254, 0.15);
  border-color: rgba(0, 242, 254, 0.5);
  color: #7dd3fc;
  box-shadow: 0 0 12px rgba(0, 242, 254, 0.25);
}

.custom-badge.mlg {
  background: linear-gradient(135deg, rgba(255, 0, 85, 0.25), rgba(255, 230, 0, 0.25));
  border-color: rgba(255, 0, 85, 0.6);
  color: #ff3366;
  box-shadow: 0 0 14px rgba(255, 0, 85, 0.35);
}

.custom-badge.cs2pro {
  background: rgba(239, 68, 68, 0.18);
  border-color: rgba(239, 68, 68, 0.55);
  color: #fca5a5;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.3);
}

.custom-badge.vibe {
  background: rgba(16, 185, 129, 0.18);
  border-color: rgba(16, 185, 129, 0.55);
  color: #6ee7b7;
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.3);
}

/* ==========================================================================
   BIO SECTION
   ========================================================================== */
.bio-section {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bio-text {
  font-size: 0.94rem;
  line-height: 1.55;
  color: #d1d5db;
  padding: 0 6px;
  white-space: pre-line;
  font-weight: 400;
}

.bio-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.sub-sep {
  opacity: 0.35;
}

/* ==========================================================================
   DISCORD & CS2 RICH PRESENCE BOX
   ========================================================================== */
.discord-activity {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.discord-activity:hover {
  border-color: rgba(88, 101, 242, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(88, 101, 242, 0.2);
}

.activity-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.25), rgba(245, 158, 11, 0.2));
  border: 1px solid rgba(88, 101, 242, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(88, 101, 242, 0.25);
  position: relative;
}

.cs2-icon-img {
  width: 28px;
  height: 28px;
}

.activity-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
  text-align: left;
  flex: 1;
}

.activity-top {
  display: flex;
  align-items: center;
  gap: 7px;
}

.activity-title {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  color: var(--accent-green);
  font-weight: 700;
  letter-spacing: 1px;
}

.activity-badge {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.activity-sub {
  font-size: 0.77rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.activity-timer {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ==========================================================================
   SOCIALS SECTION (6 CARDS GRID)
   ========================================================================== */
.socials-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.socials-title {
  font-size: 0.72rem;
  font-family: var(--font-cyber);
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--text-muted);
  text-align: center;
}

.socials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
}

.social-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-main);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-fast);
}

.social-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.social-card:hover::before {
  transform: translateX(100%);
}

.social-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.social-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.social-icon svg {
  width: 100%;
  height: 100%;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-card:hover .social-icon svg {
  transform: scale(1.18);
}

.social-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

.social-handle, .copy-hint {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-left: auto;
  font-family: var(--font-mono);
  transition: color 0.2s ease;
}

/* BRAND COLOR ACCENTS */
.social-card.discord:hover {
  border-color: #5865f2;
  box-shadow: 0 0 18px rgba(88, 101, 242, 0.4);
}
.social-card.discord .social-icon { color: #5865f2; }

.social-card.osu:hover {
  border-color: #ff66aa;
  box-shadow: 0 0 18px rgba(255, 102, 170, 0.4);
}
.social-card.osu .social-icon { color: #ff66aa; }

.social-card.youtube:hover {
  border-color: #ff0000;
  box-shadow: 0 0 18px rgba(255, 0, 0, 0.45);
}
.social-card.youtube .social-icon { color: #ff0000; }

.social-card.twitch:hover {
  border-color: #9146ff;
  box-shadow: 0 0 18px rgba(145, 70, 255, 0.45);
}
.social-card.twitch .social-icon { color: #bf94ff; }

/* ==========================================================================
   CARD FOOTER
   ========================================================================== */
.card-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 14px;
}

.footer-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.footer-guns {
  font-family: var(--font-cyber);
  letter-spacing: 1px;
}

.footer-dots {
  display: flex;
  gap: 5px;
}

.dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  animation: hudBlink 2s infinite ease-in-out;
}
.dot.d1 { background: var(--accent-pink); animation-delay: 0s; }
.dot.d2 { background: var(--accent-cyan); animation-delay: 0.3s; }
.dot.d3 { background: var(--accent-purple); animation-delay: 0.6s; }

.footer-hints {
  text-align: center;
  font-size: 0.65rem;
  font-family: var(--font-mono);
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.5px;
}
