@import url('./variables.css');
@import url('./animations.css');
@import url('./navbar.css');
@import url('./website.css');

/* Global Resets & Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: #fbf7f0;
  color: var(--text-primary-dark);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

::selection {
  background: var(--rose-300);
  color: #2b1f1f;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}

::-webkit-scrollbar-track {
  background: #1a1212;
}

::-webkit-scrollbar-thumb {
  background: #3e2e2e;
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--rose-400);
}

/* Sparkle Canvas for Cursor Trail */
#sparkle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

/* Footer Section */
.site-footer {
  background-color: #160f0f;
  color: #b09e9c;
  padding: 60px 24px;
  text-align: center;
  border-top: 1px solid rgba(245, 198, 203, 0.15);
}

.footer-brand-title {
  font-family: var(--font-cursive);
  font-size: 3rem;
  color: #f5c6cb;
  margin-bottom: 8px;
}

/* Floating Back to Top Button */
.btn-back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(40, 28, 28, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(245, 198, 203, 0.35);
  color: #f5c6cb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-normal);
  z-index: 999;
}

.btn-back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-back-to-top:hover {
  background: var(--rose-400);
  color: #fff;
  transform: translateY(-4px);
}
