* {
    /* margin: 0; */
    /* padding: 0; */
    box-sizing: border-box;
    font-family: 'DM Sans', 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background: #E9F1FA;
    color: #1a1a1a;
    /* line-height: 1.6; */
}

/* .header-sim {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: #001119;
    z-index: 100;
} */

.main-container {
    max-width: 1200px;
    margin: 90px auto 40px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 30px;
}

/* Main Content */
.scene-content {
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

/* Video/Image Container */
.media-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}

.media-container iframe,
.media-container img {
    position: absolute;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Scene Info */
.scene-info {
    padding: 20px;
}

.scene-header {
    margin-bottom: 20px;
}

.scene-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.scene-source {
    display: flex;
    align-items: center;
    gap: 16px;
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 16px;
}

.source-link {
    color: #00248a;
    text-decoration: none;
    font-weight: 500;
}

.source-link:hover {
    text-decoration: underline;
}

.scene-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.action-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    color: #4b5563;
    background: #f3f4f6;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.action-button:hover {
    background: #e5e7eb;
}

.action-button.primary {
    background: #00248a;
    color: white;
}

.action-button.primary:hover {
    background: #001d6e;
}

/* Scene Details */
.scene-section {
    padding: 24px;
    border-top: 1px solid #e5e7eb;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title i {
    color: #00248a;
}

.scene-description {
    color: #4b5563;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.metadata-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.metadata-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.metadata-label {
    font-size: 14px;
    color: #6b7280;
    text-decoration: none;
}

.metadata-label a{
    color: inherit;
    text-decoration: none;
}


.metadata-value {
    font-size: 16px;
    color: #1a1a1a;
}

.metadata-value a{
    color: inherit;
    text-decoration: none;
}


.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 6px 12px;
    background: #f3f4f6;
    color: #4b5563;
    border-radius: 6px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
}

.tag:hover {
    background: #e5e7eb;
    color: #00248a;
}

/* Comments Section */
.comments-section {
    padding: 24px;
    border-top: 1px solid #e5e7eb;
}

.comment-form {
    margin-bottom: 24px;
}

.comment-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    resize: vertical;
    min-height: 100px;
    margin-bottom: 12px;
}

.comment-input:focus {
    outline: none;
    border-color: #00248a;
}

.comment-card {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #e5e7eb;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.comment-author {
    font-weight: 500;
    color: #1a1a1a;
}

.comment-date {
    font-size: 14px;
    color: #6b7280;
}

.comment-text {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.6;
}

/* Sidebar */
.scene-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
}

.sidebar-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.related-scene {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
    text-decoration: none;
}

.related-scene:last-child {
    border-bottom: none;
}

.related-thumbnail {
    width: 100px;
    height: 56px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.related-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-info {
    flex: 1;
}

.related-title {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-meta {
    font-size: 12px;
    color: #6b7280;
}

.sri_thumbnail-container {
    display: flex;
    gap: 10px;
    margin: 20px;
}

.sri_thumbnail {
    width: 150px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s;
}

.sri_thumbnail:hover {
    transform: scale(1.05);
}

.sri_modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
}

.sri_modal-content {
    position: relative;
    width: 80%;
    max-width: 800px;
    height: 80%;
    margin: 50px auto;
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sri_next-btn {
    position: absolute;
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 18px;
}

.sri_next-btn:hover {
    background: #f0f0f0;
}

.sri_close-btn {
    position: absolute;
    right: -50px;
    top: -50px;
    background: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 18px;
}


@media (max-width: 1024px) {
    .main-container {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .main-container {
        grid-template-columns: 1fr;
    }

    .scene-actions {
        flex-wrap: wrap;
    }

    .metadata-grid {
        grid-template-columns: 1fr;
    }


}

@media (max-width:480px) {

    .media-container {
        position: relative;
        width: 100%;
        /* padding-top: 40.25%; */
        /* padding-top: 56.25%; */
        /* padding-top: 60.25%; */
        /* background: #1a1a1a; */
        /* margin-top:-90px */
    }

    
    .scene-info{
        /* margin-top:150px;0 */
    }

    .scene-content{
        margin-top:-50px;
    }
}