/* 
 * Contently Detail Page Styles
 * Custom styles specific to the Contently plugin detail page
 */

/* Hero Section Customizations */
.hero-figma-plugin {
  text-align: left;
  padding: var(--space-md) 0;
}


.hero-figma-plugin .hero-description {
  font-size: var(--font-size-md);
  margin-bottom: var(--space-lg);
  color: var(--color-text-secondary);
}

.hero-figma-plugin .plugin-icons {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.hero-figma-plugin .plugin-icons .icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: .5rem;
  overflow: hidden;
}

.hero-figma-plugin .plugin-icons .icon img {
  width: 100%;
  height: auto;
}

/* NES Cartridge Styling */
.hero-cartridge-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-md);
  perspective: 1000px;
}

.nes-cartridge {
  width: 80%;
  max-width: 400px;
  position: relative;
  transform: rotate3d(0.1, -0.1, 0, 15deg);
  transition: transform 0.5s ease;
}

.nes-cartridge:hover {
  transform: rotate3d(0, 0, 0, 0deg) scale(1.05);
}

.nes-cartridge .cartridge-image {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.15));
}

/* Blue Glow */
.blue-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 162, 255, 0.3) 0%, rgba(0, 162, 255, 0) 70%);
  border-radius: 50%;
  z-index: -1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* CardRidge Hero Wrapper - General styles for all detail pages */
.cardRidge-hero-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: var(--space-md);
  min-height: 300px;
}

.cardRidge-hero-wrapper .cardRidge {
  position: relative;
  z-index: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-figma-plugin .title {
  }

  .hero-figma-plugin .plugin-icons {
    flex-wrap: wrap;
  }

  .nes-cartridge {
    width: 100%;
    transform: rotate3d(0, 0, 0, 0deg);
  }

  /* CardRidge hero wrapper mobile styles */
  .cardRidge-hero-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--space-md) 0;
    min-height: 250px;
  }

  .cardRidge-hero-wrapper .cardRidge {
    max-width: 250px;
    width: 100%;
  }
}