:root {
  --bg1: #0f172a;
  --bg2: #0b1220;
  --card: rgba(255,255,255,0.06);
  --accent: linear-gradient(135deg,#7c3aed,#06b6d4);
  --glass: rgba(255,255,255,0.03);
  --text: #e6eef8;
  --muted: #9fb0c8;
  --mutedx: #aab9cf;
  --mutedh: #b8c6db;
  --radius: 12px;
  --maxw: 500px;
  font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

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

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #7c3aed, #06b6d4);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #06b6d4, #7c3aed);
}

::selection {
  background: rgba(124, 58, 237, 0.3);
  color: #ffffff;
}

html {
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: url('background.png') center/cover no-repeat fixed, linear-gradient(180deg,var(--bg1),var(--bg2));
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0 16px;
  min-height: 100vh;
  overflow-y: auto;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.85);
  z-index: -1;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  /*background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));*/
  backdrop-filter: blur(16px);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 10px 50px rgba(2,6,23,0.8);
  padding: 20px;
  padding-top: 32px;
  padding-bottom: 32px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.08);
  margin: 0;
  display: flex;
  flex-direction: column;
  flex: 1;
  animation: fadeInUp 0.6s ease-out;
}

.pages {
  max-height: 70vh;
}

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

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

.avatar-container {
  display: inline-block;
  position: relative;
  margin: 0 auto 8px;
  padding: 3px;
  border-radius: 50%;
  background: linear-gradient(0deg, #7c3aed, #06b6d4);
  animation: rotate-gradient 3s linear infinite;
}

@keyframes rotate-gradient {
  0% {
    background: linear-gradient(0deg, #7c3aed, #06b6d4);
  }
  25% {
    background: linear-gradient(90deg, #7c3aed, #06b6d4);
  }
  50% {
    background: linear-gradient(180deg, #7c3aed, #06b6d4);
  }
  75% {
    background: linear-gradient(270deg, #7c3aed, #06b6d4);
  }
  100% {
    background: linear-gradient(360deg, #7c3aed, #06b6d4);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.avatar-container {
  animation: rotate-gradient 3s linear infinite, float 2s ease-in-out infinite;
}

.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid var(--bg1);
  background: linear-gradient(135deg,#111827,#0b1220);
  pointer-events: none;
}

.name {
  margin: 0;
  font-size: 20px;
  letter-spacing: 0.3px;
  font-weight: 700;
  position: relative;
  display: inline-block;
  animation: glitch 3s infinite;
}

.name::before,
.name::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.name::before {
  left: 2px;
  text-shadow: -2px 0 #ff00de;
  clip: rect(24px, 550px, 90px, 0);
  animation: glitch-anim-1 2.5s infinite linear alternate-reverse;
}

.name::after {
  left: -2px;
  text-shadow: -2px 0 #00fff9, 2px 2px #ff00de;
  clip: rect(85px, 550px, 140px, 0);
  animation: glitch-anim-2 2s infinite linear alternate-reverse;
}

@keyframes glitch {
  0% {
    text-shadow: 0.05em 0 0 #00fffc, -0.03em -0.04em 0 #fc00ff,
      0.025em 0.04em 0 #fffc00;
  }
  15% {
    text-shadow: 0.05em 0 0 #00fffc, -0.03em -0.04em 0 #fc00ff,
      0.025em 0.04em 0 #fffc00;
  }
  16% {
    text-shadow: -0.05em -0.025em 0 #00fffc, 0.025em 0.035em 0 #fc00ff,
      -0.05em -0.05em 0 #fffc00;
  }
  49% {
    text-shadow: -0.05em -0.025em 0 #00fffc, 0.025em 0.035em 0 #fc00ff,
      -0.05em -0.05em 0 #fffc00;
  }
  50% {
    text-shadow: 0.05em 0.035em 0 #00fffc, 0.03em 0 0 #fc00ff,
      0 -0.04em 0 #fffc00;
  }
  99% {
    text-shadow: 0.05em 0.035em 0 #00fffc, 0.03em 0 0 #fc00ff,
      0 -0.04em 0 #fffc00;
  }
  100% {
    text-shadow: -0.05em 0 0 #00fffc, -0.025em -0.04em 0 #fc00ff,
      -0.04em -0.025em 0 #fffc00;
  }
}

@keyframes glitch-anim-1 {
  0% {
    clip: rect(17px, 9999px, 94px, 0);
    transform: skew(0.3deg);
  }
  5% {
    clip: rect(84px, 9999px, 78px, 0);
    transform: skew(0.9deg);
  }
  10% {
    clip: rect(45px, 9999px, 61px, 0);
    transform: skew(0.1deg);
  }
  15% {
    clip: rect(29px, 9999px, 9px, 0);
    transform: skew(0.7deg);
  }
  20% {
    clip: rect(52px, 9999px, 23px, 0);
    transform: skew(0.4deg);
  }
  25% {
    clip: rect(71px, 9999px, 46px, 0);
    transform: skew(0.2deg);
  }
  30% {
    clip: rect(8px, 9999px, 88px, 0);
    transform: skew(0.8deg);
  }
  35% {
    clip: rect(95px, 9999px, 12px, 0);
    transform: skew(0.5deg);
  }
  40% {
    clip: rect(33px, 9999px, 77px, 0);
    transform: skew(0.6deg);
  }
  45% {
    clip: rect(66px, 9999px, 40px, 0);
    transform: skew(0.3deg);
  }
  50% {
    clip: rect(19px, 9999px, 55px, 0);
    transform: skew(0.9deg);
  }
  100% {
    clip: rect(42px, 9999px, 28px, 0);
    transform: skew(0.1deg);
  }
}

@keyframes glitch-anim-2 {
  0% {
    clip: rect(65px, 9999px, 14px, 0);
    transform: skew(0.5deg);
  }
  5% {
    clip: rect(22px, 9999px, 87px, 0);
    transform: skew(0.2deg);
  }
  10% {
    clip: rect(91px, 9999px, 35px, 0);
    transform: skew(0.8deg);
  }
  15% {
    clip: rect(48px, 9999px, 69px, 0);
    transform: skew(0.4deg);
  }
  20% {
    clip: rect(7px, 9999px, 52px, 0);
    transform: skew(0.7deg);
  }
  25% {
    clip: rect(79px, 9999px, 18px, 0);
    transform: skew(0.1deg);
  }
  30% {
    clip: rect(36px, 9999px, 73px, 0);
    transform: skew(0.6deg);
  }
  35% {
    clip: rect(58px, 9999px, 26px, 0);
    transform: skew(0.3deg);
  }
  40% {
    clip: rect(11px, 9999px, 89px, 0);
    transform: skew(0.9deg);
  }
  45% {
    clip: rect(74px, 9999px, 41px, 0);
    transform: skew(0.2deg);
  }
  50% {
    clip: rect(30px, 9999px, 62px, 0);
    transform: skew(0.5deg);
  }
  100% {
    clip: rect(53px, 9999px, 19px, 0);
    transform: skew(0.4deg);
  }
}

.role {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 16px;
}

.tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 3px;
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.04);
  margin: 12px auto;
  max-width: 250px;
}

.tab {
  padding: 6px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  color: var(--muted);
  transition: all 0.2s ease;
  cursor: pointer;
}

.tab:hover {
  background: rgba(255,255,255,0.05);
}

.tab.active {
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  color: #fff;
  box-shadow: 0 4px 12px rgba(124,58,237,0.3);
}

.links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
  padding: 4px 0;
}

.link-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.03);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  transition: transform .12s ease, box-shadow .12s ease;
  box-shadow: 0 2px 8px rgba(2,6,23,0.45), inset 0 -1px 0 rgba(255,255,255,0.01);
  cursor: pointer;
  position: relative;
}

.link-content {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  cursor: pointer;
}

.link-btn .icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  opacity: 0.95;
}

.link-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(2,6,23,0.6), 0 0 0 4px rgba(124,58,237,0.07);
}

