:root {
    --bg-color: #0d1116; /* Deep dark blue/black */
    --card-bg: #161b22; /* Slightly lighter */
    --primary: #00ff88; /* Neon Green */
    --secondary: #00ccff; /* Neon Blue */
    --text-main: #ffffff;
    --text-muted: #8b949e;
    --font-family: 'Outfit', sans-serif;
    --container-width: 1200px;
    --header-height: 80px;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
}
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-content {
  background: var(--border-color);
  border-radius: 15px;
  color: white;
  padding: 30px 40px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  max-width: 400px;
}

.modal-content h2 {
  margin-bottom: 20px;
  font-size: 20px;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

button {
  padding: 10px 25px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

#yesBtn {
  background: var(--primary);
  color: #fff;
}

#yesBtn:hover {
  background: #3e8e41;
}

#noBtn {
  background: var(--secondary);
  color: #fff;
}

#noBtn:hover {
  background: #d32f2f;
}
/* Warning section */
.warn {
  font-size: 16px;
  background-color: #000;
  color: white;
  width: 100%;
  text-align: center;
  padding: 10px 0;
  font-weight: bold;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: #000;
}

.btn-primary:hover {
    background-color: #00cc6a;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.4);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.wide-btn {
    padding: 12px 48px;
    font-size: 1.1rem;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    color: black;
}

/* Header */
.header {
    padding: 10px 0;
    height: var(--header-height);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(13, 17, 22, 0.95);
    backdrop-filter: blur(10px);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    border-radius: 8px;
    font-size: 1.2rem;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    font-weight: 700;
    font-size: 1.2rem;
}

.logo-text span:first-child { color: var(--primary); }
.logo-text span:last-child { color: var(--secondary); margin-left: -2px;}


.nav-desktop {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    position: relative;
    color: var(--text-muted);
}

.nav-link.active, .nav-link:hover {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 20px;
    height: 2px;
    background-color: var(--primary);
    border-radius: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.icon-btn {
    color: var(--text-main);
    padding: 8px;
}

.icon-btn:hover {
    color: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}
.hamburger.active{
  transition: transform 0.3s ease-in-out;
    z-index: 1001;
}
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}
.hamburger span {
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    transition: 0.3s;
}

.mobile-menu {
    position: fixed;
    top: -10px;
    left: 0;
    width: 100%;
    background-color: var(--card-bg);
    padding: 20px;
    display: none;
    flex-direction: column;
    gap: 20px;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu.active {
    transform: translateX(0);
    display: flex;
}


/* Hero Section */
.hero {
    padding: 30px 0 120px 0;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
}

.hero-content h1 .highlight {
    color: var(--secondary);
    background: -webkit-linear-gradient(0deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 450px;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-bg {
    position: absolute;
    width: 50%;
    height: 100%;
    border-radius: 25px;
    transform: rotate(20deg);
    background: -webkit-linear-gradient(0deg, #79F43B, #40DDAF);

   box-shadow: 20px 20px 60px rgba(64, 221, 175, 0.4);
    z-index: -1;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    /* transform: rotate(-5deg); */
}

.discount-badge {
    position: absolute;
    top: 20%;
    right: 10%;
    background-color: #ff9900;
    color: #000;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 800;
    transform: rotate(15deg);
    box-shadow: 0 4px 10px rgba(255, 153, 0, 0.4);
}

/* Slider styles */
.slider {
    width: 100%;
    max-width: 480px;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.slides {
    display: flex;
    transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
    width: 100%;
    will-change: transform;
}

.slide {
    width: 100%;
    flex: 0 0 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    backdrop-filter: blur(4px);
}

.slider-btn.prev { left: 8px; }
.slider-btn.next { right: 8px; }

.slider-indicators {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 10px;
    display: flex;
    gap: 8px;
}

.indicator {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.25);
    border-radius: 50%;
    border: none;
    padding: 0;
}

.indicator.active {
    background: var(--primary);
    box-shadow: 0 0 8px rgba(0,255,136,0.25);
}

/* Make hero-image area keep layout similar to before */
.hero-image { display: flex; justify-content: center; align-items: center; }

@media (max-width: 800px) {
    .hero-container { grid-template-columns: 1fr; gap: 24px; }
    .hero-content h1 { font-size: 2.4rem; }
    .slider { max-width: 360px; }
}

/* Marketplace */
.marketplace {
    padding: 60px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 2rem;
    color: var(--primary);
}

.filter-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 6px 16px;
    border: 1px solid #333;
    border-radius: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: 0.3s;
}

.filter-tab.active, .filter-tab:hover {
    background-color: var(--primary);
    color: #000;
    border-color: var(--primary);
}

.nft-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.nft-card {
    background-color: var(--card-bg);
    border-radius: 16px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s;
}

/* helper to hide filtered cards */
.hidden { display: none !important; }

.nft-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.card-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    aspect-ratio: 1/1;
    background-color: #222;
}

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

.like-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.5);
    color: #fff;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    backdrop-filter: blur(4px);
}

