/* ============================================
   PIXEL DIAMOND - Gaming E-Commerce Components
   Extracted from Pixel Diamond Template
   For StoneHold Founder's Pack Sales Page
   ============================================ */

/* ============================================
   SIMPLE LINE ICONS FONT
   ============================================ */
@font-face {
  font-family: 'simple-line-icons';
  src: url('/fonts/Simple-Line-Icons.woff2') format('woff2'),
       url('/fonts/Simple-Line-Icons.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
  font-family: 'simple-line-icons';
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-social-dropbox:before { content: "\e00c"; }
.icon-social-facebook:before { content: "\e00b"; }
.icon-social-twitter:before { content: "\e009"; }
.icon-layers:before { content: "\e034"; }
.icon-plane:before { content: "\e012"; }
.icon-heart:before { content: "\e08a"; }
.icon-tag:before { content: "\e055"; }
.icon-arrow-left:before { content: "\e605"; }
.icon-bag:before { content: "\e04f"; }
.icon-control-play:before { content: "\e071"; }
.icon-close:before { content: "\e082"; }
.icon-check:before { content: "\e080"; }
.icon-diamond:before { content: "\e043"; }
.icon-energy:before { content: "\e020"; }

/* ============================================
   COLOR VARIABLES (as CSS custom properties)
   ============================================ */
:root {
  /* Core colors */
  --pd-black: #1e1f20;
  --pd-black-light: #252627;
  --pd-black-lighter: #363636;
  --pd-white: #ffffff;
  --pd-white-dark: #f4f4f4;
  --pd-white-darker: #dbdbdb;
  --pd-gray-dark: #777777;
  --pd-gray: #8b8b8b;
  --pd-gray-light: #b8b8b8;
  --pd-gray-lighter: #bfbfbf;
  
  /* Accent colors */
  --pd-violet: #7442ce;
  --pd-violet-hover: #885dd5;
  --pd-violet-ornament: #4d2498;
  --pd-blue: #1c95f3;
  --pd-red: #f30a5c;
  --pd-green: #58d819;
  --pd-yellow: #ffb400;
  --pd-cyan: #00e3d0;
  --pd-pink: #f9288a;
  
  /* Social colors */
  --pd-fb-color: #4153b3;
  --pd-twt-color: #10caff;
  
  /* Component colors */
  --pd-color-line: #dbdbdb;
}

/* ============================================
   LAYOUT CONTAINERS
   ============================================ */
.grid-limit {
  max-width: 1170px;
  margin: 0 auto 0 auto;
  padding: 0 15px;
}

.layout-content-full {
  padding: 60px 0 100px;
}

.layout-content-full.v2 {
  padding: 60px 0 0;
}

.layout-item {
  display: grid;
  grid-gap: 30px;
  align-content: flex-start;
}

.layout-item.gutter-big {
  grid-gap: 60px;
}

/* ============================================
   LIGHT THEME (Product Section)
   ============================================ */
.layout-content-full {
  background: url('/img/immutable/shg/stonehold_-_keyart_background.jpg') center center / cover no-repeat fixed;
  position: relative;
}

.layout-content-full::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.88);
  z-index: 0;
}

.layout-content-full > * {
  position: relative;
  z-index: 1;
}

.product-name {
  color: var(--pd-black-lighter);
}

.product-price {
  color: var(--pd-violet);
}

.product-description {
  color: var(--pd-gray-dark);
}

.product-feature-icon {
  color: var(--pd-black-lighter);
}

.product-feature-title {
  color: var(--pd-gray);
}

.product-feature-text {
  color: var(--pd-black-lighter);
}

.product-info-list-item {
  color: var(--pd-gray);
}

.product-info-list-item .highlight {
  color: var(--pd-black-lighter);
}

/* Tab Section Light Theme */
.tab-wrap {
  background: transparent;
  border-color: var(--pd-color-line);
}

.tab-header-item {
  border-color: var(--pd-color-line);
}

.tab-header-item-text {
  color: var(--pd-gray);
}