.share-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.share-btn svg {
  width: 16px;
  height: 16px;
}

.share-btn:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text);
}

.section-content {
  margin-top: 12px;
  text-align: left;
}

.section-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 12px;
}

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.03);
  border-radius: 10px;
  padding: 12px;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  box-shadow: 0 2px 8px rgba(2,6,23,0.45);
  cursor: pointer;
}

.card-fb {
        background-color: rgb(24 119 242 / 70%);
}

.card-tik {
        background-color: rgb(0 0 0 / 75%);
}

.card-insta {
        background-color: rgb(225 48 108 / 80%);
}

.card-snap {
        background-color: rgb(255 252 0 / 30%);
}

.card-whats {
        background-color: rgb(37 211 102 / 50%);
}

.card-disc {
        background-color: rgb(88 101 242 / 55%);
}

.card-tele {
        background-color: rgb(0 136 204 / 65%);
}

.card-kick {
        background-color: rgb(0 255 1 / 50%);
}

.card-yt {
        background-color: rgb(255 0 0 / 60%);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(2,6,23,0.6), 0 0 0 4px rgba(124,58,237,0.07);
}

.card-fb:hover, .card-tik:hover, .card-insta:hover, .card-snap:hover, .card-whats:hover, .card-disc:hover, .card-tele:hover, .card-kick:hover, .card-yt:hover {
        filter: brightness(0.9);
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 0;
}

