:root {
  --font-main: 'Font-Main';
  --font-action: 'Font-Action';
  --scale: 1;
  --brand-1: #1D1D1D;
  --brand-2: #fcfcfc;
  --brand-3: #f58333;
  --brand-4: #c8df8c;
  --brand-5: #373737;
  --brand-6: #251B14;
  --brand-7: #75685D;
  --brand-8: #F2EBE6;
}

/* Replacing Shantell_Sans-Normal-Regular.woff2 */
@font-face {
  font-family: "Font-Main";
  src: url("../fonts/Inter-Regular.woff2");
  font-weight: normal;
  font-style: normal;
  font-display: fallback;
}

/* Replacing Inter-Regular.woff2 for Font-Main (normal weight) */
@font-face {
  font-family: "Font-Main";
  src: url("../fonts/Shantell_Sans-Normal-Regular.woff2");
  font-weight: normal; /* 400 */
  font-style: normal;
  font-display: fallback;
}

/* Replacing Inter-Bold.woff2 for Font-Main (bold weight) */
@font-face {
  font-family: "Font-Main";
  src: url("../fonts/Shantell_Sans-Normal-Bold.woff2");
  font-weight: bold; /* 700 */
  font-style: normal;
  font-display: fallback;
}

/* Adding Shantell_Sans-Normal-Light_Italic.woff2 for Font-Main (light italic) */
@font-face {
  font-family: "Font-Main";
  src: url("../fonts/Shantell_Sans-Normal-Light_Italic.woff2");
  font-weight: 300; /* Light weight */
  font-style: italic;
  font-display: fallback;
}

/* Replacing Inter-Black.woff2 for Font-Action (Dokdo) */
@font-face {
  font-family: "Font-Action";
  src: url("../fonts/dokdo-v22-latin-regular.woff2");
  font-weight: normal; /* Dokdo typically has one weight, treated as 400 */
  font-style: normal;
  font-display: fallback;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Font-Main', Arial, 'Helvetica Neue', Helvetica, sans-serif;
  background: url('/custom/sneaky-background.webp') repeat;
}

@media (prefers-reduced-motion) {
  scroll-behavior: auto;
}

