body.is-article-visible {
  overflow: auto !important;
}

/* #about-iran .close {
  display: none !important;
} */


#main article.nft-fixed {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100vw !important;
  height: 100vh !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  z-index: 10000;
  transform: none !important;
  opacity: 1 !important;
}

#NFT.nft-fixed .nft-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

#NFT.nft-fixed .nft-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% center;
  display: block;
}

#NFT.nft-fixed .nft-overlay {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: .85;
  pointer-events: none;
  transition: opacity .9s ease;
}

body.is-article-visible #NFT.nft-fixed.active .nft-overlay {
  opacity: .25;
}

#NFT.nft-fixed .close,
.about-fixed .close {
  position: absolute;
  top: 0;
  right: 0;
  width: 4rem;
  height: 4rem;
  z-index: 10001;
  border-bottom: none;
}

#NFT.nft-fixed .close {
  top: 40px;
  right: 40px;
}

#NFT.nft-fixed .close:before,
.about-fixed .close::before {
  background-color: rgba(0, 0, 0, .35);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
}


@media (max-width: 768px) {
  #NFT.nft-fixed .nft-img {
    object-fit: cover;
    object-position: center;
  }
}


/* .about-iran-hero is the <section> inside each of these articles. It used to
   carry id="about-iran" too -- three elements with one id -- so it picked up
   these rules by accident. It is a class now, and it still needs them: without
   the flex centring and padding the card row collapses to a ~40px sliver. */
#about-iran,
#inner-about-iran,
.about-iran-hero {

  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  width: 100% !important;
  max-width: none !important;
  transform: none !important;
  opacity: 1 !important;


  /* min-height: 100vh; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  padding: clamp(16px, 3vw, 40px) !important;
  border-radius: 0 !important;
  position: relative;
}


/* .about-iran-hero was `id="about-iran"` nested inside #about-iran and again
   inside #inner-about-iran -- three elements sharing one id, which broke
   $main_articles.filter('#about-iran') and #about-iran anchor navigation.
   It is a class now; this selector list keeps the rendering identical. */
#about-iran::before,
#inner-about-iran::before,
#inner-about-iran .about-iran-hero::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: url("../../images/PC4.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

#inner-about-iran .about-iran-hero::before {
  background-image: url("../../images/pic01.webp") !important;
}


#about-iran .major,
#inner-about-iran .major {
  margin: 0 auto .5rem;
  width: min(1100px, 92vw);
}

#about-iran .intro-ir,
#inner-about-iran .intro-ir {
  margin: 0 auto 1rem;
  width: min(1100px, 92vw);
  background: rgba(0, 0, 0, .35);
  backdrop-filter: blur(2px);
  padding: .75rem 1rem;
  border-radius: 10px;
}

#inner-about-iran .close {
  display: none !important;
}

#inner-about-iran .back-about {
  display: block !important;
}

#modal-about .close {
  display: none !important;
  border-bottom: none !important;
}

#modal-about .back-modal-about {
  display: block !important;
}

.about-hero {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-cards {
  width: min(1200px, 94vw);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: .5rem auto 0;
}

.about-card {
  position: relative;
  border: 0;
  padding: 0;
  cursor: pointer;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, .06);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .15);
  transition: transform .25s ease, box-shadow .25s ease;
}

.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45), inset 0 0 0 1px rgba(255, 255, 255, .25);
}

.about-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
}

.about-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0) 60%);
}

.card-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px;
  text-align: center;
}

.card-caption h3 {
  margin: 0 0 .25rem;
  letter-spacing: .2rem;
}

.card-caption p {
  margin: 0;
  opacity: .9;
}

.ir-modal__close {
  position: relative;
}

.ir-modal__close::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='20px' height='20px' viewBox='0 0 20 20' zoomAndPan='disable'%3E%3Cstyle%3Eline %7B stroke: %23ffffff%3B stroke-width: 1%3B %7D%3C/style%3E%3Cline x1='2' y1='2' x2='18' y2='18' /%3E%3Cline x1='18' y1='2' x2='2' y2='18' /%3E%3C/svg%3E");
  background-size: 20px 20px;
  background-repeat: no-repeat;
}


