* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #1a1a2e;
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-post-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #6e45e2 0%, #ff7e5f 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.blog-post-header .back-to-home {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease, transform 0.3s ease;
}

.blog-post-header .back-to-home:hover {
    color: #88d3ce;
    transform: translateX(-5px);
}

.post-title {
    font-size: 3rem;
    font-family: 'Playfair Display', serif;
    color: #ffffff;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-meta i {
    color: #88d3ce;
}

.blog-post-content {
    padding: 80px 0;
}

.post-image-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto 50px;
}

.post-image {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.post-body {
    max-width: 900px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.9;
}

.post-body h2 {
    font-size: 2.2rem;
    font-family: 'Playfair Display', serif;
    color: #ffffff;
    margin: 50px 0 25px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.post-body p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.post-tags {
    max-width: 900px;
    margin: 50px auto 0;
}

.post-tags span {
    background: linear-gradient(90deg, #ff7e5f, #88d3ce);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1rem;
    margin-right: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-tags span:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 20px rgba(255, 126, 95, 0.5);
}

.post-share {
    max-width: 900px;
    margin: 40px auto;
    text-align: center;
}

.post-share h3 {
    font-size: 1.5rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 20px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #ff7e5f;
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    margin: 0 10px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.share-btn:hover {
    transform: scale(1.2);
    background: #6e45e2;
}

.related-posts {
    max-width: 900px;
    margin: 60px auto;
    text-align: center;
}

.related-posts h3 {
    font-size: 1.8rem;
    font-family: 'Playfair Display', serif;
    margin-bottom: 25px;
}

.related-link {
    display: block;
    font-size: 1.2rem;
    color: #88d3ce;
    text-decoration: none;
    margin: 15px 0;
    transition: color 0.3s ease, transform 0.3s ease;
}

.related-link:hover {
    color: #ff7e5f;
    transform: translateX(10px);
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(90deg, #ff7e5f, #6e45e2);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    transform: translateY(-5px);
    background: #88d3ce;
}

.magnetic {
    transition: transform 0.3s ease;
}