/* ==========================================
   SAROK ARCHIVE - BEAVER NOTES STYLE
   Clean, minimal, amber accent, macOS-inspired
   ========================================== */

:root {
  --bg-primary: #131313;
  --bg-secondary: #1f1f1f;
  --bg-sidebar: #1f1f1f;
  --bg-card: #1f1f1f;
  --bg-input: #2a2a2a;
  --bg-hover: #383838;
  --bg-code: #2a2a2a;

  --border-subtle: #474747;
  --border-light: #5a5a5a;
  --border-accent: #ffb4a9;

  --text-primary: #E5E5E5;
  --text-secondary: #A3A3A3;
  --text-muted: #737373;

  --accent: #ffb4a9;
  --accent-light: #ffc7b8;
  --accent-dark: #e89b8a;
  --accent-subtle: rgba(255, 180, 169, 0.15);

  --danger: #EF4444;
  --success: #22C55E;
  --warning: #F59E0B;
  --tag-purple: #ffb4a9;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);

  --radius: 8px;
  --radius-sm: 6px;
  --radius-lg: 12px;
  --radius-xl: 16px;


  --font-main: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  --font-heading: 'Paytone One', sans-serif;
  --font-link: 'Poppins', sans-serif;
  --font-desc: 'Nunito', sans-serif;
  --font-input: 'Inter', sans-serif;
  --transition: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .btn, .badge, .sidebar-btn, .admin-tab, .page-header h2, .section-title, .blog-card h3, .blog-detail-title, .tool-detail h2, .username, .profile-card h2, .comment-author, .notif-text strong, .modal-content h3, .email-auth h3, .list-item h4, .command-label {
  font-family: var(--font-heading);
}

a, .btn, .nav-link, .sidebar-btn {
  font-family: var(--font-link);
}

p, .description, .full-description, .blog-detail-content, .comment-text, .notif-text, .tool-card p, .store-card p, .about-links a {
  font-family: var(--font-desc);
}

input, textarea, select, .form-group input, .form-group textarea, .form-group select, .search-box input, .email-auth input, .chat-input, .comment-form input, .comment-form textarea {
  font-family: var(--font-input);
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes slideInLeft {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================
   SIDEBAR (minimal glass)
   ========================================== */
.sidebar {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  width: auto;
  height: auto;
  flex-direction: row;
  background: rgba(19, 19, 19, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 180, 169, 0.15);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
  border-radius: 16px;
  display: flex;
  align-items: center;
  padding: 0.5rem 0.625rem;
  gap: 0.375rem;
  z-index: 100;
}

.sidebar-logo {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
}

.sidebar-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-logo:active {
  transform: scale(0.9);
}

.sidebar-nav,
.sidebar-bottom {
  display: flex;
  flex-direction: row;
  gap: 0.125rem;
  padding: 0;
}

.sidebar-bottom {
  margin-top: 0;
}

.sidebar-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  outline: none;
}
.sidebar-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.sidebar-btn:hover {
  background: rgba(255, 180, 169, 0.1);
  color: var(--accent);
  transform: scale(1.15) translateY(-2px);
}

.sidebar-btn:active {
  transform: scale(0.85);
}

.sidebar-btn.active {
  background: var(--accent);
  color: #131313;
  box-shadow: 0 0 12px rgba(255, 180, 169, 0.3);
}

.sidebar-btn i {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sidebar-btn:hover i {
  transform: scale(1.2);
}

.sidebar-btn.active i {
  animation: iconBounce 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes iconBounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.3) rotate(-8deg); }
  100% { transform: scale(1) rotate(0deg); }
}

.notif-btn { position: relative; }

.notif-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: #ef4444;
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.5);
  animation: badgePop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes badgePop {
  0% { transform: scale(0); }
  100% { transform: scale(1); }
}

/* Mobile toggle */
.mobile-toggle {
  display: none;
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  z-index: 101;
  width: 42px;
  height: 42px;
  background: rgba(26, 26, 26, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-primary);
  font-size: 1rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  animation: togglePulse 2.5s ease-in-out infinite;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mobile-toggle:active {
  transform: scale(0.85);
}

@keyframes togglePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 180, 169, 0); }
  50% { box-shadow: 0 0 12px 0 rgba(255, 180, 169, 0.15); }
}

