/* =============================================
   S4C – Space for Change | Enhancements CSS
   Loading Screen · Animations · Extra Polish
   ============================================= */

/* ─── Loading / Splash Screen ─── */
#splash-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: splashPop 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes splashPop {
  from { opacity: 0; transform: scale(0.7); }
  to   { opacity: 1; transform: scale(1); }
}

.splash-logo-wrap img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(245,200,0,0.4));
  animation: splashGlow 2s ease-in-out infinite alternate;
}

@keyframes splashGlow {
  from { filter: drop-shadow(0 0 20px rgba(245,200,0,0.3)); }
  to   { filter: drop-shadow(0 0 60px rgba(245,200,0,0.7)); }
}

.splash-logo-fallback {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  background: linear-gradient(135deg, #1a1a1a, #222);
  border: 2px solid rgba(245,200,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: 900;
  color: var(--yellow);
  animation: splashGlow 2s ease-in-out infinite alternate;
}

.splash-title {
  font-family: 'Montserrat-BoldItalic', sans-serif;
  font-size: 2.4rem;
  font-weight: normal;
  font-style: normal;
  color: var(--yellow);
  letter-spacing: 0.05em;
  text-align: center;
}

.splash-sub {
  font-size: 0.85rem;
  color: var(--white-60);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-align: center;
}

.splash-bar-wrap {
  width: 220px;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}

.splash-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--yellow), var(--red));
  border-radius: 2px;
  animation: loadBar 1.6s ease forwards 0.3s;
}

@keyframes loadBar {
  0%   { width: 0%; }
  30%  { width: 40%; }
  70%  { width: 75%; }
  100% { width: 100%; }
}

.splash-tagline {
  font-size: 0.9rem;
  color: var(--white-30);
  font-style: italic;
  animation: fadeIn 1s ease 0.5s both;
}

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

/* ─── Back to Top Button ─── */
#back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 800;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--yellow), #e8a800);
  border: none;
  color: var(--black);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(245,200,0,0.4);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

#back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(245,200,0,0.6);
}

/* ─── Tooltip on nav items ─── */
.nav-links li { position: relative; }

/* ─── Page Transition Overlay ─── */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--yellow);
  z-index: 5000;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.76, 0, 0.24, 1);
  pointer-events: none;
}

.page-transition.entering { transform: translateX(0); }
.page-transition.leaving  { transform: translateX(100%); }

/* ─── Animated Number Counter ─── */
.stat-card {
  text-align: center;
  padding: 40px 24px;
  background: var(--dark-surface);
  border: var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--yellow), var(--red));
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.stat-card:hover { transform: translateY(-6px); border-color: rgba(245,200,0,0.25); }
.stat-card:hover::after { transform: scaleX(1); }

.stat-card .num {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card .label {
  font-size: 0.85rem;
  color: var(--white-60);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ─── CSS Art: Therapeutic VR Room ─── */
.vr-room-art {
  width: 100%;
  height: 65vh;
  min-height: 480px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 30%, #0d1f3c 0%, #050d1a 60%, #020810 100%);
}

.vr-room-art .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,1) 0%, rgba(8,8,8,0.4) 45%, transparent 100%);
  z-index: 10;
}

/* Ceiling stars */
.vr-stars {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.vr-star {
  position: absolute;
  border-radius: 50%;
  background: white;
  animation: twinkle linear infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.5); }
}

/* Glowing orbs */
.vr-orb {
  position: absolute;
  border-radius: 50%;
  animation: orbFloat ease-in-out infinite alternate;
}

@keyframes orbFloat {
  from { transform: translateY(0) scale(1); }
  to   { transform: translateY(-20px) scale(1.05); }
}

.vr-orb-1 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(80,120,255,0.15) 0%, transparent 70%);
  top: 10%; left: 20%;
  animation-duration: 5s;
}

.vr-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(100,200,180,0.1) 0%, transparent 70%);
  top: 5%; right: 15%;
  animation-duration: 7s;
  animation-delay: -2s;
}

.vr-orb-3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(200,100,255,0.1) 0%, transparent 70%);
  bottom: 30%; left: 40%;
  animation-duration: 4s;
  animation-delay: -1s;
}