.tab-header-item:hover .tab-header-item-text,
.tab-header-item.active .tab-header-item-text {
  color: var(--pd-black-lighter);
}

.post-open-title {
  color: var(--pd-black-lighter);
}

.post-open-text {
  color: var(--pd-gray-dark);
}

.post-open-text.bold {
  color: var(--pd-black-lighter);
}

/* Feature Rows (What's Included section) */
.feature-row {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}

.feature-text {
  font-size: 24px;
}

.feature-image {
  width: 160px;
  height: 160px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  border: 2px solid rgba(167, 139, 250, 0.3);
}

.feature-text {
  flex: 1;
}

.feature-text strong {
  display: block;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--pd-black);
}

.feature-text p {
  margin: 0;
  color: var(--pd-black-lighter);
  line-height: 1.6;
}

/* Mobile: stack vertically */
@media screen and (max-width: 600px) {
  .feature-row,
  .feature-row.right {
    flex-direction: column;
    text-align: center;
  }
  
  .feature-image {
    width: 120px;
    height: 120px;
  }
}

/* Screenshot Gallery */
.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.screenshot-item {
  display: block;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--pd-color-line);
  transition: transform 0.2s, box-shadow 0.2s;
}

.screenshot-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.screenshot-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

@media screen and (max-width: 960px) {
  .screenshot-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 600px) {
  .screenshot-gallery {
    grid-template-columns: 1fr;
  }
  
  .screenshot-item img {
    height: 180px;
  }
}

/* Screenshot Lightbox (overlay, same page) */
.screenshot-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screenshot-lightbox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.screenshot-lightbox-content {
  position: relative;
  max-width: 800px;
  width: 90%;
  max-height: 85vh;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screenshot-lightbox-content img {
  max-width: 100%;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.close-screenshot-lightbox-btn {
  position: absolute;
  top: -44px;
  right: 0;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  font-size: 22px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.close-screenshot-lightbox-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Availability Section Light Theme */
.availability-section {
  background: url('/img/immutable/shg/stonehold_-_keyart_background.jpg') center bottom / cover no-repeat fixed !important;
  position: relative;
}

.availability-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.88);
  z-index: 0;
}

.availability-section .container {
  position: relative;
  z-index: 1;
}

.availability-section .availability-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--pd-color-line);
  backdrop-filter: blur(10px);
}

.availability-section .skip-link {
  color: var(--pd-violet);
  text-decoration: none;
}

.availability-section .skip-link:hover {
  color: var(--pd-violet-hover);
}

/* ============================================
   PRODUCT OPEN WRAP (Main Product Layout)
   ============================================ */
.product-open-wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Product Slider (Left Side - Images) */
.product-slider-wrap {
  width: 570px;
}

.product-slider {
  height: 590px;
  overflow: hidden;
  background: var(--pd-white-dark);
  border: 1px solid var(--pd-color-line);
}

.product-slider-items {
  width: 100%;
  height: 100%;
}

.product-slider-item {
  width: 100%;
  height: 100%;
}

.product-slider-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Thumbnail Strip (two rows) */
.product-slider-roster-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.product-slider-roster-item {
  width: 98px;
  height: 98px;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.3s;
  border: 1px solid var(--pd-color-line);
  object-fit: cover;
}

.product-slider-roster-item:hover,
.product-slider-roster-item.active {
  opacity: 1;
}

/* ============================================
   PRODUCT OPEN (Right Side - Details)
   ============================================ */
.product-open {
  width: 570px;
  padding-top: 26px;
}

.product-name {
  font-family: 'Rajdhani', 'Segoe UI', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--pd-black-lighter);
  line-height: 30px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-category-wrap {
  margin-top: 8px;
  display: flex;
  align-items: center;
}

.product-category {
  font-family: 'Rajdhani', 'Segoe UI', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--pd-gray);
  text-transform: uppercase;
}

.product-stock {
  margin-left: 4px;
  font-family: 'Rajdhani', 'Segoe UI', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--pd-black-lighter);
  text-transform: uppercase;
}

.product-stock .highlight {
  color: var(--pd-violet);
}

