/* Make My Fame — Editorial Minimalist Theme (Exact raushankushwaha.in style) */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap");

:root {
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --bg-color: #f8f8f5;
  --foreground: #111111;
  --border-light: rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-color);
  font-family: var(--font-sans);
  color: var(--foreground);
}

body {
  overflow-x: hidden;
  background-color: var(--bg-color);
  color: var(--foreground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
}
::-webkit-scrollbar-track {
  background: #f8f8f5;
}
::-webkit-scrollbar-thumb {
  background: #d1d1cb;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #a3a39c;
}

/* Typography Helpers */
.font-display {
  font-family: var(--font-display);
}

.font-mono {
  font-family: var(--font-mono);
}

.font-sans {
  font-family: var(--font-sans);
}

/* Editorial Card & Glass Styling */
.editorial-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-card:hover {
  border-color: #a3a3a3;
  box-shadow: 0 10px 25px -4px rgba(0, 0, 0, 0.07);
}

.glass-nav-light {
  background: rgba(248, 248, 245, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Pattern Light Placeholder Box (Exact raushankushwaha.in pattern) */
.placeholder-box-light {
  background: repeating-linear-gradient(
    45deg,
    rgba(0, 0, 0, 0.015),
    rgba(0, 0, 0, 0.015) 10px,
    rgba(0, 0, 0, 0.03) 0,
    rgba(0, 0, 0, 0.03) 20px
  );
  border: 1.5px dashed rgba(0, 0, 0, 0.15);
  background-color: #fafaf7;
}

/* Subtle Shadows */
.shadow-2xs {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* No Scrollbar Utility */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Before / After Slider */
.ba-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 1.25rem;
  user-select: none;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.ba-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  border-right: 2px solid #171717;
  z-index: 5;
}

.ba-slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  background: #171717;
  color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
  z-index: 20;
}

/* Modal Overlay */
.modal-overlay {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

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

/* Custom Agency Cursor */
@media (hover: hover) and (pointer: fine) {
  .custom-cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background-color: #111111;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: transform 0.08s ease-out, background-color 0.2s ease;
  }
  .custom-cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(17, 17, 17, 0.35);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1), height 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, background-color 0.2s ease, transform 0.12s ease-out;
  }
  .custom-cursor-ring.cursor-hover {
    width: 54px;
    height: 54px;
    background-color: rgba(17, 17, 17, 0.06);
    border-color: rgba(17, 17, 17, 0.7);
  }
  .custom-cursor-dot.cursor-hover {
    transform: translate(-50%, -50%) scale(1.5);
  }
}
@media (pointer: coarse) {
  .custom-cursor-dot, .custom-cursor-ring {
    display: none !important;
  }
}