/* VR headset icon (CSS art) */
.vr-headset {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  z-index: 5;
  animation: headsetFloat 4s ease-in-out infinite;
}

@keyframes headsetFloat {
  0%, 100% { transform: translate(-50%, -60%); }
  50%       { transform: translate(-50%, -66%); }
}

.vr-headset-body {
  width: 160px;
  height: 80px;
  background: linear-gradient(135deg, #1a2a4a, #0d1a30);
  border: 2px solid rgba(80,140,255,0.4);
  border-radius: 20px;
  box-shadow:
    0 0 40px rgba(80,140,255,0.3),
    inset 0 0 20px rgba(80,140,255,0.1);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.vr-lens {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(100,160,255,0.6), rgba(40,80,200,0.3));
  border: 2px solid rgba(100,160,255,0.5);
  box-shadow: 0 0 20px rgba(80,140,255,0.5);
  animation: lensGlow 2s ease-in-out infinite alternate;
}

@keyframes lensGlow {
  from { box-shadow: 0 0 10px rgba(80,140,255,0.4); }
  to   { box-shadow: 0 0 30px rgba(80,140,255,0.8); }
}

.vr-band {
  position: absolute;
  top: -18px;
  left: 20px;
  right: 20px;
  height: 18px;
  background: linear-gradient(135deg, #0d1a30, #1a2a4a);
  border: 2px solid rgba(80,140,255,0.3);
  border-bottom: none;
  border-radius: 20px 20px 0 0;
}

/* Horizontal scan line */
.vr-scanline {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

.vr-scanline::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(80,200,255,0.3), transparent);
  animation: scan 4s linear infinite;
}

@keyframes scan {
  from { top: 0%; }
  to   { top: 100%; }
}

/* ─── CSS Art: Art & Emotion Lounge ─── */
.art-lounge-art {
  width: 100%;
  height: 65vh;
  min-height: 480px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse at 30% 40%, #2a1500 0%, #1a0c00 40%, #0d0600 100%);
}

.art-lounge-art .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,1) 0%, rgba(8,8,8,0.4) 45%, transparent 100%);
  z-index: 10;
}

/* Fairy lights strings */
.fairy-string {
  position: absolute;
  height: 1px;
  background: rgba(255,220,80,0.2);
  top: 8%;
  z-index: 2;
}

.fairy-string-1 { left: 0; right: 0; }
.fairy-string-2 { left: 0; right: 0; top: 14%; }

.fairy-light {
  position: absolute;
  width: 6px;
  height: 8px;
  border-radius: 50% 50% 40% 40%;
  top: -3px;
  animation: fairyBlink ease-in-out infinite alternate;
}

@keyframes fairyBlink {
  from { opacity: 0.3; transform: scale(0.8); }
  to   { opacity: 1;   transform: scale(1.2); }
}

/* Table elements */
.art-table {
  position: absolute;
  bottom: 28%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 20px;
  align-items: flex-end;
}

