/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: #f0f0f0;
}

/* Article Header */
.article-header {
    background-color: #fff;
    padding: 30px 0;
    border-bottom: 1px solid #ddd;
}

.category {
    color: #e74c3c;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 10px;
}

.article-header h1 {
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.2;
}

.intro {
    font-size: 1.2em;
    color: #666;
    margin-bottom: 15px;
}

.date {
    color: #999;
    font-size: 14px;
    margin-bottom: 20px;
}

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

.tag {
    padding: 8px 15px;
    background-color: #f0f0f0;
    border-radius: 20px;
    font-size: 12px;
    color: #666;
    text-decoration: none;
}

.tag.active {
    background-color: #e74c3c;
    color: white;
}

/* Article Content */
.article-content {
    background-color: #fff;
    padding: 30px 0;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.share-buttons span {
    font-weight: bold;
    color: #666;
}

.share-buttons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    color: white;
    text-decoration: none;
}

.share-buttons a:nth-child(2) { background-color: #1da1f2; }
.share-buttons a:nth-child(3) { background-color: #0077b5; }
.share-buttons a:nth-child(4) { background-color: #bd081c; }
.share-buttons a:nth-child(5) { background-color: #333; }

.article-content p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.article-content h2 {
    font-size: 1.8em;
    margin: 30px 0 20px 0;
    color: #333;
    border-left: 4px solid #e74c3c;
    padding-left: 15px;
}

.article-content h3 {
    font-size: 1.3em;
    margin: 25px 0 15px 0;
    color: #333;
    font-weight: bold;
}

.article-content ul {
    margin: 20px 0;
    padding-left: 0;
}

.article-content li {
    list-style: none;
    margin-bottom: 8px;
    font-size: 16px;
}

.article-content a {
    color: #e74c3c;
    text-decoration: none;
    font-weight: bold;
}

.article-content a:hover {
    text-decoration: underline;
}

/* Image containers */
.image-container {
    text-align: center;
    margin: 30px 0;
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.image-comparison {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.image-comparison img {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Celebrity testimonials */
.celebrity-testimonial {
    background-color: #f9f9f9;
    padding: 25px;
    margin: 30px 0;
    border-radius: 8px;
    border-left: 4px solid #e74c3c;
}

.celebrity-testimonial img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    float: left;
    margin-right: 20px;
    object-fit: cover;
}

.celebrity-testimonial h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #333;
}

.celebrity-testimonial p {
    margin-bottom: 0;
}

/* Offer box */
.offer-box {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 30px;
    margin: 40px 0;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.offer-text {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
}

.claim-text {
    font-size: 1em;
    margin-bottom: 20px;
    color: #ffeb3b;
}

.stock-update {
    background-color: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.stock-update img {
    width: 20px;
    height: 20px;
}

.product-images {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.product-images img {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    border: 3px solid white;
}

/* Comments section */
.comment-section {
    margin: 40px 0;
}

.comment {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
}

.comment img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-author {
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.comment-date {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.comment-text {
    margin-bottom: 0;
}

/* Final CTA button */
.final-cta-button {
    text-align: center;
    margin: 40px 0;
}

.final-cta-button a {
    display: inline-block;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    padding: 20px 40px;
    font-size: 1.3em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.final-cta-button a:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.3);
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 50px;
}

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        gap: 15px;
    }
    
    .article-header h1 {
        font-size: 2em;
    }
    
    .image-comparison {
        flex-direction: column;
        align-items: center;
    }
    
    .celebrity-testimonial img {
        float: none;
        display: block;
        margin: 0 auto 15px auto;
    }
    
    .product-images {
        flex-direction: column;
        align-items: center;
    }
    
    .comment {
        flex-direction: column;
        text-align: center;
    }
    
    .final-cta-button a {
        padding: 15px 30px;
        font-size: 1.1em;
    }
}

/* Popup notification */
.popup-notification {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #2ecc71;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 300px;
    animation: slideIn 0.5s ease-out;
}

.popup-notification img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Reading indicator */
.reading-indicator {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #e74c3c;
    color: white;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    z-index: 1000;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

