/* ==========================================================================
   ONLYDEV - Core Design System & Stylesheet
   ========================================================================== */

/* Imports */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Premium Cyber Color Palette */
  --bg-base: #060814;
  --bg-surface: rgba(15, 18, 36, 0.4);
  --bg-surface-solid: #0c0f24;
  --bg-card: rgba(20, 24, 48, 0.6);
  --bg-card-solid: #151a36;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 175, 240, 0.15);

  --primary: #00aff0; /* OnlyFans Signature Sky Blue */
  --primary-hover: #009ad5;
  --primary-glow: rgba(0, 175, 240, 0.4);
  
  --secondary: #ff007a; /* Cyber Magenta */
  --secondary-glow: rgba(255, 0, 122, 0.4);

  --accent-green: #39ff14; /* Neon Green */
  --accent-purple: #7928ca; /* Deep Purple */

  --text-primary: #ffffff;
  --text-secondary: #8b92b6;
  --text-muted: #535a7d;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 175, 240, 0.1);
  --glass-filter: blur(16px);
  --glass-border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Reset & Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  background-image: 
    radial-gradient(at 10% 20%, rgba(121, 40, 202, 0.15) 0px, transparent 50%),
    radial-gradient(at 90% 10%, rgba(0, 175, 240, 0.15) 0px, transparent 50%),
    radial-gradient(at 50% 80%, rgba(255, 0, 122, 0.08) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Grid & Layout System */
.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header Styles */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #000000;
  height: 64px;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 36px;
  object-fit: contain;
}

.brand-text {
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #fff 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-center {
  flex: 1;
  max-width: 450px;
  margin: 0 32px;
}

.search-bar {
  position: relative;
  width: 100%;
}

.search-bar input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  padding: 10px 20px 10px 45px;
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.search-bar input:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(0, 175, 240, 0.2);
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  transition: all 0.2s;
}

.header-btn:hover {
  background: rgba(0, 175, 240, 0.15);
  color: var(--primary);
  transform: translateY(-2px);
}

.user-profile-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.user-avatar-small {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.8rem;
}

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

/* Layout Grid */
.main-layout {
  display: grid;
  grid-template-columns: 260px 1fr 340px;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px;
  width: 100%;
  flex: 1;
}

/* Left Sidebar */
.left-sidebar {
  position: sticky;
  top: 88px;
  height: fit-content;
}

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-secondary);
  transition: all 0.2s;
  text-align: left;
}

.nav-item svg {
  width: 20px;
  height: 20px;
  transition: transform 0.2s;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}

.nav-item:hover svg {
  transform: scale(1.1);
}

.nav-item.active {
  background: rgba(0, 175, 240, 0.1);
  color: var(--primary);
  border-left: 3px solid var(--primary);
}

.nav-item.active svg {
  color: var(--primary);
}

.nav-badge {
  margin-left: auto;
  background: var(--secondary);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: 0 0 8px var(--secondary-glow);
}

/* Middle Column - Feed Area */
.feed-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Creator Profile Card */
.creator-card {
  background: var(--bg-surface);
  backdrop-filter: var(--glass-filter);
  border: var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.creator-cover {
  height: 180px;
  background: linear-gradient(135deg, #090e2b 0%, #03040c 100%);
  position: relative;
  overflow: hidden;
}

/* CSS Cyber-Grid Background for Banner */
.creator-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(0, 175, 240, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 175, 240, 0.1) 1px, transparent 1px);
  background-size: 20px 20px;
  perspective: 500px;
  transform: rotateX(60deg) translateY(-30%) translateZ(0);
  transform-origin: top center;
  animation: grid-scroll 20s linear infinite;
}

@keyframes grid-scroll {
  0% { background-position: 0 0; }
  100% { background-position: 0 100%; }
}

.creator-cover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--bg-surface-solid) 0%, transparent 100%);
}

.creator-avatar-wrap {
  position: relative;
  margin-top: -65px;
  margin-left: 24px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  padding: 4px;
  background: var(--bg-base);
  display: inline-block;
  z-index: 10;
}

.creator-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary), var(--secondary));
  object-fit: cover;
  border: 3px solid var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
}

.avatar-online-dot {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 18px;
  height: 18px;
  background: var(--accent-green);
  border-radius: 50%;
  border: 3px solid var(--bg-base);
  box-shadow: 0 0 10px var(--accent-green);
}

.creator-details {
  padding: 16px 24px 24px 24px;
}

.creator-header-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
}