.art-sketchbook {
  width: 90px;
  height: 110px;
  background: linear-gradient(135deg, #f5f0e8, #e8e0d0);
  border-radius: 4px 8px 8px 4px;
  border: 1px solid rgba(200,180,140,0.5);
  box-shadow: 4px 4px 12px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
}

.art-sketchbook::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 10px;
  background: linear-gradient(135deg, #c0b090, #a09070);
  border-right: 1px solid rgba(0,0,0,0.2);
}

.art-sketchbook::after {
  content: '';
  position: absolute;
  top: 25%; left: 18%; right: 10%;
  height: 2px;
  background: rgba(150,120,80,0.3);
  box-shadow: 0 14px 0 rgba(150,120,80,0.3), 0 28px 0 rgba(150,120,80,0.3),
              0 42px 0 rgba(150,120,80,0.3), 0 56px 0 rgba(150,120,80,0.3);
}

.art-coffee {
  width: 55px;
  height: 55px;
  position: relative;
}

.art-cup {
  width: 50px;
  height: 40px;
  background: linear-gradient(135deg, #5c3d1e, #3d2510);
  border-radius: 0 0 14px 14px;
  position: relative;
  box-shadow: 2px 4px 12px rgba(0,0,0,0.4);
}

.art-cup::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 10px;
  background: linear-gradient(180deg, #6b4820, #5c3d1e);
  border-radius: 4px 4px 0 0;
}

.art-cup-handle {
  position: absolute;
  right: -14px;
  top: 8px;
  width: 14px;
  height: 22px;
  border: 3px solid #5c3d1e;
  border-radius: 0 50% 50% 0;
}

.art-steam {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
}

.steam-line {
  display: inline-block;
  width: 2px;
  height: 12px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  margin: 0 2px;
  animation: steamRise 1.5s ease-in-out infinite;
}

.steam-line:nth-child(2) { animation-delay: 0.3s; height: 16px; }
.steam-line:nth-child(3) { animation-delay: 0.6s; }

@keyframes steamRise {
  0%, 100% { opacity: 0; transform: translateY(0) scaleX(1); }
  50%       { opacity: 0.7; transform: translateY(-10px) scaleX(1.3); }
}

.art-palette {
  width: 70px;
  height: 50px;
  background: linear-gradient(135deg, #f5f0e8, #e0dace);
  border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%;
  position: relative;
  box-shadow: 2px 4px 12px rgba(0,0,0,0.3);
}

.paint-dot {
  position: absolute;
  border-radius: 50%;
  width: 10px;
  height: 10px;
}

/* Warm glow backdrop lights */
.lounge-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: glowPulse ease-in-out infinite alternate;
}

@keyframes glowPulse {
  from { opacity: 0.4; }
  to   { opacity: 0.8; }
}

.lounge-glow-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(245,180,0,0.12) 0%, transparent 70%);
  top: 0; left: 10%;
  animation-duration: 4s;
}

.lounge-glow-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(232,64,64,0.08) 0%, transparent 70%);
  top: 5%; right: 15%;
  animation-duration: 6s;
}

/* ─── Founder Card Enhanced ─── */
.founder-blob-wrapper {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1.1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  perspective: 1000px;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.founder-blob-bg {
  position: absolute;
  width: 90%;
  height: 90%;
  background: conic-gradient(
    var(--yellow) 0deg,
    var(--red) 120deg,
    rgba(245,200,0,0.3) 240deg,
    var(--yellow) 360deg
  );
  border-radius: 40% 60% 60% 40% / 50% 30% 70% 50%;
  transform: translate(16px, 16px);
  z-index: 1;
  opacity: 0.95;
  filter: blur(1px);
  animation: blobMorph 10s ease-in-out infinite alternate;
}

.founder-blob-frame {
  position: relative;
  width: 90%;
  height: 90%;
  border-radius: 40% 60% 60% 40% / 50% 30% 70% 50%;
  border: 3px solid var(--white);
  overflow: hidden;
  z-index: 2;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  animation: blobMorph 10s ease-in-out infinite alternate;
}

.founder-blob-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.5s ease;
}

.founder-blob-wrapper:hover {
  transform: translateY(-8px);
}

.founder-blob-wrapper:hover .founder-blob-frame img {
  transform: scale(1.08);
}

.founder-blob-outline {
  position: absolute;
  width: 95%;
  height: 95%;
  border-radius: 45% 55% 50% 50% / 40% 45% 55% 60%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  z-index: 3;
  pointer-events: none;
  animation: blobOutlineSpin 24s linear infinite;
}

.founder-initials-large {
  font-size: 4rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--yellow), var(--red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

/* ─── About Page Custom Background & Logo ─── */
#about-page {
  position: relative;
  /* تم إزالة background-attachment: fixed لأنه لا يدعم Safari/iOS وNetlify */
  /* نستخدم pseudo-element بدلاً منه للتوافق الكامل مع جميع المتصفحات */
}

#about-page::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(8, 8, 8, 0.82), rgba(8, 8, 8, 0.88)), url('../images/business_elevated.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
}

#about-page > * {
  position: relative;
  z-index: 1;
}

.about-logo-display {
  transition: border-color 0.5s ease, box-shadow 0.5s ease, transform 0.5s ease;
  cursor: pointer;
  perspective: 1000px;
}

.about-logo-display::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(245, 200, 0, 0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

.about-logo-display:hover::after {
  opacity: 1;
}

.about-logo-display img {
  width: 240px;
  height: 240px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), 
              background-color 0.5s ease, 
              border-color 0.5s ease, 
              box-shadow 0.5s ease;
}

