/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Dark Theme (default) — Metallic Silver/Chrome */
  --bg-primary: #080b14;
  --bg-secondary: #0d1117;
  --bg-tertiary: #131921;
  --bg-card: rgba(148, 163, 184, 0.03);
  --bg-glass: rgba(148, 163, 184, 0.05);
  --bg-glass-hover: rgba(148, 163, 184, 0.09);
  --border-glass: rgba(148, 163, 184, 0.1);
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-primary: #94a3b8;
  --accent-secondary: #cbd5e1;
  --accent-tertiary: #e2e8f0;
  --accent-gradient: linear-gradient(
    135deg,
    #64748b,
    #94a3b8,
    #cbd5e1,
    #e2e8f0
  );
  --accent-metallic: linear-gradient(
    135deg,
    #475569,
    #94a3b8,
    #e2e8f0,
    #94a3b8,
    #475569
  );
  --accent-glow: rgba(148, 163, 184, 0.35);
  --accent-chrome: linear-gradient(
    180deg,
    #e2e8f0 0%,
    #94a3b8 40%,
    #64748b 70%,
    #475569 100%
  );
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #38bdf8;
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px rgba(148, 163, 184, 0.15);
  --shadow-chrome:
    0 0 20px rgba(148, 163, 184, 0.1), 0 0 60px rgba(148, 163, 184, 0.05);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --font-main: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
}

[data-theme="light"] {
  --bg-primary: #f1f5f9;
  --bg-secondary: #e2e8f0;
  --bg-tertiary: #cbd5e1;
  --bg-card: rgba(71, 85, 105, 0.04);
  --bg-glass: rgba(255, 255, 255, 0.75);
  --bg-glass-hover: rgba(255, 255, 255, 0.9);
  --border-glass: rgba(71, 85, 105, 0.12);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --accent-primary: #475569;
  --accent-secondary: #334155;
  --accent-tertiary: #1e293b;
  --accent-gradient: linear-gradient(135deg, #475569, #334155, #1e293b);
  --accent-metallic: linear-gradient(
    135deg,
    #64748b,
    #475569,
    #334155,
    #475569,
    #64748b
  );
  --accent-glow: rgba(71, 85, 105, 0.25);
  --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 30px rgba(71, 85, 105, 0.1);
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-primary) var(--bg-secondary);
}

body {
  font-family: var(--font-main);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  cursor: none;
  min-height: 100vh;
}

/* ===== FOCUS STYLES ===== */
:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 3px;
}

a {
  text-decoration: none;
  color: inherit;
}
button {
  cursor: none;
  border: none;
  background: none;
  font-family: inherit;
}
input,
textarea {
  font-family: inherit;
}
img {
  max-width: 100%;
  display: block;
}

/* ===== CUSTOM CURSOR ===== */
.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  transition: transform 0.1s;
  mix-blend-mode: difference;
}

.cursor-outline {
  width: 36px;
  height: 36px;
  border: 2px solid var(--accent-secondary);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99998;
  transition:
    transform 0.15s ease-out,
    width 0.3s,
    height 0.3s,
    border-color 0.3s;
  transform: translate(-50%, -50%);
}

.cursor-outline.hover {
  width: 56px;
  height: 56px;
  border-color: var(--accent-primary);
  background: rgba(148, 163, 184, 0.1);
}

@media (max-width: 768px) {
  .cursor-dot,
  .cursor-outline {
    display: none;
  }
  body {
    cursor: auto;
  }
  button,
  a {
    cursor: pointer;
  }
}

/* ===== PRELOADER ===== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.6s,
    visibility 0.6s;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  position: relative;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid transparent;
}

.loader-ring:nth-child(1) {
  border-top-color: var(--accent-primary);
  animation: spin 1.2s linear infinite;
}

.loader-ring:nth-child(2) {
  width: 80%;
  height: 80%;
  border-right-color: var(--accent-secondary);
  animation: spin 1.6s linear infinite reverse;
}

.loader-ring:nth-child(3) {
  width: 60%;
  height: 60%;
  border-bottom-color: #cbd5e1;
  animation: spin 1s linear infinite;
}

.loader-text {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--text-primary);
  font-family: var(--font-mono);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ===== PARTICLES CANVAS ===== */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ===== BACKGROUND ===== */
.bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(
      ellipse at 20% 50%,
      rgba(148, 163, 184, 0.06) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 80% 20%,
      rgba(100, 116, 139, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 50% 80%,
      rgba(203, 213, 225, 0.03) 0%,
      transparent 50%
    );
  z-index: 0;
  pointer-events: none;
}

.bg-gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(10, 10, 15, 0.3) 50%,
    rgba(10, 10, 15, 0.8) 100%
  );
  z-index: 0;
  pointer-events: none;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  background: rgba(10, 10, 15, 0.6);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition);
  transform: translateY(0);
}

.navbar.scrolled {
  padding: 10px 40px;
  background: rgba(10, 10, 15, 0.85);
  box-shadow: var(--shadow-lg);
}

.navbar.hidden {
  transform: translateY(-100%);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: white;
  box-shadow: var(--shadow-glow);
}

.brand-logo {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
  object-fit: contain;
}

.brand-logo:hover {
  transform: scale(1.1) rotate(-5deg);
}

.brand-text {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 2px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.nav-link i {
  font-size: 0.8rem;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: var(--bg-glass);
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 1px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-toggle,
.admin-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
}

.theme-toggle:hover,
.admin-btn:hover {
  color: var(--text-primary);
  background: var(--bg-glass-hover);
  border-color: var(--accent-primary);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  padding: 5px;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: var(--transition);
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 900px) {
  .nav-links,
  .nav-actions {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 10, 15, 0.95);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-slow);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.mobile-link {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: var(--transition);
  transform: translateY(20px);
  opacity: 0;
}

.mobile-menu.active .mobile-link {
  transform: translateY(0);
  opacity: 1;
}

.mobile-link:nth-child(1) {
  transition-delay: 0.1s;
}
.mobile-link:nth-child(2) {
  transition-delay: 0.15s;
}
.mobile-link:nth-child(3) {
  transition-delay: 0.2s;
}
.mobile-link:nth-child(4) {
  transition-delay: 0.25s;
}
.mobile-link:nth-child(5) {
  transition-delay: 0.3s;
}
.mobile-link:nth-child(6) {
  transition-delay: 0.35s;
}

.mobile-link:hover {
  color: var(--accent-secondary);
}

/* ===== SECTIONS ===== */
.section {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px 80px;
  scroll-margin-top: 80px;
}

.section-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-secondary);
  margin-bottom: 16px;
  font-family: var(--font-mono);
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 12px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

/* ===== GLASS CARDS ===== */
.glass-card {
  background: var(--bg-glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.glass-card:hover {
  background: var(--bg-glass-hover);
  border-color: rgba(148, 163, 184, 0.15);
  box-shadow: var(--shadow-glow);
}

/* Non-profile cards get translateY hover */
.glass-card:not(.profile-card):hover {
  transform: translateY(-4px);
}

.glass-inner {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 12px 16px;
}

.glass-mini {
  background: var(--bg-glass);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 10px 20px;
}

/* ===== HERO SECTION ===== */
.hero-section {
  flex-direction: column;
  gap: 20px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.profile-card {
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.15s ease;
  padding-top: 48px;
}

/* Animated gradient border */
.profile-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: conic-gradient(
    from var(--card-angle, 0deg),
    #475569,
    #94a3b8,
    #e2e8f0,
    #cbd5e1,
    #94a3b8,
    #64748b,
    #475569
  );
  border-radius: calc(var(--radius-lg) + 2px);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.6s;
  animation: rotate-border 4s linear infinite;
}

@keyframes rotate-border {
  to {
    --card-angle: 360deg;
  }
}

@property --card-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.profile-card:hover::before {
  opacity: 0.5;
}

/* Card floating particles */
.card-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  pointer-events: none;
  z-index: 0;
}

.card-particles span {
  position: absolute;
  width: 3px;
  height: 3px;
  background: rgba(148, 163, 184, 0.25);
  border-radius: 50%;
  animation: float-particle 8s ease-in-out infinite;
}

.card-particles span:nth-child(1) {
  left: 10%;
  top: 20%;
  animation-delay: 0s;
  animation-duration: 7s;
}
.card-particles span:nth-child(2) {
  left: 80%;
  top: 15%;
  animation-delay: 1.5s;
  animation-duration: 9s;
}
.card-particles span:nth-child(3) {
  left: 50%;
  top: 70%;
  animation-delay: 3s;
  animation-duration: 6s;
}
.card-particles span:nth-child(4) {
  left: 25%;
  top: 85%;
  animation-delay: 2s;
  animation-duration: 10s;
}
.card-particles span:nth-child(5) {
  left: 70%;
  top: 50%;
  animation-delay: 4s;
  animation-duration: 8s;
}
.card-particles span:nth-child(6) {
  left: 90%;
  top: 80%;
  animation-delay: 1s;
  animation-duration: 7.5s;
}

@keyframes float-particle {
  0%,
  100% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  50% {
    transform: translateY(-40px) translateX(15px) scale(1.5);
    opacity: 0.6;
  }
  90% {
    opacity: 0.2;
  }
}

/* Availability badge */
.availability-badge {
  position: absolute !important;
  top: 16px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  font-size: 0.68rem;
  font-weight: 600;
  color: #10b981;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 20px;
  z-index: 10 !important;
  font-family: var(--font-mono);
  width: auto;
}

.availability-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  animation: pulse-online 2s infinite;
}

/* Avatar pulse rings */
.avatar-pulse {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.15);
  animation: avatar-pulse-ring 3s ease-out infinite;
  z-index: 0;
}

.avatar-pulse.delay {
  animation-delay: 1.5s;
}

@keyframes avatar-pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* Rotating titles */
.profile-titles {
  margin-bottom: 4px;
  height: 22px;
  overflow: hidden;
}

.profile-title-rotate {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--accent-primary);
  font-family: var(--font-mono);
  transition:
    opacity 0.4s,
    transform 0.4s;
}

/* XP / Level bar */
.xp-bar-wrapper {
  margin: 14px 0;
  padding: 0 8px;
}

.xp-bar-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 0.7rem;
  font-family: var(--font-mono);
}

.xp-bar-label span:first-child {
  color: var(--accent-secondary);
  font-weight: 600;
}

.xp-bar-label span:first-child i {
  color: #f59e0b;
  margin-right: 4px;
}

.xp-text {
  color: var(--text-muted);
}

.xp-bar-track {
  width: 100%;
  height: 5px;
  background: rgba(148, 163, 184, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.xp-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #475569, #94a3b8, #e2e8f0, #94a3b8);
  background-size: 200% 100%;
  animation: xp-shimmer 3s linear infinite;
  position: relative;
}

@keyframes xp-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Discord Playing Widget */
.discord-playing {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  margin-bottom: 14px;
  border-radius: var(--radius-sm);
  position: relative;
  transition:
    border-color 0.4s,
    background 0.4s;
  border: 1px solid transparent;
}

.discord-playing.is-active {
  border-color: rgba(88, 101, 242, 0.15);
  background: rgba(88, 101, 242, 0.03);
}

.discord-playing-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(88, 101, 242, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.discord-game-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: none;
}

.discord-game-img.visible {
  display: block;
}

.discord-game-img.visible + .discord-game-fallback {
  display: none;
}

.discord-game-fallback {
  font-size: 1rem;
  color: #5865f2;
}

.discord-playing-info {
  display: flex;
  flex-direction: column;
  text-align: left;
  min-width: 0;
  flex: 1;
}

.discord-playing-label {
  font-size: 0.65rem;
  color: #5865f2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.discord-playing-label i {
  margin-right: 3px;
}

.discord-playing-game {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-mono);
  transition: opacity 0.3s;
}

.discord-playing-details {
  font-size: 0.68rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-mono);
}

.discord-playing-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #747f8d;
  transition:
    background 0.4s,
    box-shadow 0.4s;
}

.discord-playing-status.online {
  background: #3ba55d;
}
.discord-playing-status.idle {
  background: #faa81a;
}
.discord-playing-status.dnd {
  background: #ed4245;
}
.discord-playing-status.streaming {
  background: #593695;
}

.discord-playing-status.online,
.discord-playing-status.streaming {
  animation: discord-glow 2s ease-in-out infinite;
}