.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 99;
}

/* ==========================================
   MAIN CONTENT
   ========================================== */
.main-content {
  padding: 2rem;
  padding-bottom: 5rem;
  min-height: 100vh;
}

.page {
  max-width: 768px;
  margin: 0 auto;
  animation: fadeIn 0.3s ease;
}

.page-header {
  margin-bottom: 2rem;
}

.page-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.page-header h2 i {
  color: var(--accent);
  font-size: 1.25rem;
}

.page-header .badge {
  display: inline-block;
  margin-top: 0.5rem;
}

.subtitle {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.badge {
  background: var(--accent-subtle);
  color: var(--accent);
  padding: 0.25rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

/* ==========================================
   HOME PAGE
   ========================================== */
.home-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  text-align: center;
}

.profile-minimal {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.avatar-container {
  width: 150px;
  height: 150px;
  border-radius: 3rem;
  overflow: hidden;
  margin-bottom: 1rem;
}

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

.username {
  font-size: 1.875rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.user-role {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.stats-grid {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.5rem;
  padding: 1rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.stat-item {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.social-links-minimal {
  display: flex;
  gap: 0.5rem;
}

/* ==========================================
   FILTERS & SEARCH
   ========================================== */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 1.25rem;
}

.filter-btn {
  padding: 0.375rem 0.875rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.filter-btn:active {
  background: var(--bg-hover);
  color: var(--text-primary);
  transform: scale(0.95);
}

.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #131313;
}

.search-box {
  position: relative;
  margin-bottom: 1.5rem;
}

.search-box i {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.875rem;
  pointer-events: none;
}

.search-box input {
  width: 100%;
  padding: 0.625rem 0.875rem 0.625rem 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 0.875rem;
  font-family: var(--font-main);
  transition: all var(--transition);
}

.search-box input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-subtle);
}

.search-box input::placeholder {
  color: var(--text-muted);
}

/* ==========================================
   TOOL CARDS
   ========================================== */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.75rem;
}

.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: all 0.2s ease;
  animation: fadeInUp 0.3s ease;
  animation-fill-mode: backwards;
  cursor: pointer;
}

.tool-card:active {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-light);
}

.tool-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-subtle);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  color: var(--accent);
  overflow: hidden;
}

.tool-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.tool-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
  letter-spacing: -0.01em;
}

.tool-content p {
  color: var(--text-secondary);
  font-size: 0.8125rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.tool-footer {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.tool-date {
  color: var(--text-muted);
  font-size: 0.7rem;
  flex-shrink: 0;
}

.tool-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.downloads {
  color: var(--text-muted);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* ==========================================
   TOOL DETAIL PAGE
   ========================================== */
.tool-detail-page {
  max-width: 768px;
}

.back-btn {
  margin-bottom: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.back-btn:active {
  background: var(--bg-hover);
}

.tool-detail {
  animation: fadeInUp 0.3s ease;
}

.tool-detail-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.tool-detail-icon {
  width: 64px;
  height: 64px;
  background: var(--accent-subtle);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  color: var(--accent);
  flex-shrink: 0;
  overflow: hidden;
}

.tool-detail-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.tool-detail-info h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.375rem;
  color: var(--text-primary);
}

.tool-detail-info .badge {
  display: inline-block;
  margin-bottom: 0.5rem;
}

.tool-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.download-count {
  color: var(--text-secondary);
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.download-count i {
  color: var(--accent);
}

.narrator-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
}

.narrator-info span {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.narrator-info strong {
  color: var(--text-primary);
}

.narrator-socials {
  display: flex;
  gap: 0.75rem;
}

.narrator-socials a {
  color: var(--text-muted);
  font-size: 1rem;
  transition: all var(--transition);
}

.narrator-socials a:active {
  color: var(--accent);
}

.tool-detail-section {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 0.75rem;
}

.tool-detail-section h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--text-primary);
}

.tool-detail-section h3 i {
  color: var(--accent);
  font-size: 0.875rem;
}

.tool-detail-section p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
}

.full-description {
  white-space: pre-wrap;
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.5rem;
}

.screenshot-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.download-btn {
  width: auto;
  justify-content: center;
  padding: 0.375rem 0.75rem;
  font-size: 0.8125rem;
  background: var(--accent);
  color: #131313;
  font-weight: 600;
  border: none;
}

.download-btn:active {
  opacity: 0.85;
}

.save-btn,
.save-btn-top {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-main);
}
.save-btn:hover,
.save-btn-top:hover { border-color: var(--accent); color: var(--accent); }
.save-btn.saved,
.save-btn-top.saved { border-color: var(--accent); color: var(--accent); background: var(--accent-subtle); }
.save-btn-top i,
.save-btn i { transition: transform 0.2s ease; }
.save-btn-top.saved i,
.save-btn.saved i { animation: bookmarkPop 0.3s ease; }