.creator-title-block h1 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.verified-badge {
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.creator-username {
  font-family: var(--font-mono);
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 2px;
}

.creator-socials {
  display: flex;
  gap: 10px;
}

.social-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icon-btn:hover {
  background: rgba(0, 175, 240, 0.15);
  color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.creator-stats {
  display: flex;
  gap: 24px;
  margin: 18px 0;
  padding: 12px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.creator-bio {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.creator-location {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Subscribe Option Cards */
.subscription-box {
  background: rgba(255, 0, 122, 0.03);
  border: 1px solid rgba(255, 0, 122, 0.15);
  border-radius: 16px;
  padding: 20px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: inset 0 0 15px rgba(255, 0, 122, 0.02);
}

.sub-left h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.sub-left p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.sub-btn-primary {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 50px;
  box-shadow: 0 4px 15px var(--primary-glow);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sub-btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--primary-glow);
}

.sub-btn-secondary {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent-purple) 100%);
  color: #fff;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 50px;
  box-shadow: 0 4px 15px var(--secondary-glow);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sub-btn-secondary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

/* Feed View Tab Bar */
.feed-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  margin-top: 12px;
}

.tab-btn {
  flex: 1;
  text-align: center;
  padding: 16px 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-bottom: 3px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.tab-btn:hover {
  color: #fff;
}

.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Project Post Cards */
.post-card {
  background: var(--bg-surface);
  backdrop-filter: var(--glass-filter);
  border: var(--glass-border);
  border-radius: 20px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.post-card:hover {
  border-color: rgba(0, 175, 240, 0.2);
  box-shadow: 0 8px 32px rgba(0, 175, 240, 0.05);
}

.post-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.post-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: url('pic.png') no-repeat center center;
  background-size: cover;
  border: 2px solid var(--primary);
}

.post-author-name h4 {
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

.post-author-name p {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.post-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pinned-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* Post Content */
.post-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.2px;
  color: #fff;
}

.post-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.tech-stack-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-badge {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--primary);
  font-weight: 600;
}

/* Collapsible Features List */
.features-container {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 16px;
}

.features-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.features-list {
  list-style-type: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.features-list li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  position: relative;
  padding-left: 18px;
}

.features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: bold;
}

/* Post Graphic Showcase Card */
.post-visual-showcase {
  height: 240px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.post-visual-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 30%, rgba(0,0,0,0.6) 100%);
  z-index: 2;
}

.showcase-mesh-glow {
  position: absolute;
  width: 120%;
  height: 120%;
  filter: blur(40px);
  opacity: 0.65;
  animation: slow-pan 10s ease infinite alternate;
}

@keyframes slow-pan {
  0% { transform: scale(1) rotate(0deg); }
  100% { transform: scale(1.1) rotate(10deg); }
}

.showcase-mock-ui {
  position: relative;
  z-index: 3;
  width: 85%;
  height: 75%;
  background: rgba(8, 10, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.mock-ui-header {
  height: 28px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  padding: 0 10px;
  gap: 6px;
}

.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.mock-dot.red { background: #ff5f56; }
.mock-dot.yellow { background: #ffbd2e; }
.mock-dot.green { background: #27c93f; }

.mock-ui-url {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  padding: 2px 10px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-left: 10px;
  flex: 1;
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-ui-body {
  flex: 1;
  padding: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.code-snippet {
  color: #c9d1d9;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-align: left;
  width: 100%;
}

.code-keyword { color: #ff7b72; }
.code-entity { color: #d2a6ff; }
.code-string { color: #a5d6ff; }

.visual-link-btn {
  background: rgba(0, 175, 240, 0.1);
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 6px;
  padding: 6px 14px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.8rem;
  box-shadow: 0 0 10px rgba(0, 175, 240, 0.15);
}

.visual-link-btn:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 15px var(--primary-glow);
}

/* Locked Overlay Card Graphic */
.post-visual-showcase.is-locked {
  background: rgba(15, 18, 36, 0.5);
}

.locked-blur-overlay {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(12px);
  background: rgba(6, 8, 20, 0.75);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.lock-shield-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 0, 122, 0.1);
  border: 2px dashed var(--secondary);
  color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px var(--secondary-glow);
  animation: pulse-slow 3s infinite;
}

@keyframes pulse-slow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
}

.lock-shield-icon svg {
  width: 28px;
  height: 28px;
}

.locked-details {
  text-align: center;
}

.locked-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}

.locked-prompt {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Actions Footer */
.post-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
}

.action-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.action-btn:hover {
  color: #fff;
}

.action-btn.btn-like:hover {
  color: var(--secondary);
}

.action-btn.btn-like:hover svg {
  transform: scale(1.2);
  fill: rgba(255, 0, 122, 0.2);
}

.action-btn.btn-like.liked {
  color: var(--secondary);
}

.action-btn.btn-like.liked svg {
  fill: var(--secondary);
  stroke: var(--secondary);
  animation: heart-pop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes heart-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}

.action-btn.btn-comment:hover {
  color: var(--primary);
}

.action-btn.btn-comment:hover svg {
  transform: scale(1.1);
}

.unlock-action-btn {
  margin-left: auto;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 0 10px var(--primary-glow);
}

.unlock-action-btn:hover {
  background: var(--primary-hover);
  box-shadow: 0 0 15px var(--primary-glow);
  transform: translateY(-1px);
}

.unlock-action-btn.premium {
  background: var(--secondary);
  box-shadow: 0 0 10px var(--secondary-glow);
}

.unlock-action-btn.premium:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 15px var(--secondary-glow);
}

/* Floating Hearts Animation */
.floating-heart {
  position: absolute;
  color: var(--secondary);
  font-size: 1.5rem;
  pointer-events: none;
  animation: float-up 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
  z-index: 100;
}

@keyframes float-up {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(-80px) scale(0.6) rotate(15deg);
    opacity: 0;
  }
}

/* Comment Section Styles */
.comments-section {
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: slide-down 0.25s ease-out;
}

@keyframes slide-down {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.comment-input-wrap {
  display: flex;
  gap: 10px;
}

.comment-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 8px 16px;
  color: #fff;
  font-family: inherit;
  font-size: 0.85rem;
}

.comment-input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.06);
}

.comment-submit-btn {
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px var(--primary-glow);
}

.comment-submit-btn:hover {
  background: var(--primary-hover);
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.comment-item {
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, 0.015);
  border-radius: 12px;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.comment-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.comment-content {
  flex: 1;
}

.comment-user-name {
  font-weight: 700;
  font-size: 0.8rem;
  color: #fff;
  margin-bottom: 2px;
}

.comment-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Right Sidebar */
.right-sidebar {
  position: sticky;
  top: 88px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-panel {
  background: var(--bg-surface);
  backdrop-filter: var(--glass-filter);
  border: var(--glass-border);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.sidebar-panel h3 {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

/* Creator Suggestions */
.suggestions-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.suggested-creator {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.creator-info-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.creator-info-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.creator-info-text h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.creator-info-text p {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.follow-btn {
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
}

.follow-btn:hover {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 10px var(--primary-glow);
}

/* Tech Breakdown Category Filter */
.tech-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-filter-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-weight: 600;
}

.tech-filter-tag:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.tech-filter-tag.active {
  background: rgba(0, 175, 240, 0.15);
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 8px rgba(0, 175, 240, 0.1);
}

/* Media Gallery Styling */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  animation: slide-up-anim 0.4s ease-out;
}

@keyframes slide-up-anim {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.media-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 16px;
  overflow: hidden;
  border: var(--glass-border);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.media-item-mesh {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 1.1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
  position: relative;
  transition: transform 0.3s;
}

.media-item:hover .media-item-mesh {
  transform: scale(1.05);
}

.media-item-details {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 8, 20, 0.95) 0%, rgba(6, 8, 20, 0.4) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.25s;
  z-index: 3;
}

.media-item:hover .media-item-details {
  opacity: 1;
}

.media-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.media-tags {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--primary);
}

.media-lock-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--secondary);
  color: #fff;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  box-shadow: 0 0 10px var(--secondary-glow);
  z-index: 4;
}

/* Locked Category Layout */
.locked-intro {
  background: rgba(255, 0, 122, 0.02);
  border: 1px solid rgba(255, 0, 122, 0.1);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  margin-bottom: 12px;
}

.locked-intro h3 {
  color: var(--secondary);
  margin-bottom: 6px;
}

.locked-intro p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

/* Direct Messages/Chat Pane */
.chat-window {
  background: var(--bg-surface);
  backdrop-filter: var(--glass-filter);
  border: var(--glass-border);
  border-radius: 24px;
  overflow: hidden;
  height: calc(100vh - 140px);
  min-height: 500px;
  display: flex;
  box-shadow: var(--shadow-md);
  animation: slide-up-anim 0.3s ease-out;
}

.chat-threads {
  width: 250px;
  border-right: 1px solid var(--border-color);
  background: rgba(8, 10, 24, 0.4);
  display: flex;
  flex-direction: column;
}

.threads-header {
  padding: 18px;
  border-bottom: 1px solid var(--border-color);
  font-weight: 800;
  font-size: 1.1rem;
}

.thread-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.02);
  cursor: pointer;
  background: rgba(0, 175, 240, 0.04);
  border-left: 3px solid var(--primary);
}

.thread-avatar {
  position: relative;
  width: 40px;
  height: 40px;
}

.thread-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--primary);
}