/* Price */
.product-price {
  margin-top: 30px;
  color: var(--pd-black-lighter);
  font-size: 24px;
  font-weight: 700;
  line-height: 1em;
}

.product-price .currency {
  margin-right: 6px;
}

/* Description */
.product-description {
  margin-top: 30px;
  font-size: 14px;
  line-height: 1.86;
  color: var(--pd-gray-dark);
}

/* ============================================
   PRODUCT FEATURES (Condition, Availability, Shipping)
   ============================================ */
.product-features {
  display: flex;
  margin-top: 50px;
}

.product-feature {
  display: flex;
  margin-right: 60px;
}

.product-feature:last-child {
  margin-right: 0;
}

.product-feature-icon {
  margin-right: 22px;
  color: var(--pd-black-lighter);
  font-size: 24px;
  font-weight: 700;
}

.product-feature-info {
  display: flex;
  flex-direction: column;
}

.product-feature-title {
  font-family: 'Rajdhani', 'Segoe UI', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--pd-gray);
  line-height: 1em;
  text-transform: uppercase;
}

.product-feature-text {
  margin-top: 4px;
  font-family: 'Rajdhani', 'Segoe UI', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--pd-black-lighter);
  line-height: 1em;
  text-transform: uppercase;
}

/* ============================================
   PRODUCT ACTIONS (Add to Bag + Social)
   ============================================ */
.product-actions {
  display: flex;
  margin-top: 60px;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.product-actions.passport-eligible .button {
  min-width: 230px;
}

.product-actions.passport-ineligible .button {
  min-width: 230px;
}

.product-actions .button {
  padding: 0 52px 0 20px;
}

.product-actions .button i {
  margin-right: 8px;
}

.product-actions .social-links {
  margin: 0;
}

/* Product Info List (SKU, Tags) */
.product-info-list {
  display: flex;
  margin-top: 50px;
}

.product-info-list-item {
  margin-right: 26px;
  font-family: 'Rajdhani', 'Segoe UI', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--pd-gray);
  text-transform: uppercase;
}

.product-info-list-item:last-child {
  margin-right: 0;
}

.product-info-list-item .highlight {
  color: var(--pd-black-lighter);
}

.product-info-list-item a.highlight:hover {
  color: var(--pd-violet);
}

/* ============================================
   BUTTONS
   ============================================ */
.button {
  display: inline-flex;
  align-items: center;
  height: 46px;
  border-radius: 200px;
  padding: 0 52px 0 20px;
  background-color: var(--pd-black-lighter);
  color: var(--pd-white);
  font-family: 'Rajdhani', 'Segoe UI', sans-serif;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.2s;
  position: relative;
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.button:hover {
  background-color: var(--pd-gray-dark);
}

.button.violet {
  background-color: var(--pd-violet);
}

.button.violet:hover {
  background-color: var(--pd-violet-hover);
}

.button.violet .button-ornament {
  background-color: var(--pd-violet-ornament);
}

.button.full {
  width: 100%;
  padding: 0;
  text-align: center;
}

.button.small {
  height: 34px;
  padding: 0 24px;
  font-size: 10px;
  line-height: 34px;
}

.product-actions.passport-eligible .button-ornament {
  top: 6px;
}

.product-actions.passport-ineligible .button-ornament {
  top: 9px;
}

.button-ornament {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--pd-gray-dark);
  position: absolute;
  right: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.button-ornament .arrow-icon {
  display: block;
  fill: var(--pd-white);
  transition: transform 0.3s;
}

.button:hover .button-ornament .arrow-icon {
  transform: rotate(360deg);
}

/* ============================================
   SOCIAL LINKS & BUBBLE ORNAMENTS
   ============================================ */
.social-links {
  display: flex;
}

.social-links .bubble-ornament {
  margin-right: 14px;
  transition: transform 0.3s;
}

.social-links .bubble-ornament:last-child {
  margin-right: 0;
}

.social-links .bubble-ornament:hover {
  transform: translateY(-5px);
}

.bubble-ornament {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--pd-white-darker);
  text-align: center;
  cursor: pointer;
  position: relative;
  text-decoration: none;
}

