:root {
  --gold: #febd14;
  --charcoal: #3f1f14;/* #1c1c1c; */
  --turquoise: #ecf0eea9;
  --purple: #1c1c1c;
  --white: #150c25;
  --gecko: #8f6dff;
  --jup: #2e6f40;
  --orca: #908fe7;
  --jupiter-plugin-primary: 158,110,20;
  --jupiter-plugin-background: 28,28,28;
  --jupiter-plugin-primary-text: 254,189,20;
  --jupiter-plugin-warning: 254,189,20;
  --jupiter-plugin-interactive: 29,29,29;
  --jupiter-plugin-module: 63,31;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 5vw;
  box-sizing: border-box;
  overflow-x: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--charcoal);
  color: var(--turquoise);
  min-height: 100vh;
}

a {
  text-decoration: none;
  transition: color 0.3s ease;
  color: var(--gold);
}
a:hover {
  transform: scale(1.1rem);
}

h1, h2, h3 {
  color: var(--gold);
}

header h1 {
  margin-bottom: 0;
}

header p {
  margin: 0;
}

.larger {
  font-size: larger;
}

.smaller {
  font-size: smaller;
}

.vm {
  vertical-align: middle;
  max-width: 30px;
}

.gp {
  color: var(--gecko);
}

.logo {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 50%;
  display: inline-block;
  animation: spin 8s linear infinite;
}

header {
  text-align: center;
  padding: 2rem 1rem;
  max-width: 750px;
  margin: 2rem auto;
  background-color: var(--purple); 
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3); /* Gold glow */
  border-radius: 12px;
  opacity: 0;
  animation: fadein 1s forwards;
  transform: translateY(50px);
}


@keyframes fadein {
  from {
    opacity: 0;
    filter: grayscale(1);
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    filter: grayscale(0);
    transform: translateY(0);
  }
}

@keyframes spin {
  from { transform: rotateY(0deg); }
  to { transform: rotateY(360deg); }
}
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.copy-link-wrapper {
  display: inline-block;
  margin: 20px 0 10px 0;
}

.copy-link-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background-color: var(--charcoal);
  color: var(--turquoise);
  border: none;
  border-radius: 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.copy-link-button:hover {
  background-color: rgba(63, 31, 20, 0.7);
}

.copy-link-button i {
  font-size: 16px;
}

#mint-id {
  font-size: 0.6rem;
  color: var(--turquoise);
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
}

.card {
  display: flex;
  flex-direction: column;
  max-width: 750px;
  align-items: center;
  text-align: center;
  margin: 3rem auto;
  padding: 1.5rem;
  background-color: var(--purple);
  color: var(--turquoise);
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.3); /* Gold glow */
}

.card.hidden {
  opacity: 0;
  filter: grayscale(1);
  transform: translateY(50px);
  transition: opacity 1s ease-out, transform 1s ease-out, filter 1s ease-out;
}

.card.slide-up {
  opacity: 1;
  transform: translateY(0);
  filter: grayscale(0);
}

.card p {
  font-size: 1rem;
  text-align: center;
  margin-top: 1rem;
}

.card a {
  font-weight: bold;
  font-size: 1.1rem;
  color: var(--gold);
}

.card .btn {
  color: var(--purple);
}

.card p a:hover {
  color: var(--gecko);
}

.pdf {
  display: inline-block;
  padding: 10px 16px;
  background-color: #f57c00;
  color: var(--turquoise);
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid #e65100;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: background-color 0.3s ease;
}

.pdf:hover {
  background-color: #ef6c00;
}

#mobile-hidden {
  opacity: 0;
}

.social {
  display: flex;
  font-size: larger;
  gap: 1rem;
  justify-content: center;
}

.social a {
  color: var(--gold);
}

.social a:hover {
  color: var(--gecko);
  animation: pulse 0.6s ease infinite;
}

.forever {
  animation: pulse 1.2s ease infinite;
}

.jup {
  background-color: var(--jup); 
}
.jup:hover {
  background-color: #2BF0BD;
}