@keyframes discord-glow {
  0%,
  100% {
    box-shadow: 0 0 3px rgba(59, 165, 93, 0.3);
  }
  50% {
    box-shadow: 0 0 8px rgba(59, 165, 93, 0.6);
  }
}

.profile-avatar-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 16px;
}

.avatar-decoration {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 128px;
  height: 128px;
  pointer-events: none;
  z-index: 3;
}

.avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--accent-gradient);
  animation: rotate-ring 4s linear infinite;
  opacity: 0.6;
}

@keyframes rotate-ring {
  to {
    transform: rotate(360deg);
  }
}

.profile-avatar {
  position: relative;
  width: 100px;
  height: 100px;
  background: var(--bg-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  overflow: hidden;
}

.profile-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.avatar-icon {
  font-size: 2.5rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.avatar-icon-img {
  width: 60%;
  height: 60%;
  object-fit: contain;
}

.discord-avatar-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.orbit-center-img {
  width: 50%;
  height: 50%;
  object-fit: contain;
}

.brand-icon-img {
  display: inline-block;
  object-fit: contain;
  vertical-align: middle;
}

.status-indicator {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid var(--bg-primary);
  z-index: 5;
  transition:
    background 0.3s,
    box-shadow 0.3s;
}

.status-indicator.online {
  background: var(--success);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
  animation: pulse-online 2s infinite;
}

.status-indicator.dnd {
  background: #ed4245;
  box-shadow: 0 0 12px rgba(237, 66, 69, 0.5);
  animation: none;
}

.status-indicator.idle {
  background: #faa61a;
  box-shadow: 0 0 12px rgba(250, 166, 26, 0.5);
  animation: none;
}

.status-indicator.offline {
  background: #747f8d;
  box-shadow: none;
  animation: none;
}

@keyframes pulse-online {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
}

.profile-name {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 4px;
  letter-spacing: 1px;
}

/* Glitch Effect */
.glitch-text {
  position: relative;
}

.glitch-text:hover {
  animation: glitch 0.5s ease;
}

@keyframes glitch {
  0%,
  100% {
    text-shadow: none;
  }
  20% {
    text-shadow:
      -2px 0 #94a3b8,
      2px 0 #64748b;
  }
  40% {
    text-shadow:
      2px 0 #cbd5e1,
      -2px 0 #475569;
  }
  60% {
    text-shadow:
      -1px 0 #94a3b8,
      1px 0 #64748b;
  }
  80% {
    text-shadow:
      1px 0 #e2e8f0,
      -1px 0 #475569;
  }
}

.profile-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.profile-location i {
  color: var(--accent-secondary);
  font-size: 0.75rem;
}

.profile-bio {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-family: var(--font-mono);
}

/* Discord Status */
.discord-status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  text-align: left;
}

.discord-avatar {
  width: 40px;
  height: 40px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--accent-primary);
}

.discord-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.discord-username {
  font-size: 0.85rem;
  font-weight: 600;
}

.badge {
  display: inline-block;
  padding: 1px 6px;
  background: var(--accent-gradient);
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 700;
  color: white;
  vertical-align: middle;
}

.discord-activity {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.discord-activity i {
  margin-right: 4px;
  color: var(--accent-secondary);
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
}

.social-link:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(148, 163, 184, 0.2);
}

.social-link:nth-child(1):hover {
  background: #333;
} /* GitHub */
.social-link:nth-child(2):hover {
  background: #5865f2;
} /* Discord */
.social-link:nth-child(3):hover {
  background: #000;
} /* X */
.social-link:nth-child(4):hover {
  background: #e4405f;
} /* Instagram */
.social-link:nth-child(5):hover {
  background: #1db954;
} /* Spotify */
.social-link:nth-child(6):hover {
  background: #ff0000;
} /* YouTube */
.social-link:nth-child(7):hover {
  background: #171a21;
} /* Steam */

/* Tooltip */
.tooltip::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 4px 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  pointer-events: none;
  z-index: 10;
}

.tooltip:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Stats */
.profile-stats {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-mono);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Profile Tags */
.profile-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.profile-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  color: var(--text-secondary);
  background: rgba(148, 163, 184, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 20px;
  transition: var(--transition);
}

.profile-tag:hover {
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.2);
  color: var(--text-primary);
}

.profile-tag i {
  font-size: 0.7rem;
  color: var(--accent-primary);
}

/* Hero Terminal Widget */
.hero-terminal {
  margin-top: 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.1);
  text-align: left;
  font-family: var(--font-mono);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(148, 163, 184, 0.06);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.terminal-dots {
  display: flex;
  gap: 6px;
}

.terminal-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-dots .dot.red {
  background: #ef4444;
}
.terminal-dots .dot.yellow {
  background: #f59e0b;
}
.terminal-dots .dot.green {
  background: #10b981;
}

.terminal-title {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.terminal-body {
  padding: 14px;
  min-height: 60px;
}

.terminal-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  line-height: 1.6;
}

.terminal-prompt {
  color: #10b981;
  font-weight: 600;
}

.terminal-command {
  color: var(--text-primary);
}

.terminal-cursor {
  color: #10b981;
  animation: blink-cursor 0.8s step-end infinite;
  font-size: 0.8rem;
  line-height: 1;
}

@keyframes blink-cursor {
  50% {
    opacity: 0;
  }
}

.terminal-output {
  margin-top: 6px;
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.terminal-output .output-line {
  display: block;
}

.terminal-output .output-highlight {
  color: #10b981;
}

.terminal-output .output-accent {
  color: var(--accent-secondary);
}

.terminal-output .output-warn {
  color: #f59e0b;
}

/* Views Counter */
.views-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.views-counter i {
  color: var(--accent-secondary);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: float 2s ease-in-out infinite;
}

.mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.wheel {
  width: 3px;
  height: 8px;
  background: var(--accent-secondary);
  border-radius: 2px;
  animation: scroll-wheel 1.5s infinite;
}

@keyframes scroll-wheel {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(10px);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.scroll-indicator span {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ===== PROJECTS SECTION ===== */

/* Stats Bar */
.project-stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 28px;
  padding: 16px 0;
}

.project-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.project-stat-num {
  font-size: 1.3rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-primary);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.project-stat-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(148, 163, 184, 0.12);
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.filter-btn i {
  font-size: 0.72rem;
  opacity: 0.6;
  transition: var(--transition);
}

.filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--accent-primary);
  background: var(--bg-glass-hover);
}

.filter-btn:hover i {
  opacity: 1;
}

.filter-btn.active {
  color: white;
  background: var(--accent-gradient);
  border-color: transparent;
  box-shadow: 0 4px 15px var(--accent-glow);
}

.filter-btn.active i {
  opacity: 1;
}

/* Featured Project */
.featured-project-wrap {
  margin-bottom: 32px;
}

.featured-project {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  transition: var(--transition);
  position: relative;
}

.featured-project:hover {
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.featured-project-visual {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.featured-project-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  opacity: 0.15;
}

.featured-project-visual i {
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.85);
  z-index: 1;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
  transition: var(--transition);
}

.featured-project:hover .featured-project-visual i {
  transform: scale(1.1) rotate(-5deg);
}

.featured-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.68rem;
  font-weight: 700;
  font-family: var(--font-mono);
  background: rgba(0, 0, 0, 0.5);
  color: #fbbf24;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
}

.featured-project-info {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}

.featured-project-info h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
}

.featured-project-info p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.featured-project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.featured-project-tags .project-tag {
  padding: 4px 12px;
  font-size: 0.72rem;
}

.featured-project-actions {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

/* Project Card — Complete Redesign */
.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow:
    0 20px 40px -15px rgba(0, 0, 0, 0.35),
    0 0 30px rgba(148, 163, 184, 0.08);
}

/* Card Header */
.project-card-header {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Animated grid pattern overlay */
.project-card-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0;
  transition: opacity 0.5s;
}

.project-card:hover .project-card-header::before {
  opacity: 1;
}

/* Gradient overlay */
.project-card-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
  pointer-events: none;
}

.project-card-header i {
  font-size: 2.8rem;
  color: rgba(255, 255, 255, 0.88);
  z-index: 1;
  transition: var(--transition);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.project-card:hover .project-card-header i {
  transform: scale(1.12) rotate(-3deg);
}

/* Category badge on header */
.project-card-category {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 11px;
  border-radius: 14px;
  font-size: 0.62rem;
  font-family: var(--font-mono);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(6px);
  z-index: 2;
}

/* Featured star */
.project-card-featured {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(251, 191, 36, 0.15);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.project-card-featured i {
  font-size: 0.7rem;
  color: #fbbf24;
  filter: none;
}

/* Card Body */
.project-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.project-card-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: var(--transition);
}

.project-card:hover .project-card-title {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.project-card-desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Tags */
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.project-tag {
  padding: 3px 10px;
  background: rgba(148, 163, 184, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--accent-secondary);
  font-family: var(--font-mono);
  transition: var(--transition);
}

.project-card:hover .project-tag {
  background: rgba(148, 163, 184, 0.1);
  border-color: rgba(148, 163, 184, 0.18);
}

/* Actions */
.project-card-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}

.project-btn {
  flex: 1;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.project-btn.primary {
  background: linear-gradient(135deg, #475569, #64748b, #94a3b8);
  color: white;
  box-shadow: inset 0 1px 0 rgba(226, 232, 240, 0.2);
}

.project-btn.primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.12),
    transparent
  );
  transition: left 0.5s ease;
}

.project-btn.primary:hover::before {
  left: 100%;
}

.project-btn.primary:hover {
  box-shadow: 0 4px 15px rgba(148, 163, 184, 0.25);
  transform: translateY(-2px);
}

.project-btn.secondary {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
}

.project-btn.secondary:hover {
  color: var(--text-primary);
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

/* Empty state */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
}

.empty-state i {
  font-size: 2.5rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.empty-state p {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* Projects Responsive */
@media (max-width: 900px) {
  .featured-project {
    grid-template-columns: 1fr;
  }
  .featured-project-visual {
    min-height: 180px;
  }
  .projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 600px) {
  .project-stats-bar {
    gap: 16px;
  }
  .project-stat-num {
    font-size: 1rem;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .featured-project-actions {
    flex-direction: column;
  }
}

/* ===== SYSTEMS GRID ===== */
.systems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}

.system-card {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.system-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 4px 0 0 4px;
  opacity: 0;
  transition: opacity 0.3s;
}

.system-card:hover::before {
  opacity: 1;
}

.system-card:hover {
  transform: translateY(-4px);
  border-color: rgba(148, 163, 184, 0.15);
  box-shadow: var(--shadow-glow);
}

.system-card-icon {
  width: 56px;
  height: 56px;
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent-secondary);
  margin-bottom: 16px;
}

.system-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.system-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.system-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-mono);
}

.system-status.active {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.system-status.active::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-online 2s infinite;
}

.system-status.maintenance {
  background: rgba(245, 158, 11, 0.1);
  color: var(--warning);
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.system-status.offline {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ===== BLOG SECTION ===== */

/* Blog Stats Bar */
.blog-stats-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-bottom: 24px;
  padding: 16px 0;
}

.blog-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.blog-stat-num {
  font-size: 1.3rem;
  font-weight: 800;
  font-family: var(--font-mono);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blog-stat-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(148, 163, 184, 0.12);
}

/* Blog Filter Tabs */
.blog-filter-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.blog-filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.blog-filter-btn i {
  font-size: 0.72rem;
  opacity: 0.6;
  transition: var(--transition);
}

.blog-filter-btn:hover {
  color: var(--text-primary);
  border-color: var(--accent-primary);
  background: var(--bg-glass-hover);
}

.blog-filter-btn:hover i {
  opacity: 1;
}

.blog-filter-btn.active {
  color: white;
  background: var(--accent-gradient);
  border-color: transparent;
  box-shadow: 0 4px 15px var(--accent-glow);
}

.blog-filter-btn.active i {
  opacity: 1;
}

/* Featured Blog Post */
.blog-featured-wrap {
  margin-bottom: 32px;
}

.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.blog-featured:hover {
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

.blog-featured-visual {
  position: relative;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(100, 116, 139, 0.2),
    rgba(148, 163, 184, 0.08)
  );
  overflow: hidden;
  gap: 10px;
}

.blog-featured-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 24px 24px;
}

.blog-featured-visual i {
  font-size: 3.5rem;
  color: rgba(148, 163, 184, 0.6);
  z-index: 1;
  transition: var(--transition);
}

