/* SAGACAN Blog Post Styles */

.post-main {
    min-height: 100vh;
    background: #000;
    color: #fff;
    padding-top: 80px;
}

.post-article {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(15px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(15px) saturate(180%) !important;
    border: 1px solid rgba(0, 255, 255, 0.4) !important;
    border-radius: 16px !important;
    margin-bottom: 3rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1),
                0 0 0 1px rgba(255, 255, 255, 0.05) !important;
}

.post-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
}

.post-category-badge {
    display: inline-block;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.post-title {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, #00ffff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.9rem;
    color: #aaa;
    flex-wrap: wrap;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-image-container {
    margin: 3rem 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(15px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(15px) saturate(180%) !important;
    border: 1px solid rgba(0, 255, 255, 0.4) !important;
    border-radius: 16px !important;
    padding: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1),
                0 0 0 1px rgba(255, 255, 255, 0.05) !important;
}

.post-featured-image {
    width: 100%;
    max-width: 600px;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.post-content {
    line-height: 1.8;
    font-size: 1.1rem;
    background: rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(15px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(15px) saturate(180%) !important;
    border: 1px solid rgba(0, 255, 255, 0.4) !important;
    border-radius: 16px !important;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1),
                0 0 0 1px rgba(255, 255, 255, 0.05) !important;
}

.post-content h2 {
    color: #00ffff;
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(0, 255, 255, 0.3);
}

.post-content h3 {
    color: #00cccc;
    font-size: 1.4rem;
    margin: 2rem 0 1rem 0;
}

.post-content p {
    margin-bottom: 1.5rem;
    color: #ddd;
}

.post-content .lead {
    font-size: 1.3rem;
    color: #00ffff;
    font-weight: 300;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(0, 255, 255, 0.1);
    border-left: 4px solid #00ffff;
    border-radius: 0 8px 8px 0;
}

.post-content ul, .post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
    color: #ddd;
}

.post-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem;
    background: rgba(255, 0, 255, 0.1);
    border-left: 4px solid #ff00ff;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    font-size: 1.2rem;
}

.post-content blockquote p {
    margin: 0;
    color: #ff00ff;
}

.post-content strong {
    color: #00ffff;
    font-weight: bold;
}

.post-content code {
    background: rgba(0, 255, 255, 0.2);
    color: #00ffff;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}

.post-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(15px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(15px) saturate(180%) !important;
    border: 1px solid rgba(0, 255, 255, 0.4) !important;
    border-radius: 16px !important;
    flex-wrap: wrap;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1),
                0 0 0 1px rgba(255, 255, 255, 0.05) !important;
}

.post-stats span {
    color: #00ffff;
    font-weight: bold;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 2rem 0;
    justify-content: center;
}

.tag {
    background: rgba(255, 0, 255, 0.2);
    color: #ff00ff;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 0, 255, 0.3);
}

.back-to-blog {
    text-align: center;
    margin: 3rem 0;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    color: #000;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 255, 255, 0.3);
}

.ad-container {
    margin: 3rem 0;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(15px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(15px) saturate(180%) !important;
    border: 1px solid rgba(0, 255, 255, 0.4) !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.1),
                0 0 0 1px rgba(255, 255, 255, 0.05) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .post-article {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .post-title {
        font-size: 2rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .post-stats {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .post-content {
        font-size: 1rem;
    }
    
    .post-featured-image {
        height: 200px;
    }
}

/* Loading Animation for Images */
.post-featured-image {
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Glitch Effect for Category Badge */
.post-category-badge {
    position: relative;
    animation: glitch 2s infinite;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-1px, 1px); }
    40% { transform: translate(-1px, -1px); }
    60% { transform: translate(1px, 1px); }
    80% { transform: translate(1px, -1px); }
}
