/**
 * STORIES DISPLAY STYLES
 * Styles pour l'affichage des histoires approuvées
 */

/* Stories Grid */
#approved-stories-grid.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding: 0;
}

/* Story Card */
.story-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
}

.story-card.show {
    opacity: 1;
    transform: translateY(0);
}

.story-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 48px rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.3);
}

/* Story Media */
.story-media {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(255, 0, 128, 0.1) 100%);
}

.story-media img,
.story-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Social Media Embed */
.story-media-embed {
    height: 300px;
    min-height: 300px;
}

.story-media-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.story-media-social {
    cursor: pointer;
    transition: all 0.3s ease;
}

.story-media-social:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15) 0%, rgba(255, 0, 128, 0.15) 100%);
    transform: scale(1.02);
}

/* Story Badge */
.story-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Story Content */
.story-content {
    padding: 1.5rem;
    color: white;
}

.story-text {
    font-size: 0.938rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    font-style: italic;
}

.story-text::before {
    content: '"';
    font-size: 2rem;
    color: rgba(0, 212, 255, 0.5);
    margin-right: 4px;
}

.story-text::after {
    content: '"';
    font-size: 2rem;
    color: rgba(0, 212, 255, 0.5);
    margin-left: 4px;
}

/* Story Author */
.story-author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.story-name {
    color: white;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.story-date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    display: block;
}

/* Story Social Link */
.story-social-link {
    color: #00d4ff;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    transition: all 0.3s ease;
    display: inline-block;
}

.story-social-link:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.5);
    transform: scale(1.05);
}

.story-social-link-primary {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2) 0%, rgba(255, 0, 128, 0.2) 100%);
    border: 1px solid rgba(0, 212, 255, 0.4);
    padding: 8px 16px;
    font-size: 0.9rem;
}

.story-social-link-primary:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3) 0%, rgba(255, 0, 128, 0.3) 100%);
    border-color: rgba(0, 212, 255, 0.6);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

/* Empty State */
#stories-empty {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.6);
}

#stories-empty h3 {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px;
    font-size: 24px;
}

#stories-empty p {
    font-size: 16px;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
}

/* Loading State */
#stories-loading {
    text-align: center;
    padding: 40px;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
    #approved-stories-grid.story-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .story-card {
        margin: 0 10px;
    }
}