.about-logo-display:hover img {
  transform: scale(1.05) translateZ(20px);
  background-color: rgba(245, 200, 0, 0.03);
  border-color: rgba(245, 200, 0, 0.25);
  box-shadow: 0 15px 35px rgba(245, 200, 0, 0.15);
}

/* ─── Timeline for Founder ─── */
.timeline {
  position: relative;
  padding-left: 32px;
  margin-top: 32px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--yellow), var(--red), rgba(255,255,255,0.1));
}

.timeline-item {
  position: relative;
  padding-bottom: 28px;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -38px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--yellow);
  border: 3px solid var(--black);
  box-shadow: 0 0 12px rgba(245,200,0,0.5);
}

.timeline-item h4 {
  color: var(--yellow);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.timeline-item .year {
  font-size: 0.72rem;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
  display: block;
}

.timeline-item p {
  color: var(--white-60);
  font-size: 0.85rem;
  line-height: 1.6;
}

/* ─── Project Detail Stats ─── */
.project-stats-row {
  display: flex;
  gap: 24px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.proj-stat {
  flex: 1;
  min-width: 120px;
  text-align: center;
  background: var(--dark-surface);
  border: var(--border);
  border-radius: var(--radius);
  padding: 20px 16px;
  transition: var(--transition);
}

.proj-stat:hover {
  border-color: rgba(245,200,0,0.3);
  transform: translateY(-4px);
}

.proj-stat .ps-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
}

.proj-stat .ps-label {
  font-size: 0.72rem;
  color: var(--white-60);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 6px;
}

/* ─── Marquee / Scrolling Text ─── */
.marquee-wrap {
  overflow: hidden;
  white-space: nowrap;
  padding: 20px 0;
  border-top: var(--border);
  border-bottom: var(--border);
  background: var(--dark-surface);
}

.marquee-inner {
  display: inline-block;
  animation: marqueeScroll 30s linear infinite;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: 48px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-30);
}

.marquee-item span.dot {
  width: 6px;
  height: 6px;
  background: var(--yellow);
  border-radius: 50%;
  display: inline-block;
}

/* ─── Skill/Expertise Bars ─── */
.skill-bar-wrap { margin-bottom: 20px; }

.skill-bar-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 0.85rem;
}

.skill-bar-header span:first-child { color: var(--white); font-weight: 600; }
.skill-bar-header span:last-child  { color: var(--yellow); font-weight: 700; }

.skill-bar-track {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 3px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--yellow), var(--red));
  width: 0%;
  transition: width 1.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.skill-bar-fill.animated { width: var(--target-width); }

/* ─── Testimonial / Quote block ─── */
.testimonial-strip {
  background: var(--dark-surface);
  border: var(--border);
  border-left: 4px solid var(--yellow);
  border-radius: var(--radius);
  padding: 32px 36px;
  position: relative;
  margin: 32px 0;
}

.testimonial-strip::before {
  content: '"';
  font-family: Georgia, serif;
  font-size: 6rem;
  color: var(--yellow);
  opacity: 0.15;
  position: absolute;
  top: -10px;
  left: 16px;
  line-height: 1;
}

.testimonial-strip p {
  font-size: 1.05rem;
  color: var(--white);
  font-style: italic;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.testimonial-strip .author {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--yellow);
  font-weight: 700;
  font-style: normal;
  letter-spacing: 0.05em;
}

/* ─── Image hover overlay ─── */
.img-hover-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.img-hover-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.img-hover-wrap .img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.8), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  padding: 24px;
}

.img-hover-wrap:hover .img-overlay { opacity: 1; }

/* ─── Cookie / Notification Toast ─── */
#toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--dark-surface);
  border: 1px solid rgba(245,200,0,0.3);
  border-radius: var(--radius);
  padding: 14px 24px;
  font-size: 0.88rem;
  color: var(--white);
  z-index: 2000;
  opacity: 0;
  transition: all 0.4s ease;
  white-space: nowrap;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ─── Section dividers ─── */
.wave-divider {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  background: transparent;
}

.wave-divider svg {
  display: block;
  width: 100%;
}

/* ─── Animated hero arrow icon ─── */
.arrow-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