.blog-featured:hover .blog-featured-visual i {
  transform: scale(1.1);
  color: rgba(148, 163, 184, 0.8);
}

.blog-featured-date-big {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  z-index: 1;
}

.blog-featured-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.66rem;
  font-weight: 700;
  font-family: var(--font-mono);
  background: rgba(0, 0, 0, 0.45);
  color: #60a5fa;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
  text-transform: uppercase;
}

.blog-featured-info {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.blog-featured-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.blog-featured-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.blog-featured-info h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.4;
}

.blog-featured:hover .blog-featured-info h3 {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blog-featured-info p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.blog-featured-read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-secondary);
  transition: var(--transition);
  margin-top: 4px;
}

.blog-featured:hover .blog-featured-read {
  gap: 12px;
  color: var(--text-primary);
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

/* Blog Card */
.blog-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  animation: fadeInUp 0.6s ease forwards;
  opacity: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  position: relative;
}

.blog-card:hover {
  transform: translateY(-8px);
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow:
    0 20px 40px -15px rgba(0, 0, 0, 0.35),
    0 0 30px rgba(148, 163, 184, 0.08);
}

/* Card header strip */
.blog-card-header {
  height: 6px;
  background: linear-gradient(
    90deg,
    rgba(100, 116, 139, 0.4),
    rgba(148, 163, 184, 0.2)
  );
  position: relative;
  overflow: hidden;
}

.blog-card-header::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(226, 232, 240, 0.3),
    transparent
  );
  transition: left 0.6s ease;
}

.blog-card:hover .blog-card-header::after {
  left: 100%;
}

.blog-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-card-date {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-card-category {
  padding: 3px 10px;
  background: rgba(148, 163, 184, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 50px;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--accent-secondary);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.blog-card-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
  transition: var(--transition);
}

.blog-card:hover .blog-card-title {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blog-card-excerpt {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.06);
}

.blog-read-time {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: 4px;
}

.blog-read-more {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.blog-card:hover .blog-read-more {
  gap: 10px;
  color: var(--text-primary);
}

/* Blog Responsive */
@media (max-width: 900px) {
  .blog-featured {
    grid-template-columns: 1fr;
  }
  .blog-featured-visual {
    min-height: 160px;
  }
  .blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 600px) {
  .blog-stats-bar {
    gap: 16px;
  }
  .blog-stat-num {
    font-size: 1rem;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== TECH ORBIT ===== */
.tech-orbit {
  position: relative;
  width: 500px;
  height: 500px;
  margin: 0 auto;
}

.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent-secondary);
  box-shadow: 0 0 40px var(--accent-glow);
  z-index: 2;
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px dashed var(--border-glass);
  border-radius: 50%;
  animation: orbit-rotate 30s linear infinite;
}

.ring-1 {
  width: 200px;
  height: 200px;
  margin: -100px 0 0 -100px;
  animation-duration: 20s;
}

.ring-2 {
  width: 320px;
  height: 320px;
  margin: -160px 0 0 -160px;
  animation-duration: 30s;
  animation-direction: reverse;
}

.ring-3 {
  width: 440px;
  height: 440px;
  margin: -220px 0 0 -220px;
  animation-duration: 40s;
}

@keyframes orbit-rotate {
  to {
    transform: rotate(360deg);
  }
}

.tech-item {
  position: absolute;
  width: 48px;
  height: 48px;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent-secondary);
  transition: var(--transition);
}

.tech-item:hover {
  background: var(--accent-gradient);
  color: white;
  transform: scale(1.3);
  box-shadow: 0 0 20px var(--accent-glow);
}

/* Positioning tech items on orbits */
.ring-1 .tech-item:nth-child(1) {
  top: -24px;
  left: calc(50% - 24px);
}
.ring-1 .tech-item:nth-child(2) {
  bottom: -24px;
  left: -24px;
}
.ring-1 .tech-item:nth-child(3) {
  bottom: -24px;
  right: -24px;
}

.ring-2 .tech-item:nth-child(1) {
  top: -24px;
  left: calc(50% - 24px);
}
.ring-2 .tech-item:nth-child(2) {
  right: -24px;
  top: calc(50% - 24px);
}
.ring-2 .tech-item:nth-child(3) {
  bottom: -24px;
  left: calc(50% - 24px);
}
.ring-2 .tech-item:nth-child(4) {
  left: -24px;
  top: calc(50% - 24px);
}

.ring-3 .tech-item:nth-child(1) {
  top: -24px;
  left: calc(50% - 24px);
}
.ring-3 .tech-item:nth-child(2) {
  top: 15%;
  right: -24px;
}
.ring-3 .tech-item:nth-child(3) {
  right: 10%;
  bottom: 5%;
}
.ring-3 .tech-item:nth-child(4) {
  left: 10%;
  bottom: 5%;
}
.ring-3 .tech-item:nth-child(5) {
  top: 15%;
  left: -24px;
}

/* Counter-rotate tech items so they stay upright */
.ring-1 .tech-item {
  animation: orbit-counter-rotate 20s linear infinite;
}
.ring-2 .tech-item {
  animation: orbit-counter-rotate 30s linear infinite reverse;
}
.ring-3 .tech-item {
  animation: orbit-counter-rotate 40s linear infinite;
}

@keyframes orbit-counter-rotate {
  to {
    transform: rotate(-360deg);
  }
}

@media (max-width: 600px) {
  .tech-orbit {
    width: 320px;
    height: 320px;
  }
  .ring-1 {
    width: 130px;
    height: 130px;
    margin: -65px 0 0 -65px;
  }
  .ring-2 {
    width: 210px;
    height: 210px;
    margin: -105px 0 0 -105px;
  }
  .ring-3 {
    width: 290px;
    height: 290px;
    margin: -145px 0 0 -145px;
  }
  .tech-item {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  .orbit-center {
    width: 56px;
    height: 56px;
    font-size: 1.3rem;
  }
}

/* ===== CONTACT ===== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  padding: 24px;
  text-align: center;
}

.contact-card i {
  font-size: 1.5rem;
  color: var(--accent-secondary);
  margin-bottom: 8px;
}

.contact-card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.1);
}

.form-group label {
  position: absolute;
  left: 16px;
  top: 14px;
  font-size: 0.9rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: var(--transition);
  display: none;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--accent-gradient);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
}

.btn-primary:hover {
  box-shadow: 0 8px 25px var(--accent-glow);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .contact-info {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .contact-card {
    flex: 1;
    min-width: 150px;
  }
}

/* ===== MODAL ===== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  max-width: 700px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  z-index: 1;
  transform: translateY(20px) scale(0.95);
  transition: var(--transition);
}

.modal.active .modal-content {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 2;
}

.modal-close:hover {
  color: var(--danger);
  border-color: var(--danger);
}

.modal-body h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.post-modal-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.post-modal-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--font-mono);
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.12);
  color: var(--accent-secondary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.post-modal-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 10px;
}

.post-modal-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.76rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.post-modal-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.modal-body .post-content {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.modal-body .post-content p {
  margin-bottom: 14px;
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border-glass);
  padding: 0;
  background: rgba(8, 11, 20, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding: 48px 0 40px;
}

/* Footer Columns */
.footer-col-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}

.footer-brand img {
  border-radius: var(--radius-sm);
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 300px;
}

.footer-email {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-email a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-email a:hover {
  color: var(--accent-secondary);
}

/* Column Titles */
.footer-col-title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--accent-primary);
  border-radius: 1px;
}

/* Quick Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links li a i {
  font-size: 0.55rem;
  transition: var(--transition);
}

.footer-links li a:hover {
  color: var(--accent-secondary);
}

.footer-links li a:hover i {
  transform: translateX(3px);
}

/* Footer Socials - stacked with labels */
.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-socials a i {
  width: 20px;
  text-align: center;
  font-size: 1rem;
}

.footer-socials a:hover {
  color: var(--accent-secondary);
}