.thread-online {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  background: var(--accent-green);
  border-radius: 50%;
  border: 2px solid var(--bg-surface-solid);
}

.thread-details h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.thread-details p {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
}

.chat-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: rgba(12, 15, 36, 0.2);
}

.chat-header {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(8, 10, 24, 0.3);
}

.chat-header-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-header-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--primary);
}

.chat-header-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
}

.chat-header-info p {
  font-size: 0.75rem;
  color: var(--accent-green);
}

.chat-messages-container {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chat-bubble {
  max-width: 70%;
  padding: 12px 16px;
  border-radius: 18px;
  font-size: 0.9rem;
  line-height: 1.45;
  position: relative;
}

.chat-bubble.incoming {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  color: #fff;
}

.chat-bubble.outgoing {
  background: var(--primary);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 175, 240, 0.2);
}

.chat-bubble-time {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
  text-align: right;
  font-family: var(--font-mono);
}

.chat-bubble.incoming .chat-bubble-time {
  color: var(--text-muted);
}

/* Pre-composed Chat Interaction Options */
.chat-suggestions-panel {
  padding: 12px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(255,255,255,0.03);
  background: rgba(8, 10, 24, 0.1);
}

.chat-suggest-btn {
  background: rgba(0, 175, 240, 0.08);
  border: 1px solid rgba(0, 175, 240, 0.2);
  color: var(--primary);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 600;
}

