/* ==================== WEB STORIES (SHORTS) STYLES ==================== */
.story-thumbnails-wrapper {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 15px;
    scrollbar-width: none;
    /* Firefox */
}

.story-thumbnails-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
}

.story-thumb {
    min-width: 120px;
    width: 120px;
    height: 200px;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    /* Red gradient border effect like Instagram */
    padding: 3px;
    background: linear-gradient(45deg, #f59e0b, var(--secondary));
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.story-thumb:hover {
    transform: translateY(-5px);
}

.story-thumb-inner {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    background: var(--dark);
}

.story-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-thumb-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 15px 10px 10px;
    color: white;
}

.story-thumb-title {
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Modal Styles */
.story-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
}

.story-modal-content {
    width: 100%;
    max-width: 400px;
    /* Phone width */
    height: 90vh;
    max-height: 800px;
    background: #000;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.story-display {
    width: 100%;
    height: 100%;
    position: relative;
}

.story-display img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-text-container {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.6), transparent);
    padding: 40px 20px 20px;
    color: white;
    z-index: 10;
    /* NAYA: Ye add karein taaki text aur button transparent nav se upar aa jaye */
}

.story-badge {
    background: var(--secondary);
    color: white;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 10px;
    display: inline-block;
}

.story-modal-title {
    font-size: 1.4rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
    line-height: 1.3;
}

.story-modal-desc {
    font-size: 0.95rem;
    color: #e2e8f0;
    margin-bottom: 15px;
    line-height: 1.5;
}

.story-read-more {
    display: inline-block;
    width: 100%;
    text-align: center;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    padding: 10px;
    border-radius: 30px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(5px);
    min-height: 44px;
    box-sizing: border-box;
}

.close-story-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
}

.story-progress-container {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    z-index: 10;
}

.story-progress-bar {
    height: 100%;
    background: white;
    width: 0%;
    border-radius: 3px;
}

.story-nav {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    z-index: 5;
    cursor: pointer;
}

.left-tap {
    left: 0;
}

.right-tap {
    right: 0;