@keyframes bookmarkPop {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.saved-apps-section,
.profile-comments-section {
  margin-top: 1.5rem;
}
.saved-apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.5rem;
}
.saved-app-card {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}
.saved-app-card:hover { border-color: var(--accent); }
.saved-app-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-input);
  color: var(--text-muted);
  font-size: 1.125rem;
}
.saved-app-icon img { width: 100%; height: 100%; object-fit: cover; }
.saved-app-info {
  flex: 1;
  min-width: 0;
}
.saved-app-info h4 {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.saved-app-info .badge { font-size: 0.625rem; margin-top: 0.125rem; }
.saved-download {
  width: auto !important;
  padding: 0.375rem 0.625rem !important;
  font-size: 0.75rem !important;
}

.profile-comments-list {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.profile-comment-item {
  padding: 0.625rem 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}
.profile-comment-item:hover { border-color: var(--accent); }
.profile-comment-text {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  margin: 0 0 0.25rem 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.profile-comment-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.profile-comment-date {
  font-size: 0.6875rem;
  color: var(--text-muted);
}
.profile-comment-reply {
  font-size: 0.6875rem;
  color: var(--accent);
}
.no-data {
  color: var(--text-muted);
  font-size: 0.8125rem;
  text-align: center;
  padding: 1rem;
}

.no-downloads {
  color: var(--text-muted);
  text-align: center;
  font-size: 0.8125rem;
  padding: 1rem;
}

/* ==========================================
   BLOG CARDS
   ========================================== */
.blogs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  animation: fadeInUp 0.3s ease;
  animation-fill-mode: backwards;
  cursor: pointer;
}

.blog-card:hover {
  border-color: var(--accent-subtle);
}

.blog-card h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.blog-card > p {
  color: var(--text-secondary);
  font-size: 0.8125rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.875rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}

.read-more {
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: all var(--transition);
}

.read-more:active {
  transform: translateX(2px);
}

/* ==========================================
   BLOG DETAIL
   ========================================== */
.blog-detail {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  animation: fadeInUp 0.3s ease;
}

.blog-detail-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.blog-detail-content {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.7;
}
.blog-detail-content img {
  cursor: pointer;
  transition: opacity 0.2s;
}
.blog-detail-content img:hover {
  opacity: 0.8;
}

.blog-detail-image {
  margin: 1rem 0;
  border-radius: var(--radius);
  overflow: hidden;
}
.blog-detail-image img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--radius);
}

.blog-detail-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================
   LIKE BUTTON
   ========================================== */
.like-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 0.8125rem;
  font-family: var(--font-main);
  cursor: pointer;
  padding: 0.25rem 0.375rem;
  border-radius: 9999px;
  transition: all var(--transition);
  font-weight: 500;
}

.like-btn:active {
  background: var(--accent-subtle);
  transform: scale(0.92);
  color: var(--accent);
}

.like-btn i.fa-heart {
  color: var(--danger);
}

.like-btn i.fa-heart-broken {
  color: var(--text-muted);
}

/* ==========================================
   RATING STARS
   ========================================== */
.rating-stars {
  display: flex;
  gap: 0.375rem;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.rating-stars i {
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.1s ease;
}

.rating-stars i:active {
  transform: scale(1.15);
}

.star-active {
  color: var(--accent);
}

.star-inactive {
  color: var(--text-muted);
}

.rating-display {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.rating-stars-display {
  display: flex;
  gap: 0.125rem;
}

.rating-stars-display i {
  font-size: 0.75rem;
}

.rating-avg {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.8125rem;
}

.rating-count {
  color: var(--text-muted);
  font-size: 0.6875rem;
}

.rate-btn {
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
}

.rate-btn:active {
  background: var(--bg-hover);
}

/* ==========================================
   COMMENTS
   ========================================== */
.comments-section {
  animation: fadeInUp 0.3s ease;
}

.section-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--text-primary);
}

