/* Moltshop Core Style System - Luxury & Premium Design Edition */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Colors - Light Luxury Theme */
  --bg-primary: #f8fafc;
  --bg-secondary: rgba(255, 255, 255, 0.85);
  --bg-tertiary: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.9);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --accent: #6366f1;
  --accent-secondary: #ec4899;
  --accent-hover: #4f46e5;
  --accent-gradient: linear-gradient(135deg, #6366f1 0%, #d946ef 50%, #ec4899 100%);
  --border-color: rgba(226, 232, 240, 0.8);
  --shadow-sm: 0 2px 8px rgba(99, 102, 241, 0.04);
  --shadow-md: 0 8px 30px rgba(99, 102, 241, 0.06);
  --shadow-lg: 0 20px 40px rgba(99, 102, 241, 0.1);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.2);
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.6);
  --rating-color: #f59e0b;
}

[data-theme="dark"] {
  /* Colors - Cyberpunk Luxury Dark Theme */
  --bg-primary: #030712;
  --bg-secondary: rgba(17, 24, 39, 0.75);
  --bg-tertiary: #1f2937;
  --bg-card: rgba(15, 23, 42, 0.8);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent: #818cf8;
  --accent-secondary: #f472b6;
  --accent-hover: #6366f1;
  --accent-gradient: linear-gradient(135deg, #818cf8 0%, #c084fc 50%, #f472b6 100%);
  --border-color: rgba(255, 255, 255, 0.06);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 12px 36px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 32px 64px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 25px rgba(129, 140, 248, 0.15);
  --glass-bg: rgba(3, 7, 18, 0.75);
  --glass-border: rgba(255, 255, 255, 0.04);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: background-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease;
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

/* Cyberpunk Mesh Glow Background */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 600px;
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.12) 0%, rgba(244, 114, 182, 0.05) 40%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

/* Typography styling */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

h1 { font-size: 3rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

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

/* Sticky Header with Backdrop Blur */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--glass-border);
  transition: background 0.3s ease, border-bottom 0.3s ease;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 900;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  letter-spacing: -0.04em;
}