.btn:hover .arrow-icon { transform: translateX(5px); }

/* ─── Responsive extras ─── */
/* ─── Responsive extras ─── */
@media (max-width: 600px) {
  .splash-title { font-size: 1.8rem; }
  .founder-blob-wrapper { max-width: 240px; }
  .founder-initials-large { font-size: 3rem; }
  .project-stats-row { gap: 12px; }
  .proj-stat { padding: 14px 10px; }
  .proj-stat .ps-num { font-size: 1.5rem; }
  #back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
}

/* ─── Restructured Split Grid Hero styling ─── */
#hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 0 60px; /* offset for fixed navbar */
  min-height: 100vh;
  overflow: hidden;
  background: var(--black);
  position: relative;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

/* Match typography details of model cover */
#hero .hero-title {
  font-family: 'Montserrat-BoldItalic', sans-serif !important;
  font-size: clamp(2rem, 4.5vw, 3.8rem) !important;
  font-weight: normal !important;
  font-style: normal !important;
  line-height: 1.15 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 16px !important;
  animation: slideUp 0.8s ease 0.1s both;
}

#hero .hero-title .line1 {
  color: var(--white);
  display: block;
}

#hero .hero-title .line2 {
  display: block;
  background: linear-gradient(135deg, var(--yellow) 0%, #e8a800 50%, var(--red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#hero .hero-tagline {
  font-size: clamp(1.05rem, 2vw, 1.25rem) !important;
  color: var(--white-60) !important;
  font-weight: 400 !important;
  margin-bottom: 24px !important;
  animation: slideUp 0.8s ease 0.2s both;
}

#hero .hero-quote {
  font-size: 1.05rem !important;
  color: rgba(255, 255, 255, 0.7) !important;
  font-weight: 500 !important;
  margin-bottom: 36px !important;
  padding-left: 16px !important;
  border-left: 3px solid var(--yellow) !important;
  animation: slideUp 0.8s ease 0.3s both;
}

/* Stats integration on the left side */
.hero-stats-left {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  animation: slideUp 0.8s ease 0.5s both;
}

.hero-stats-left .hero-stat {
  text-align: left;
}

.hero-stats-left .hero-stat .number {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
}

.hero-stats-left .hero-stat .label {
  font-size: 0.75rem;
  color: var(--white-60);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* Organic Blob Frames matching the cover image layout */
.hero-blob-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1.1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: slideUp 0.8s ease 0.3s both;
}

.hero-blob-bg {
  position: absolute;
  width: 90%;
  height: 90%;
  background: var(--yellow);
  border-radius: 40% 60% 60% 40% / 50% 30% 70% 50%;
  transform: translate(24px, 24px);
  z-index: 1;
  opacity: 0.95;
  filter: blur(1px);
  animation: blobMorph 10s ease-in-out infinite alternate;
}

.hero-blob-frame {
  position: relative;
  width: 90%;
  height: 90%;
  border-radius: 40% 60% 60% 40% / 50% 30% 70% 50%;
  border: 3px solid var(--white);
  overflow: hidden;
  z-index: 2;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
  animation: blobMorph 10s ease-in-out infinite alternate;
}

.hero-blob-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.5s ease;
}

.hero-blob-frame:hover img {
  transform: scale(1.08);
}

.hero-blob-outline {
  position: absolute;
  width: 95%;
  height: 95%;
  border-radius: 45% 55% 50% 50% / 40% 45% 55% 60%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  z-index: 3;
  pointer-events: none;
  animation: blobOutlineSpin 24s linear infinite;
}

@keyframes blobMorph {
  0% {
    border-radius: 55% 45% 60% 40% / 45% 60% 40% 55%;
  }
  50% {
    border-radius: 45% 55% 40% 60% / 55% 40% 60% 45%;
  }
  100% {
    border-radius: 55% 45% 60% 40% / 45% 60% 40% 55%;
  }
}

@keyframes blobOutlineSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Floating Background SVG Icons */
.hero-floating-icon {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  opacity: 0.15;
  filter: drop-shadow(0 0 10px rgba(245, 200, 0, 0.3));
}

.icon-rocket {
  top: 18%;
  right: 48%;
  animation: floatIconRocket 6s ease-in-out infinite alternate;
}

