/* Showcase Unit Styles */
.showcase-unit-section {
    margin: 2rem 0;
    max-width: 100%;
    position: relative;
}

/* Studio Ad Cover - Legacy styles (kept for fallback) */
.studio-ad-cover {
    width: 90%;
    max-width: 600px;
    margin: 0 auto 1rem auto;
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(255, 105, 180, 0.3);
    transition: all 0.3s ease;
}

.studio-ad-cover:hover {
    border-color: rgba(255, 105, 180, 0.6);
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.3);
}

.studio-ad-cover .ad-cover-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.visit-studio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
    color: white;
    padding: 8px 12px;
    border-radius: 0 8px 0 0;
    font-size: 12px;
    font-weight: 600;
    min-width: 120px;
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.8);
}

/* Ad Cover Component Wrapper for Showcase */
.showcase-ad-cover-wrapper {
    width: 90%;
    max-width: 600px;
    margin: 0 auto 1rem auto;
}

/* Constrain ad cover component to showcase size */
.showcase-ad-cover-wrapper .ad-cover-component {
    max-width: 100%;
    width: 100%;
}

/* Override ad cover component styles for showcase */
.showcase-ad-cover-wrapper .ad-cover-component .ad-cover-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Ensure disclaimer text fits within showcase constraints */
.showcase-ad-cover-wrapper .ad-disclaimer {
    font-size: 0.8rem;
    margin-top: 0.5rem;
    text-align: center;
}

/* Main Image Container */
.showcase-image-container {
    width: 90%;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.1);
}

.showcase-image-display {
    position: relative;
    width: 100%;
    height: 70vh;
    max-height: 500px;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.showcase-image-display .main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.showcase-image-display:hover .main-image {
    transform: scale(1.05);
}

/* Image Title Overlay */
.image-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 1rem;
    color: white;
}

.scene-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.8);
    line-height: 1.3;
}

/* Voting Section (Hidden in Phase 1) */
.voting-section {
    margin-top: 1rem;
    text-align: center;
}

.voting-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.vote-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vote-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 105, 180, 0.5);
    transform: scale(1.1);
}

.vote-btn.voted {
    background: rgba(255, 105, 180, 0.3);
    border-color: rgba(255, 105, 180, 0.8);
}

.voting-text {
    color: white;
    font-size: 1rem;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .showcase-unit-section {
        margin: 1rem 0;
    }
    
    .studio-ad-cover,
    .showcase-image-container {
        width: 95%;
    }
    
    .showcase-image-display {
        height: 60vh;
        min-height: 250px;
    }
    
    .scene-title {
        font-size: 1rem;
    }
    
    .voting-buttons {
        gap: 0.5rem;
        padding: 0.5rem;
    }
    
    .vote-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .voting-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .showcase-image-display {
        height: 50vh;
        min-height: 200px;
    }
    
    .scene-title {
        font-size: 0.9rem;
    }
    
    .visit-studio-overlay {
        font-size: 10px;
        padding: 6px 10px;
        min-width: 100px;
    }
}

/* Desktop Layout */
@media (min-width: 1024px) {
    .showcase-unit-section {
        max-width: 600px;
        margin: 2rem auto;
    }
    
    .studio-ad-cover,
    .showcase-image-container {
        width: 100%;
    }
    
    .showcase-image-display {
        height: 70vh;
        max-height: 500px;
    }
}