@media (max-width: 980px) {
  .about-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  #about-iran,
  .about-iran-hero {
    padding: clamp(8px, 3vw, 16px) !important;
  }

  #about-iran {
    height: 100vh;
  }

  .about-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .about-card {
    aspect-ratio: 16 / 11;
  }

  .about-iran-cards {
    padding: 0 0 15px !important;
  }

  .about-iran-card {
    height: 450px;
    width: 100%;
  }

  .about-iran-cards .swiper {
    width: 100% !important;
    padding: 0 !important;
  }

  #NFT.nft-fixed .close {
    right: 10px;
    top: 10px;
  }

  #main article .close {
    right: -10px;
    top: -10px;
  }
}


.ir-modal {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 2vw, 24px);
}

.ir-modal[aria-hidden="false"] {
  display: flex;
}

.ir-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  backdrop-filter: blur(2px);
}

.ir-modal__dialog {
  position: relative;
  width: min(1000px, 92vw);
  height: min(680px, 88vh);
  background: rgba(27, 31, 34, .92);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 16px;
  padding: 16px;
  overflow: hidden;
}


.circle-wrap {
  position: relative;
  width: 100%;
  height: 60%;
}

.circle {
  --d: min(520px, 62vh);
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--d);
  height: var(--d);
  transform: translate(-50%, -50%);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .05), transparent 60%);
}

.circle-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 170px;
  height: 170px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .03);
}

.center-label {
  text-align: center;
  letter-spacing: .15rem;
  opacity: .95;
}

.circle .node {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 18px;
  border-radius: 10px;
  background: #ffd64d;
  border: 1px solid rgba(0, 0, 0, .25);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25), inset 0 0 0 2px rgba(255, 255, 255, .25);
  cursor: pointer;
  z-index: 3;
}


.circle-tooltip {
  position: absolute;
  pointer-events: none;
  z-index: 5;
  color: #fff;
  background: rgba(0, 0, 0, .8);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: .5rem;
  padding: .5rem .65rem;
  font-size: .95rem;
  max-width: 320px;
  display: none;
}

.circle-tooltip.show {
  display: block;
}


.era-card {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 12px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 12px;
  padding: 12px;
  max-height: 38%;
  overflow: auto;
  backdrop-filter: blur(2px);
  z-index: 4;
}

.era-card.hidden {
  display: none;
}

.era-media img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 8px;
}

.era-body h4 {
  margin: .2rem 0 .25rem;
  letter-spacing: .15rem;
}

.era-meta {
  opacity: .85;
  font-size: .9rem;
  margin-bottom: .35rem;
}

@media (max-width:736px) {
  .circle-wrap {
    height: 52%;
  }

  .circle {
    --d: 66vw;
  }

  .circle-center {
    width: 125px;
    height: 125px;
  }

  .era-card {
    grid-template-columns: 1fr;
    max-height: 44%;
  }
}


.mobile-strip {
  display: none;
  margin-top: .75rem;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: .25rem;
}

.mobile-strip .pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  cursor: pointer;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 999px;
  padding: .35rem .7rem;
  margin-inline-end: .4rem;
}

@media (max-width:736px) {
  .mobile-strip {
    display: block;
  }
}


.about-iran-cards {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 2rem 1rem;
}

.about-iran-cards .swiper {
  width: 85%;
  padding: 20px;
}

.about-iran-cards .swiper .swiper-slide {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.about-fixed .swiper-pagination-cards,
.about-fixed .swiper-pagination-inner-cards {
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-fixed .swiper-pagination-cards .swiper-pagination-bullet,
.about-fixed .swiper-pagination-inner-cards .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #999;
  margin: 0 3px !important;
  opacity: .5;
  transition: opacity .3s ease;
}

.about-fixed .swiper-pagination-cards .swiper-pagination-bullet-active,
.about-fixed .swiper-pagination-inner-cards .swiper-pagination-bullet-active {
  background: #fff;
  opacity: 1;
}

.about-iran-cards::-webkit-scrollbar {
  display: none;
}


.about-iran-card {
  display: flex;
  flex: 0 0 80%;
  /* aspect-ratio: 3/4; */
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4); */
  background-size: cover;
  background-position: center;
  transition: transform 0.3s ease;
  scroll-snap-align: center;
}

.about-iran-card:hover {
  transform: scale(1.05);
}


.about-iran-card span {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 22px;
  font-weight: bold;
  color: white;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}

.about-iran-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 1rem;
}

.about-iran-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #999;
  opacity: .5;
  transition: opacity .3s ease;
}

.about-iran-dots .dot.active {
  opacity: 1;
  background: #fff;
}

@media (min-width: 768px) {
  .about-iran-cards {
    justify-content: center;
    gap: 40px;
    padding: 0;
  }

  .about-iran-card {
    flex: 0 0 280px;
    height: 500px;
    /* aspect-ratio: auto; */
  }
}