.bubble-ornament::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 12px solid transparent;
  position: absolute;
  bottom: -2px;
  left: -2px;
  transform: rotate(45deg);
}

.bubble-ornament.pink {
  background-color: var(--pd-pink);
}

.bubble-ornament.pink::after {
  border-top-color: var(--pd-pink);
}

.bubble-ornament.cyan {
  background-color: var(--pd-cyan);
}

.bubble-ornament.cyan::after {
  border-top-color: var(--pd-cyan);
}

.bubble-ornament.imx {
  background-color: #000000;
}

.bubble-ornament.imx::after {
  border-top-color: #000000;
}

.bubble-ornament.fb {
  background-color: var(--pd-fb-color);
}

.bubble-ornament.fb::after {
  border-top-color: var(--pd-fb-color);
}

.bubble-ornament.twt {
  background-color: var(--pd-twt-color);
}

.bubble-ornament.twt::after {
  border-top-color: var(--pd-twt-color);
}

.bubble-ornament .heart-icon,
.bubble-ornament .tag-icon {
  color: var(--pd-white);
  font-size: 12px;
  line-height: 32px;
}

.bubble-ornament svg {
  width: 12px;
  height: 12px;
  fill: var(--pd-white);
}

/* ============================================
   TAB COMPONENT
   ============================================ */
.tab-wrap {
  background: var(--pd-white);
}

.tab-wrap.border-bottom {
  border-bottom: 1px solid var(--pd-color-line);
}

.tab-header {
  display: flex;
}

.tab-header.border-top {
  border-top: 1px solid var(--pd-color-line);
  padding: 10px 10% 0 10%;
}

.tab-header.items-3 .tab-header-item {
  width: 33.333%;
}

.tab-header-item {
  height: 58px;
  border-bottom: 1px solid var(--pd-color-line);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
}

.tab-header-item::after {
  content: '';
  width: 100%;
  height: 3px;
  background-color: var(--pd-violet);
  position: absolute;
  bottom: 0;
  left: 0;
  display: none;
}

.tab-header-item.active {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}

.tab-header-item.active .tab-header-item-text {
  color: var(--pd-black-lighter);
}

.tab-header-item.active::after,
.tab-header-item.selected::after {
  display: block;
}

.tab-header-item-text {
  font-family: 'Rajdhani', 'Segoe UI', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--pd-gray-lighter);
  text-align: center;
  text-transform: uppercase;
  transition: color 0.15s;
}

.tab-header-item:hover .tab-header-item-text {
  color: var(--pd-black-lighter);
}

.tab-body {
  padding: 10px 10%;
}

.tab-body .tab-item {
  padding-top: 10px;
}

.tab-body .tab-item.spaced {
  padding-top: 60px;
}

/* ============================================
   POST OPEN CONTENT (Tab Content)
   ============================================ */
.post-open-content {
  padding: 80px 0 70px;
}

.post-open-content.v7 .post-open-title,
.post-open-content.v7 .post-open-subtitle,
.post-open-content.v7 .post-open-text {
  padding: 0 200px;
}

.post-open-title {
  font-family: 'Rajdhani', 'Segoe UI', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--pd-black-lighter);
  text-transform: uppercase;
  line-height: 1.1;
}

.post-open-title.small {
  font-size: 36px;
}

.post-open-text {
  margin-top: 30px;
  font-size: 14px;
  line-height: 1.86;
  color: var(--pd-gray-dark);
}

.post-open-text.bold {
  margin-bottom: 40px;
  font-size: 18px;
  line-height: 1.67;
  font-weight: 700;
  color: var(--pd-black-lighter);
  text-transform: none;
}

/* ============================================
   HERO VIDEO BACKGROUND
   ============================================ */

/* Play Button Overlay */
.hero-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  cursor: pointer;
}

.hero-play-btn {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(167, 139, 250, 0.85);
  border: 3px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease-out, background 0.2s;
  box-shadow: 0 4px 30px rgba(167, 139, 250, 0.4);
}