.card-description {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}

.icon-sm {
  width: 14px;
  height: 14px;
}

.share-btn-sm {
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.share-btn-sm svg {
  width: 16px;
  height: 16px;
}

.share-btn-sm:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text);
}

.business-contact {
  margin-top: 24px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(6,182,212,0.08));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  backdrop-filter: blur(12px);
}

.business-contact h2 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 12px;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.business-contact p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 16px;
}

.business-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.business-email::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(124,58,237,0.1);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.business-email:hover::before {
  width: 300px;
  height: 300px;
}

.business-email:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(124,58,237,0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(124,58,237,0.2);
}

.business-email svg {
  width: 16px;
  height: 16px;
  color: #06b6d4;
}

.special-thanks {
  margin-top: 20px;
  padding: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 12px;
  backdrop-filter: blur(8px);
}

.special-thanks h2 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--text);
}

.special-thanks h3 {
  font-size: 18px;
  margin-bottom: 15px;
  background: linear-gradient(180deg, #c9a7ff, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.fans-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.fan-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.fan-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(124,58,237,0.4);
  box-shadow: 0 4px 12px rgba(124,58,237,0.2);
  transition: all 0.3s ease;
}

.fan-avatar:hover {
  transform: scale(1.1);
  border-color: rgba(6,182,212,0.6);
  box-shadow: 0 6px 20px rgba(6,182,212,0.4);
}

.fan-name {
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  word-break: break-word;
}

.footer {
  margin-top: auto;
  padding-top: 24px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.footer p {
  margin: 4px 0;
}

.footer a {
  position: relative;
  color: #b084f5;
  font-weight: 600;
  font-size: 12px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #7c3aed, #b084f5);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.footer a:hover {
  color: #cbb0ff;
}

.footer a:hover::after {
  width: 100%;
}

.footer b {
  color: #b084f5;
}

.visitors i {
  color: #b084f5;
  margin-right: 5px;
  font-size: 14px;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal.active {
  display: flex;
  animation: fadeIn 0.2s ease;
}

.modal-content {
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.04);
  padding: 24px;
  max-width: 384px;
  width: 100%;
  box-shadow: 0 20px 50px rgba(2,6,23,0.8);
  position: relative;
  animation: zoomIn 0.2s ease;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 28px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.2s ease;
  line-height: 1;
}

.modal-close:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text);
}

.modal-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 24px;
  text-align: left;
}

.share-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.share-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: transparent;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text);
}

.share-option:hover {
  background: rgba(255,255,255,0.05);
}

.share-option svg {
  width: 32px;
  height: 32px;
}

.share-option span {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
}

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(124,58,237,0.4);
  z-index: 2000;
  opacity: 0;
  transition: all 0.3s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.sparkle {
  position: fixed;
  width: 4px;
  height: 4px;
  background: linear-gradient(135deg, #7c3aed, #06b6d4);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.8), 0 0 20px rgba(6, 182, 212, 0.6);
  animation: sparkle-float linear infinite, sparkle-fade linear infinite;
}

@keyframes sparkle-float {
  0% {
    transform: translateY(100vh) scale(0);
  }
  10% {
    transform: translateY(90vh) scale(1);
  }
  90% {
    transform: translateY(10vh) scale(1);
  }
  100% {
    transform: translateY(0) scale(0);
  }
}

@keyframes sparkle-fade {
  0%, 100% {
    opacity: 0;
  }
  10%, 90% {
    opacity: 1;
  }
}

@media (max-width: 480px) {
  body {
    padding: 0 12px;
  }
  .wrap {
    padding: 16px;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .avatar {
    width: 90px;
    height: 90px;
  }
  .link-btn {
    padding: 10px 12px;
  }
  .name {
    font-size: 16px;
  }
  .share-options {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .share-option {
    padding: 8px;
  }
  .card {
    padding: 10px;
  }
  
  .fans-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  
  .fan-avatar {
    width: 45px;
    height: 45px;
  }
  
  .fan-name {
    font-size: 10px;
  }
  
  .business-contact {
    padding: 16px;
  }
  
  .business-contact h2 {
    font-size: 15px;
  }
  
  .business-contact p {
    font-size: 12px;
  }
  
  .business-email {
    font-size: 13px;
    padding: 8px 14px;
  }
}