.icon-chat {
  bottom: 22%;
  left: 42%;
  animation: floatIconChat 8s ease-in-out infinite alternate;
}

.icon-target {
  bottom: 12%;
  right: 8%;
  animation: floatIconTarget 7s ease-in-out infinite alternate;
}

@keyframes floatIconRocket {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(-20px) rotate(15deg);
  }
}

@keyframes floatIconChat {
  0% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(-15px) scale(1.05);
  }
}

@keyframes floatIconTarget {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(-12px) rotate(-10deg);
  }
}

/* ─── About page logo rounded corners custom fixes ─── */
.about-logo-display {
  border-radius: var(--radius-lg) !important;
  overflow: hidden !important;
}

.about-logo-display img {
  border-radius: 24px !important;
  background: rgba(255, 255, 255, 0.02) !important;
}

/* ─── Responsive adjustments ─── */
@media (max-width: 900px) {
  #hero {
    padding-top: 120px;
    padding-bottom: 60px;
    min-height: auto;
  }
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 0 24px;
  }
  .hero-left {
    align-items: center;
    text-align: center;
  }
  #hero .hero-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem) !important;
  }
  #hero .hero-quote {
    padding-left: 0 !important;
    border-left: none !important;
    border-top: 1.5px solid var(--yellow) !important;
    border-bottom: 1.5px solid var(--yellow) !important;
    padding: 10px 0 !important;
  }
  .hero-stats-left {
    justify-content: center;
    width: 100%;
  }
  .hero-blob-wrapper {
    max-width: 420px;
  }
}

@media (max-width: 600px) {
  .hero-stats-left {
    gap: 20px;
  }
  .hero-stats-left .hero-stat .number {
    font-size: 2rem;
  }
  .hero-stats-left .hero-stat .label {
    font-size: 0.65rem;
  }
}


/* ═══════════════════════════════════════════════════════════════
   ABOUT PAGE — ANIMATED LOGO BLOB CARD
   (Mirrors the Founder card exactly)
═══════════════════════════════════════════════════════════════ */

.about-logo-wrapper {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1.1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  perspective: 1000px;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-logo-bg {
  position: absolute;
  width: 90%;
  height: 90%;
  background: conic-gradient(
    var(--yellow) 0deg,
    var(--red) 120deg,
    rgba(245,200,0,0.3) 240deg,
    var(--yellow) 360deg
  );
  border-radius: 40% 60% 60% 40% / 50% 30% 70% 50%;
  transform: translate(16px, 16px);
  z-index: 1;
  opacity: 0.95;
  filter: blur(1px);
  animation: blobMorph 10s ease-in-out infinite alternate;
}

.about-logo-frame {
  position: relative;
  width: 90%;
  height: 90%;
  border-radius: 40% 60% 60% 40% / 50% 30% 70% 50%;
  border: 3px solid var(--white);
  overflow: hidden;
  z-index: 2;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  animation: blobMorph 10s ease-in-out infinite alternate;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8,8,8,0.85);
}

.about-logo-frame img {
  width: 88%;
  height: 88%;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.5s ease;
  filter: drop-shadow(0 0 24px rgba(245,200,0,0.3));
}

.about-logo-wrapper:hover {
  transform: translateY(-8px);
}

.about-logo-wrapper:hover .about-logo-frame img {
  transform: scale(1.06);
  filter: drop-shadow(0 0 40px rgba(245,200,0,0.55));
}

.about-logo-outline {
  position: absolute;
  width: 95%;
  height: 95%;
  border-radius: 45% 55% 50% 50% / 40% 45% 55% 60%;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  z-index: 3;
  pointer-events: none;
  animation: blobOutlineSpin 24s linear infinite;
}


/* ═══════════════════════════════════════════════════════════════
   GALLERY & BLOG TABS PER PROJECT PAGE
═══════════════════════════════════════════════════════════════ */

.gallery-blog-tabs {
  display: inline-flex;
  background: var(--dark-surface);
  border: var(--border);
  border-radius: 50px;
  padding: 5px;
  gap: 4px;
  margin: 0 auto;
}

.gtab-btn {
  background: transparent;
  border: none;
  color: var(--white-60);
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 28px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.03em;
}