.footer-socials a[style*="display: none"],
.footer-socials a.hidden {
  display: none !important;
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-top: 1px solid rgba(148, 163, 184, 0.06);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.footer-bottom-badge {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-bottom-badge i {
  color: var(--accent-primary);
}

/* ===== TOAST NOTIFICATIONS ===== */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100001;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  padding: 14px 20px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
  animation:
    slideInRight 0.4s ease,
    fadeOutRight 0.4s ease forwards;
  animation-delay: 0s, 3s;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  max-width: 380px;
}

.toast.success {
  border-left: 3px solid var(--success);
}
.toast.error {
  border-left: 3px solid var(--danger);
}
.toast.info {
  border-left: 3px solid var(--info);
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* ===== ANIMATIONS ===== */
.animate-up {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.animate-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s !important;
}
.delay-2 {
  transition-delay: 0.2s !important;
}
.delay-3 {
  transition-delay: 0.3s !important;
}
.delay-4 {
  transition-delay: 0.4s !important;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Staggered card animations */
.project-card:nth-child(1),
.system-card:nth-child(1),
.blog-card:nth-child(1) {
  animation-delay: 0.1s;
}

.project-card:nth-child(2),
.system-card:nth-child(2),
.blog-card:nth-child(2) {
  animation-delay: 0.2s;
}

.project-card:nth-child(3),
.system-card:nth-child(3),
.blog-card:nth-child(3) {
  animation-delay: 0.3s;
}

.project-card:nth-child(4),
.system-card:nth-child(4),
.blog-card:nth-child(4) {
  animation-delay: 0.4s;
}

.project-card:nth-child(5),
.system-card:nth-child(5),
.blog-card:nth-child(5) {
  animation-delay: 0.5s;
}

.project-card:nth-child(6),
.system-card:nth-child(6),
.blog-card:nth-child(6) {
  animation-delay: 0.6s;
}

/* ===== TYPING TEXT ===== */
.typing-text::after {
  content: "|";
  animation: blink 1s infinite;
  color: var(--accent-secondary);
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .section {
    padding: 100px 16px 60px;
  }
  .section-title {
    font-size: 2rem;
  }
  .profile-name {
    font-size: 1.6rem;
  }
  .projects-grid,
  .systems-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .navbar {
    padding: 12px 20px;
  }
  .footer-content {
    text-align: center;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .footer-col-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-desc {
    max-width: none;
  }
  .footer-col-brand {
    align-items: center;
  }
  .footer-links {
    align-items: center;
  }
  .footer-socials {
    align-items: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.6rem;
  }
  .profile-stats {
    gap: 20px;
  }
  .social-links {
    gap: 6px;
  }
  .social-link {
    width: 38px;
    height: 38px;
  }
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  grid-column: 1 / -1;
}

.empty-state i {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* ===== PREMIUM METALLIC EFFECTS ===== */

/* Metallic shine sweep on glass cards */
.glass-card::after,
.project-card::after,
.system-card::after,
.blog-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(226, 232, 240, 0.04),
    transparent
  );
  transition: left 0.8s ease;
  pointer-events: none;
}

.glass-card:hover::after,
.project-card:hover::after,
.system-card:hover::after,
.blog-card:hover::after {
  left: 200%;
}

/* Enhanced section title with chrome gradient */
.section-title {
  background: linear-gradient(
    135deg,
    #64748b 0%,
    #94a3b8 25%,
    #e2e8f0 50%,
    #94a3b8 75%,
    #64748b 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: chrome-shimmer 4s linear infinite;
}

@keyframes chrome-shimmer {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

/* Premium brand text with metallic sweep */
.brand-text {
  background: linear-gradient(
    90deg,
    #64748b 0%,
    #94a3b8 30%,
    #e2e8f0 50%,
    #94a3b8 70%,
    #64748b 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: chrome-shimmer 6s linear infinite;
}

/* Subtle metallic border glow on hover */
.social-link:hover {
  box-shadow:
    0 8px 20px rgba(148, 163, 184, 0.15),
    inset 0 0 20px rgba(148, 163, 184, 0.05);
}

/* Enhanced profile card with chrome border */
.profile-card {
  position: relative;
}

.profile-card::before {
  background: var(--accent-metallic);
}

/* Refined glassmorphism depth layers */
.glass-card,
.project-card,
.system-card,
.blog-card {
  background: linear-gradient(
    135deg,
    rgba(148, 163, 184, 0.04) 0%,
    rgba(148, 163, 184, 0.01) 50%,
    rgba(148, 163, 184, 0.03) 100%
  );
  border: 1px solid rgba(148, 163, 184, 0.08);
}

/* Enhanced stat numbers with chrome effect */
.stat-number {
  background: linear-gradient(
    135deg,
    #94a3b8 0%,
    #cbd5e1 40%,
    #e2e8f0 60%,
    #cbd5e1 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Premium accent line for section tags */
.section-tag {
  border: 1px solid rgba(148, 163, 184, 0.15);
  background: rgba(148, 163, 184, 0.06);
  position: relative;
  overflow: hidden;
}

.section-tag::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(226, 232, 240, 0.08),
    transparent
  );
  animation: tag-shine 3s ease-in-out infinite;
}

@keyframes tag-shine {
  0%,
  100% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
}

/* Refined filter button active state */
.filter-btn.active {
  background: linear-gradient(135deg, #475569, #64748b, #94a3b8);
  box-shadow:
    0 4px 15px rgba(148, 163, 184, 0.2),
    inset 0 1px 0 rgba(226, 232, 240, 0.2);
}

/* Enhanced avatar ring with chrome animation */
.avatar-ring {
  background: linear-gradient(
    135deg,
    #475569,
    #94a3b8,
    #e2e8f0,
    #94a3b8,
    #475569
  );
  opacity: 0.7;
}

/* Premium scrollbar styling */
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #64748b, #94a3b8);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #94a3b8, #cbd5e1);
}

/* Enhanced orbit center with metallic gradient */
.orbit-center {
  background: linear-gradient(135deg, #0d1117, #131921, #1a2332);
  border: 1px solid rgba(148, 163, 184, 0.15);
  color: #cbd5e1;
  box-shadow:
    0 0 40px rgba(148, 163, 184, 0.25),
    0 0 80px rgba(148, 163, 184, 0.1);
}

/* Primary button metallic polish */
.btn-primary,
.project-btn.primary {
  background: linear-gradient(135deg, #475569, #64748b, #94a3b8);
  box-shadow: inset 0 1px 0 rgba(226, 232, 240, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-primary::before,
.project-btn.primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.btn-primary:hover::before,
.project-btn.primary:hover::before {
  left: 100%;
}

/* Chrome navbar on scroll */
.navbar.scrolled {
  background: rgba(8, 11, 20, 0.9);
  border-bottom-color: rgba(148, 163, 184, 0.08);
  box-shadow:
    var(--shadow-lg),
    0 1px 0 rgba(148, 163, 184, 0.05);
}

/* Enhanced badge metallic */
.badge {
  background: linear-gradient(135deg, #475569, #64748b, #94a3b8);
  box-shadow: inset 0 1px 0 rgba(226, 232, 240, 0.3);
}

/* Footer enhanced */
.footer {
  background: rgba(8, 11, 20, 0.7);
  border-top: 1px solid rgba(148, 163, 184, 0.06);
}

/* Toast notification refinement */
.toast {
  background: rgba(13, 17, 23, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.1);
}

/* Preloader chrome rings */
.loader-ring:nth-child(1) {
  border-top-color: #94a3b8;
}

.loader-ring:nth-child(2) {
  border-right-color: #cbd5e1;
}

.loader-ring:nth-child(3) {
  border-bottom-color: #e2e8f0;
}

/* Subtle background noise texture for depth */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.015;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* Enhanced background overlay with cooler tones */
.bg-overlay {
  background:
    radial-gradient(
      ellipse at 20% 50%,
      rgba(148, 163, 184, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 80% 20%,
      rgba(100, 116, 139, 0.04) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 50% 80%,
      rgba(203, 213, 225, 0.025) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 60%,
      rgba(148, 163, 184, 0.02) 0%,
      transparent 40%
    );
}

.empty-state p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== ABOUT SECTION ===== */

/* Main Layout: Bio + Stats side by side */
.about-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}

/* Bio Card */
.about-bio-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about-bio-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.about-avatar-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: visible;
  position: relative;
  flex-shrink: 0;
  padding: 3px;
  background: var(--accent-metallic);
}

.about-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.about-status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #43b581;
  border: 3px solid var(--bg-secondary);
  z-index: 1;
}

.about-status-dot.idle {
  background: #faa61a;
}
.about-status-dot.dnd {
  background: #f04747;
}
.about-status-dot.offline {
  background: #747f8d;
}

.about-bio-meta h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.about-role {
  font-size: 0.78rem;
  color: var(--accent-primary);
  font-family: var(--font-mono);
  display: block;
  margin-bottom: 6px;
}

.about-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.about-badge {
  font-size: 0.68rem;
  padding: 3px 10px;
  border-radius: 12px;
  background: rgba(148, 163, 184, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.1);
  color: var(--text-muted);
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.about-badge i {
  font-size: 0.6rem;
}

.about-badge-status i {
  font-size: 0.5rem;
  color: #43b581;
}

.about-bio-text {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

.about-focus {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: rgba(148, 163, 184, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-left: 3px solid var(--accent-primary);
}

.about-focus-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.about-focus-label i {
  color: var(--accent-primary);
}

.about-focus-text {
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 600;
}

.about-socials {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.about-social-link {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(148, 163, 184, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  transition: var(--transition);
  text-decoration: none;
}

.about-social-link:hover {
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.25);
  color: var(--text-primary);
  transform: translateY(-2px);
}

/* Stats Grid: 2x2 */
.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-stat-card {
  padding: 22px 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.about-stat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(148, 163, 184, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.about-stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(148, 163, 184, 0.2);
}

.stat-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(148, 163, 184, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-secondary);
  font-size: 1rem;
  transition: var(--transition);
}

.about-stat-card:hover .stat-icon-wrap {
  background: rgba(148, 163, 184, 0.14);
  transform: scale(1.1);
}

.stat-value {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.stat-value .counter,
.stat-suffix {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-mono);
}

.stat-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Journey Timeline */
.about-journey {
  margin-bottom: 36px;
}

.about-subtitle {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-subtitle i {
  color: var(--accent-primary);
}

.journey-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.journey-line {
  position: absolute;
  top: 12px;
  left: 24px;
  right: 24px;
  height: 2px;
  background: rgba(148, 163, 184, 0.1);
  z-index: 0;
}

.journey-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 75%;
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 1px;
}

.journey-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.journey-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 3px solid rgba(148, 163, 184, 0.25);
  margin-bottom: 14px;
  transition: var(--transition);
  flex-shrink: 0;
  position: relative;
}

.journey-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-primary);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.journey-item.active .journey-dot {
  border-color: var(--accent-secondary);
  box-shadow: 0 0 12px rgba(148, 163, 184, 0.3);
}

.journey-item.active .journey-dot::after {
  background: var(--accent-secondary);
  animation: journeyPulse 2s ease-in-out infinite;
}

@keyframes journeyPulse {
  0%,
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(1.4);
  }
}

.journey-content {
  padding: 16px;
  text-align: center;
  width: 100%;
}

.journey-year {
  font-size: 0.7rem;
  font-family: var(--font-mono);
  color: var(--accent-primary);
  padding: 2px 10px;
  border-radius: 12px;
  background: rgba(148, 163, 184, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.1);
  display: inline-block;
  margin-bottom: 8px;
}

.journey-content h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.journey-content p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Tech + Skills row */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 36px;
}

/* Tech Stack Tabs Card */
.about-techstack {
  padding: 28px;
}

.techstack-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 12px;
}

.about-subtitle.techstack-subtitle {
  margin-bottom: 0;
}

.techstack-tabs {
  display: flex;
  gap: 4px;
  padding: 3px;
  border-radius: 10px;
  background: rgba(148, 163, 184, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.08);
}

.techstack-tab {
  padding: 5px 14px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-family: var(--font-mono);
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.techstack-tab:hover {
  color: var(--text-secondary);
}

.techstack-tab.active {
  background: rgba(148, 163, 184, 0.12);
  color: var(--text-primary);
}

.techstack-panels {
  position: relative;
  min-height: 120px;
}

.techstack-panel {
  display: none;
  flex-wrap: wrap;
  gap: 10px;
  animation: fadeInPanel 0.3s ease;
}

.techstack-panel.active {
  display: flex;
}

@keyframes fadeInPanel {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tech-chip {
  padding: 8px 16px;
  border-radius: 10px;
  background: rgba(148, 163, 184, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.1);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-family: var(--font-mono);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.tech-chip:hover {
  background: rgba(148, 163, 184, 0.1);
  border-color: rgba(148, 163, 184, 0.2);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.tech-chip i {
  color: var(--accent-primary);
  font-size: 0.9rem;
}

/* Skills Card */
.about-skills-card {
  padding: 28px;
}

.skills-card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.skills-card-title i {
  color: var(--accent-primary);
}

.skills-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.skill-bar-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.skill-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.skill-bar-name {
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.skill-bar-name i {
  color: var(--accent-primary);
  font-size: 0.85rem;
  width: 18px;
  text-align: center;
}

.skill-bar-percent {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-secondary);
  font-family: var(--font-mono);
}

.skill-bar-track {
  width: 100%;
  height: 6px;
  background: rgba(148, 163, 184, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: linear-gradient(90deg, #475569, #94a3b8, #cbd5e1);
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.skill-bar-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  animation: shimmer-bar 2s ease-in-out infinite;
}

@keyframes shimmer-bar {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* GitHub Activity Heatmap */
.activity-section {
  margin-top: 0;
}

.activity-card {
  padding: 24px;
}

.activity-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.activity-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.activity-header h3 i {
  color: var(--accent-primary);
}

.activity-year {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  padding: 3px 10px;
  background: rgba(148, 163, 184, 0.06);
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.activity-heatmap {
  display: grid;
  grid-template-columns: repeat(52, 1fr);
  gap: 3px;
  margin-bottom: 14px;
}

.heatmap-cell {
  aspect-ratio: 1;
  border-radius: 2px;
  background: rgba(148, 163, 184, 0.06);
  transition: all 0.2s;
}

.heatmap-cell:hover {
  transform: scale(1.8);
  z-index: 1;
  box-shadow: 0 0 8px rgba(148, 163, 184, 0.4);
}

.heatmap-cell.l1 {
  background: rgba(148, 163, 184, 0.15);
}
.heatmap-cell.l2 {
  background: rgba(148, 163, 184, 0.3);
}
.heatmap-cell.l3 {
  background: rgba(148, 163, 184, 0.5);
}
.heatmap-cell.l4 {
  background: rgba(148, 163, 184, 0.75);
}

.activity-legend {
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: flex-end;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.legend-box {
  width: 12px;
  height: 12px;
  border-radius: 2px;
}

.legend-box.l0 {
  background: rgba(148, 163, 184, 0.06);
}
.legend-box.l1 {
  background: rgba(148, 163, 184, 0.15);
}
.legend-box.l2 {
  background: rgba(148, 163, 184, 0.3);
}
.legend-box.l3 {
  background: rgba(148, 163, 184, 0.5);
}
.legend-box.l4 {
  background: rgba(148, 163, 184, 0.75);
}

/* About responsive */
@media (max-width: 900px) {
  .about-main {
    grid-template-columns: 1fr;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .journey-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .journey-line {
    display: none;
  }
}

@media (max-width: 600px) {
  .about-stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .journey-timeline {
    grid-template-columns: 1fr;
  }
  .activity-heatmap {
    gap: 2px;
  }
  .techstack-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===== SERVICES SECTION ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Service Card */
.service-card {
  padding: 32px 26px 28px;
  text-align: left;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}

/* Hover accent: bottom glow bar */
.service-hover-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition:
    opacity 0.4s,
    height 0.4s;
}

.service-card:hover .service-hover-accent {
  opacity: 1;
  height: 4px;
}

/* Top gradient line on hover */
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::before {
  transform: scaleX(1);
}

/* Background shimmer on hover */
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 30% 0%,
    rgba(148, 163, 184, 0.06) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow:
    0 20px 40px -15px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(148, 163, 184, 0.06);
}

/* Service Number */
.service-number {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 0.7rem;
  font-family: var(--font-mono);
  font-weight: 800;
  color: rgba(148, 163, 184, 0.12);
  letter-spacing: 1px;
  transition: var(--transition);
}

.service-card:hover .service-number {
  color: rgba(148, 163, 184, 0.3);
}

/* Icon Area */
.service-icon-area {
  position: relative;
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
}

.service-icon-glow {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(148, 163, 184, 0.12) 0%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.5s;
  filter: blur(6px);
}

.service-card:hover .service-icon-glow {
  opacity: 1;
  animation: iconPulseGlow 2s ease-in-out infinite;
}

@keyframes iconPulseGlow {
  0%,
  100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.service-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(148, 163, 184, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-secondary);
  transition: var(--transition);
  position: relative;
  z-index: 1;
}

.service-card:hover .service-icon-wrap {
  background: rgba(148, 163, 184, 0.1);
  border-color: rgba(148, 163, 184, 0.25);
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 8px 24px rgba(148, 163, 184, 0.1);
}

/* Card Title */
.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  transition: var(--transition);
}

.service-card:hover h3 {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Card Description */
.service-card p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
}

/* Feature List */
.service-features {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-features li {
  font-size: 0.76rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.service-features li i {
  font-size: 0.55rem;
  color: var(--accent-primary);
  opacity: 0.5;
  transition: var(--transition);
}

.service-card:hover .service-features li {
  color: var(--text-secondary);
}

.service-card:hover .service-features li i {
  opacity: 1;
  color: var(--success);
}

/* Tools */
.service-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.service-tools span {
  padding: 4px 11px;
  font-size: 0.68rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: rgba(148, 163, 184, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 14px;
  transition: var(--transition);
}

.service-card:hover .service-tools span {
  background: rgba(148, 163, 184, 0.08);
  border-color: rgba(148, 163, 184, 0.15);
  color: var(--text-secondary);
}

/* ===== PROCESS STEPS ===== */
.process-section {
  margin-top: 48px;
  margin-bottom: 36px;
}

.process-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}

.process-title i {
  color: var(--accent-primary);
}

.process-steps {
  display: flex;
  align-items: stretch;
  gap: 0;
}

.process-step {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  transition: var(--transition);
  position: relative;
}

.process-step:hover {
  background: var(--bg-glass-hover);
  border-color: rgba(148, 163, 184, 0.18);
  transform: translateY(-3px);
}

.process-step-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(148, 163, 184, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-secondary);
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.process-step:hover .process-step-icon {
  background: rgba(148, 163, 184, 0.12);
  border-color: rgba(148, 163, 184, 0.25);
  transform: scale(1.08);
}

.process-step-content h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.process-step-content p {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.process-connector {
  position: absolute;
  right: -14px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  color: rgba(148, 163, 184, 0.2);
  font-size: 0.65rem;
}

/* ===== SERVICES CTA ===== */
.services-cta {
  margin-top: 12px;
}

.services-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 36px;
  border: 1px solid rgba(148, 163, 184, 0.1);
  position: relative;
  overflow: hidden;
}

.services-cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(148, 163, 184, 0.04) 0%,
    transparent 50%,
    rgba(148, 163, 184, 0.02) 100%
  );
  pointer-events: none;
}

.cta-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.cta-content p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 12px;
  background: var(--accent-metallic);
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: var(--transition);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.cta-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.cta-btn:hover::after {
  left: 100%;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(148, 163, 184, 0.25);
}

.cta-btn i {
  transition: transform 0.3s;
}

.cta-btn:hover i {
  transform: translateX(4px);
}

/* Services Responsive */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps {
    flex-wrap: wrap;
    gap: 12px;
  }
  .process-connector {
    display: none;
  }
  .process-step {
    flex: 1 1 calc(50% - 6px);
    min-width: 160px;
  }
  .services-cta-card {
    flex-direction: column;
    text-align: center;
    gap: 18px;
  }
}

@media (max-width: 600px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .process-step {
    flex: 1 1 100%;
  }
}

/* ===================================================================
   WOW EFFECTS — Holographic Shine, Spotlight, Scramble, Magnetic,
   Live Clock, Coding Ticker, Waveform Separator
   =================================================================== */

/* Holographic Card Shine */
.holo-shine {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s;
  background: linear-gradient(
    var(--holo-angle, 135deg),
    transparent 0%,
    rgba(255, 255, 255, 0.03) 20%,
    rgba(120, 200, 255, 0.06) 30%,
    rgba(200, 120, 255, 0.06) 40%,
    rgba(255, 200, 120, 0.04) 50%,
    rgba(120, 255, 200, 0.06) 60%,
    rgba(255, 120, 200, 0.06) 70%,
    rgba(255, 255, 255, 0.03) 80%,
    transparent 100%
  );
  mix-blend-mode: screen;
}

.profile-card:hover .holo-shine {
  opacity: 1;
}

/* Card Spotlight */
.card-spotlight {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s;
  background: radial-gradient(
    circle 180px at var(--spot-x, 50%) var(--spot-y, 50%),
    rgba(148, 163, 184, 0.06) 0%,
    transparent 100%
  );
}

.profile-card:hover .card-spotlight {
  opacity: 1;
}

/* Live Clock */
.live-clock {
  position: absolute !important;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  font-size: 0.65rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  background: rgba(148, 163, 184, 0.05);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 14px;
  z-index: 10 !important;
  width: auto;
}

.live-clock i {
  font-size: 0.6rem;
  color: var(--accent-secondary);
  animation: clock-tick 1s steps(1) infinite;
}

@keyframes clock-tick {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0.3;
  }
}

.clock-tz {
  font-size: 0.55rem;
  color: var(--accent-primary);
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Coding Ticker */
.coding-ticker {
  width: 100%;
  overflow: hidden;
  margin: 6px 0 2px;
  padding: 0 8px;
  position: relative;
}

.coding-ticker::before,
.coding-ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 30px;
  z-index: 2;
  pointer-events: none;
}

.coding-ticker::before {
  left: 0;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.95), transparent);
}

.coding-ticker::after {
  right: 0;
  background: linear-gradient(to left, rgba(15, 23, 42, 0.95), transparent);
}

.coding-ticker-track {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: ticker-scroll 25s linear infinite;
}

.ticker-item {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  color: var(--text-muted);
  flex-shrink: 0;
}

.ticker-item i {
  color: var(--accent-primary);
  margin-right: 4px;
  font-size: 0.6rem;
}

@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Waveform Separator */
.waveform-separator {
  width: 100%;
  height: 24px;
  margin: 8px 0;
  padding: 0 8px;
}

.waveform-svg {
  width: 100%;
  height: 100%;
}

.waveform-bars rect {
  fill: var(--accent-primary);
  opacity: 0.15;
  rx: 1;
}

/* Magnetic Social Link Hover */
.social-link {
  transition:
    transform 0.25s cubic-bezier(0.23, 1, 0.32, 1),
    color 0.3s,
    box-shadow 0.3s;
  will-change: transform;
}

.social-link:hover {
  transform: scale(1.25) !important;
  box-shadow: 0 0 16px rgba(148, 163, 184, 0.15);
}

/* Text Scramble cursor blink */
#profileNameScramble .scramble-char {
  display: inline-block;
  transition: opacity 0.05s;
}

/* Card inner content above shine layers */
.profile-card
  > *:not(.holo-shine):not(.card-spotlight):not(.card-particles):not(
    .availability-badge
  ):not(.live-clock) {
  position: relative;
  z-index: 2;
}

/* ===== SYSTEM TEST BUTTON ===== */
.system-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 4px;
}
.system-test-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 6px;
  color: rgba(148, 163, 184, 0.55);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
}
.system-test-btn:hover {
  color: var(--accent-secondary);
  border-color: rgba(148, 163, 184, 0.4);
  background: rgba(148, 163, 184, 0.06);
  box-shadow: 0 0 20px rgba(148, 163, 184, 0.08);
}
.system-test-btn i {
  font-size: 0.65rem;
  transition: transform 0.3s;
}
.system-test-btn:hover i {
  transform: scale(1.15);
}
.system-test-btn span {
  position: relative;
}

/* ===== SYSTEM TEST TERMINAL ===== */
.sys-terminal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overscroll-behavior: contain;
}
.sys-terminal-overlay.active {
  opacity: 1;
  visibility: visible;
}
body.terminal-open {
  overflow: hidden;
}

/* ===== FULL-SCREEN DEMO OVERLAY ===== */
.demo-fullscreen-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #060a12;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.97);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: auto;
}
.demo-fullscreen-overlay * {
  cursor: auto;
}
.demo-fullscreen-overlay button,
.demo-fullscreen-overlay a,
.demo-fullscreen-overlay .fd-btn,
.demo-fullscreen-overlay .fd-nav-item,
.demo-fullscreen-overlay .fd-smm-platform,
.demo-fullscreen-overlay .fd-pos-table,
.demo-fullscreen-overlay .fd-chat-item,
.demo-fullscreen-overlay .demo-fs-close,
.demo-fullscreen-overlay input,
.demo-fullscreen-overlay select,
.demo-fullscreen-overlay textarea {
  cursor: pointer;
}
.demo-fullscreen-overlay input[type="text"],
.demo-fullscreen-overlay input[type="number"],
.demo-fullscreen-overlay input[type="password"],
.demo-fullscreen-overlay input[type="email"],
.demo-fullscreen-overlay textarea,
.demo-fullscreen-overlay .fd-search-input,
.demo-fullscreen-overlay .fd-chat-input,
.demo-fullscreen-overlay .fd-form-input {
  cursor: text;
}
.demo-fullscreen-overlay.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.demo-fs-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: #0a0f1a;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  flex-shrink: 0;
  z-index: 2;
}

.demo-fs-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.demo-fs-logo {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.1rem;
}
.demo-fs-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
}
.demo-fs-status {
  display: flex;
  align-items: center;
  gap: 12px;
}
.demo-fs-live {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: #10b981;
  letter-spacing: 1px;
  background: rgba(16, 185, 129, 0.08);
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid rgba(16, 185, 129, 0.15);
}
.demo-fs-live i {
  font-size: 6px;
  animation: livePulse 1.5s infinite;
}
@keyframes livePulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.demo-fs-close {
  background: rgba(148, 163, 184, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 8px;
  padding: 8px 18px;
  color: rgba(148, 163, 184, 0.6);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.demo-fs-close:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
}

.demo-fs-body {
  flex: 1;
  overflow: hidden;
  overflow-y: auto;
  position: relative;
  animation: demoFadeIn 0.5s ease 0.2s both;
}
@keyframes demoFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== PHONE MOCKUP FOR MOBILE APP DEMO ===== */
.phone-mockup-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  height: 100%;
  padding: 30px;
  overflow-y: auto;
}

.phone-mockup {
  position: relative;
  width: 280px;
  flex-shrink: 0;
}

.phone-frame {
  background: #1a1a2e;
  border: 2px solid rgba(148, 163, 184, 0.2);
  border-radius: 36px;
  padding: 12px;
  box-shadow:
    0 0 60px rgba(148, 163, 184, 0.08),
    inset 0 0 0 1px rgba(148, 163, 184, 0.05);
}

.phone-notch {
  width: 120px;
  height: 28px;
  background: #1a1a2e;
  border-radius: 0 0 16px 16px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.phone-screen {
  background: #0a0e17;
  border-radius: 24px;
  overflow: hidden;
  height: 500px;
  overflow-y: auto;
}

.phone-screen::-webkit-scrollbar {
  width: 0;
}

.phone-label {
  text-align: center;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(148, 163, 184, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.phone-label i {
  font-size: 1rem;
}

/* Phone app internal styles */
.app-header {
  padding: 16px;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.15),
    rgba(16, 185, 129, 0.08)
  );
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  text-align: center;
}
.app-header-logo {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 800;
  color: #e2e8f0;
  margin-bottom: 4px;
}
.app-header-sub {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: rgba(148, 163, 184, 0.5);
}
.app-nav {
  display: flex;
  border-bottom: 1px solid rgba(148, 163, 184, 0.06);
}
.app-nav-item {
  flex: 1;
  text-align: center;
  padding: 10px 4px;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: rgba(148, 163, 184, 0.4);
  cursor: pointer;
}
.app-nav-item.active {
  color: #a5b4fc;
  border-bottom: 2px solid #818cf8;
}
.app-nav-item i {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 3px;
}
.app-body {
  padding: 12px;
}
.app-card {
  background: rgba(148, 163, 184, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
}
.app-card-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(148, 163, 184, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.app-stat-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-family: var(--font-mono);
  font-size: 0.7rem;
}
.app-stat-label {
  color: rgba(148, 163, 184, 0.4);
}
.app-stat-value {
  color: #e2e8f0;
  font-weight: 600;
}
.app-bottom-bar {
  display: flex;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  background: #0d1220;
  padding: 8px 0;
  position: sticky;
  bottom: 0;
}
.app-bottom-item {
  flex: 1;
  text-align: center;
  font-size: 0.55rem;
  color: rgba(148, 163, 184, 0.4);
  font-family: var(--font-mono);
}
.app-bottom-item.active {
  color: #a5b4fc;
}
.app-bottom-item i {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 2px;
}

/* ===== SMM ORDER PANEL ===== */
.smm-order-form {
  background: rgba(148, 163, 184, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 12px;
  padding: 20px;
  margin-top: 16px;
}
.smm-form-group {
  margin-bottom: 14px;
}
.smm-form-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(148, 163, 184, 0.5);
  margin-bottom: 6px;
  display: block;
}
.smm-form-select,
.smm-form-input {
  width: 100%;
  padding: 10px 14px;
  background: rgba(148, 163, 184, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 8px;
  color: #e2e8f0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
}
.smm-form-select:focus,
.smm-form-input:focus {
  border-color: rgba(99, 102, 241, 0.4);
}
.smm-form-select option {
  background: #0a0f1a;
  color: #e2e8f0;
}
.smm-price-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: 10px;
  margin-top: 16px;
}
.smm-price-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(148, 163, 184, 0.5);
}
.smm-price-value {
  font-family: var(--font-mono);
  font-size: 1.2rem;
  font-weight: 700;
  color: #a5b4fc;
}
.smm-order-btn {
  width: 100%;
  padding: 14px;
  margin-top: 12px;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.2),
    rgba(129, 140, 248, 0.15)
  );
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 10px;
  color: #a5b4fc;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.smm-order-btn:hover {
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.3),
    rgba(129, 140, 248, 0.25)
  );
  transform: translateY(-1px);
}
.smm-order-btn.success {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(16, 185, 129, 0.3);
  color: #34d399;
}

/* ===== POS / ADISYON TABLE LAYOUT ===== */
.pos-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  height: 100%;
  gap: 0;
}
.pos-main {
  overflow-y: auto;
  padding: 20px;
}
.pos-sidebar {
  border-left: 1px solid rgba(148, 163, 184, 0.08);
  background: #0a0f1a;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.pos-table-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}
.pos-table-item {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(148, 163, 184, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-mono);
}
.pos-table-item:hover {
  border-color: rgba(148, 163, 184, 0.2);
}
.pos-table-item.occupied {
  border-color: rgba(99, 102, 241, 0.3);
  background: rgba(99, 102, 241, 0.06);
}
.pos-table-item.occupied .pos-table-num {
  color: #a5b4fc;
}
.pos-table-num {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(148, 163, 184, 0.4);
}
.pos-table-status {
  font-size: 0.55rem;
  color: rgba(148, 163, 184, 0.35);
  margin-top: 2px;
}
.pos-table-item.occupied .pos-table-status {
  color: rgba(165, 180, 252, 0.6);
}

.pos-receipt {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}
.pos-receipt-header {
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(148, 163, 184, 0.15);
  margin-bottom: 12px;
}
.pos-receipt-item {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #c0cad8;
  border-bottom: 1px solid rgba(148, 163, 184, 0.04);
}
.pos-receipt-total {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  margin-top: 8px;
  border-top: 2px solid rgba(148, 163, 184, 0.15);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: #e2e8f0;
}
.pos-actions {
  padding: 12px 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  display: flex;
  gap: 8px;
}
.pos-action-btn {
  flex: 1;
  padding: 12px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  border: 1px solid;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.pos-action-btn.pay {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.3);
  color: #34d399;
}
.pos-action-btn.print {
  background: rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.25);
  color: #a5b4fc;
}

/* Game Launcher */
.launcher-layout {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: linear-gradient(180deg, #0a0e17 0%, #0d1220 100%);
}
.launcher-hero {
  height: 240px;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.12),
    rgba(16, 185, 129, 0.06)
  );
  display: flex;
  align-items: flex-end;
  padding: 30px;
  position: relative;
  overflow: hidden;
}
.launcher-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, #0a0e17);
}
.launcher-hero-content {
  position: relative;
  z-index: 1;
}
.launcher-hero-title {
  font-family: var(--font-mono);
  font-size: 1.8rem;
  font-weight: 800;
  color: #e2e8f0;
  margin-bottom: 6px;
}
.launcher-hero-sub {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(148, 163, 184, 0.5);
}
.launcher-games {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
}
.launcher-game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
}
.launcher-game-card {
  background: rgba(148, 163, 184, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s;
}
.launcher-game-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
}
.launcher-game-img {
  height: 100px;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.1),
    rgba(148, 163, 184, 0.05)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: rgba(148, 163, 184, 0.3);
}
.launcher-game-info {
  padding: 12px;
}
.launcher-game-name {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 4px;
}
.launcher-game-meta {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: rgba(148, 163, 184, 0.4);
}
.launcher-play-btn {
  margin-top: 8px;
  padding: 8px 16px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 6px;
  color: #34d399;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.launcher-play-btn:hover {
  background: rgba(16, 185, 129, 0.2);
}