.orca {
  background-color: var(--orca);
  color: var(--charcoal);
}
.orca:hover {
  background-color: #c4d0ff;
}

.gold {
  color: var(--gold);
}

.phantom {
  background-color: #88749E;
}
.phantom:hover {
  background-color: #A090B1;
}

.gecko {
  background-color: var(--gecko);
}

.bottom-img {
  width: 200px;
  height: auto;
  object-fit: cover;
  border-radius: 50%;
  display: inline-block;
}

footer {
  color: var(--#fef);
  text-align: center;
}

/* Sticky Navbar */
.navbar {
  position: sticky;
  top: 0;
  background-color: var(--purple);
  display: flex;
  align-items: center;
  border-radius: 12px;
  width: 850px;
  height: 80px;
  margin: 0 auto;
  box-shadow: 0 0 20px rgba(255, 217, 0, 0.4);
  z-index: 1000;
  /*opacity: 0;*/
  animation: fadein 1s forwards;
  transform: translateY(50px);
}

.left {
  position: absolute;
  left: 1rem;
}

.dropdown {
  display: flex;
  position: absolute;
  right: 1rem;
}

.dropbtn {
  display: flex;
  background-color: rgba(63,31,20,0.5);
  border-radius: 30px;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  color: var(--gold);
  height: 45px;
  width: 150px;
  padding: 10px 20px;
  margin: 0 1rem;
  cursor: pointer;
  border: 1px solid var(--charcoal);
  font-size: 15px;
  gap: 0.5rem;
}

.dropbtn:hover {
  background-color: rgba(63,31,20,1);
  border: 1px solid var(--gold);
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  border-radius: 25px;
  z-index: 1001;
}

.dropdown-content a {
  display: inline-flex;
  align-items: center;
  height: 50px;
  width: 100%;
  justify-content: center;
  color: var(--purple);
  gap: 0.5rem;
}
.nav-copy {
  height: 50px;
  width: 100%;
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
  color: var(--purple);
  border: none;
  align-items: center;
  justify-content: center;
}
.nav-copy:hover {
  background-color: var(--turquoise);
}

.round_top {
  border-top-left-radius: 25px;
  border-top-right-radius: 25px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* --- Custom Carousel CSS --- */

/* 1. Size the entire carousel container (ID of the top-level div) */
#productCarousel {
    /* Set a specific width for the carousel, or inherit from a parent container. */
    /* This example sets it to fill its parent (.card) up to 400px wide. */
    height: 400px; 
    max-width: 400px; 
    margin: 0 auto;
    
    /* You must define a height if the image's height isn't defining it! */
    /* If images are different aspect ratios, set a max-height: */
    max-height: 500px;

    /*display: block;*/
    position: relative;
    overflow: hidden; 
}

/* 2. Size the images (using the new class 'carousel-img') */
.carousel-img {
    /* Crucial: Ensure the image never exceeds the container's width */
    max-width: 100%;
    /* Crucial: Ensure the image never exceeds the container's height and scales proportionally */
    max-height: 100%;
    
    /* Ensure all images are treated as blocks and take up available width */
    display: block; 
    width: 100%;
    height: auto;
    
    /* Optional: If images are different aspect ratios, use object-fit */
    object-fit: contain; 
    object-position: center; 
}

/* Make sure the carousel inner div also supports the sizing */
.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%; /* Important for max-height to work */
}

/* 2. All carousel items are absolutely positioned and hidden by default */
.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.5s ease-in-out; /* Smooth fade effect */
}

/* 3. Only the 'active' item is visible */
.carousel-item.active {
    z-index: 10;
    opacity: 1;
}

/* 4. Basic styling for the navigation buttons (replace with your preference) */
.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    font-size: 1.5rem;
    line-height: 1;
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
  z-index: 15;
}

@media (max-width: 900px) {
  .navbar {
    margin-left: -5vw;
    width: 100vw;
  }
  .left {
    left: 0;
  }
  .dropdown {
    right: 0;
  }
  .dropbtn {
    width: 130px;
    padding: 10px;
  }
}
