:root {
  --bg-color: #140524;
  --card-bg: #1f0b36; /* Slightly lighter than bg */
  --primary-color: #7f29e8;
  --secondary-color: #e930f3;
  --text-color: #ffffff;
  --text-muted: #b0b0b0;
  --gradient-main: linear-gradient(90deg, #7f29e8 0%, #e930f3 100%);
  --font-main: "Outfit", sans-serif;
  --container-width: 1200px;
  --border-radius: 16px;
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-color);
  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: #fff;
  border-radius: 15px;
  color: #000;
  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: #4caf50;
  color: #fff;
}

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

#noBtn {
  background: #f44336;
  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: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

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

/* Typography & Utilities */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
}

.text-gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav-desktop {
  margin-left: auto;
}

.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 26px;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gradient-main);
  color: #fff;
  border: none; /* Gradient border trick is complex, keeping simple for now */
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(127, 41, 232, 0.4);
}

.btn-outline {
  border: 2px solid var(--primary-color);
  color: #fff;
  background: transparent;
}

.btn-outline:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

.section {
  padding: 80px 0;
}

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

.section-title {
  font-size: 2rem;
}

/* Header */
.header {

  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: rgba(20, 5, 36, 0.9);
  backdrop-filter: blur(10px);
}

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

.logo {
  width: 120px;
}

.nav-list {
  display: flex;
  gap: 30px;
}

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

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

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

.hamburger {
  z-index: 1000;
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.hamburger.active .top {
  transform: translateY(10px) rotate(45deg);
}

.hamburger.active .middle {
  opacity: 0;
  transform: translateX(-10px);
}

.hamburger.active .bottom {
  transform: translateY(-10px) rotate(-45deg);
}
.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 250px;
  height: 100vh;
  background: var(--card-bg);
  padding: 80px 20px;
  transition: var(--transition);
  z-index: 999;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
}

.mobile-menu.active {
  right: 0;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-link {
  font-size: 1.2rem;
  color: #fff;
}

/* Hero Section */
.hero {
  padding-top: 140px; /* Header height + spacing */
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
}

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

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 20px;
}

.hero-text {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 1.1rem;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat-num {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero-img-wrapper {
  position: relative;
  border-radius: var(--border-radius);
  background-color: #3a1a63;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(127, 41, 232, 0.3);
  width: fit-content;
}
.hero-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 10px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-icon {
  background: var(--gradient-main);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Grids */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* NFT Card */
.nft-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 15px;
  transition: var(--transition);
}

.nft-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.nft-img-box {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 15px;
  aspect-ratio: 1/1;
}

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

.countdown {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(20, 5, 36, 0.8);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.nft-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.avatar-sm {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.nft-title {
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.nft-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
}

.nft-price {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
}

.nft-price .label {
  font-size: 20px;
  color: var(--text-muted);
}

.nft-price .value {
  margin-right: auto;
  font-weight: 700;
  font-size: 26px;
  background: var(--gradient-main);
  color: rgb(255, 255, 255);
  padding: 10px 18px;
  border-radius: 50px;
  margin-left: -15px;
  margin-top: 10px;
}

.btn-icon {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
}

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

/* Featured Section */
.featured-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(
    135deg,
    rgba(127, 41, 232, 0.1) 0%,
    rgba(20, 5, 36, 0) 100%
  );
  padding: 40px;
  border-radius: var(--border-radius);
  border: 1px solid rgba(127, 41, 232, 0.2);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.featured-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.featured-desc {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.featured-timer {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.time-box {
  text-align: center;
}

.time-val {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
}

.time-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.featured-btns {
  display: flex;
  gap: 15px;
}

/* Categories */
.cat-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}

.cat-card:hover {
  transform: translateY(-5px);
}

.cat-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  opacity: 0.7;
  transition: var(--transition);
}

.cat-card:hover img {
  opacity: 1;
  transform: scale(1.05);
}

.cat-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
}

/* Top Collection */
.collection-card {
  position: relative;
  background: var(--card-bg);
  padding: 15px;
  border-radius: var(--border-radius);
}
.collection-card a {
  position: absolute;
  left: 11%;
  font-size: 26px;
  background: var(--gradient-main);
  color: #fff;
  bottom: 25%;
  padding: 10px 18px;
  border-radius: 50px;
}

.coll-imgs {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
  margin-bottom: 15px;
}

.coll-imgs .main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.sub-imgs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sub-imgs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.coll-info h4 {
  margin-bottom: 5px;
}

.coll-info span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Discover Tabs */
.filter-tabs {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.tab-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 8px 20px;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
}

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

.btn-text {
  background: none;
  border: none;
  color: var(--primary-color);
  cursor: pointer;
  font-weight: 600;
}

/* Create & Sell */
.step-card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
}

.step-card:hover {
  background: #2a1045;
}

.step-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

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

/* Blogs */
.blog-card {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 20px;
}

.blog-content .date {
  font-size: 0.8rem;
  color: var(--secondary-color);
  display: block;
  margin-bottom: 10px;
}

.blog-content p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Newsletter */
.newsletter-box {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.newsletter-box::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(127, 41, 232, 0.2) 0%,
    transparent 70%
  );
}

.subscribe-form {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.subscribe-form input {
  flex: 1;
  padding: 15px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.subscribe-form input:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Footer */
footer {
  position: relative;
  width: 100%;
  background-color: var(--bg-color);
  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;
}

/* Description Section */
.description-section {
  background: var(--bg-color);
}

.description-container {
  max-width: 900px;
  margin: 0 auto;
}

.description-item {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  padding: 30px;
  margin-bottom: 20px;
  transition: var(--transition);
  border: 1px solid rgba(127, 41, 232, 0.2);
}

.description-item:hover {
  border-color: rgba(127, 41, 232, 0.4);
  box-shadow: 0 5px 15px rgba(127, 41, 232, 0.2);
}

.description-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-color);
}

.description-text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.description-hidden {
  display: none;
}

.description-visible {
  display: block;
}

.description-item.expanded {
  display: block;
  animation: fadeIn 0.4s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-see-more {
  display: block;
  margin: 30px auto 0;
  padding: 12px 30px;
  background: var(--gradient-main);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
}

.btn-see-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(127, 41, 232, 0.4);
}

.btn-see-more.hidden {
  display: none;
}
@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) {
  .container {
    padding: 0 30px;
  }

  .grid-4,
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    margin: 0 auto 30px;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .featured-wrapper {
    grid-template-columns: 1fr;
  }

  .newsletter-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .subscribe-form {
    flex-direction: column;
  }

  .description-item {
    padding: 20px;
    margin-bottom: 15px;
  }

  .description-title {
    font-size: 1.3rem;
  }

  .description-text {
    font-size: 0.95rem;
  }

  .btn-see-more {
    width: 100%;
    max-width: 300px;
    padding: 14px 30px;
  }
}

@media (max-width: 480px) {
  .grid-4,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2rem;
  }

  .description-container {
    padding: 0 10px;
  }

  .description-item {
    padding: 18px;
    margin-bottom: 12px;
  }

  .description-title {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }

  .description-text {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .btn-see-more {
    font-size: 0.95rem;
    padding: 12px 25px;
  }
}