@media (max-width: 768px) {
  .pos-layout {
    grid-template-columns: 1fr;
  }
  .pos-sidebar {
    display: none;
  }
  .phone-mockup-container {
    flex-direction: column;
    gap: 20px;
    padding: 16px;
  }
  .phone-mockup {
    width: 240px;
  }
  .phone-screen {
    height: 400px;
  }
  .fd-sidebar {
    display: none;
  }
  .fd-chat-sidebar {
    display: none;
  }
}

.sys-terminal {
  width: min(850px, 92vw);
  max-height: 88vh;
  background: #0a0e17;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 0 80px rgba(148, 163, 184, 0.08),
    0 0 200px rgba(99, 102, 241, 0.05);
  display: flex;
  flex-direction: column;
  transform: scale(0.9) translateY(30px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.sys-terminal-overlay.active .sys-terminal {
  transform: scale(1) translateY(0);
}

/* Demo Launch Button Footer */
.sys-terminal-footer {
  overflow: hidden;
  transition: all 0.4s ease;
}
.demo-launch-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.15),
    rgba(129, 140, 248, 0.1)
  );
  border: none;
  border-top: 1px solid rgba(99, 102, 241, 0.25);
  color: #a5b4fc;
  font-family: var(--font-mono);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: demoButtonPulse 2s ease infinite;
}
.demo-launch-btn:hover {
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.25),
    rgba(129, 140, 248, 0.2)
  );
  color: #c7d2fe;
  letter-spacing: 1px;
}
.demo-launch-btn i:last-child {
  transition: transform 0.3s ease;
}
.demo-launch-btn:hover i:last-child {
  transform: translateX(4px);
}
@keyframes demoButtonPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
  }
  50% {
    box-shadow: 0 -4px 20px 0 rgba(99, 102, 241, 0.15);
  }
}