.wii-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  padding: 1rem;
  height: 65vh;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  scrollbar-width: none;
}

.wii-slider::-webkit-scrollbar {
  display: none;
}

.wii-card {
  flex: 0 0 85%;
  scroll-snap-align: start;
  border-radius: 12px;
  padding: 1rem;
  height: 100%;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}


/* Removed: background: url('images/PC4.jpg.html').
   That filename does not exist (and ".jpg.html" was never a real file), so it
   404'd on every homepage load. The hero background is painted by the
   #about-iran::before rule further up, which is the one that actually works. */


.buy-tabs {
  display: flex;
  gap: .5rem;
  margin: .25rem 0 1rem;
  flex-wrap: wrap;
}

.buy-tab {
  border: 1px solid rgba(255, 255, 255, .35);
  background: transparent;
  color: #fff;
  cursor: pointer;
  padding: .5rem .9rem;
  border-radius: .5rem;
  letter-spacing: .08rem;
}

.buy-tab.active {
  background: rgba(255, 255, 255, .10);
}

.buy-pane {
  margin-top: .5rem;
}

.buy-pane[hidden] {
  display: none !important;
}

@media (max-width: 640px) {
  .buy-tabs {
    justify-content: center;
  }

  .pumpfun-frame {
    min-height: 500px;
  }
}

.pumpfun-frame {
  width: 100%;
  min-height: 560px;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 12px;
  overflow: hidden;
  display: block;
  background: rgba(0, 0, 0, .25);
}

.buy-quick-notes {
  display: grid;
  gap: .5rem;
  margin-top: .75rem;
}

.buy-quick-notes .note {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .65rem;
  border-radius: .5rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  font-size: .95rem;
}

.buy-quick-notes .note span {
  display: inline-grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  background: #239F40;
  color: #fff;
  font-weight: 700;
}

.ex-grid {
  display: grid;
  gap: .75rem;
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 980px) {
  .ex-grid {
    grid-template-columns: 1fr;
  }
}

.ex-card {
  display: block;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 12px;
  padding: 1rem;
  background: rgba(255, 255, 255, .05);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.ex-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .08);
}

.ex-title {
  font-weight: 700;
  letter-spacing: .08rem;
  margin-bottom: .25rem;
}

.buy-steps {
  margin-top: 1rem;
}

.buy-steps .steps {
  margin: .35rem 0 0 1.2rem;
  list-style: decimal;
}

.buy-steps .steps li {
  margin: .25rem 0;
}

.buy-steps .warn {
  margin-top: .75rem;
  font-size: .95rem;
  border-left: 4px solid #DA0000;
  padding-left: .6rem;
  opacity: .9;
}


#buy.major {
  margin-bottom: .5rem;
}

#main article#buy {
  max-width: 960px;
}
/* --- Fix NFT Buttons --- */
.nft-btn {
  border: none;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  font-size: 1.6em;           /* slightly bigger arrow */
  padding: 20px;              /* bigger circle */
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.card-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

/* Ensure buttons are vertically centered relative to card */
.card-wrapper button {
  align-self: center;
}

/* Slight upward adjustment if needed */
#prev, #next {
  transform: translateY(-10%);
}

/* --- Fix NFT Intro Text Readability --- */
#NFT .intro {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.1em;
  line-height: 1.6;
  color: #eee;                          /* lighter text */
  background: rgba(0, 0, 0, 0.35);      /* subtle background for contrast */
  padding: 0.75rem 1rem;
  border-radius: 8px;
}
/* Mobile adjustments for NFT section */
@media (max-width: 768px) {
  #NFT .intro {
    font-size: 0.95em;
    padding: 0.6rem 0.8rem;
  }

  .card-wrapper {
    gap: 20px; /* reduce gap between buttons */
  }

  .card-container {
    width: 90%;       /* take most of screen width */
    max-width: 340px; /* but not too wide */
    height: auto;     /* let height adapt to image/text */
  }

  .card-container img {
    height: auto;     /* image keeps ratio */
    max-height: 250px; /* avoid taking full viewport */
  }

  .card-text {
    font-size: 0.9em;
    padding: 10px;
  }

  .nft-btn {
    padding: 14px; /* slightly smaller buttons */
    font-size: 1.2em;
  }
}