/* sneaky-home codehook */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
  }
  .staggered-grid {
    display: flex;
    flex-direction: column;
    gap: 120px;
    overflow: hidden;
  }
  .grid-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
  }
  .grid-item {
    width: 36%;
  }
  #lore.grid-item {
    width: 42%;
  }
  #sneakypedia.grid-item {
    width: 30%;
  }
  #cards.grid-item {
    width: 39%;
  }
  #shop.grid-item {
    width: 30%;
  }
  .grid-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition:
      transform 0.3s ease,
      filter 0.3s ease;
    cursor: pointer;
  }
  .grid-item a {
    display: block;
    text-decoration: none;
  }
  .grid-item img:hover {
    transform: scale(1.05) rotate(2deg);
  }
  .grid-row .grid-item:nth-child(1) {
    margin-top: 200px;
  }
  .coming-soon-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
  }
  .coming-soon img {
    filter: grayscale(100%) opacity(0.6);
    transition:
      filter 0.3s ease,
      transform 0.3s ease;
  }
  .coming-soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }
  .coming-soon-text {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-family:
      system-ui,
      -apple-system,
      sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
  }
  .coming-soon:hover .coming-soon-overlay {
    opacity: 1;
  }
  .coming-soon:hover img {
    filter: grayscale(100%) opacity(0.4);
    transform: scale(1.02);
  }
  .grid-row:nth-child(1)::before {
    content: '';
    position: absolute;
    width: 45%;
    height: 100%;
    background: url('/custom/home/loop1_1080px.webp') no-repeat center;
    background-size: contain;
    left: 28%;
    top: 10%;
    z-index: -1;
  }
  .grid-row:nth-child(1)::after {
    content: '';
    position: absolute;
    width: 45%;
    height: 225%;
    background: url('/custom/home/coins_1080px.webp') no-repeat center;
    background-size: contain;
    left: 48%;
    transform: translateX(-50%);
    bottom: -140%;
    z-index: -1;
  }
  .grid-row:nth-child(3)::before {
    content: '';
    position: absolute;
    width: 65%;
    height: 380%;
    background: url('/custom/home/loop2_1080px.webp') no-repeat center;
    background-size: contain;
    right: 4%;
    top: -205%;
    z-index: -1;
    filter: grayscale(100%) opacity(0.4);
  }
  .grid-row:nth-child(3)::after {
    content: '';
    position: absolute;
    width: 40%;
    height: 250%;
    background: url('/custom/home/coins_1080px.webp') no-repeat center;
    background-size: contain;
    left: 45%;
    transform: translateX(-50%);
    top: 0%;
    z-index: -1;
    filter: grayscale(100%) opacity(0.4);
  }

  @media (max-width: 800px) {
    .staggered-grid {
      gap: 320px;
    }
    .grid-row {
      flex-direction: column;
      align-items: center;
      gap: 250px;
    }
    .grid-item {
      width: 60%;
    }
    #lore.grid-item {
      width: 70%;
    }
    #sneakypedia.grid-item {
      width: 50%;
    }
    #cards.grid-item {
      margin-top: 150px;
      width: 65%;
    }
    #shop.grid-item {
      width: 50%;
    }
    #sneakyfolio.grid-item {
      margin-top: -150px;
    }
    .grid-row .grid-item:nth-child(1) {
      margin-top: 0;
    }
    .coming-soon-text {
      font-size: 16px;
      padding: 10px 20px;
    }
    .grid-row::before,
    .grid-row::after {
      display: none;
    }
    .grid-row:nth-child(1) .grid-item:nth-child(1) {
      order: 2;
    }
    .grid-row:nth-child(1) .grid-item:nth-child(2) {
      order: 1;
    }
    .grid-row:nth-child(2) .grid-item:nth-child(1) {
      order: 2;
    }
    .grid-row:nth-child(2) .grid-item:nth-child(2) {
      order: 1;
    }
    .grid-row:nth-child(1)::after {
      display: block;
      content: '';
      position: absolute;
      width: 70%;
      height: 50%;
      background: url('/custom/home/loop-vertical-1_600px.webp') no-repeat
        center;
      background-size: contain;
      left: 40%;
      top: 60%;
      transform: translate(-35%, -50%);
      z-index: -1;
    }
    .grid-row:nth-child(2)::before {
      display: block;
      content: '';
      position: absolute;
      width: 50%;
      height: 70%;
      background: url('/custom/home/coins_600px.webp') no-repeat center;
      background-size: contain;
      left: 50%;
      top: -48%;
      transform: translateX(-50%);
      z-index: -1;
    }
    .grid-row:nth-child(2)::after {
      display: block;
      content: '';
      position: absolute;
      width: 25%;
      height: 30%;
      background: url('/custom/home/loop-vertical-2_600px.webp') no-repeat
        center;
      background-size: contain;
      left: 45%;
      top: 48%;
      transform: translate(-35%, -50%);
      z-index: -1;
    }
    .grid-row:nth-child(3)::before {
      display: block;
      content: '';
      position: absolute;
      width: 50%;
      height: 70%;
      background: url('/custom/home/coins_600px.webp') no-repeat center;
      background-size: contain;
      left: 50%;
      top: -48%;
      transform: translateX(-50%);
      z-index: -1;
      filter: grayscale(100%) opacity(0.4);
    }
    .grid-row:nth-child(3)::after {
      display: block;
      content: '';
      position: absolute;
      width: 40%;
      height: 32%;
      background: url('/custom/home/loop-vertical_600px.webp') no-repeat center;
      background-size: contain;
      left: 40%;
      top: 45%;
      transform: translate(-35%, -50%);
      z-index: -1;
      filter: grayscale(100%) opacity(0.4);
    }
    .grid-row:nth-child(4)::before {
      display: block;
      content: '';
      position: absolute;
      width: 60%;
      height: 80%;
      background: url('/custom/home/coins-reverse_600px.webp') no-repeat center;
      background-size: contain;
      left: 50%;
      top: -60%;
      transform: translateX(-50%);
      z-index: -1;
      filter: grayscale(100%) opacity(0.4);
    }

/* sneaky-noah codehook */
#animation-container {
  height: 100vh;
  position: relative;
}

#ark-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 500px;
  max-width: 50vw;
  height: auto;
  will-change: transform, opacity;
  opacity: 0;
  transform: translate(110vw, 50vh);
}

#path-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  visibility: hidden;
}

/* collection-hero codehook */
@media (min-width: 801px) {
  [data-collections-wrapper] {
    min-height: 160px;
  }
  [data-traits-explorer-wrapper] {
    min-height: 500px;
  }
}