/* ===== DEMO OVERLAY (now used within split-screen) ===== */
.demo-fs-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.demo-fs-logo {
  width: 32px;
  height: 32px;
  background: var(--accent-gradient);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 800;
  color: #fff;
}
.demo-fs-title {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
  letter-spacing: 0.5px;
}
.demo-fs-status {
  display: flex;
  align-items: center;
}
.demo-fs-live {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #10b981;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 20px;
}
.demo-fs-live i {
  font-size: 6px;
  animation: pulse-online 2s infinite;
}
.demo-fs-close {
  background: rgba(148, 163, 184, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 8px;
  padding: 8px 18px;
  color: rgba(148, 163, 184, 0.6);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.demo-fs-close:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
  color: #f87171;
}

/* Demo UI Components */
.demo-mockup {
  animation: demoFadeIn 0.5s ease forwards;
}
@keyframes demoFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.demo-card {
  background: rgba(148, 163, 184, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 12px;
}
.demo-card-title {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.7);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.demo-card-title i {
  color: var(--accent-secondary);
  font-size: 0.65rem;
}
.demo-stat-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.05);
  font-family: var(--font-mono);
  font-size: 0.75rem;
}
.demo-stat-row:last-child {
  border: none;
}
.demo-stat-label {
  color: rgba(148, 163, 184, 0.5);
}
.demo-stat-value {
  color: #e2e8f0;
  font-weight: 600;
}
.demo-stat-value.green {
  color: #10b981;
}
.demo-stat-value.red {
  color: #ef4444;
}
.demo-stat-value.yellow {
  color: #f59e0b;
}
.demo-stat-value.blue {
  color: #7dd3fc;
}

.demo-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
  padding-top: 8px;
}
.demo-bar {
  flex: 1;
  background: var(--accent-gradient);
  border-radius: 3px 3px 0 0;
  min-height: 4px;
  transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.7;
}
.demo-bar:hover {
  opacity: 1;
}

.demo-mini-table {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  border-collapse: collapse;
}
.demo-mini-table th {
  text-align: left;
  padding: 6px 8px;
  color: rgba(148, 163, 184, 0.5);
  font-weight: 500;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.demo-mini-table td {
  padding: 6px 8px;
  color: #c0cad8;
  border-bottom: 1px solid rgba(148, 163, 184, 0.04);
}
.demo-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 6px;
}
.demo-dot.green {
  background: #10b981;
}
.demo-dot.red {
  background: #ef4444;
}
.demo-dot.yellow {
  background: #f59e0b;
}
.demo-dot.blue {
  background: #818cf8;
}

.demo-gauge {
  position: relative;
  width: 100%;
  height: 8px;
  background: rgba(148, 163, 184, 0.08);
  border-radius: 4px;
  overflow: hidden;
  margin: 4px 0;
}
.demo-gauge-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.demo-gauge-fill.green {
  background: linear-gradient(90deg, #10b981, #34d399);
}
.demo-gauge-fill.blue {
  background: var(--accent-gradient);
}
.demo-gauge-fill.yellow {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}
.demo-gauge-fill.red {
  background: linear-gradient(90deg, #ef4444, #f87171);
}

/* ===== Admin Dashboard Frame ===== */
.dash-frame {
  display: flex;
  height: 100%;
  min-height: 420px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.1);
  background: #060a12;
  animation: demoFadeIn 0.5s ease forwards;
}
.dash-sidebar {
  width: 44px;
  background: #0a0f1a;
  border-right: 1px solid rgba(148, 163, 184, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
  gap: 2px;
  flex-shrink: 0;
}
.dash-sidebar-logo {
  width: 28px;
  height: 28px;
  background: var(--accent-gradient);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  font-family: var(--font-mono);
}
.dash-nav-item {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: rgba(148, 163, 184, 0.35);
  font-size: 0.7rem;
  cursor: default;
  transition: all 0.2s;
}
.dash-nav-item.active {
  background: rgba(148, 163, 184, 0.08);
  color: var(--accent-secondary);
}
.dash-nav-item:hover {
  color: rgba(148, 163, 184, 0.6);
}
.dash-nav-sep {
  width: 20px;
  height: 1px;
  background: rgba(148, 163, 184, 0.06);
  margin: 6px 0;
}
.dash-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}
.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: #0a0f1a;
  border-bottom: 1px solid rgba(148, 163, 184, 0.06);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  flex-shrink: 0;
}
.dash-breadcrumb {
  color: rgba(148, 163, 184, 0.4);
}
.dash-breadcrumb span {
  color: #e2e8f0;
}
.dash-user {
  color: rgba(148, 163, 184, 0.5);
  display: flex;
  align-items: center;
  gap: 5px;
}
.dash-user i {
  font-size: 6px;
  color: #10b981;
}
.dash-content {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.dash-content::-webkit-scrollbar {
  width: 3px;
}
.dash-content::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.1);
  border-radius: 2px;
}