@media (max-width: 480px) {
  #NFT h2.major {
    font-size: 1.4em;
  }

  #NFT .intro {
    font-size: 0.9em;
    line-height: 1.4;
  }

  .card-container {
    width: 95%;
    max-width: 300px;
  }

  .card-container img {
    max-height: 200px;
  }
}

/* NFT Section Styles */
#NFT {
  text-align: center;
  padding: 2rem 1rem;
}

#NFT .intro {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.05em;
  color: #555;
}

.card-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.card-container {
  position: relative;
  width: 320px;
  height: 440px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  background: white;
  user-select: none;
  transform: translateX(0);
  opacity: 1;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.card-container img {
  width: 100%;
  height: 75%;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.card-text {
  padding: 12px;
  font-size: 1em;
  line-height: 1.4;
  height: 25%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #444;
}

/* Modern circular buttons */
.nft-btn {
  border: none;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: white;
  font-size: 1.4em;
  padding: 16px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nft-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.nft-btn:active {
  transform: scale(0.95);
}

#prev::before {
  content: "⟵";
}

#next::before {
  content: "⟶";
}

 /* ===============================
   FIX: What is Iran Coin layout
   =============================== */

#What-is-iran-coin .symbol {
  width: 100%;
  height: 180px;
  background: url("../../images/iran-coin-banner.png") center/cover no-repeat;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

/* برطرف کردن مشکل اسکرول داخلی و ارتفاع ناقص */
#main article#What-is-iran-coin {
  max-height: none !important;
  overflow-y: visible !important;
  position: relative !important;
  height: auto !important;
}

body.is-article-visible {
  overflow-y: scroll !important;
}



/* ===============================
   INTRO SECTION FIX
   =============================== */

#intro .intro-banner img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

#intro .intro-text {
  color: #fff;
  margin-bottom: 2rem;
}

#intro .intro-text h3 {
  color: #ffd84d;
  margin-bottom: 0.5rem;
}

#intro .intro-list {
  margin-left: 1.5rem;
  line-height: 1.7;
}

#intro .highlight {
  margin-top: 1rem;
  font-weight: 600;
  color: #ffd84d;
}

#intro .intro-pillars {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

#intro .pillar {
  flex: 1 1 30%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 1.2rem;
  text-align: center;
  transition: 0.3s ease;
}

#intro .pillar:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

#intro .pillar h4 {
  color: #ffd84d;
  margin-bottom: 0.6rem;
}

#intro .intro-quote {
  margin-top: 2rem;
  font-style: italic;
  color: #ccc;
  text-align: center;
  border-left: 3px solid #ffd84d;
  padding-left: 1rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
  #intro .intro-pillars {
    flex-direction: column;
  }
  #intro .intro-banner img {
    max-height: 200px;
  }
}

/* ===============================
   INTRO SECTION EXTENDED
   =============================== */

#intro {
  color: #fff;
  line-height: 1.7;
}

#intro .intro-banner img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

#intro .intro-text h3 {
  color: #ffd84d;
  margin-bottom: 0.6rem;
}

#intro .intro-list {
  margin-left: 1.5rem;
  list-style-type: none;
}

#intro .intro-list li {
  margin-bottom: 0.5rem;
}

#intro .intro-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

#intro .pillar {
  flex: 1 1 30%;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 1.2rem;
  text-align: center;
  transition: 0.3s ease;
}

#intro .pillar:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

#intro .pillar h4 {
  color: #ffd84d;
  margin-bottom: 0.5rem;
}

#intro .intro-quote {
  margin-top: 2rem;
  font-style: italic;
  color: #ccc;
  text-align: center;
  border-left: 3px solid #ffd84d;
  padding-left: 1rem;
}

/* NFT Marketplace Section */
#intro .intro-nft {
  margin-top: 3rem;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 0 25px rgba(0,0,0,0.3);
}

#intro .intro-nft h3 {
  color: #ffd84d;
  margin-bottom: 1rem;
  text-align: center;
}

#intro .intro-nft p {
  color: #ddd;
  margin-bottom: 1rem;
}

#intro .nft-features {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

#intro .nft-features .feature {
  flex: 1 1 30%;
  background: rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

#intro .nft-features .feature:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.12);
}

#intro .nft-features h4 {
  color: #ffd84d;
  margin-bottom: 0.5rem;
}

#intro .highlight {
  color: #ffd84d;
  font-weight: 600;
  text-align: center;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  #intro .intro-pillars,
  #intro .nft-features {
    flex-direction: column;
  }
}

