* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-color: #040204;
  --font-decorative: 'Cinzel Decorative', serif;
  --font-serif: 'Cinzel', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  
  --red-accent: #ff2a4b;
  --red-glow: rgba(255, 42, 75, 0.6);
  --red-dark: #800c1e;
  --red-border: rgba(255, 42, 75, 0.25);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: #ffffff;
  font-family: var(--font-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 42, 75, 0.12) 0%, rgba(4, 2, 4, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}

.navbar {
  position: fixed;
  top: 15px;
  left: 50px;
  right: 50px;
  height: 60px;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10000;
  background: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border-radius: 16px;
  box-shadow: none;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

/* NAVBAR (SCROLLED STATE) */
.navbar.scrolled {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
}

.nav-top-accent {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--red-border), transparent);
}

.nav-brand-group {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-wrapper-small {
  font-family: var(--font-decorative);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.logo-wrapper-small .letter {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 42, 75, 0.9);
}

.brand-dot {
  color: var(--red-accent);
  font-size: 1rem;
  text-shadow: 0 0 8px var(--red-accent);
}

.brand-services {
  color: #71717a;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  font-weight: 400;
}

.nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 3rem;
}

.nav-links a {
  color: #8e8e93;
  text-decoration: none;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--red-accent);
  box-shadow: 0 0 8px var(--red-accent);
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
  left: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-icon-btn {
  color: #8e8e93;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.nav-icon-btn:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.nav-download-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.4rem 0.9rem;
  color: #a1a1aa;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.nav-download-btn:hover {
  color: #ffffff;
  border-color: var(--red-border);
  background: rgba(255, 42, 75, 0.05);
  box-shadow: 0 0 12px var(--red-glow);
}

.video-background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

#bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 2, 4, 0.88);
  backdrop-filter: blur(5px);
}

.page-container {
  padding-top: 140px;
  padding-bottom: 100px;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

.credits-header-wrap {
  margin-bottom: 3.5rem;
  text-align: left;
}

.street-tag-wrap {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 0.8rem;
}

.street-tag {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.35em;
  color: #ffffff;
  text-transform: uppercase;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.8), 0 0 18px var(--red-accent);
  animation: subtleShine 2.5s infinite alternate;
}

.red-line-right {
  height: 2px;
  width: 160px;
  background: linear-gradient(90deg, var(--red-accent) 0%, rgba(255, 42, 75, 0) 100%);
  box-shadow: 0 0 10px var(--red-accent);
}

