* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #121212;
    color: #f5f5f5;
    line-height: 1.6;
}

main {
    padding: 0;
    min-height: calc(100vh - 140px);
}

.hero-image {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 900px;
    padding: 40px 20px;
    text-align: center;
}

.detail-container {
    max-width: 900px;
    width: 90%;
    margin: 80px auto 50px;
    padding: 40px;
    background: linear-gradient(145deg, #1a1a1a, #242424);
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 3;
    border: 1px solid #333;
}

.detail-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-date {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #00aaff;
    font-weight: 500;
}

.detail-date:before {
    content: "📅";
    margin-right: 8px;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-button:hover {
    background: #00aaff;
    transform: translateY(-3px);
}

.detail-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #fff;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.detail-content {
    font-size: 18px;
    color: #ddd;
    line-height: 1.8;
    margin-bottom: 30px;
}

.detail-content p {
    margin-bottom: 20px;
}

.detail-content h2, 
.detail-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: #fff;
}

.detail-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

.detail-content ul, 
.detail-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.detail-content li {
    margin-bottom: 8px;
}

.detail-content blockquote {
    border-left: 4px solid #00aaff;
    padding-left: 20px;
    margin-left: 0;
    margin-right: 0;
    font-style: italic;
    color: #aaa;
}

.action-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(45deg, #0088cc, #00aaff);
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 170, 255, 0.3);
}

.back-button:hover {
    background: linear-gradient(45deg, #00aaff, #0088cc);
    transform: translateY(-3px);
    box-shadow: 0 7px 20px rgba(0, 170, 255, 0.4);
}

.related-news {
    margin-top: 60px;
}

.related-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 25px;
    color: #fff;
    position: relative;
    display: inline-block;
}

.related-title:after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background: #00aaff;
    bottom: -8px;
    left: 0;
    border-radius: 2px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.related-card {
    background: rgba(30, 30, 30, 0.5);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 1px solid #333;
    text-decoration: none;
    color: #fff;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 170, 255, 0.2);
    border-color: #00aaff;
}

.related-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.related-content {
    padding: 15px;
}

.related-card h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #fff;
    line-height: 1.3;
}

.related-card p {
    font-size: 14px;
    color: #aaa;
}

.responsive-content {
    overflow-x: auto;
    max-width: 100%;
}

@media (max-width: 768px) {
    .hero-image {
        height: 50vh;
    }
    
    .detail-container {
        padding: 25px;
        margin: 60px auto 30px;
        width: 95%;
    }

    .detail-title {
        font-size: 28px;
    }

    .detail-content {
        font-size: 16px;
    }
    
    .related-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .hero-image {
        height: 40vh;
    }
    
    .detail-container {
        padding: 20px;
        margin: 50px 10px 20px;
    }

    .detail-title {
        font-size: 24px;
    }
    
    .detail-content {
        font-size: 15px;
    }
    
    .detail-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .back-button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}