/* Dashboard Grid */
.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}
.dash-grid.cols-3 {
  grid-template-columns: 1fr 1fr 1fr;
}
.dash-grid.cols-4 {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
.dash-widget {
  background: rgba(148, 163, 184, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.06);
  border-radius: 8px;
  padding: 10px 12px;
}
.dash-widget.full {
  grid-column: 1 / -1;
}
.dash-widget-label {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: rgba(148, 163, 184, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.dash-widget-value {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: #e2e8f0;
}
.dash-widget-value.sm {
  font-size: 0.85rem;
}
.dash-widget-value.green {
  color: #10b981;
}
.dash-widget-value.blue {
  color: #7dd3fc;
}
.dash-widget-value.yellow {
  color: #f59e0b;
}
.dash-widget-value.red {
  color: #ef4444;
}
.dash-widget-sub {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: rgba(148, 163, 184, 0.4);
  margin-top: 2px;
}
.dash-widget-sub .up {
  color: #10b981;
}
.dash-widget-sub .down {
  color: #ef4444;
}

/* Section titles in dashboard */
.dash-section {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: rgba(148, 163, 184, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 8px 0 6px;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.dash-section i {
  color: var(--accent-secondary);
  font-size: 0.58rem;
}
.dash-section::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(148, 163, 184, 0.06);
}

/* Responsive: terminal on small screens */
@media (max-width: 900px) {
  .sys-terminal {
    width: 95vw;
  }
  .split-demo-topbar {
    padding: 10px 14px;
  }
}
.sys-terminal-header {
  display: flex;
  align-items: center;
  padding: 14px 18px;
  background: #0d1220;
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  gap: 14px;
}
.sys-terminal-dots {
  display: flex;
  gap: 8px;
}
.sys-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  cursor: pointer;
  transition: filter 0.2s;
}
.sys-dot:hover {
  filter: brightness(1.3);
}
.sys-dot.red {
  background: #ff5f57;
}
.sys-dot.yellow {
  background: #febc2e;
}
.sys-dot.green {
  background: #28c840;
}
.sys-terminal-title {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(148, 163, 184, 0.6);
  letter-spacing: 0.5px;
}
.sys-terminal-badge {
  padding: 3px 10px;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--accent-secondary);
  font-weight: 700;
  letter-spacing: 1.5px;
}
.sys-terminal-body {
  padding: 20px 22px;
  min-height: 320px;
  max-height: 60vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.7;
  color: #c0cad8;
}
.sys-terminal-body::-webkit-scrollbar {
  width: 6px;
}
.sys-terminal-body::-webkit-scrollbar-track {
  background: transparent;
}
.sys-terminal-body::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.15);
  border-radius: 3px;
}
.sys-terminal-statusbar {
  display: flex;
  justify-content: space-between;
  padding: 8px 18px;
  background: #0d1220;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(148, 163, 184, 0.4);
}

/* Terminal line types */
.t-line {
  opacity: 0;
  animation: tLineIn 0.15s ease forwards;
  white-space: pre-wrap;
}
.t-line.t-cmd {
  color: #7dd3fc;
}
.t-line.t-cmd::before {
  content: "$ ";
  color: #10b981;
  font-weight: 700;
}
.t-line.t-info {
  color: #94a3b8;
}
.t-line.t-success {
  color: #10b981;
}
.t-line.t-success::before {
  content: "✓ ";
}
.t-line.t-warn {
  color: #f59e0b;
}
.t-line.t-warn::before {
  content: "⚠ ";
}
.t-line.t-error {
  color: #ef4444;
}
.t-line.t-error::before {
  content: "✗ ";
}
.t-line.t-header {
  color: var(--accent-secondary);
  font-weight: 700;
  font-size: 0.9rem;
  margin: 8px 0 4px 0;
}
.t-line.t-separator {
  color: rgba(148, 163, 184, 0.2);
}
.t-line.t-progress {
  color: #818cf8;
}
.t-line.t-result {
  color: #34d399;
  font-weight: 600;
  padding: 4px 0;
}
.t-line.t-ascii {
  color: var(--accent-secondary);
  line-height: 1.2;
  font-size: 0.72rem;
}

@keyframes tLineIn {
  from {
    opacity: 0;
    transform: translateX(-6px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Blinking cursor at the end */
.t-cursor::after {
  content: "█";
  animation: blink 1s step-end infinite;
  color: var(--accent-secondary);
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* Progress bar inside terminal */
.t-progress-bar {
  display: inline-block;
  background: rgba(148, 163, 184, 0.1);
  border-radius: 3px;
  overflow: hidden;
  width: 200px;
  height: 10px;
  vertical-align: middle;
  margin-left: 8px;
}
.t-progress-fill {
  height: 100%;
  background: var(--accent-gradient);
  border-radius: 3px;
  width: 0%;
  transition: width 0.3s ease;
}

/* ===== FULL-SCREEN DEMO LAYOUTS ===== */

/* --- Common Demo Layout --- */
.fd-layout {
  display: flex;
  height: 100%;
  overflow: hidden;
}
.fd-sidebar {
  width: 240px;
  background: #0a0f1a;
  border-right: 1px solid rgba(148, 163, 184, 0.08);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  overflow-y: auto;
}
.fd-sidebar-header {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.06);
  display: flex;
  align-items: center;
  gap: 12px;
}
.fd-sidebar-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #fff;
  flex-shrink: 0;
}
.fd-sidebar-brand {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: #e2e8f0;
}
.fd-sidebar-brand small {
  display: block;
  font-size: 0.62rem;
  font-weight: 400;
  color: rgba(148, 163, 184, 0.4);
  margin-top: 2px;
}
.fd-nav {
  padding: 12px 10px;
  flex: 1;
}
.fd-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  color: rgba(148, 163, 184, 0.5);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 2px;
}
.fd-nav-item:hover {
  background: rgba(148, 163, 184, 0.04);
  color: rgba(148, 163, 184, 0.7);
}
.fd-nav-item.active {
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-secondary);
}
.fd-nav-item i {
  width: 18px;
  text-align: center;
  font-size: 0.72rem;
}
.fd-nav-sep {
  height: 1px;
  background: rgba(148, 163, 184, 0.06);
  margin: 8px 14px;
}
.fd-nav-label {
  padding: 8px 14px 4px;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(148, 163, 184, 0.3);
}
.fd-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
}
.fd-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.06);
  flex-shrink: 0;
}
.fd-topbar-title {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 600;
  color: #e2e8f0;
}
.fd-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.fd-btn {
  padding: 7px 16px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(148, 163, 184, 0.04);
  color: rgba(148, 163, 184, 0.7);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.fd-btn:hover {
  background: rgba(148, 163, 184, 0.08);
  color: #e2e8f0;
}
.fd-btn.primary {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
}
.fd-btn.primary:hover {
  background: rgba(99, 102, 241, 0.25);
}
.fd-btn.success {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.25);
  color: #34d399;
}
.fd-btn.danger {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.25);
  color: #f87171;
}
.fd-content {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.fd-content::-webkit-scrollbar {
  width: 5px;
}
.fd-content::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.1);
  border-radius: 3px;
}

/* Grid cards */
.fd-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}
.fd-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}
.fd-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}
.fd-card {
  background: rgba(148, 163, 184, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 12px;
  padding: 18px;
}
.fd-card.full {
  grid-column: 1 / -1;
}
.fd-card-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(148, 163, 184, 0.45);
  margin-bottom: 6px;
}
.fd-card-value {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 700;
  color: #e2e8f0;
}
.fd-card-value.green {
  color: #10b981;
}
.fd-card-value.blue {
  color: #7dd3fc;
}
.fd-card-value.yellow {
  color: #f59e0b;
}
.fd-card-value.red {
  color: #ef4444;
}
.fd-card-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(148, 163, 184, 0.4);
  margin-top: 4px;
}
.fd-card-sub .up {
  color: #10b981;
}

/* Section header */
.fd-section {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(148, 163, 184, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 0 10px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.fd-section i {
  color: var(--accent-secondary);
  font-size: 0.68rem;
}
.fd-section::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(148, 163, 184, 0.06);
}

/* Tables */
.fd-table {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  border-collapse: collapse;
  margin-bottom: 16px;
}
.fd-table th {
  text-align: left;
  padding: 10px 14px;
  color: rgba(148, 163, 184, 0.5);
  font-weight: 500;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.fd-table td {
  padding: 10px 14px;
  color: #c0cad8;
  border-bottom: 1px solid rgba(148, 163, 184, 0.04);
}
.fd-table tr:hover td {
  background: rgba(148, 163, 184, 0.02);
}
.fd-badge {
  display: inline-flex;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.65rem;
  font-weight: 600;
}
.fd-badge.green {
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
}
.fd-badge.red {
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
}
.fd-badge.yellow {
  background: rgba(245, 158, 11, 0.1);
  color: #fbbf24;
}
.fd-badge.blue {
  background: rgba(99, 102, 241, 0.1);
  color: #a5b4fc;
}

/* Gauge bars */
.fd-gauge {
  width: 100%;
  height: 8px;
  background: rgba(148, 163, 184, 0.08);
  border-radius: 4px;
  overflow: hidden;
  margin: 4px 0;
}
.fd-gauge-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.fd-gauge-fill.green {
  background: linear-gradient(90deg, #10b981, #34d399);
}
.fd-gauge-fill.blue {
  background: var(--accent-gradient);
}
.fd-gauge-fill.yellow {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
}
.fd-gauge-fill.red {
  background: linear-gradient(90deg, #ef4444, #f87171);
}

/* Bar chart */
.fd-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 100px;
  padding-top: 8px;
}
.fd-bar {
  flex: 1;
  background: var(--accent-gradient);
  border-radius: 3px 3px 0 0;
  min-height: 4px;
  transition: height 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.7;
}
.fd-bar:hover {
  opacity: 1;
}

/* Dot indicator */
.fd-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}
.fd-dot.green {
  background: #10b981;
}
.fd-dot.red {
  background: #ef4444;
}
.fd-dot.yellow {
  background: #f59e0b;
}
.fd-dot.blue {
  background: #818cf8;
}

/* --- AI Chat Demo --- */
.fd-chat-layout {
  display: flex;
  height: 100%;
}
.fd-chat-sidebar {
  width: 260px;
  background: #0a0f1a;
  border-right: 1px solid rgba(148, 163, 184, 0.08);
  display: flex;
  flex-direction: column;
}
.fd-chat-history {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
}
.fd-chat-item {
  padding: 10px 14px;
  border-radius: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: rgba(148, 163, 184, 0.5);
  cursor: pointer;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.fd-chat-item:hover {
  background: rgba(148, 163, 184, 0.04);
}
.fd-chat-item.active {
  background: rgba(99, 102, 241, 0.1);
  color: var(--accent-secondary);
}
.fd-chat-item i {
  font-size: 0.65rem;
}
.fd-chat-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.fd-chat-messages {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.fd-msg {
  max-width: 75%;
  animation: msgFadeIn 0.3s ease forwards;
}
.fd-msg.user {
  align-self: flex-end;
}
.fd-msg.ai {
  align-self: flex-start;
}
.fd-msg-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(148, 163, 184, 0.5);
}
.fd-msg-avatar {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}
.fd-msg.user .fd-msg-avatar {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
}
.fd-msg.ai .fd-msg-avatar {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}
.fd-msg-bubble {
  padding: 14px 18px;
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.6;
}
.fd-msg.user .fd-msg-bubble {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: #c7d2fe;
}
.fd-msg.ai .fd-msg-bubble {
  background: rgba(148, 163, 184, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.08);
  color: #c0cad8;
}
.fd-msg-bubble code {
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
  color: #a5b4fc;
}
.fd-msg-bubble pre {
  background: rgba(0, 0, 0, 0.3);
  padding: 12px;
  border-radius: 8px;
  margin: 8px 0;
  overflow-x: auto;
  font-size: 0.72rem;
  color: #94a3b8;
}
.fd-chat-input-area {
  padding: 16px 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  flex-shrink: 0;
}
.fd-chat-input-wrap {
  display: flex;
  gap: 10px;
  align-items: center;
  background: rgba(148, 163, 184, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 12px;
  padding: 4px 6px 4px 16px;
}
.fd-chat-input {
  flex: 1;
  background: none;
  border: none;
  color: #e2e8f0;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 10px 0;
  outline: none;
}
.fd-chat-input::placeholder {
  color: rgba(148, 163, 184, 0.3);
}
.fd-chat-send {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--accent-gradient);
  border: none;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: all 0.2s;
  flex-shrink: 0;
}
.fd-chat-send:hover {
  transform: scale(1.05);
}
@keyframes msgFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fd-typing-dots span {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: rgba(148, 163, 184, 0.4);
  border-radius: 50%;
  margin: 0 2px;
  animation: typeDot 1.4s infinite;
}
.fd-typing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}
.fd-typing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes typeDot {
  0%,
  60%,
  100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-4px);
  }
}