@keyframes subtleShine {
  0% { opacity: 0.7; text-shadow: 0 0 4px #ffffff; }
  100% { opacity: 1; text-shadow: 0 0 12px #ffffff, 0 0 20px var(--red-accent); }
}

.cozy-street-heading {
  font-family: var(--font-decorative);
  font-size: 4.2rem;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 1.2rem; 
}

.cozy-street-heading .text-street {
  color: var(--red-accent);
  text-shadow: 0 0 12px var(--red-accent), 0 0 30px rgba(255, 42, 75, 0.7);
}

.cozy-street-heading .text-laws {
  font-family: var(--font-sans);
  color: #ffffff;
  text-shadow: 0 0 10px #ffffff;
}

.staff-subtext {
  color: #a1a1aa;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-top: 0.8rem; 
}


.credits-category {
  margin-bottom: 60px;
  position: relative;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cat-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--theme-color, var(--red-accent));
  box-shadow: 0 0 12px var(--theme-color, var(--red-accent));
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.category-header h2 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 800;
  text-transform: uppercase;
}

.staff-grid {
  display: grid;
  gap: 24px;
}

.grid-founders {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.grid-three { 
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
}
.grid-two { 
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
}

.staff-card,
.profile-trigger-node {
  position: relative;
  background: rgba(14, 5, 12, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 30px 24px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s ease, 
              box-shadow 0.4s ease;
}

.staff-card:hover,
.profile-trigger-node:hover {
  transform: translateY(-8px);
  border-color: var(--theme-border, var(--red-accent));
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.85), 
              0 0 30px var(--theme-glow, rgba(255, 42, 75, 0.25));
}

.avatar-frame-wrap {
  position: relative;
  width: clamp(100px, 12vw, 130px);
  height: clamp(100px, 12vw, 130px);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-frame-wrap .base-avatar-img {
  width: 90%;
  height: 90%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--theme-border, var(--red-border));
  box-shadow: 0 0 20px var(--theme-glow, rgba(255, 42, 75, 0.2));
  z-index: 1;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.avatar-deco-anchor {
  position: absolute;
  width: 115%;
  height: 115%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
  display: none;
  object-fit: contain;
}

.status-dot-marker {
  display: none !important;
}

.staff-role-badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 14px;
  text-transform: uppercase;
  background: var(--badge-bg, rgba(255, 42, 75, 0.1));
  color: var(--badge-color, var(--red-accent));
  border: 1px solid var(--badge-border, rgba(255, 42, 75, 0.35));
  box-shadow: 0 0 12px var(--badge-glow, transparent);
  transition: all 0.3s ease;
}

.grid-username-style, .staff-card h2, .profile-trigger-node h2 {
  font-family: var(--font-decorative) !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  letter-spacing: 2px !important;
  margin-bottom: 8px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background: none;
  max-width: 220px;
  color: #ffffff;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.35)) drop-shadow(0 0 2px rgba(255, 255, 255, 0.2));
    animation: silverShineMovement 3s linear infinite;
}

.staff-desc {
  font-size: 0.82rem;
  color: #d4d4d8;
  line-height: 1.6;
  margin-bottom: 16px;
}

.founder-category, 
.founder-card, 
.staff-card.founder {
  --theme-color: #ff2a4b;
  --theme-border: rgba(255, 42, 75, 0.4);
  --theme-glow: rgba(255, 42, 75, 0.3);
  --badge-bg: rgba(255, 42, 75, 0.12);
  --badge-color: #ff2a4b;
  --badge-border: rgba(255, 42, 75, 0.4);
  --badge-glow: rgba(255, 42, 75, 0.2);
}

.dev-category, 
.dev-card, 
.staff-card.dev {
  --theme-color: #a855f7;
  --theme-border: rgba(168, 85, 247, 0.4);
  --theme-glow: rgba(168, 85, 247, 0.3);
  --badge-bg: rgba(168, 85, 247, 0.12);
  --badge-color: #c084fc;
  --badge-border: rgba(168, 85, 247, 0.4);
  --badge-glow: rgba(168, 85, 247, 0.2);
}

.head-admin-category, 
.head-admin-card, 
.staff-card.head-admin {
  --theme-color: #06b6d4;
  --theme-border: rgba(6, 182, 212, 0.4);
  --theme-glow: rgba(6, 182, 212, 0.3);
  --badge-bg: rgba(6, 182, 212, 0.12);
  --badge-color: #22d3ee;
  --badge-border: rgba(6, 182, 212, 0.4);
  --badge-glow: rgba(6, 182, 212, 0.2);
}

.admin-category, 
.admin-card {
  --theme-color: #ff8800;
  --theme-border: rgba(235, 131, 11, 0.397);
  --theme-glow: rgba(236, 128, 5, 0.925);
  --badge-bg: rgba(223, 148, 8, 0.137);
  --badge-color: #ff9900;
  --badge-border: rgba(235, 130, 11, 0.74);
  --badge-glow: rgba(236, 128, 5, 0.925);
}

.pc-checker-category, 
.checker-card, 
.staff-card.checker {
  --theme-color: #1abc9c;
  --theme-border: rgba(26, 188, 156, 0.4);
  --theme-glow: rgba(26, 188, 156, 0.3);
  --badge-bg: rgba(26, 188, 156, 0.12);
  --badge-color: #1abc9c;
  --badge-border: rgba(26, 188, 156, 0.4);
  --badge-glow: rgba(26, 188, 156, 0.2);
}

.profile-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(4, 2, 4, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body.modal-active .profile-modal-overlay {
  opacity: 1;
  pointer-events: auto;
}

.hover-modal-card {
  position: relative;
  width: calc(100% - 40px);
  max-width: 400px;
  background: #0e050a;
  border: 1px solid var(--red-border);
  border-radius: 24px;
  padding: 30px 24px 24px 24px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.95), 0 0 40px rgba(255, 42, 75, 0.15);
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  text-align: center;
}

.hover-modal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red-accent), transparent);
}

.hover-modal-card.active,
body.modal-active .hover-modal-card {
  transform: scale(1);
}

.identity-flex-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.modal-circle-avatar {
  position: relative;
  width: 135px;
  height: 135px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-base-img {
  width: 115px;
  height: 115px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--red-border);
  box-shadow: 0 0 25px rgba(255, 42, 75, 0.3);
  z-index: 1;
}