.card-content h3 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.card-stats {
    display: flex;
    gap: 12px;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
}

.price-info {
    display: flex;
    flex-direction: column;
}

.price-info .label {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.price-info .price {
    font-weight: 700;
    color: var(--secondary);
}

.center-btn-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Descriptions section */
.descriptions { padding: 40px 0; }
.descriptions .desc-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 16px;
}
.desc-card {
    background: var(--card-bg);
    padding: 18px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.04);
}
.desc-card h3 { margin-bottom: 8px; color: var(--primary); }

@media(min-width:900px){
    .descriptions .desc-list { grid-template-columns: repeat(2, 1fr); }
}

/* Reviews */
.reviews { padding: 40px 0; }
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 16px;
}
.review-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    border: 1px solid rgba(255,255,255,0.04);
    text-align: center;
}
.review-image {
    width: 100%;
    height: 300px;
    flex: 0 0 auto;
    border-radius: 12px;
    overflow: hidden;
    background: #222;
}
.review-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.review-text { color: var(--text-muted); font-size: 0.95rem; }
.reviewer-info { display: flex; width: 100%; justify-content: space-between; align-items: center; margin-top: auto; }
.reviewer-name { font-weight: 700; color: var(--primary); }
.reviewer-rating { color: #ffcc00; }

@media(max-width:900px){
    .reviews-grid { grid-template-columns: 1fr; }
    .review-card { align-items: center; }
}

/* Features */
.features {
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.feature-card {
    background-color: var(--card-bg);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 16px;
    background: rgba(255,255,255,0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

.feature-card h3 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--primary);
}

.feature-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Footer */
footer {
  position: relative;
  width: 100%;
  background-color: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 35px;
  padding: 40px 100px;
}
footer a {
  text-decoration: none;
  color: inherit;
}
.footer-logo {
  padding: 35px 20px;
  padding-top: 20px;
  margin-right: 40px;
}
.footer-logo img {
  width: 100px;
  height: auto;
}
.footer-cont {
  width: 100%;
  display: flex;
  color: white;
  font-size: 26px;
  gap: 80px;
  padding-bottom: 35px;
  border-bottom: 2px solid gray;
  position: relative;
}
.foot-cont-one {
  display: flex;
  gap: 80px;
}
.copyright {
  width: 100%;
  text-align: center;
  padding-top: 35px;
  border-top: 2px solid gray;

  color: rgb(168, 167, 167);
}
footer svg {
  fill: rgba(255, 255, 255, 0.842);
  stroke-miterlimit: 10;
  stroke-width: 1px;
  width: 40px;
}
.city {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 26px;
}
.cont-col {
  display: flex;
  flex-direction: column;
}
.cont-col:first-child {
  color: rgb(168, 167, 167);
}
.cont-col:first-child a:first-child {
  color: white;
}
.foot-cont-two {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.foot-cont-two div {
  align-items: center;
  display: flex;
  gap: 20px;
}
.foot-cont-three {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: white;
  font-size: 20px;
}
.foot-cont-three p:hover {
  cursor: pointer;
  transform: scale(1.1);
}
.foot-cont-three p {
  position: relative;
  padding-right: 16px;
}
.foot-cont-three p::after {
  content: "▼";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
}
.foot-cont-three p.active::after {
  transform: translateY(-50%) rotate(180deg);
}
.foot-cont-three a {
  display: none;
}
.social {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 10px;
  border-bottom: 2px solid gray;
}
@media (max-width: 768px) and (min-width: 320px) {
  footer {
    align-items: center;
    padding: 40px 40px;
  }
  .warn{
    font-size: 10px !important;
  }
  .footer-logo {
    margin-right: 0;
  }
  .social {
    gap: 0;
  }
  .footer-logo img {
    object-fit: cover;
    width: 90px;
  }
  .footer-cont {
    font-size: 18px;
    flex-direction: column;
  }
  .foot-cont-two {
    padding-top: 35px;
    border-top: 2px solid gray;
  }
  .foot-cont-three {
    flex-direction: column;
  }
  .featured-title {
    font-size: 1.25rem;
  }
  .featured-desc {
    font-size: 0.9rem;
  }
  .featured-btns {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  .featured-btns a {
    width: 100%;
    text-align: center;
    padding: 10px 20px;
  }
}

/* Responsive */
@media (max-width: 1024px) {
    .nft-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-desktop, .header-actions {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-buttons {
        justify-content: center;
    }
    .hero-desc {
        margin: 0 auto;
    }
    .hero-image-bg {
        width: 70%;
        height: 110%;
    }
    .nft-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .section-header {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .nft-grid {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
    }
    .filter-tabs {
        justify-content: center;
    }
}
