/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== GEOMETRIC DECORATIONS ===== */
.geo-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.geo-circle--1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(219, 39, 119, 0.12) 0%, transparent 70%);
  top: -100px;
  right: -100px;
}

.geo-circle--2 {
  width: 300px;
  height: 300px;
  border: 2px solid rgba(251, 191, 36, 0.15);
  bottom: 10%;
  left: -60px;
}

.geo-rect {
  position: absolute;
  pointer-events: none;
}

.geo-rect--1 {
  width: 120px;
  height: 120px;
  background: rgba(251, 191, 36, 0.08);
  top: 20%;
  right: 5%;
  transform: rotate(45deg);
}

.geo-triangle {
  position: absolute;
  pointer-events: none;
  width: 0;
  height: 0;
}

.geo-triangle--1 {
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 100px solid rgba(219, 39, 119, 0.08);
  bottom: 15%;
  right: 15%;
}

.geo-dots {
  position: absolute;
  top: 30%;
  left: 8%;
  width: 80px;
  height: 80px;
  background-image: radial-gradient(circle, rgba(251, 191, 36, 0.3) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  pointer-events: none;
}

/* ===== NAVBAR ===== */
#navbar {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(80, 7, 36, 0.85);
  border-bottom: 1px solid rgba(251, 191, 36, 0.1);
}

#navbar.scrolled {
  background: rgba(48, 5, 22, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ===== SCROLL REVEAL (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Default: always visible (no-JS fallback) */
.scroll-reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
  }
}

/* ===== MOBILE MENU ===== */
.mobile-link {
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-link:last-child {
  border-bottom: none;
}

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

::-webkit-scrollbar-track {
  background: #300516;
}

::-webkit-scrollbar-thumb {
  background: #831443;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #9d174d;
}

/* ===== SELECTION ===== */
::selection {
  background: rgba(251, 191, 36, 0.3);
  color: #fff;
}