.modal-avatar-deco {
  position: absolute;
  width: 110%;
  height: 110%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
  display: none;
  object-fit: contain;
}

.modal-circle-avatar .status-dot-marker {
  bottom: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border: 3.5px solid #0e050a;
}

.modal-title-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hover-modal-card .modal-title-stack h3 {
  font-family: var(--font-decorative) !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  letter-spacing: 2px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  margin-top: 5px;
  text-align: center;
  color: #ffffff;
    animation: silverShineMovement 3s linear infinite;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.2));
}

.badge-list-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.badge-node-tag {
  font-size: 0.65rem;
  color: var(--red-accent);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  background: rgba(255, 42, 75, 0.08);
  border: 1px solid var(--red-border);
  padding: 6px 14px;
  border-radius: 30px;
  animation: exclusiveSoftPulse 3.5s ease-in-out infinite alternate;
}

.custom-quote-box {
  font-size: 0.85rem;
  color: #d4d4d8;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 20px;
  border-left: 3px solid var(--red-accent);
  text-align: left;
  display: none;
}

.activity-block-wrapper {
  margin-bottom: 20px;
}

.activity-block-wrapper h4, 
div > h4 {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: #71717a;
  margin-bottom: 10px;
  letter-spacing: 0.15em;
  font-weight: 700;
  text-align: left;
}

.activity-display-node {
  display: flex;
  gap: 14px;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  padding: 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  text-align: left;
}

.activity-display-node img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.text-bold-node { font-weight: 600; font-size: 0.85rem; color: #ffffff; }
.text-muted-node { font-size: 0.72rem; color: #71717a; margin-top: 2px; }

.grid-connections-stack {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-top: 5px;
  margin-bottom: 20px;
}

.modal-index-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #a1a1aa;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-index-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: fill 0.3s ease;
}

.modal-index-btn:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.analytics-footer-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.asaki-clickable-logo {
    font-family: 'Cinzel Decorative', serif;
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 6px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    user-select: none;
    padding: 4px 12px;
    background: linear-gradient(90deg, #9aa0a6 0%, #e8eaed 25%, #ffffff 50%, #e8eaed 75%, #9aa0a6 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: silverShineMovement 3s linear infinite;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.2));
}

.asaki-clickable-logo:hover {
    filter: drop-shadow(0 0 15px rgba(255, 51, 51, 0.85)) drop-shadow(0 0 5px rgba(255, 51, 51, 0.5));
    transform: scale(1.05);
}

@keyframes silverShineMovement {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.skeleton-engine-pulse {
  background: linear-gradient(90deg, rgba(255,255,255,0.02) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.02) 75%);
  background-size: 200% 100%;
  animation: skeletonShift 1.5s infinite linear;
  border-radius: 6px;
}

@keyframes exclusiveSoftPulse {
  0% {
    border-color: rgba(255, 42, 75, 0.2);
    background: rgba(255, 42, 75, 0.03);
    box-shadow: 0 0 4px rgba(255, 42, 75, 0.1);
    color: var(--red-accent);
  }
  100% {
    border-color: rgba(255, 42, 75, 0.5);
    background: rgba(255, 42, 75, 0.08);
    box-shadow: 0 0 12px var(--red-glow);
    color: #ffffff;
  }
}

@keyframes skeletonShift {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@media (max-width: 900px) {
  .navbar {
    top: 10px;
    left: 20px;
    right: 20px;
    padding: 0 1rem;
  }
  .nav-links { display: none; }
  .cozy-street-heading { font-size: 2.5rem; }
  .page-container { padding-top: 100px; }
}

@media (max-width: 992px) {
    .grid-founders {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .grid-founders {
        grid-template-columns: 1fr;
    }
}

.blinking-cursor {
  display: inline-block;
  font-weight: 700;
  color: var(--red-accent);
  animation: blinkSlash 1s step-start infinite;
}

@keyframes blinkSlash {
  50% {
    opacity: 0;
  }
}

.grid-four {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .grid-four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .grid-four, .grid-founders, .grid-two, .grid-three {
    grid-template-columns: 1fr;
  }
}

.role-admin {
  --badge-bg: rgba(155, 86, 22, 0.911);
  --badge-color: #ff7300;
  --badge-border: rgba(255, 123, 0, 0.959);
  --badge-glow: rgba(252, 126, 8, 0.411);
}