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

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
}

/* Typography Utility Classes */
.font-montserrat {
  font-family: "Montserrat", sans-serif;
}

.font-montserrat-alt {
  font-family: "Montserrat Alternates", sans-serif;
}

/* Layout Utility Classes */
.frame-size {
  width: 100%;
  max-width: 350px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .frame-size {
    max-width: none;
    width: 750px;
  }
}

@media (min-width: 1024px) {
  .frame-size {
    width: 1440px;
  }
}

.inner-container {
  width: 100%;
  max-width: 1294px;
  margin-left: auto;
  margin-right: auto;
}

/* Marquee Animation */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.animate-marquee {
  animation: marquee 20s linear infinite;
}

/* Smooth transitions */
* {
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: #39443d;
}

/* Global Cursor Hide */
* {
  cursor: none !important;
}

/* Custom Cursor Elements */
.custom-cursor-dot,
.custom-cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 999999;
  border-radius: 50%;
}

.custom-cursor-dot {
  width: 8px;
  height: 8px;
  background-color: #92A866;
  /* Will be translated by JS, we add another translate to center it */
}

.custom-cursor-ring {
  width: 32px;
  height: 32px;
  border: 2px solid #4A574E;
  background-color: transparent;
  transition: width 0.3s ease-out, height 0.3s ease-out, border-color 0.3s ease-out, background-color 0.3s ease-out;
}

/* Hover state on interactive elements (Default light backgrounds) */
.custom-cursor-ring.hovered {
  width: 50px;
  height: 50px;
  background-color: rgba(146, 168, 102, 0.15); /* Secondary green */
  border-color: #92A866;
}

/* Hover state on dark backgrounds (Primary green, black, etc) */
.custom-cursor-ring.hovered-primary {
  background-color: rgba(255, 255, 255, 0.15) !important;
  border-color: #ffffff !important;
}
.custom-cursor-dot.hovered-primary {
  background-color: #ffffff !important;
}

/* Hover state on mid-tone backgrounds (Secondary green, etc) */
.custom-cursor-ring.hovered-secondary {
  background-color: rgba(74, 87, 78, 0.15) !important; /* Primary green */
  border-color: #4A574E !important;
}
.custom-cursor-dot.hovered-secondary {
  background-color: #4A574E !important;
}