.chat-suggest-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Chat Input Bar */
.chat-input-panel {
  padding: 16px 20px;
  border-top: 1px solid var(--border-color);
  background: rgba(8, 10, 24, 0.4);
  display: flex;
  gap: 12px;
}

.chat-text-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 30px;
  padding: 12px 24px;
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
}

.chat-text-input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
}

.chat-send-btn {
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.chat-send-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}

/* About / CV Tab Styling */
.about-card {
  background: var(--bg-surface);
  backdrop-filter: var(--glass-filter);
  border: var(--glass-border);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  box-shadow: var(--shadow-md);
  animation: slide-up-anim 0.4s ease-out;
}

.about-section h2 {
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid rgba(0, 175, 240, 0.2);
  padding-bottom: 8px;
  margin-bottom: 16px;
  color: #fff;
}

.about-intro-p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.skill-card-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px 12px;
  text-align: center;
  transition: all 0.2s;
}

.skill-card-item:hover {
  background: rgba(0, 175, 240, 0.05);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.skill-name {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 4px;
  color: #fff;
}

.skill-level {
  font-size: 0.75rem;
  color: var(--primary);
  font-family: var(--font-mono);
  font-weight: 600;
}

/* Experience Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  padding-left: 20px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: -22px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary-glow);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}

.timeline-role {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}

.timeline-company {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
}

.timeline-date {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Decryption Shell Terminal Modal */
.terminal-modal {
  position: fixed;
  inset: 0;
  background: rgba(3, 4, 8, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.terminal-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.terminal-window {
  width: 100%;
  max-width: 600px;
  background: #020205;
  border: 1px solid rgba(0, 255, 122, 0.2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 255, 122, 0.05);
  font-family: var(--font-mono);
  display: flex;
  flex-direction: column;
}

.terminal-header {
  height: 36px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.terminal-title {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-body {
  height: 320px;
  padding: 20px;
  overflow-y: auto;
  color: var(--accent-green);
  font-size: 0.85rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.terminal-line {
  word-break: break-all;
  white-space: pre-wrap;
}

.terminal-line.success {
  color: #fff;
  font-weight: 700;
}

.terminal-line.error {
  color: var(--secondary);
}

.terminal-loading-bar-wrap {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 8px;
}

.terminal-loading-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-green), var(--primary));
  width: 0%;
  transition: width 0.1s linear;
}

/* CONFETTI CANVAS */
#confetti-canvas {
  position: fixed;
  inset: 0;
  z-index: 1100;
  pointer-events: none;
}

/* Footer Section */
.main-footer {
  margin-top: auto;
  border-top: 1px solid var(--border-color);
  background: rgba(6, 8, 20, 0.8);
  padding: 30px 24px;
  text-align: center;
}

.footer-content {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.footer-nav {
  display: flex;
  gap: 20px;
}

.footer-nav a:hover {
  color: #fff;
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .main-layout {
    grid-template-columns: 80px 1fr;
  }

  .right-sidebar {
    display: none;
  }

  .nav-item span, .nav-badge {
    display: none;
  }

  .nav-item {
    justify-content: center;
    padding: 16px;
  }
  
  .nav-item svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 768px) {
  .main-header {
    height: 56px;
  }
  
  .header-inner {
    padding: 0 16px;
  }

  .header-center {
    display: none; /* Hide search bar on mobile */
  }

  .main-layout {
    grid-template-columns: 1fr;
    padding: 12px;
    gap: 16px;
    padding-bottom: 80px; /* Space for bottom mobile nav */
  }

  .left-sidebar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    background: rgba(6, 8, 20, 0.9);
    backdrop-filter: var(--glass-filter);
    border-top: var(--glass-border);
    z-index: 90;
    padding: 8px 16px;
  }

  .nav-menu {
    flex-direction: row;
    justify-content: space-around;
  }

  .nav-item {
    padding: 10px;
  }

  .nav-item.active {
    border-left: none;
    border-bottom: 2px solid var(--primary);
    background: transparent;
  }

  .creator-cover {
    height: 130px;
  }

  .creator-avatar-wrap {
    width: 80px;
    height: 80px;
    margin-top: -45px;
    margin-left: 16px;
  }

  .creator-details {
    padding: 12px 16px 16px 16px;
  }

  .creator-title-block h1 {
    font-size: 1.3rem;
  }

  .subscription-box {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 12px;
  }

  .chat-window {
    height: calc(100vh - 180px);
  }

  .chat-threads {
    width: 70px;
  }

  .thread-item {
    justify-content: center;
    padding: 12px;
  }

  .thread-details {
    display: none;
  }

  .chat-bubble {
    max-width: 85%;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

/* Radar Scanner Styling */
.radar-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  margin-top: 10px;
}

.radar-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 175, 240, 0.25);
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
  background: radial-gradient(circle, rgba(0, 175, 240, 0.03) 0%, transparent 80%);
  box-shadow: inset 0 0 15px rgba(0, 175, 240, 0.05);
}

.radar-circle::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 50%, rgba(0, 175, 240, 0.35) 100%);
  animation: radar-sweep 3.5s linear infinite;
  transform-origin: center;
}