.section-title i {
  color: var(--accent);
  font-size: 0.875rem;
}

.comment-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.comment-form textarea {
  flex: 1;
  padding: 0.625rem 0.75rem;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 0.8125rem;
  font-family: var(--font-main);
  resize: vertical;
  min-height: 40px;
  transition: all var(--transition);
}

.comment-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-subtle);
}

.comment-form input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 0.8125rem;
  font-family: var(--font-main);
  transition: all var(--transition);
}

.comment-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-subtle);
}

.reply-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.375rem 0.625rem;
  background: var(--accent-subtle);
  border-radius: var(--radius);
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.reply-indicator span i { margin-right: 0.25rem; }

.reply-name { color: var(--accent); }

.reply-cancel {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.125rem;
  font-size: 0.75rem;
  border-radius: 4px;
  transition: all var(--transition);
}

.reply-cancel:hover { color: var(--text-primary); background: var(--bg-hover); }

.guest-form {
  flex-direction: column;
}

.comments-list {
  margin-top: 0.75rem;
}

.no-comments {
  color: var(--text-muted);
  text-align: center;
  padding: 1.5rem;
  font-size: 0.8125rem;
}

.comment-item {
  margin-bottom: 0.25rem;
}

.comment-body {
  display: flex;
  gap: 0.5rem;
  padding: 0.5rem 0.625rem;
  border-radius: var(--radius);
  transition: background var(--transition);
}

.comment-body:hover { background: var(--bg-hover); }

.comment-reply .comment-body {
  padding: 0.375rem 0.5rem;
}

.comment-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.comment-content {
  flex: 1;
  min-width: 0;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  margin-bottom: 0.125rem;
  flex-wrap: wrap;
}

.comment-name {
  font-weight: 600;
  color: var(--accent);
  font-size: 0.75rem;
}

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

.comment-text {
  color: var(--text-primary);
  font-size: 0.8125rem;
  line-height: 1.5;
  word-wrap: break-word;
}

.comment-text a { color: var(--accent); }

.comment-actions {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  margin-top: 0.125rem;
}

.comment-like-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.6875rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.5rem;
  font-family: var(--font-main);
  transition: all var(--transition);
  border-radius: 4px;
}

.comment-like-btn:hover:not(:disabled) { background: rgba(239,68,68,0.1); color: #ef4444; }

.comment-like-btn.liked { color: #ef4444; }

.comment-like-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.comment-reply-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.6875rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  transition: all var(--transition);
  font-family: var(--font-main);
  border-radius: 4px;
}

.comment-reply-btn:hover { background: var(--bg-hover); color: var(--accent); }

.comment-delete-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.625rem;
  cursor: pointer;
  padding: 0.25rem 0.375rem;
  border-radius: 4px;
  transition: all var(--transition);
}

.comment-delete-btn:hover { background: rgba(239,68,68,0.1); color: #ef4444; }

.reply-form {
  padding: 0.5rem 0 0.25rem 0;
}

.replies-thread {
  position: relative;
  margin-left: 1.25rem;
  padding-left: 0.75rem;
  border-left: 2px solid var(--border-subtle);
}

.replies-thread .replies-thread {
  margin-left: 1rem;
  padding-left: 0.625rem;
}

.reply-indicator span i { margin-right: 0.25rem; }

.reply-cancel {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.125rem;
  font-size: 0.75rem;
  border-radius: 4px;
  transition: all var(--transition);
}

.reply-cancel:hover { color: var(--text-primary); background: var(--bg-hover); }

.guest-form {
  flex-direction: column;
}

.comments-list {
  margin-top: 0.75rem;
}

.no-comments {
  color: var(--text-muted);
  text-align: center;
  padding: 1.5rem;
  font-size: 0.8125rem;
}

.comment-item {
  margin-bottom: 0.5rem;
}

.comment-body {
  display: flex;
  gap: 0.625rem;
  padding: 0.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
}

.comment-reply .comment-body {
  background: var(--bg-input);
  padding: 0.625rem;
}

.comment-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
}