.hero-play-btn:hover {
  transform: scale(1.1);
  background: rgba(167, 139, 250, 1);
}

.hero-play-btn i {
  color: #fff;
  font-size: 36px;
  margin-left: 6px; /* Optical center for play icon */
}

/* Close Button */
.hero-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}

.hero-close-btn:hover {
  background: rgba(243, 10, 92, 0.8);
  transform: scale(1.1);
}

/* ========== VIDEO FRAME CONTAINER ========== */
.video-frame {
  position: relative;
  width: calc(100% - 40px);
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

@media screen and (max-width: 768px) {
  .video-frame {
    width: calc(100% - 24px);
    border-radius: 6px;
  }
  
  .hero-thumbnail-content .stonehold-logo {
    max-width: 180px;
    width: 50%;
  }
  
  .hero-thumbnail-content .sale-subtitle {
    font-size: 18px;
    letter-spacing: 1px;
  }
  
  .hero-thumbnail-content .nft-badge {
    font-size: 12px;
    padding: 6px 14px;
  }
  
  .hero-play-btn {
    width: 60px;
    height: 60px;
  }
  
  .hero-play-btn i {
    font-size: 24px;
    margin-left: 4px;
  }
}

/* Video Thumbnail */
.hero-thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Styled content overlay on thumbnail */
.hero-thumbnail-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(15, 12, 41, 0.3) 0%,
    rgba(15, 12, 41, 0.6) 50%,
    rgba(15, 12, 41, 0.8) 100%
  );
  padding: 20px;
}

.hero-thumbnail-content .stonehold-logo {
  max-width: 280px;
  width: 60%;
  height: auto;
  margin-bottom: 16px;
}

