:root {
  --color-primary: #d4af37;
  --color-background: #000000;
  --color-surface: #0f0f0f;
  --color-text-primary: #ffffff;
  --color-text-secondary: #969696;
  --color-text-muted: #545454;
  --color-border: #272727;
  --color-success: #1b942b;
}

body {
  background-color: var(--color-background);
  color: var(--color-text-primary);
  font-family: 'Space Grotesk', sans-serif;
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.fade-in {
  opacity: 0;
  animation: fadeInBody 0.5s ease forwards;
}
@keyframes fadeInBody {
  to { opacity: 1; }
}

.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 15px 25px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  line-height: 22.4px;
  letter-spacing: -0.32px;
  transition: background-color 0.3s ease;
  cursor: pointer;
  border: none;
  box-sizing: border-box;
  max-width: 100%;
  font-family: 'Space Grotesk', sans-serif;
}

.btn--primary {
  background-color: var(--color-primary);
  color: var(--color-text-primary);
  box-shadow: inset 0px 1px 20px 0px rgba(255, 255, 255, 0.07);
}

.btn--primary:hover {
  filter: brightness(1.1);
}

/* Animated Button Styles */
.button-container-2 {
    position: relative;
    width: 150px;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    border: none;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    transition: 0.5s;
    border-radius: 10px;
    background: #161616;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 26px 35px;
    box-sizing: border-box;
    max-width: 100%;
}

.button-container-2.animation-complete {
    border: 1px solid var(--color-border);
    box-shadow: inset 0px 1px 20px 0px rgba(255, 255, 255, 0.07);
}

.button-container-2 .animated-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: -0.32px;
    line-height: 1;
    background: #D4AF37;
    -webkit-mask: url("https://raw.githubusercontent.com/robin-dela/css-mask-animation/master/img/urban-sprite.png");
    mask: url("https://raw.githubusercontent.com/robin-dela/css-mask-animation/master/img/urban-sprite.png");
    -webkit-mask-size: 3000% 100%;
    mask-size: 3000% 100%;
    border: none;
    color: #fff;
    cursor: pointer;
    -webkit-mask-position: 0 0;
    mask-position: 0 0;
    box-shadow: inset 0px 1px 20px 0px rgba(255, 255, 255, 0.07);
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.button-container-2 .animated-btn:hover {
    -webkit-animation: ani 0.7s steps(29) forwards;
    animation: ani 0.7s steps(29) forwards;
}

.button-container-2 .animated-btn:not(:hover) {
    -webkit-animation: ani2 0.7s steps(29) forwards;
    animation: ani2 0.7s steps(29) forwards;
}

.mas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    font-size: 16px;
    letter-spacing: -0.32px;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}

@-webkit-keyframes ani {
    from {
        -webkit-mask-position: 0 0;
        mask-position: 0 0;
    }
    to {
        -webkit-mask-position: 100% 0;
        mask-position: 100% 0;
    }
}

@keyframes ani {
    from {
        -webkit-mask-position: 0 0;
        mask-position: 0 0;
    }
    to {
        -webkit-mask-position: 100% 0;
        mask-position: 100% 0;
    }
}

@-webkit-keyframes ani2 {
    from {
        -webkit-mask-position: 100% 0;
        mask-position: 100% 0;
    }
    to {
        -webkit-mask-position: 0 0;
        mask-position: 0 0;
    }
}

@keyframes ani2 {
    from {
        -webkit-mask-position: 100% 0;
        mask-position: 100% 0;
    }
    to {
        -webkit-mask-position: 0 0;
        mask-position: 0 0;
    }
}

.btn--secondary {
  background-color: #1f1f1f;
  color: var(--color-text-primary);
}

.btn--secondary:hover {
  background-color: #2f2f2f;
}