.comment-content {
  flex: 1;
  min-width: 0;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.comment-name {
  font-weight: 600;
  color: var(--accent);
  font-size: 0.8125rem;
}

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

.comment-text {
  color: var(--text-secondary);
  font-size: 0.8125rem;
  line-height: 1.5;
  word-wrap: break-word;
}

.comment-reply-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 0.6875rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.125rem 0;
  margin-top: 0.25rem;
  transition: all var(--transition);
  font-family: var(--font-main);
}

.comment-reply-btn:active {
  opacity: 0.7;
}

.comment-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.comment-like-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.125rem 0;
  font-family: var(--font-main);
  transition: color var(--transition);
}

.comment-like-btn:hover:not(:disabled) {
  color: #ef4444;
}

.comment-like-btn.liked {
  color: #ef4444;
}

.comment-like-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.comment-delete-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.6875rem;
  cursor: pointer;
  padding: 0.125rem;
  margin-left: auto;
  opacity: 0;
  transition: opacity var(--transition), color var(--transition);
}

.comment-header:hover .comment-delete-btn {
  opacity: 1;
}

.comment-delete-btn:hover {
  color: #ef4444;
}

.reply-form {
  margin-top: 0.5rem;
  animation: fadeIn 0.2s ease;
}

/* ==========================================
   MODAL
   ========================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.15s ease;
}

.modal-overlay.modal-fade-out {
  animation: fadeOut 0.3s ease forwards;
}

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

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  max-width: 400px;
  width: 90%;
  text-align: center;
  animation: fadeInUp 0.2s ease;
}

.modal-content h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.modal-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}

/* ==========================================
   CHAT
   ========================================== */
.chat-page {
  max-width: 700px;
  margin: 0 auto;
}

.chat-header {
  text-align: center;
  margin-bottom: 1.25rem;
}

.chat-header h2 {
  margin-bottom: 0.25rem;
}

.chat-messages {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  min-height: 400px;
  padding: 1.25rem;
  margin-bottom: 0.75rem;
}

.chat-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 300px;
  color: var(--text-muted);
}

.chat-empty i {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  opacity: 0.3;
}

.chat-form {
  display: flex;
  gap: 0.5rem;
}

.chat-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 9999px;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-family: var(--font-main);
  transition: all var(--transition);
}

.chat-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-subtle);
}

.chat-form button {
  padding: 0.75rem 1rem;
  background: var(--accent);
  border: none;
  border-radius: 9999px;
  color: #131313;
  font-size: 0.875rem;
  font-family: var(--font-main);
  cursor: pointer;
  transition: all var(--transition);
  font-weight: 600;
}

.chat-form button:active {
  transform: scale(0.95);
  opacity: 0.85;
}

/* ==========================================
   AUTH / LOGIN
   ========================================== */
.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2rem;
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
  animation: fadeInUp 0.3s ease;
}

.auth-icon {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.auth-card h2 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
  letter-spacing: -0.025em;
}

.auth-card > p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-main);
  cursor: pointer;
  transition: all var(--transition);
}

.google-btn:active {
  background: var(--bg-hover);
  transform: scale(0.98);
}

.google-btn img {
  width: 16px;
  height: 16px;
}

.divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.25rem 0;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}

.auth-toggle {
  margin-top: 1.25rem;
  color: var(--text-secondary);
  font-size: 0.8125rem;
}

.auth-toggle span {
  color: var(--accent);
  cursor: pointer;
  font-weight: 600;
}

.email-auth {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.email-auth input {
  width: 100%;
  padding: 0.625rem 0.75rem;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 0.8125rem;
  font-family: var(--font-main);
  transition: all var(--transition);
  box-sizing: border-box;
}

.email-auth input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-subtle);
}

.email-auth .btn-primary { width: 100%; }

.password-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrap input { flex: 1; }

.forgot-btn {
  position: absolute;
  right: 0.5rem;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 0.75rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-family: var(--font-main);
  transition: all var(--transition);
  white-space: nowrap;
}

