/* =========================================================
   FORCE FEST - Individual Contact Card
   Shares the site's cyan/purple/dark-glass language so this
   page feels like part of Force Fest, not a generic template.
   ========================================================= */

:root {
  --cc-cyan: #00e5ff;
  --cc-purple: #9b30ff;
  --cc-bg: #070710;
  --cc-text: #e8f4f8;
  --cc-muted: #8f9bb3;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body.cc-body {
  margin: 0;
  min-height: 100vh;
  font-family: "Sora", "Inter", sans-serif;
  background: var(--cc-bg);
  color: var(--cc-text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 5vw, 40px);
  position: relative;
  overflow-x: hidden;
}

#tsparticles {
  position: fixed;
  inset: 0;
  z-index: 0;
}

.cc-bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(
    ellipse at center,
    #000 20%,
    transparent 75%
  );
  pointer-events: none;
  z-index: 0;
}

/* .cc-glow {
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
}
.cc-glow-a {
  top: -160px;
  left: -160px;
  background: var(--cc-cyan);
}
.cc-glow-b {
  bottom: -160px;
  right: -160px;
  background: var(--cc-purple);
} */

.cc-back {
  position: fixed;
  top: env(safe-area-inset-top, 20px);
  left: 20px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cc-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 8px 14px;
  margin: 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  transition: 0.25s ease;
}
.cc-back:hover {
  color: var(--cc-cyan);
  border-color: rgba(0, 229, 255, 0.4);
  background: rgba(0, 229, 255, 0.08);
}

.cc-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 400px;
  text-align: center;
  padding: 48px 34px 34px;
  border-radius: 24px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px);
  animation: cc-fade-in 0.7s ease both;
}

.cc-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(0, 229, 255, 0.5),
    rgba(155, 48, 255, 0.35) 45%,
    transparent 70%
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.cc-avatar-ring {
  width: 116px;
  height: 116px;
  margin: 0 auto 22px;
  border-radius: 28px;
  padding: 3px;
  background: conic-gradient(
    from 180deg,
    var(--cc-cyan),
    var(--cc-purple),
    var(--cc-cyan)
  );
  box-shadow: 0 0 34px rgba(0, 229, 255, 0.25);
}

.cc-avatar {
  width: 100%;
  height: 100%;
  border-radius: 25px;
  background: #0b0b14;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cc-avatar img {
  width: 62%;
  height: 62%;
  object-fit: contain;
}

.cc-avatar img.cc-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cc-name {
  margin: 0 0 10px;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
}

.cc-role {
  display: inline-block;
  margin: 0 0 26px;
  padding: 6px 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cc-cyan);
  border: 1px solid rgba(0, 229, 255, 0.35);
  border-radius: 999px;
  background: rgba(0, 229, 255, 0.07);
}

.cc-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cc-action {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 18px;
  border-radius: 14px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--cc-text);
  transition: 0.25s ease;
}

.cc-action .cc-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.cc-action .cc-label {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.cc-action .cc-label small {
  color: var(--cc-muted);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cc-action .cc-label span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cc-action.cc-insta .cc-icon {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
  color: #fff;
}
.cc-action.cc-insta:hover {
  border-color: rgba(221, 42, 123, 0.5);
  background: rgba(221, 42, 123, 0.08);
  transform: translateY(-2px);
}

.cc-action.cc-call .cc-icon {
  background: rgba(0, 229, 255, 0.15);
  color: var(--cc-cyan);
}
.cc-action.cc-call:hover {
  border-color: rgba(0, 229, 255, 0.4);
  background: rgba(0, 229, 255, 0.08);
  transform: translateY(-2px);
}

.cc-footer {
  margin-top: 28px;
  font-size: 0.75rem;
  color: var(--cc-muted);
  letter-spacing: 0.03em;
}

.cc-footer strong {
  color: var(--cc-cyan);
}

@keyframes cc-fade-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 420px) {
  .cc-card {
    padding: 40px 22px 28px;
  }
}