.site-header {
  position: relative;
  z-index: 1000;
  padding: 0 20px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.header-container {
  max-width: 1150px;
  margin: 0 auto;
  background-color: var(--color-surface);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  box-shadow: inset 0px 1px 20px 0px rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(2px);
  position: relative;
  z-index: 1001;
}

/* Center the navigation */
.header-container .main-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* Ensure the animated button in nav is aligned to the right */
.header-container .button-container-2 {
  margin-left: auto;
  margin-right: 0;
}

/* Vertically center the logo in the navigation bar */
.header-container .logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.header-container .logo img {
  vertical-align: middle;
  margin-top: 2px; /* adjust as needed for perfect centering */
}

.logo img {
  height: 40px;
  display: block;
}

.main-nav ul {
  display: flex;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 10;
}

.main-nav a {
  color: var(--color-text-primary);
  text-decoration: none;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  transition: color 0.3s ease;
  cursor: pointer;
  display: inline-block;
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

.main-nav a:hover {
  color: var(--color-primary);
}

.main-nav li {
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .header-container {
    justify-content: space-between;
  }
}

/* Responsive Hamburger Menu */
.hamburger-menu {
  display: none;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
  z-index: 1010;
  flex-direction: column;
  justify-content: space-around;
  width: 24px;
  height: 24px;
}

.hamburger-menu span {
  width: 24px;
  height: 2px;
  background-color: var(--color-text-primary);
  display: block;
  transition: all 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.hamburger-menu.is-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.is-active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.is-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #0f0f0f;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-logo {
    width: 100px;
    margin-bottom: 40px;
}

.mobile-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    margin: 15px 0;
    transition: color 0.3s;
}

.mobile-nav a:hover {
    color: #d4af37;
}

@media (max-width: 1024px) {
  .main-nav {
    display: none;
  }
  .header-container > .button-container-2 {
    display: none;
  }
  .hamburger-menu {
    display: flex;
  }
  .header-container {
    justify-content: space-between;
  }
  .mobile-nav.open {
    display: flex;
  }
}

/* Legal Page Layout */
.legal-page-container {
  display: flex;
  min-height: calc(100vh - 200px);
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.legal-sidebar {
  width: 250px;
  padding: 30px;
  margin-right: 40px;
  margin-top: 20px;
  height: fit-content;
}

.sidebar-title {
  font-size: 24px;
  font-weight: 500;
  font-family: 'Outfit', sans-serif;
  margin: 0 0 20px 0;
  color: var(--color-text-primary);
}

.sidebar-title a {
  color: inherit;
  text-decoration: none;
  font: inherit;
  font-weight: inherit;
  font-size: inherit;
  transition: color 0.3s ease;
}

.sidebar-title a:hover {
  color: var(--color-primary);
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav li {
  margin-bottom: 10px;
}

.sidebar-nav a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
  display: block;
  padding: 8px 0;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: var(--color-text-primary);
}

.legal-content {
  flex: 1;
  padding: 40px;
}

.content-wrapper {
  max-width: 800px;
}

.page-title {
  font-size: 48px;
  font-weight: 400;
  font-family: 'Outfit', sans-serif;
  margin: 0 0 10px 0;
  color: var(--color-text-primary);
}

.last-update {
  color: var(--color-text-secondary);
  font-size: 16px;
  margin: 0 0 40px 0;
}

.policy-section {
  margin-bottom: 40px;
}

.policy-section h2 {
  font-size: 24px;
  font-weight: 500;
  font-family: 'Outfit', sans-serif;
  margin: 0 0 15px 0;
  color: var(--color-text-primary);
}

.policy-section p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin: 0;
}

.policy-section ul {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin: 15px 0;
  padding-left: 20px;
}

.policy-section li {
  margin-bottom: 8px;
}

.policy-section li:last-child {
  margin-bottom: 0;
}

/* Footer Styles */
.site-footer {
  padding: 100px 20px;
  position: relative;
  margin-top: 80px;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--color-border);
  box-shadow: 0px 1px 200px 0px rgba(255, 255, 255, 0.07);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 50px;
}

.footer-logo-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 2;
}

.copyright {
  color: var(--color-text-muted);
  font-size: 16px;
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
}

.footer-column {
  flex: 1;
}

.footer-heading {
  font-size: 19px;
  font-weight: 500;
  margin: 0 0 20px 0;
  font-family: 'Outfit', sans-serif;
}

.footer-heading a {
  color: inherit;
  text-decoration: none;
  font: inherit;
  font-weight: inherit;
  font-size: inherit;
}

.footer-heading a:hover, .footer-heading a:focus {
  color: var(--color-primary);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.footer-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
  font-family: 'Space Grotesk', sans-serif;
}

.footer-links a:hover {
  color: var(--color-text-primary);
}

@media (max-width: 768px) {
  .legal-page-container {
    flex-direction: column;
    padding: 0 10px;
  }
  
  .legal-sidebar {
    width: auto;
    margin-right: 0;
    margin-bottom: 20px;
    margin-top: 20px;
  }
  
  .legal-content {
    padding: 30px 20px;
  }
  
  .page-title {
    font-size: 36px;
  }
  
  .footer-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  .footer-logo-column {
    align-items: center;
  }
} 

/* Page transition overlay */
.transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  opacity: 0;
  pointer-events: none;
  z-index: 9998;
  transition: opacity 0.5s ease;
}
.transition-overlay.active {
  opacity: 1;
  pointer-events: all;
} 