/* ===============================
   INTRO SECTION — FINAL EXPANDED
   =============================== */

#intro {
  color: #fff;
  line-height: 1.7;
}

/* بنر بالای اینترو */
#intro .intro-banner img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 25px rgba(0,0,0,0.4);
}

/* متن ابتدایی */
#intro .intro-text h3 {
  color: #ffd84d;
  margin-bottom: 0.6rem;
}

#intro .intro-list {
  margin-left: 1.5rem;
  list-style-type: none;
}

#intro .intro-list li {
  margin-bottom: 0.5rem;
}

/* ستون‌های اصلی */
#intro .intro-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

#intro .pillar {
  flex: 1 1 30%;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 1.2rem;
  text-align: center;
  transition: 0.3s ease;
}

#intro .pillar:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

#intro .pillar h4 {
  color: #ffd84d;
  margin-bottom: 0.5rem;
}

/* نقل‌قول */
#intro .intro-quote {
  margin-top: 2rem;
  font-style: italic;
  color: #ccc;
  text-align: center;
  border-left: 3px solid #ffd84d;
  padding-left: 1rem;
}

/* بخش هدف فرهنگی */
#intro .intro-heritage {
  margin-top: 3rem;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

#intro .intro-heritage h3 {
  color: #ffd84d;
  margin-bottom: 1rem;
  text-align: center;
}

#intro .intro-heritage p {
  color: #ddd;
  margin-bottom: 1rem;
}

/* بخش NFT Marketplace */
#intro .intro-nft {
  margin-top: 3rem;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 0 25px rgba(0,0,0,0.3);
}

#intro .intro-nft h3 {
  color: #ffd84d;
  margin-bottom: 1rem;
  text-align: center;
}

#intro .intro-nft p {
  color: #ddd;
  margin-bottom: 1rem;
}

#intro .nft-features {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

#intro .nft-features .feature {
  flex: 1 1 30%;
  background: rgba(255,255,255,0.07);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  transition: all 0.3s ease;
}

#intro .nft-features .feature:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.12);
}

#intro .nft-features h4 {
  color: #ffd84d;
  margin-bottom: 0.5rem;
}

#intro .highlight {
  color: #ffd84d;
  font-weight: 600;
  text-align: center;
  margin-top: 1rem;
}

/* واکنش‌گرایی موبایل */
@media (max-width: 768px) {
  #intro .intro-pillars,
  #intro .nft-features {
    flex-direction: column;
  }

  #intro .intro-banner img {
    max-height: 220px;
  }
}





/* ===========================================================
   Header nav — mid-width wrapping
   -----------------------------------------------------------
   The theme only stacks the nav into a column below 480px. With
   eight items (Intro, NFT Bazar, i21 Token, History, Culture,
   Art, About Iran, Metaverse) at min-width 7.5rem each, the row
   needs ~1040px, so below that it pushed the page sideways.
   Letting it wrap keeps the bordered look and costs one extra
   row instead of eight.
   =========================================================== */
@media screen and (min-width: 481px) and (max-width: 1100px) {
  #header nav ul {
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
  }

  #header nav ul li a {
    min-width: 6rem;
    padding: 0 0.85rem;
    letter-spacing: 0.1rem;
    font-size: 0.72rem;
  }
}

/* ===========================================================
   Metaverse entrance on the homepage
   -----------------------------------------------------------
   One more item in the header nav, in the theme's own idiom —
   a thin-ruled box with spaced capitals — so it reads as part
   of the site rather than a pasted-on button. Only two things
   set it apart: a small pishtaq drawn in line, and a slow warm
   breath in its border, the colour of the logo's gold.
   =========================================================== */
#header nav ul li.nav-mv a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  color: #f3e3b0;
  animation: navMvBreath 4.5s ease-in-out infinite;
}
#header nav ul li.nav-mv a .nav-mv__arch {
  width: 0.8rem;
  height: 1.05rem;
  flex: none;
  color: #e2c46a;
}
#header nav ul li.nav-mv a:hover {
  background-color: rgba(226, 196, 106, 0.12);
}
@keyframes navMvBreath {
  0%, 100% { box-shadow: inset 0 0 0 0 rgba(226, 196, 106, 0); }
  50%      { box-shadow: inset 0 0 0 1px rgba(226, 196, 106, 0.55), 0 0 14px rgba(226, 196, 106, 0.18); }
}
@media (prefers-reduced-motion: reduce) {
  #header nav ul li.nav-mv a { animation: none; }
}