.forgot-btn:hover { background: var(--bg-hover); text-decoration: underline; }

.forgot-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.error-msg {
  margin-top: 0.75rem;
  padding: 0.625rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius);
  color: var(--danger);
  font-size: 0.75rem;
}

/* ==========================================
   PROFILE
   ========================================== */
.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2rem;
  max-width: 450px;
  margin: 0 auto;
  text-align: center;
  animation: fadeInUp 0.3s ease;
}

.profile-card > i {
  font-size: 3rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.profile-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  margin-bottom: 1rem;
  object-fit: cover;
}

.email {
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
}

.profile-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
}

.stat-box {
  text-align: center;
}

.stat-box .stat-value {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-box .stat-label {
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.125rem;
}

/* ==========================================
   ADMIN
   ========================================== */
.admin-tabs {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
  background: var(--bg-card);
  padding: 0.25rem;
  border-radius: 9999px;
  width: fit-content;
  border: 1px solid var(--border-subtle);
}

.admin-tab {
  padding: 0.5rem 1.25rem;
  background: transparent;
  border: none;
  border-radius: 9999px;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.8125rem;
  font-family: var(--font-main);
  cursor: pointer;
  transition: all var(--transition);
}

.admin-tab:active {
  color: var(--text-primary);
  background: var(--bg-hover);
}

.admin-tab.active {
  background: var(--accent);
  color: #131313;
}

.admin-list {
  max-width: 700px;
  margin: 0 auto;
}

.items-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.875rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  transition: all var(--transition);
  animation: fadeInUp 0.2s ease;
  animation-fill-mode: backwards;
}

.list-item:active {
  border-color: var(--border-light);
}

.item-info h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.125rem;
}

.item-info .badge {
  font-size: 0.6875rem;
}

.item-info p {
  color: var(--text-muted);
  font-size: 0.6875rem;
}

.item-actions {
  display: flex;
  gap: 0.375rem;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  font-family: var(--font-main);
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  text-decoration: none;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--accent);
  color: #131313;
}

.btn-primary:active {
  opacity: 0.85;
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:active {
  background: var(--bg-hover);
}

.btn-danger {
  padding: 0.375rem 0.75rem;
  background: var(--danger);
  border: none;
  border-radius: 9999px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-main);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-danger:active {
  background: #dc2626;
  transform: scale(0.95);
}

.mb-4 {
  margin-bottom: 1rem;
}

/* ==========================================
   LOADING & EMPTY STATES
   ========================================== */
.loading-state,
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  color: var(--text-muted);
  animation: fadeIn 0.3s ease;
}

.spinner {
  width: 32px;
  height: 32px;
  border: 2px solid var(--border-subtle);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-bottom: 0.75rem;
}

.loading-state i,
.empty-state i {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  opacity: 0.3;
  color: var(--accent);
}

/* ==========================================
   FORM ELEMENTS
   ========================================== */
.form-group {
  margin-bottom: 0.875rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.375rem;
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.625rem 0.75rem;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-size: 0.8125rem;
  font-family: var(--font-main);
  transition: all var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-subtle);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

/* ==========================================
   SCROLLBAR
   ========================================== */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--border-subtle);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:active {
  background: var(--border-light);
}

/* ==========================================
   MOBILE RESPONSIVE
   ========================================== */