/* --- SMM Panel Demo --- */
.fd-smm-platforms {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}
.fd-smm-platform {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  background: rgba(148, 163, 184, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(148, 163, 184, 0.6);
}
.fd-smm-platform:hover {
  border-color: rgba(99, 102, 241, 0.3);
  background: rgba(99, 102, 241, 0.05);
}
.fd-smm-platform.active {
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(99, 102, 241, 0.08);
  color: #a5b4fc;
}
.fd-smm-platform i {
  font-size: 1.1rem;
}

/* Order form */
.fd-order-form {
  background: rgba(148, 163, 184, 0.03);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 12px;
  padding: 20px;
}
.fd-form-group {
  margin-bottom: 14px;
}
.fd-form-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(148, 163, 184, 0.45);
  margin-bottom: 6px;
  display: block;
}
.fd-form-input,
.fd-form-select {
  width: 100%;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 8px;
  color: #e2e8f0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.fd-form-input:focus,
.fd-form-select:focus {
  border-color: rgba(99, 102, 241, 0.4);
}
.fd-form-select {
  appearance: none;
  cursor: pointer;
}

/* --- Mobile Phone Mockup --- */
.fd-phones-container {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 20px 20px 10px;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

/* === iPhone 17 Pro === */
.fd-phone-iphone {
  width: min(280px, 22vw);
  height: min(590px, calc(100vh - 140px));
  background: #0c0f1a;
  border-radius: 50px;
  border: 2px solid rgba(120, 130, 155, 0.22);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 2px 8px rgba(0, 0, 0, 0.3),
    0 12px 40px rgba(0, 0, 0, 0.5),
    0 30px 80px rgba(0, 0, 0, 0.4),
    inset 0 0.5px 0 rgba(255, 255, 255, 0.09),
    inset 0 -0.5px 0 rgba(255, 255, 255, 0.03);
  display: flex;
  flex-direction: column;
  position: relative;
  flex-shrink: 0;
}
.fd-phone-iphone::after {
  content: "";
  position: absolute;
  right: -3.5px;
  top: 120px;
  width: 3px;
  height: 52px;
  background: linear-gradient(
    180deg,
    rgba(100, 110, 135, 0.35),
    rgba(80, 90, 110, 0.25),
    rgba(100, 110, 135, 0.35)
  );
  border-radius: 0 3px 3px 0;
}
.fd-phone-iphone .fd-ip-dynamic-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 28px;
  background: #000;
  border-radius: 20px;
  z-index: 11;
  box-shadow:
    0 0 0 0.5px rgba(255, 255, 255, 0.06),
    inset 0 1px 3px rgba(0, 0, 0, 0.8);
}
.fd-phone-iphone .fd-ip-dynamic-island::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 22px;
  width: 9px;
  height: 9px;
  background: radial-gradient(circle, #1c1c3a 20%, #0d0d1e 60%);
  border-radius: 50%;
  box-shadow:
    0 0 0 0.5px rgba(99, 102, 241, 0.12),
    inset 0 0 2px rgba(0, 0, 0, 0.5);
}
.fd-phone-iphone .fd-ip-dynamic-island::after {
  content: "";
  position: absolute;
  top: 10px;
  right: 22px;
  width: 7px;
  height: 7px;
  background: radial-gradient(circle, #1a1a3e 30%, #0d0d22 70%);
  border-radius: 50%;
  box-shadow: 0 0 0 0.5px rgba(99, 102, 241, 0.1);
}

/* === Samsung Galaxy S25 Ultra === */
.fd-phone-android {
  width: min(280px, 22vw);
  height: min(600px, calc(100vh - 130px));
  background: #0c0f1a;
  border-radius: 32px;
  border: 2px solid rgba(120, 130, 155, 0.15);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02),
    0 2px 8px rgba(0, 0, 0, 0.3),
    0 12px 40px rgba(0, 0, 0, 0.5),
    0 30px 80px rgba(0, 0, 0, 0.4),
    inset 0 0.5px 0 rgba(255, 255, 255, 0.06),
    inset 0 -0.5px 0 rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  position: relative;
  flex-shrink: 0;
}
.fd-phone-android::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 100px;
  width: 2.5px;
  height: 44px;
  background: linear-gradient(
    180deg,
    rgba(100, 110, 135, 0.3),
    rgba(80, 90, 110, 0.2),
    rgba(100, 110, 135, 0.3)
  );
  border-radius: 0 2px 2px 0;
}
.fd-phone-android .fd-and-camera {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, #16192e 20%, #0a0d18 60%);
  border-radius: 50%;
  z-index: 11;
  box-shadow:
    0 0 0 1px rgba(148, 163, 184, 0.06),
    inset 0 0 2px rgba(0, 0, 0, 0.6);
}

/* === Shared phone elements === */
.fd-phone-label {
  text-align: center;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(148, 163, 184, 0.45);
}
.fd-phone-label strong {
  color: #c8d0e0;
}
.fd-phone-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.fd-phone-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 22px 4px;
  font-family: -apple-system, "SF Pro Text", "Helvetica Neue", sans-serif;
  font-size: 0.62rem;
  font-weight: 600;
  color: rgba(230, 235, 245, 0.75);
  z-index: 5;
  flex-shrink: 0;
  min-height: 20px;
}
.fd-phone-statusbar .sb-icons {
  display: flex;
  gap: 5px;
  align-items: center;
}
.fd-phone-statusbar .sb-icons i {
  font-size: 0.48rem;
}
.fd-phone-statusbar .sb-battery {
  display: flex;
  align-items: center;
  gap: 2px;
}
.fd-phone-statusbar .sb-battery-body {
  width: 18px;
  height: 9px;
  border: 1px solid rgba(230, 235, 245, 0.45);
  border-radius: 2px;
  padding: 1px;
  position: relative;
}
.fd-phone-statusbar .sb-battery-body::after {
  content: "";
  position: absolute;
  right: -3px;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5px;
  height: 4px;
  background: rgba(230, 235, 245, 0.35);
  border-radius: 0 1px 1px 0;
}
.fd-phone-statusbar .sb-battery-fill {
  height: 100%;
  border-radius: 1px;
  background: #34d399;
}
.fd-phone-content {
  flex: 1;
  padding: 14px;
  overflow-y: auto;
  position: relative;
}
.fd-phone-content::-webkit-scrollbar {
  width: 0;
}
.fd-phone-scroll-hint {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 28px;
  background: linear-gradient(transparent, rgba(12, 15, 26, 0.95));
  pointer-events: none;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 4px;
  opacity: 0.6;
  transition: opacity 0.3s;
}
.fd-phone-scroll-hint i {
  font-size: 0.5rem;
  color: rgba(148, 163, 184, 0.4);
  animation: phoneScrollBounce 1.5s ease-in-out infinite;
}
@keyframes phoneScrollBounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}
.fd-phone-navbar {
  display: flex;
  justify-content: space-around;
  padding: 8px 6px 4px;
  border-top: 1px solid rgba(148, 163, 184, 0.06);
  background: rgba(12, 15, 26, 0.92);
  backdrop-filter: blur(16px);
  flex-shrink: 0;
}
.fd-phone-navbar .active {
  color: #818cf8;
}
.fd-phone-navbar div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-family: var(--font-mono);
  font-size: 0.46rem;
  color: rgba(148, 163, 184, 0.35);
  cursor: pointer;
  transition: color 0.2s;
  padding: 2px 6px;
  border-radius: 8px;
}
.fd-phone-navbar div:hover {
  color: rgba(148, 163, 184, 0.7);
}
.fd-phone-navbar div i {
  font-size: 0.78rem;
  margin-bottom: 1px;
}
.fd-phone-homebar {
  width: 110px;
  height: 4px;
  background: rgba(220, 225, 240, 0.25);
  border-radius: 4px;
  margin: 4px auto 6px;
  flex-shrink: 0;
}
.fd-phone-and-homebar {
  width: 90px;
  height: 3px;
  background: rgba(220, 225, 240, 0.18);
  border-radius: 3px;
  margin: 4px auto 8px;
  flex-shrink: 0;
}

/* --- Game Launcher Demo --- */
.fd-launcher {
  display: flex;
  height: 100%;
}
.fd-launcher-sidebar {
  width: 72px;
  background: #080c14;
  border-right: 1px solid rgba(148, 163, 184, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0;
  gap: 8px;
}
.fd-launcher-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: rgba(148, 163, 184, 0.4);
  cursor: pointer;
  transition: all 0.2s;
}
.fd-launcher-icon:hover {
  background: rgba(148, 163, 184, 0.06);
  color: rgba(148, 163, 184, 0.7);
}
.fd-launcher-icon.active {
  background: rgba(99, 102, 241, 0.1);
  color: #a5b4fc;
}
.fd-launcher-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.fd-game-banner {
  height: 200px;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.15),
    rgba(16, 185, 129, 0.1)
  );
  display: flex;
  align-items: flex-end;
  padding: 24px;
  position: relative;
  flex-shrink: 0;
}
.fd-game-info {
  z-index: 1;
}
.fd-game-title {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.fd-game-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
  display: flex;
  gap: 14px;
}
.fd-play-btn {
  position: absolute;
  right: 24px;
  bottom: 24px;
  padding: 12px 36px;
  background: var(--accent-gradient);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 1px;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

/* --- POS/Adisyon Demo --- */
.fd-pos-layout {
  display: flex;
  height: 100%;
}
.fd-pos-tables {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 12px;
  padding: 20px;
  overflow-y: auto;
  align-content: start;
}
.fd-pos-table {
  aspect-ratio: 1;
  background: rgba(148, 163, 184, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-mono);
}
.fd-pos-table:hover {
  border-color: rgba(99, 102, 241, 0.3);
}
.fd-pos-table.occupied {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(16, 185, 129, 0.04);
}
.fd-pos-table.ready {
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.04);
}
.fd-pos-table-num {
  font-size: 1.1rem;
  font-weight: 700;
  color: #e2e8f0;
}
.fd-pos-table-status {
  font-size: 0.6rem;
  color: rgba(148, 163, 184, 0.4);
}
.fd-pos-table.occupied .fd-pos-table-status {
  color: #10b981;
}
.fd-pos-table.ready .fd-pos-table-status {
  color: #f59e0b;
}
.fd-pos-table-price {
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(148, 163, 184, 0.6);
}
.fd-pos-panel {
  width: 340px;
  background: #0a0f1a;
  border-left: 1px solid rgba(148, 163, 184, 0.08);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.fd-pos-panel-header {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.06);
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.fd-pos-items {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
}
.fd-pos-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.04);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: #c0cad8;
}
.fd-pos-item-qty {
  color: var(--accent-secondary);
  font-weight: 600;
  margin-right: 8px;
}
.fd-pos-total {
  padding: 16px 18px;
  border-top: 1px solid rgba(148, 163, 184, 0.08);
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-weight: 700;
  color: #e2e8f0;
}
.fd-pos-total .price {
  color: #10b981;
  font-size: 1.1rem;
}

/* search/filter bar */
.fd-search-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.fd-search-input {
  flex: 1;
  padding: 10px 16px;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(148, 163, 184, 0.1);
  border-radius: 8px;
  color: #e2e8f0;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  outline: none;
}
.fd-search-input::placeholder {
  color: rgba(148, 163, 184, 0.3);
}

/* Animation for demo content appearing */
.fd-animate-in {
  animation: fdSlideIn 0.4s ease forwards;
}
@keyframes fdSlideIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Terminal console inside demo */
.fd-console {
  background: #0a0e17;
  border: 1px solid rgba(148, 163, 184, 0.08);
  border-radius: 8px;
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #94a3b8;
  max-height: 180px;
  overflow-y: auto;
  line-height: 1.7;
}
.fd-console .cmd {
  color: #7dd3fc;
}
.fd-console .ok {
  color: #10b981;
}
.fd-console .warn {
  color: #f59e0b;
}
.fd-console .err {
  color: #ef4444;
}

@media (max-width: 900px) {
  .fd-layout {
    flex-direction: column;
  }
  .fd-sidebar {
    width: 100%;
    max-height: 60px;
    flex-direction: row;
    overflow-x: auto;
  }
  .fd-grid {
    grid-template-columns: 1fr 1fr;
  }
  .fd-grid.cols-3,
  .fd-grid.cols-4 {
    grid-template-columns: 1fr 1fr;
  }
  .fd-phones-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .fd-chat-sidebar {
    display: none;
  }
  .fd-pos-panel {
    width: 100%;
    max-height: 40vh;
  }
  .fd-pos-layout {
    flex-direction: column;
  }
  .fd-launcher {
    flex-direction: column;
  }
  .fd-launcher-sidebar {
    width: 100%;
    flex-direction: row;
    height: 56px;
    padding: 0 10px;
  }
}