.logo span {
  font-weight: 500;
  background: linear-gradient(to right, var(--text-secondary), var(--text-muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: color 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s ease;
  display: inline-block;
}

nav a:hover, nav a.active {
  color: var(--accent);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.theme-toggle {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.theme-toggle:hover {
  background-color: var(--accent);
  color: #ffffff;
  transform: rotate(15deg) scale(1.05);
  box-shadow: var(--shadow-glow);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

/* Beautiful Premium buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  box-shadow: var(--shadow-sm);
}

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

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

.btn-primary:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
  filter: brightness(1.05);
}

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

.btn-secondary:hover {
  background-color: var(--border-color);
  transform: translateY(-2px);
}

/* Layout container */
main {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 2rem;
  min-height: calc(100vh - 350px);
}

/* Hero Section with high-end Typography styling */
.hero {
  text-align: center;
  margin-bottom: 4rem;
  padding: 5rem 2rem;
  background: rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(5px);
  border-radius: 24px;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: 3.85rem;
  margin-bottom: 1.25rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.04em;
}

.hero p {
  color: var(--text-secondary);
  font-size: 1.25rem;
  max-width: 650px;
  margin: 0 auto 2rem;
  font-weight: 500;
}

/* Search and Filters Controls layout */
.controls-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.search-box {
  position: relative;
  max-width: 350px;
  width: 100%;
}

.search-box input {
  width: 100%;
  padding: 0.8rem 1.2rem 0.8rem 2.8rem;
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
  border-radius: 12px;
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  font-family: inherit;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.search-box input:focus {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
}

.search-box svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 18px;
  height: 18px;
}

.category-filters {
  display: flex;
  gap: 0.75rem;
}

.filter-btn {
  padding: 0.6rem 1.25rem;
  border-radius: 30px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--accent-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

/* Beautiful Cards Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.5rem;
  margin-bottom: 5rem;
}

.card {
  background-color: var(--bg-card);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: rgba(99, 102, 241, 0.25);
}

.card-img-container {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover .card-img {
  transform: scale(1.06);
}

.badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.badge-digital {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.badge-physical {
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
}

.card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-weight: 500;
}

.card-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.card-title a {
  transition: color 0.2s ease;
}

.card-title a:hover {
  color: var(--accent);
}

.card-excerpt {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
  font-weight: 400;
}

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

.rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--rating-color);
  font-weight: 800;
  font-size: 0.95rem;
}

.read-more {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: all 0.25s ease;
}

.read-more svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.read-more:hover {
  color: var(--accent-secondary);
}

.read-more:hover svg {
  transform: translateX(4px);
}

/* Static pages premium layout templates */
.page-container {
  max-width: 850px;
  margin: 4rem auto;
  background-color: var(--bg-card);
  backdrop-filter: blur(10px);
  padding: 4rem;
  border-radius: 28px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.page-title {
  font-size: 3rem;
  margin-bottom: 2rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.03em;
}

.page-content p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.page-content h2 {
  font-size: 1.8rem;
  margin: 3rem 0 1.25rem;
  letter-spacing: -0.02em;
}

.page-content ul, .page-content ol {
  margin: 0 0 2rem 1.5rem;
  color: var(--text-secondary);
}

.page-content li {
  margin-bottom: 0.75rem;
}

/* Contact Grid Form Design */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

@media(max-width: 850px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .page-container {
    padding: 2.5rem 1.5rem;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
}

.contact-info p {
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.contact-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background-color: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.9rem 1.25rem;
  border: 1px solid var(--border-color);
  background-color: var(--bg-primary);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm) inset;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--accent);
  box-shadow: var(--shadow-glow);
  background-color: var(--bg-card);
}

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

/* Authentication Lock Overlay screen styling */
#loginScreen {
  max-width: 420px;
  margin: 6rem auto;
  padding: 4rem 3rem;
  background: var(--bg-card);
  backdrop-filter: blur(15px);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  text-align: center;
  transition: transform 0.3s ease;
}

/* Admin Dashboard layout design */
.admin-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.admin-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

/* WYSIWYG Rich Editor Tool panel */
.editor-toolbar {
  display: flex;
  gap: 0.35rem;
  padding: 0.6rem;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-bottom: none;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  flex-wrap: wrap;
}

.editor-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.editor-btn:hover {
  background-color: var(--border-color);
  color: var(--text-primary);
}

.editor-content {
  min-height: 350px;
  max-height: 550px;
  overflow-y: auto;
  border: 1px solid var(--border-color);
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  padding: 1.5rem;
  background-color: var(--bg-primary);
  outline: none;
  font-size: 1.05rem;
  line-height: 1.8;
  transition: border-color 0.2s ease;
}

.editor-content:focus {
  border-color: var(--accent);
}

.editor-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.5rem 0;
  box-shadow: var(--shadow-md);
  display: block;
}

.editor-content p {
  margin-bottom: 1rem;
}

/* Post Detail page design */
.post-detail {
  max-width: 850px;
  margin: 3rem auto;
}

.post-header {
  text-align: center;
  margin-bottom: 3rem;
}

.post-category-badge {
  display: inline-block;
  padding: 0.4rem 1.25rem;
  border-radius: 30px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.post-title-main {
  font-size: 3.5rem;
  margin-bottom: 1.25rem;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.post-meta-details {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.post-rating-large {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--bg-tertiary);
  padding: 0.4rem 1rem;
  border-radius: 30px;
  color: var(--rating-color);
  font-weight: 800;
  border: 1px solid var(--border-color);
}

.post-hero-img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 28px;
  margin-bottom: 4rem;
  box-shadow: var(--shadow-md);
}

.post-body {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--text-primary);
}

.post-body p {
  margin-bottom: 1.75rem;
}

.post-body h2 {
  font-size: 2rem;
  margin: 3rem 0 1.5rem;
  letter-spacing: -0.03em;
}

.post-body img {
  max-width: 100%;
  border-radius: 16px;
  margin: 2.5rem 0;
  box-shadow: var(--shadow-lg);
}

/* Admin Posts Listing Table design */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
}

.admin-table th, .admin-table td {
  padding: 1.25rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}

.admin-table th {
  background-color: var(--bg-tertiary);
  font-weight: 700;
  color: var(--text-primary);
}

.admin-table tr:last-child td {
  border-bottom: none;
}

/* Premium Footer */
footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 5rem 2rem 3rem;
  margin-top: 7rem;
  backdrop-filter: blur(10px);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr;
  gap: 5rem;
}

@media(max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .header-container {
    flex-direction: column;
    gap: 1.25rem;
  }
}

.footer-brand h2 {
  margin-bottom: 1.25rem;
  letter-spacing: -0.03em;
}

.footer-brand p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  max-width: 380px;
}

.footer-links h4 {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.9rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.25s ease;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 3px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 4rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Responsive Toast Banner notification */
.toast {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  background-color: var(--bg-card);
  backdrop-filter: blur(15px);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  border-left: 5px solid var(--accent);
  padding: 1.25rem 2rem;
  border-radius: 14px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 1rem;
  transform: translateY(200%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  font-weight: 600;
}

.toast.show {
  transform: translateY(0);
}

/* Custom Scrollbar for Luxury Theme */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 5px;
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Reading Progress Bar indicator */
.progress-bar-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 10000;
}
#scrollProgress {
  height: 100%;
  width: 0%;
  background: var(--accent-gradient);
  transition: width 0.1s ease;
  box-shadow: 0 0 10px rgba(129, 140, 248, 0.5);
}

/* Skeleton Loader UI */
.skeleton {
  animation: skeleton-loading 1.5s infinite linear;
  background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--border-color) 50%, var(--bg-tertiary) 75%);
  background-size: 200% 100%;
}
@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-card {
  height: 400px;
  border-radius: 24px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-card);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.skeleton-img {
  width: 100%;
  height: 180px;
  border-radius: 16px;
}
.skeleton-title {
  height: 24px;
  border-radius: 4px;
  width: 80%;
}
.skeleton-text {
  height: 16px;
  border-radius: 4px;
  width: 100%;
}

/* Interactive Star Rating Selector */
.star-rating-selector {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 0.35rem;
  font-size: 2rem;
  cursor: pointer;
}
.star-rating-selector input {
  display: none;
}
.star-rating-selector label {
  color: var(--text-muted);
  transition: all 0.2s ease;
}
.star-rating-selector label:hover,
.star-rating-selector label:hover ~ label,
.star-rating-selector input:checked ~ label {
  color: var(--rating-color);
  transform: scale(1.15);
}

/* Dashboard Analytics Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.stat-val {
  font-size: 2rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

/* Share Page float buttons */
.share-container {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

/* Sticky Sidebar layout on post.html */
.post-layout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

.post-sidebar {
  display: none; /* Hidden on mobile and tabs */
}

@media (min-width: 992px) {
  .post-layout-grid {
    grid-template-columns: 2.6fr 1.1fr;
  }
  .post-sidebar {
    display: block; /* Visible only on desktop */
    position: sticky;
    top: 100px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
  }
  .post-sidebar-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
  }
  .post-sidebar-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
  }
}