.gtab-btn:hover { color: var(--yellow); }

.gtab-btn.active {
  background: linear-gradient(135deg, var(--yellow), #e8a800);
  color: var(--black);
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(245,200,0,0.25);
}

.proj-tab-content {
  display: none;
  animation: fadeInPage 0.5s ease forwards;
}

.proj-tab-content.active { display: block; }

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  padding: 8px 0;
}

.gallery-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: var(--border);
  cursor: pointer;
  transition: var(--transition);
  background: var(--dark-card);
}

.gallery-card:hover {
  border-color: rgba(245,200,0,0.35);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 30px rgba(245,200,0,0.1);
}

.gallery-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 70%;
  overflow: hidden;
}

.gallery-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-card:hover .gallery-img-wrap img {
  transform: scale(1.07);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.92) 0%, rgba(8,8,8,0.3) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 20px;
  gap: 10px;
}

.gallery-card:hover .gallery-card-overlay { opacity: 1; }

.gallery-zoom-icon {
  font-size: 1.8rem;
  margin-bottom: 4px;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-zoom-icon { transform: scale(1); }

.gallery-caption {
  color: var(--white);
  font-size: 0.82rem;
  text-align: center;
  font-weight: 500;
  line-height: 1.4;
}

/* Blog Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  padding: 8px 0;
}

.blog-card {
  background: var(--dark-card);
  border: var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: rgba(245,200,0,0.3);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4), var(--glow-yellow);
}

.blog-card-img {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.blog-card-info {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-meta {
  display: flex;
  gap: 16px;
  font-size: 0.75rem;
  color: var(--white-30);
  flex-wrap: wrap;
}

.blog-card-title {
  color: var(--yellow);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.blog-card-summary {
  color: var(--white-60);
  font-size: 0.88rem;
  line-height: 1.6;
  flex: 1;
}

.blog-readmore {
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-block;
  margin-top: 4px;
  transition: transform 0.25s ease;
}

.blog-card:hover .blog-readmore { transform: translateX(5px); }

.tab-empty-msg {
  text-align: center;
  color: var(--white-30);
  padding: 60px 20px;
  font-size: 0.95rem;
  font-style: italic;
}


/* ═══════════════════════════════════════════════════════════════
   LIGHTBOX MODAL
═══════════════════════════════════════════════════════════════ */

.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 8000;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  padding: 40px;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-content {
  max-width: 1100px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.lightbox-content img {
  max-height: 80vh;
  width: auto;
  max-width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0,0,0,0.8);
  animation: scaleIn 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.88); }
  to   { opacity: 1; transform: scale(1); }
}

.lightbox-caption {
  color: var(--white-60);
  font-size: 0.9rem;
  text-align: center;
  font-style: italic;
}

.modal-close-btn {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 8100;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.modal-close-btn:hover {
  background: rgba(232,64,64,0.3);
  border-color: var(--red);
  color: var(--white);
  transform: rotate(90deg);
}


/* ═══════════════════════════════════════════════════════════════
   BLOG ARTICLE READER MODAL
═══════════════════════════════════════════════════════════════ */

.reader-modal {
  position: fixed;
  inset: 0;
  z-index: 7500;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  overflow-y: auto;
  padding: 80px 24px 40px;
}

.reader-modal.active {
  opacity: 1;
  pointer-events: all;
}

.reader-modal-container {
  background: var(--dark-surface);
  border: var(--border);
  border-radius: var(--radius-lg);
  max-width: 820px;
  width: 100%;
  box-shadow: 0 30px 80px rgba(0,0,0,0.7);
  animation: scaleIn 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
  overflow: hidden;
}

.reader-modal-content {
  padding: 48px;
}

.reader-header { margin-bottom: 32px; }

.reader-meta {
  font-size: 0.78rem;
  color: var(--white-30);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.reader-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--yellow);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
}

.reader-feature-img {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 20px;
}

.reader-feature-img img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.reader-feature-img:hover img { transform: scale(1.02); }

.reader-body {
  color: var(--white-60);
  line-height: 1.9;
  font-size: 1rem;
}

.reader-body h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin: 28px 0 12px;
}

.reader-body h4 {
  color: var(--yellow);
  font-size: 1.05rem;
  margin: 20px 0 8px;
}