@keyframes radar-sweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.radar-circle::after {
  content: '';
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px var(--primary);
  animation: radar-pulse-dot 1.5s ease-in-out infinite alternate;
}

@keyframes radar-pulse-dot {
  0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

.radar-status {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.6;
}

.radar-status span {
  color: var(--secondary);
  font-weight: 800;
  text-shadow: 0 0 10px var(--secondary-glow);
}

/* Desktop Message Popup Styles */
@media (min-width: 769px) {
  #chat-tab-content.chat-popup-active {
    display: block !important;
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 380px;
    height: 520px;
    z-index: 999;
    background: var(--bg-surface-solid);
    border: 1px solid rgba(0, 175, 240, 0.3);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    animation: chat-popup-slide 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
  #chat-tab-content.chat-popup-active .chat-window {
    height: 100%;
    min-height: auto;
    border: none;
    border-radius: 0;
    box-shadow: none;
  }
  
  #chat-tab-content.chat-popup-active .chat-threads {
    display: none;
  }
  
  #chat-tab-content.chat-popup-active #chat-close-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
}

@keyframes chat-popup-slide {
  from { transform: translateY(100px) scale(0.8); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

/* Loading Screen Styles */
.loading-screen {
  position: fixed;
  inset: 0;
  background: #000000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s;
}

.loading-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 280px;
  width: 85%;
}

.loading-logo {
  height: 54px;
  object-fit: contain;
  animation: logo-glow-pulse 1.6s ease-in-out infinite alternate;
}

@keyframes logo-glow-pulse {
  0% { transform: scale(0.96); filter: drop-shadow(0 0 4px rgba(0, 175, 240, 0.2)); }
  100% { transform: scale(1.04); filter: drop-shadow(0 0 20px rgba(0, 175, 240, 0.65)); }
}

.loading-bar-container {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.02);
}

.loading-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 8px;
  transition: width 0.08s linear;
}

.loading-status {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  text-align: center;
}

