@font-face {
  font-family: 'PP Object Sans';
  src: url('/fonts/Object Sans/PPObjectSans-Regular.otf') format('opentype');
  font-display: swap;
}

:root {
  --font-primary: 'PP Object Sans', sans-serif;
  --font-secondary: 'Bebas Neue', sans-serif;
  --color-bg: #0b0b0f;
  --color-bg-alt: #12121c;
  --color-bg-secondary: #1a1a27;
  --color-text: #f8f8f8;
  --color-text-muted: rgba(255, 255, 255, 0.65);
  --color-accent: #fec900;
  --color-accent-secondary: rgba(254, 201, 0, 0.35);
  --color-border: rgba(255, 255, 255, 0.08);
  --color-shadow: rgba(12, 12, 17, 0.6);
  --color-highlight: rgba(255, 201, 0, 0.35);
}

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

html,
body {
  width: 100%;
  height: 100%;
  font-family: var(--font-primary);
  background-color: var(--color-bg);
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

a,
p {
  text-decoration: none;
  font-size: 13px;
  color: var(--color-text);
}

/*a,
p,
span {
  text-decoration: none;
  font-size: 13px;
  color: var(--color-text);
}*/

h2 {
  font-weight: 500;
  font-size: 80px;
  color: var(--color-text-secondary);
  letter-spacing: -2px;
  font-family: var(--font-primary);
  text-transform: uppercase;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.container {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--color-bg);
}

.callout {
  width: max-content;
  padding: 0.5em 1em;
  text-transform: uppercase;
  background-color: rgba(255, 255, 255, 0.125);
  border-radius: 50px;
  margin-bottom: 2em;
}

/* Modal styles - deferred loading */
body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

/* Defer non-critical styles */
@media (prefers-reduced-motion: no-preference) {
  .lenis.lenis-smooth {
    scroll-behavior: auto !important;
  }
}

/* Add this rule to prevent body scroll when modal is open */

/* User Authentication Status Styles */
.auth-status {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

.auth-status.loading {
  color: #888;
}

.auth-status.authenticated {
  background: rgba(54, 211, 0, 0.1);
  border: 1px solid rgba(54, 211, 0, 0.3);
  color: var(--primary-color);
}

.auth-status .wallet-address {
  font-family: monospace;
  font-weight: 600;
}

.auth-status .email-status {
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.auth-status .email-status.verified {
  color: var(--primary-color);
}

.connect-wallet-btn {
  background: rgba(54, 211, 0, .1);;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.connect-wallet-btn:hover {
  background: #2fb000;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Protected Route Styles */
.auth-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  color: #888;
  font-size: 1.2rem;
}

.auth-required {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 300px;
  max-width: 500px;
  margin: 2rem auto;
  padding: 2rem;
  text-align: center;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.auth-required h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.auth-required p {
  margin-bottom: 2rem;
  color: #666;
}

.auth-required .connect-wallet-btn {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
}

/*Page Background*/

.contact-background-block {
    width: 50px;
    height: 50px;
    border: .5px solid rgba(255, 255, 255, .075);
    transition: border-color .3s ease;
    border-radius: 50%;
}

@media (max-width: 768px) {
  .auth-required h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 42px;
  }
}

/* ReOwn AppKit Modal Styles */
w3m-modal {
  --w3m-accent-color: var(--primary-color) !important;
  --w3m-accent-fill-color: var(--primary-color) !important;
  --w3m-background-color: rgba(0, 0, 0, 0.8) !important;
  --w3m-overlay-backdrop-filter: blur(8px) !important;
}

w3m-modal::part(overlay) {
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  background-color: rgba(0, 0, 0, 0.8);
  height: 100vh;
  width: 100vw;
  overflow-x: hidden;
  overflow-y: auto;
}

/* When ReOwn modal is open, prevent body scroll */
body:has(w3m-modal[open]) {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

@media (max-width: 768px) {
  .auth-required h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 42px;
  }
}

.dot {
  position: absolute;
  background-color: #0ae448;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  will-change: transform, opacity;
  pointer-events: none;
  z-index: 9999;
}