.reader-body p { margin-bottom: 16px; }

.reader-body img {
  max-width: 100%;
  border-radius: var(--radius);
  margin: 16px 0;
}

.reader-body strong { color: var(--white); }


/* ═══════════════════════════════════════════════════════════════
   CMS ADMIN DASHBOARD
═══════════════════════════════════════════════════════════════ */

.cms-dashboard-grid {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
}

.cms-sidebar {
  background: var(--dark-surface);
  border: var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: 100px;
}

.cms-categories-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cms-cat-btn {
  background: none;
  border: none;
  color: var(--white-60);
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
  width: 100%;
}

.cms-cat-btn:hover {
  color: var(--yellow);
  background: rgba(245,200,0,0.07);
}

.cms-cat-btn.active {
  background: rgba(245,200,0,0.12);
  color: var(--yellow);
  font-weight: 700;
  border-left: 3px solid var(--yellow);
  padding-left: 11px;
}

.cms-main-console { flex: 1; }

.cms-panel {
  background: var(--dark-surface);
  border: var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
}

.cms-panel:hover {
  border-color: rgba(245,200,0,0.15);
}

.cms-panel-title {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: var(--border);
}

/* CMS Form Styles */
.cms-form .form-group {
  margin-bottom: 20px;
}

.cms-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white-60);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.cms-form input[type="text"],
.cms-form input[type="file"],
.cms-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  color: var(--white);
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  padding: 12px 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
  resize: vertical;
}

.cms-form input[type="file"] {
  cursor: pointer;
  padding: 10px 14px;
  font-size: 0.82rem;
  color: var(--white-60);
}

.cms-form input[type="text"]:focus,
.cms-form textarea:focus {
  border-color: rgba(245,200,0,0.4);
  box-shadow: 0 0 0 3px rgba(245,200,0,0.08);
  background: rgba(245,200,0,0.03);
}

.form-help {
  display: block;
  font-size: 0.75rem;
  color: var(--white-30);
  margin-top: 6px;
  font-style: italic;
}

/* Editor helper button (Insert Image) */
.btn-editor-helper {
  background: rgba(245,200,0,0.08);
  border: 1px solid rgba(245,200,0,0.25);
  color: var(--yellow);
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-editor-helper:hover {
  background: rgba(245,200,0,0.15);
  border-color: var(--yellow);
}

/* Admin list of items */
.cms-admin-items-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cms-admin-card {
  display: flex;
  gap: 14px;
  align-items: center;
  background: rgba(255,255,255,0.03);
  border: var(--border);
  border-radius: var(--radius);
  padding: 12px;
  transition: var(--transition);
}

.cms-admin-card:hover {
  border-color: rgba(245,200,0,0.2);
  background: rgba(245,200,0,0.03);
}

.cms-admin-card-img {
  width: 72px;
  height: 60px;
  min-width: 72px;
  border-radius: 8px;
  overflow: hidden;
}

.cms-admin-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cms-admin-card-detail {
  flex: 1;
  min-width: 0;
}

.cms-admin-card-detail h4 {
  font-size: 0.85rem;
  color: var(--white);
  font-weight: 600;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cms-admin-card-detail p {
  font-size: 0.78rem;
  color: var(--white-60);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Delete button */
.btn-delete {
  background: rgba(232,64,64,0.1);
  border: 1px solid rgba(232,64,64,0.2);
  color: var(--red);
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  min-width: 90px;
}

.btn-delete:hover {
  background: rgba(232,64,64,0.2);
  border-color: var(--red);
}

.cms-empty-msg {
  color: var(--white-30);
  font-size: 0.88rem;
  font-style: italic;
  padding: 24px 0;
  text-align: center;
}

/* Responsive CMS layout */
@media (max-width: 1000px) {
  .cms-dashboard-grid {
    grid-template-columns: 1fr;
  }
  .cms-sidebar {
    position: static;
  }
  .cms-categories-list {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .cms-cat-btn { flex: 1 1 140px; }
}

@media (max-width: 700px) {
  .cms-tab-contents-grid {
    grid-template-columns: 1fr !important;
  }
  .reader-modal-content { padding: 28px 20px; }
  .lightbox-modal { padding: 20px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
}