.hero-thumbnail-content .sale-subtitle {
  font-family: 'Rajdhani', 'Segoe UI', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 12px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-thumbnail-content .nft-badge {
  display: inline-block;
  background: linear-gradient(135deg, #a78bfa 0%, #f30a5c 100%);
  color: #fff;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Video wrapper - hidden initially */
.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease-out;
}

/* Video fits within frame (no cropping) */
.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ========== PLAYING STATE (inline video) ========== */
/* Hide thumbnail completely when playing */
.video-frame.playing .hero-thumbnail {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.video-frame.playing .hero-play-overlay {
  display: none;
}

.video-frame.playing .hero-close-btn {
  display: flex;
}

.video-frame.playing .hero-video-wrapper {
  opacity: 1;
  pointer-events: auto;
  z-index: 5;
}

/* Reduce gradient overlay when playing */
.marketing-hero.playing::before {
  opacity: 0.2;
}

/* ============================================
   PURCHASE STATE - HERO
   ============================================ */
.pd-dark .pd-hero-title {
  font-family: 'Rajdhani', 'Segoe UI', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  margin: 20px 0 10px;
  line-height: 1.2;
}

.pd-dark .pd-hero-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.pd-dark .pd-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Rajdhani', 'Segoe UI', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s;
}

.pd-dark .pd-back-link:hover {
  color: #a78bfa;
}

.pd-dark .pd-back-link i {
  font-size: 14px;
}

/* ============================================
   PURCHASE STATE - PRODUCTS GRID
   ============================================ */
.pd-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 30px;
  padding: 20px 0;
}

/* NFT Card */
.pd-nft-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.pd-nft-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.pd-nft-card .product-preview-img-wrap {
  background: rgba(0, 0, 0, 0.2);
  padding: 20px;
}

.pd-nft-card .product-preview-img {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.pd-nft-card .product-preview-img img {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
}

.pd-card-body {
  padding: 20px;
}

.pd-nft-card .product-preview-title {
  font-family: 'Rajdhani', 'Segoe UI', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.pd-card-info {
  margin-bottom: 16px;
}

.pd-availability {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* Full-width button in card */
.pd-nft-card .button.full {
  width: 100%;
  justify-content: center;
  padding: 0 20px;
  height: 40px;
}

.pd-nft-card .button i {
  margin-right: 8px;
}

/* ============================================
   PURCHASE STATE - MESSAGES
   ============================================ */
.pd-dark .messages-container {
  margin-top: 30px;
}

.pd-dark .sale-message {
  padding: 16px 20px;
  border-radius: 8px;
  font-family: 'Rajdhani', 'Segoe UI', sans-serif;
  font-weight: 600;
  display: none;
  align-items: center;
  gap: 10px;
}

.pd-dark .sale-message.active {
  display: flex;
}

.pd-dark .sale-message.success {
  background: rgba(88, 216, 25, 0.15);
  border: 1px solid rgba(88, 216, 25, 0.3);
  color: #58d819;
}

.pd-dark .sale-message.error {
  background: rgba(243, 10, 92, 0.15);
  border: 1px solid rgba(243, 10, 92, 0.3);
  color: #f30a5c;
}

.pd-dark .sale-message i {
  font-size: 18px;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media screen and (max-width: 1260px) {
  .product-open-wrap {
    display: block;
    padding: 0 10% 0 10%;
  }

  .product-slider-wrap {
    margin: 0 auto;
  }

  .product-open {
    width: 100%;
    padding-top: 40px;
  }

  .post-open-content.v7 .post-open-title,
  .post-open-content.v7 .post-open-subtitle,
  .post-open-content.v7 .post-open-text {
    padding: 0;
  }
}

@media screen and (max-width: 680px) {
  .product-slider-wrap {
    width: 100%;
  }

  .product-slider {
    width: 285px;
    height: 295px;
    margin: 0 auto;
  }

  .product-slider-roster-items {
    flex-wrap: wrap;
    justify-content: center;
  }

  .product-slider-roster-item {
    width: 60px;
    height: 60px;
    margin: 5px;
  }

  .product-features {
    flex-wrap: wrap;
    justify-content: center;
  }

  .product-feature {
    margin: 0 20px 20px;
  }

  .product-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .product-actions .social-links {
    margin: 16px 0 0 0;
  }

  .tab-header {
    display: block;
  }

  .tab-header.items-3 .tab-header-item {
    width: 100%;
  }

  .post-open-title {
    font-size: 28px;
  }

  /* Purchase State Responsive */
  .pd-products-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pd-dark .pd-hero-title {
    font-size: 24px;
  }

  .pd-nft-card .product-preview-img img {
    max-height: 150px;
  }
}

/* ============================================
   DARK THEME OVERRIDES (for NFT pages)
   ============================================ */
.pd-dark {
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
}

.pd-dark .layout-content-full {
  padding: 40px 0 60px;
}

.pd-dark .product-name {
  color: #ffffff;
}

.pd-dark .product-price {
  color: #a78bfa;
  font-size: 28px;
}

.pd-dark .product-description {
  color: rgba(255, 255, 255, 0.85);
}

.pd-dark .product-feature-icon {
  color: #a78bfa;
}

.pd-dark .product-feature-title {
  color: rgba(255, 255, 255, 0.6);
}

.pd-dark .product-feature-text {
  color: #ffffff;
}

.pd-dark .product-info-list-item {
  color: rgba(255, 255, 255, 0.6);
}

.pd-dark .product-info-list-item .highlight {
  color: #ffffff;
}

.pd-dark .product-open,
.pd-dark .tab-wrap {
  background: transparent;
}

.pd-dark .product-slider {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.pd-dark .product-slider-roster-item {
  border-color: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.pd-dark .tab-wrap {
  border-color: rgba(255, 255, 255, 0.1);
  margin-top: 40px;
}

.pd-dark .tab-wrap.border-bottom {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.pd-dark .tab-header.border-top {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.pd-dark .tab-header-item {
  border-color: rgba(255, 255, 255, 0.1);
}

.pd-dark .tab-header-item-text {
  color: rgba(255, 255, 255, 0.6);
}

.pd-dark .tab-header-item:hover .tab-header-item-text,
.pd-dark .tab-header-item.active .tab-header-item-text {
  color: #ffffff;
}

.pd-dark .post-open-title {
  color: #ffffff;
}

.pd-dark .post-open-text {
  color: rgba(255, 255, 255, 0.85);
}

.pd-dark .post-open-text.bold {
  color: rgba(255, 255, 255, 0.95);
}

.pd-dark .post-open-content.v7 .post-open-title,
.pd-dark .post-open-content.v7 .post-open-text {
  padding: 0 100px;
}

/* Adjust padding for tab content on dark theme */
.pd-dark .post-open-content {
  padding: 40px 0 50px;
}

/* Tab item padding */
.pd-dark .tab-item {
  padding: 20px 0;
}

/* Bottom sections background fix */
.pd-dark .availability-section {
  background: #16213e !important;
  background-image: none !important;
  padding: 40px 0;
}

.pd-dark .availability-section::before {
  display: none;
}

.pd-dark .availability-section .availability-card {
  background: transparent;
  border: none;
  padding: 20px;
}

.pd-dark .availability-section .skip-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 14px;
}

.pd-dark .availability-section .skip-link:hover {
  color: #a78bfa;
}

/* Ensure no background image leaks through */
.pd-dark + .primary-sales-content,
.pd-dark .primary-sales-content {
  background: #16213e !important;
  background-image: none !important;
}

/* ============================================
   DARK THEME RESPONSIVE OVERRIDES
   ============================================ */
@media screen and (max-width: 1260px) {
  .pd-dark .post-open-content.v7 .post-open-title,
  .pd-dark .post-open-content.v7 .post-open-text {
    padding: 0 40px;
  }
}

@media screen and (max-width: 680px) {
  .pd-dark .layout-content-full {
    padding: 20px 15px 40px;
  }

  .pd-dark .post-open-content.v7 .post-open-title,
  .pd-dark .post-open-content.v7 .post-open-text {
    padding: 0;
  }

  .pd-dark .post-open-title {
    font-size: 24px;
  }

  .pd-dark .product-price {
    font-size: 22px;
  }

  .pd-dark .product-features {
    flex-direction: column;
    align-items: center;
  }

  .pd-dark .product-feature {
    margin: 0 0 20px 0;
    text-align: center;
  }

  .pd-dark .product-feature:last-child {
    margin-bottom: 0;
  }
}

/* ============================================
   ELIGIBILITY RESULT
   ============================================ */
.eligibility-result {
  margin-top: 0px;
  text-align: left;
}

.eligible-message {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 12px;
  padding: 20px;
  color: #22c55e;
}

.eligible-message i {
  font-size: 24px;
  margin-bottom: 10px;
  display: block;
}

.eligible-message p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

.not-eligible-message {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 12px;
  padding: 20px;
  color: #333;
}

.not-eligible-message > i {
  color: #f59e0b;
  font-size: 24px;
  display: block;
  margin-bottom: 10px;
}

.not-eligible-message > p {
  margin: 0 0 10px 0;
  font-size: 16px;
}

.topup-options {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.topup-options > p {
  width: 100%;
  margin: 0 0 4px 0;
  font-weight: 600;
  color: #333;
}

.topup-options a,
.tutorial-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--pd-violet);
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.topup-options a:hover,
.tutorial-btn:hover {
  background: var(--pd-violet-dark, #6d28d9);
  transform: translateY(-1px);
}

.topup-options a i,
.tutorial-btn i {
  font-size: 16px;
}

/* ============================================
   TUTORIAL VIDEO (popup next to button, no dimming)
   ============================================ */
.tutorial-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: none;
  pointer-events: none;
}

.tutorial-modal[data-open="true"] {
  display: block;
}

.tutorial-modal-overlay {
  display: none;
}

.tutorial-modal-content {
  position: fixed;
  width: 90%;
  max-width: 560px;
  aspect-ratio: 16/9;
  z-index: 1;
  pointer-events: auto;
  background: #1a1a2e;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.tutorial-modal-content iframe {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  display: block;
}

.close-tutorial-btn {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: white;
  font-size: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}

.close-tutorial-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.hidden {
  display: none !important;
}

.visible {
  display: block !important;
}
