/* ============================================
   SHOWCASE SECTION - SERIES 001
   Physical Pin + NFT Collection Display
   ============================================ */

/* Main Showcase Section */
.showcase {
    padding: 80px 20px;
    background: transparent;
    position: relative;
    overflow: visible;
    z-index: 1;
}

/* Section Title Styling */
.section-title {
    text-align: center;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 400;
    margin-bottom: 30px;
    color: var(--apple-dark);
    font-family: 'Press Start 2P', monospace;
    text-shadow: none;
    line-height: 1.6;
    letter-spacing: 2px;
    position: relative;
}

/* Section Subtitle Styling */
.section-subtitle {
    text-align: center;
    font-size: 0.75rem;
    color: var(--apple-gray);
    margin-bottom: 50px;
    font-family: 'Press Start 2P', monospace;
    line-height: 1.8;
}

/* ============================================
   PIN CAROUSEL & GRID LAYOUT
   ============================================ */

/* Horizontal Scrolling Carousel for Pins */
.pins-carousel {
    display: flex;
    gap: 30px;
    padding: 40px 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Hide Scrollbar for Webkit Browsers */
.pins-carousel::-webkit-scrollbar {
    display: none;
}

/* ============================================
   PIN CARD COMPONENT
   ============================================ */

/* Individual Pin Card Container */
.pin-card {
    min-width: 350px;
    width: 100%;
    background: var(--apple-white);
    border: 3px solid var(--apple-dark);
    border-radius: 8px;
    padding: 30px;
    scroll-snap-align: start;
    position: relative;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: none;
    font-family: 'Press Start 2P', monospace;
}

/* Remove Default Before Pseudo-Element */
.pin-card::before {
    display: none;
}

/* Remove Hover Before Pseudo-Element */
.pin-card:hover::before {
    display: none;
}

/* Pin Card Hover Effect */
.pin-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* ============================================
   PIN IMAGE CONTAINER
   ============================================ */

/* Pin Image Display Area */
.pin-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: var(--apple-gray-light);
    border: 4px solid var(--apple-border);
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Pin Image Styling */
.pin-image img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    filter: grayscale(100%) contrast(1.2);
    transition: all 0.2s ease;
}

/* Pin Image Hover Effect */
.pin-card:hover .pin-image img {
    transform: scale(1.05);
}

/* ============================================
   PIN RARITY BADGE
   ============================================ */

/* Badge Showing Pin Type (Physical/NFT) */
.pin-rarity-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--apple-dark);
    padding: 8px 12px;
    border: 2px solid var(--apple-dark);
    font-size: 0.5rem;
    font-weight: 400;
    color: white;
    font-family: 'Press Start 2P', monospace;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
}

/* ============================================
   PIN DETAILS SECTION
   ============================================ */

/* Pin Details Container */
.pin-details {
    margin-top: 25px;
}

/* Pin Name/Title */
.pin-name {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 15px;
    color: var(--apple-dark);
    font-family: 'Press Start 2P', monospace;
    line-height: 1.6;
}

/* ============================================
   PIN STATS DISPLAY
   ============================================ */

/* Stats Container (Price, Supply, etc.) */
.pin-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    background: var(--apple-gray-light);
    padding: 15px;
    border: 3px solid #000000;
    border-radius: 8px;
    position: relative;
    z-index: 10000;
}

/* Individual Stat Item */
.stat {
    text-align: center;
    position: relative;
    z-index: 10001;
}

/* Stat Value (Number Display) */
.stat-value {
    font-size: 1.5rem !important;
    color: #000000 !important;
    font-family: 'Press Start 2P', monospace !important;
    display: block !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 10002 !important;
}

/* Stat Label (Description Text) */
.stat-label {
    font-size: 0.75rem !important;
    color: #000000 !important;
    margin-top: 5px;
    font-family: 'Press Start 2P', monospace !important;
    display: block !important;
    visibility: visible !important;
}

/* ============================================
   PIN PRICE DISPLAY
   ============================================ */

/* Price Display Container */
.pin-price {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Price Change Indicator Badge */
.price-change {
    font-size: 0.9rem;
    padding: 2px 8px;
    border-radius: 5px;
    font-weight: 500;
}

/* Price Increase Indicator (Green) */
.price-up {
    background: rgba(54, 255, 144, 0.2);
    color: var(--neon-green);
}

/* ============================================
   BUY BUTTON
   ============================================ */

/* Main Call-to-Action Button */
.buy-btn {
    width: 100%;
    background: var(--apple-dark);
    color: white;
    border: 3px solid var(--apple-dark);
    padding: 15px;
    font-weight: 400;
    font-size: 0.7rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
    font-family: 'Press Start 2P', monospace;
    text-transform: uppercase;
    box-shadow: none;
    text-decoration: none;
    display: block;
    text-align: center;
    line-height: 1.6;
    border-radius: 8px;
}

/* Remove Before Pseudo-Element */
.buy-btn::before {
    display: none;
}

/* Remove After Pseudo-Element */
.buy-btn::after {
    display: none;
}

/* Buy Button Hover State */
.buy-btn:hover {
    background: white;
    color: var(--apple-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Remove Hover After Pseudo-Element */
.buy-btn:hover::after {
    display: none;
}

/* ============================================
   RESPONSIVE STYLES
   Mobile & Tablet Adaptations
   ============================================ */

/* Tablet and Mobile Breakpoint (768px and below) */
@media (max-width: 768px) {
    /* Reduce Gap Between Carousel Items */
    .pins-carousel {
        gap: 20px;
    }

    /* Smaller Pin Cards on Mobile */
    .pin-card {
        min-width: 300px;
    }
}