@media (max-width: 768px) {
  .sidebar {
    opacity: 0;
    pointer-events: none;
  }

  .sidebar.open {
    opacity: 1;
    pointer-events: auto;
  }

  .sidebar-logo {
    width: 24px;
    height: 24px;
  }

  .mobile-toggle {
    display: flex;
  }

  .overlay {
    display: block;
  }

  .main-content {
    padding-bottom: 5rem;
  }

  .page {
    max-width: 100%;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .blogs-grid {
    grid-template-columns: 1fr;
  }

  .tool-detail-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .tool-meta-row {
    justify-content: center;
  }

  .narrator-info {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }

  .stats-grid {
    gap: 1.5rem;
    padding: 1rem 1.5rem;
  }

  .chat-form {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .main-content {
    padding: 0.75rem;
    padding-top: 3.5rem;
  }

  .page-header h2 {
    font-size: 1.5rem;
  }

  .username {
    font-size: 1.5rem;
  }

  .stats-grid {
    flex-direction: column;
    gap: 1rem;
  }

  .tool-detail-icon {
    width: 56px;
    height: 56px;
  }

  .screenshots-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   LIGHTBOX
   ========================================== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius);
  object-fit: contain;
  cursor: default;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lightbox-nav:disabled {
  opacity: 0.3;
  cursor: default;
}

.lightbox-nav:hover:not(:disabled) {
  background: rgba(255,255,255,0.25);
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

.lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  font-weight: 500;
}

/* ==========================================
   ABOUT PAGE
   ========================================== */
.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.about-links .btn {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: linkSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

.about-links .btn:nth-child(1) { animation-delay: 0.05s; }
.about-links .btn:nth-child(2) { animation-delay: 0.1s; }
.about-links .btn:nth-child(3) { animation-delay: 0.15s; }
.about-links .btn:nth-child(4) { animation-delay: 0.2s; }
.about-links .btn:nth-child(5) { animation-delay: 0.25s; }

@keyframes linkSlideIn {
  from { opacity: 0; transform: translateY(12px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.about-links .btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.about-links .btn:active {
  transform: scale(0.92);
}

.about-links .btn i {
  margin-right: 0.375rem;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.about-links .btn:hover i {
  transform: scale(1.3) rotate(-8deg);
}

/* Brand colors on hover */
.about-links a[href*="github"]:hover { background: #333; border-color: #333; color: #fff; }
.about-links a[href*="t.me"]:hover { background: #0088cc; border-color: #0088cc; color: #fff; }
.about-links a[href*="reddit"]:hover { background: #ff4500; border-color: #ff4500; color: #fff; }
.about-links a[href*="x.com"]:hover { background: #000; border-color: #000; color: #fff; }
.about-links a[href*="instagram"]:hover { background: #e1306c; border-color: #e1306c; color: #fff; }

/* ===== NOTIFICATIONS ===== */
.notifications-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.notification-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}

.notification-item:hover { border-color: var(--accent); background: var(--bg-hover); }

.notification-item.unread {
  border-color: var(--accent);
  background: var(--accent-subtle);
}

.notif-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  font-size: 0.875rem;
}

.notif-body { flex: 1; min-width: 0; }

.notif-text {
  font-size: 0.8125rem;
  color: var(--text-primary);
  margin-bottom: 0.125rem;
}

.notif-preview {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 0.125rem;
}

.notif-time {
  font-size: 0.6875rem;
  color: var(--text-muted);
}

.notif-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 0.375rem;
  box-shadow: 0 0 6px var(--accent);
}

/* ===== CONFIRM MODAL ===== */
.confirm-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  animation: fadeIn 0.2s ease;
}
.confirm-modal {
  background: #1a1a1a;
  padding: 2rem;
  border-radius: 1rem;
  width: 90%;
  max-width: 400px;
  text-align: center;
  animation: scaleIn 0.2s ease;
}
.confirm-icon {
  font-size: 2.5rem;
  color: var(--warning);
  margin-bottom: 1rem;
}
.confirm-message {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  line-height: 1.5;
}
.confirm-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}
.confirm-actions .btn {
  min-width: 100px;
  padding: 0.6rem 1.5rem;
}
@keyframes scaleIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== COMMANDS SECTION ===== */
.commands-section {
  margin-top: 1.5rem;
}
.commands-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.command-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  border-radius: 0.75rem;
  overflow: hidden;
}
.command-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.625rem 1rem;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid var(--border-subtle);
}
.command-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
}
.command-label i {
  font-size: 0.7rem;
  margin-right: 0.375rem;
}
.copy-btn {
  padding: 0.25rem 0.75rem !important;
  font-size: 0.75rem !important;
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid var(--border-subtle) !important;
  color: var(--text-secondary) !important;
  cursor: pointer;
  border-radius: 0.375rem !important;
}
.copy-btn:hover {
  background: rgba(255,255,255,0.1) !important;
  color: var(--text-primary) !important;
}
.command-code {
  margin: 0;
  padding: 1rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-primary);
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
  font-family: 'Fira Code', 'Cascadia Code', 'JetBrains Mono', monospace;
  background: rgba(0,0,0,0.3);
}
