/* Blog Page Styles */
.blog-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 40px;
    min-height: 100vh;
}

.blog-header {
    text-align: center;
    margin-bottom: 60px;
}

.blog-header h1 {
    font-size: 48px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.blog-header p {
    font-size: 20px;
    color: #aaa;
    max-width: 600px;
    margin: 0 auto;
}

/* Category Filter */
.category-filter {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.category-btn {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.category-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.category-btn.active {
    background: #ff6b00;
    border-color: #ff6b00;
}

/* Featured Section */
.featured-section {
    margin-bottom: 60px;
}

.featured-section h2 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 30px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.featured-post {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.featured-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.3);
    border-color: rgba(255, 107, 0, 0.5);
}

.featured-post .featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #ff6b00;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.featured-post .post-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

.featured-post .post-content {
    padding: 30px;
}

.featured-post .post-category {
    color: #ff6b00;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
}

.featured-post h3 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.4;
}

.featured-post .post-excerpt {
    color: #aaa;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.featured-post .post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #888;
    font-size: 14px;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.blog-post {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.3);
    border-color: rgba(255, 107, 0, 0.5);
}

.blog-post .post-category {
    color: #ff6b00;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.blog-post h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-post .post-excerpt {
    color: #aaa;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.blog-post .post-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #888;
    font-size: 13px;
}

.blog-post .post-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-post .reading-time {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin: 60px 0;
}

.load-more-btn {
    padding: 15px 40px;
    background: #ff6b00;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-btn:hover {
    background: #ff8533;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 0, 0.4);
}

.load-more-btn:disabled {
    background: #444;
    cursor: not-allowed;
    transform: none;
}

/* Newsletter Section */
.newsletter-section {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    max-width: 800px;
    margin: 80px auto 40px;
}

.newsletter-section h2 {
    font-size: 32px;
    color: #fff;
    margin-bottom: 15px;
}

.newsletter-section p {
    font-size: 18px;
    color: #aaa;
    margin-bottom: 30px;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #fff;
    font-size: 16px;
}

.newsletter-form input::placeholder {
    color: #888;
}

.newsletter-form button {
    padding: 15px 30px;
    background: #ff6b00;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background: #ff8533;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 107, 0, 0.4);
}

/* Blog Post Page Styles */
.blog-post-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 20px 40px;
}

.blog-post-header {
    margin-bottom: 40px;
}

.blog-post-header .post-category {
    color: #ff6b00;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: inline-block;
    background: #fff4e6;
    padding: 5px 15px;
    border-radius: 20px;
}

.blog-post-header h1 {
    font-size: 42px;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 20px;
}

.blog-post-meta {
    display: flex;
    gap: 30px;
    color: #666;
    font-size: 16px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e9ecef;
}

.blog-post-content {
    color: #333;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 60px;
}

.blog-post-content > .post-content,
.post-content {
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.8;
}

.blog-post-content h1 {
    font-size: 36px;
    color: #222;
    margin: 50px 0 25px;
    font-weight: 700;
    line-height: 1.3;
}

.blog-post-content h2 {
    font-size: 32px;
    color: #222;
    margin: 40px 0 20px;
    font-weight: 600;
    line-height: 1.4;
}

.blog-post-content h3 {
    font-size: 24px;
    color: #222;
    margin: 30px 0 15px;
    font-weight: 600;
}

.blog-post-content p {
    margin-bottom: 20px;
    white-space: normal;
    word-wrap: break-word;
    line-height: 1.8;
}

.blog-post-content ul,
.blog-post-content ol {
    margin: 20px 0 20px 30px;
}

.blog-post-content li {
    margin-bottom: 10px;
}

.blog-post-content code {
    background: #f3f4f6;
    color: #d63384;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
}

.blog-post-content pre {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    overflow-x: auto;
    margin: 20px 0;
}

.blog-post-content blockquote {
    border-left: 4px solid #ff6b00;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #666;
    background: #fff9f5;
    padding: 20px;
    border-radius: 0 10px 10px 0;
}

.blog-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.blog-post-content th {
    background: #ff6b00;
    color: #fff;
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.blog-post-content td {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    color: #333;
}

.blog-post-content tr:last-child td {
    border-bottom: none;
}

.blog-post-content strong {
    color: #ff6b00;
    font-weight: 700;
}

.blog-post-content em {
    color: #ff8533;
    font-style: italic;
    font-weight: 500;
}

.blog-post-content a {
    color: #ff6b00;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.blog-post-content a:hover {
    border-bottom-color: #ff6b00;
}

/* Related Posts */
.related-posts {
    margin-top: 80px;
}

.related-posts h2 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 30px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* Share Section */
.share-section {
    margin: 60px 0;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    text-align: center;
}

.share-section h3 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 20px;
}

.share-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
}

.share-btn:hover {
    background: #ff6b00;
    border-color: #ff6b00;
    transform: translateY(-2px);
}

/* Post CTA Section */
.post-cta {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    margin: 60px 0;
}

.post-cta h2 {
    font-size: 32px;
    color: #fff;
    margin-bottom: 15px;
}

.post-cta p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.post-cta .cta-primary {
    background: #fff;
    color: #ff6b00;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.post-cta .cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 30px;
    color: #888;
    font-size: 14px;
}

.breadcrumb a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #ff6b00;
}

/* Blog Post Article */
article.blog-post {
    background: #ffffff;
    color: #333;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.post-header {
    margin-bottom: 40px;
}

.post-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: #222;
    line-height: 1.3;
    margin-bottom: 20px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: #aaa;
    font-size: 16px;
    align-items: center;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    margin: 40px 0;
}

.cta-box h3 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 15px;
}

.cta-box p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

.cta-button {
    display: inline-block;
    background: #fff;
    color: #ff6b00;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Badge Styles */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-secondary {
    background: rgba(108, 117, 125, 0.2);
    color: #6c757d;
}

.badge-success {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.badge-warning {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.badge-dark {
    background: rgba(52, 58, 64, 0.2);
    color: #343a40;
}

/* Form Styles for Blog Admin */
.blog-form-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* Switch Style */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #ff6b00;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* Header Styles for Blog Pages */
header {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

header .logo {
    height: 60px;
}

header .logo img {
    height: 100%;
    width: auto;
}

header .nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

header .nav-links a {
    color: #ddd;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

header .nav-links a:hover,
header .nav-links a.active {
    color: #ff6b00;
}

/* Loading State */
.loading {
    text-align: center;
    padding: 60px 20px;
    color: #aaa;
    font-size: 18px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 36px;
    }
    
    .blog-header p {
        font-size: 18px;
    }
    
    .category-filter {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        gap: 10px;
    }
    
    .category-btn {
        white-space: nowrap;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .blog-post-header h1 {
        font-size: 32px;
    }
    
    .blog-post-meta {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .blog-post-content {
        font-size: 16px;
    }
}

/* Table of Contents Styles */
.table-of-contents {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
}

.table-of-contents h2 {
    font-size: 24px;
    color: #222;
    margin-bottom: 20px;
    font-weight: 600;
}

.table-of-contents ol {
    list-style: none;
    counter-reset: toc-counter;
    padding: 0;
    margin: 0;
}

.table-of-contents li {
    counter-increment: toc-counter;
    margin-bottom: 12px;
    position: relative;
    padding-left: 35px;
}

.table-of-contents li:before {
    content: counter(toc-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: #ff6b00;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.table-of-contents a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.table-of-contents a:hover {
    color: #ff6b00;
    text-decoration: underline;
}

/* Related Posts Section Improvements */
.related-posts {
    background: #f8f9fa;
    padding: 50px 40px;
    border-radius: 20px;
    margin: 60px 0;
}

.related-posts h2 {
    color: #222;
    margin-bottom: 30px;
}

.related-item {
    background: white;
    padding: 25px;
    border-radius: 15px;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(255, 107, 0, 0.2);
    border-color: #ff6b00;
}

.related-item h3 {
    color: #222;
    font-size: 20px;
    margin-bottom: 10px;
}

.related-item p {
    color: #666;
    font-size: 16px;
    margin: 0;
}

/* Highlight Box Styles */
.highlight-box {
    background: #fff4e6;
    border: 1px solid #ffd8a8;
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
}

.highlight-box h3 {
    color: #e67700;
    margin-bottom: 15px;
}

.highlight-box ul {
    margin: 0;
    padding-left: 20px;
}

.highlight-box li {
    color: #333;
    margin-bottom: 8px;
}

/* Rule Box Styles */
.rule-box {
    background: white;
    border: 2px solid #ff6b00;
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
    box-shadow: 0 3px 15px rgba(255, 107, 0, 0.1);
}

.rule-box h4 {
    color: #ff6b00;
    margin-bottom: 15px;
}

/* Platform Comparison Table */
.platform-comparison {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.platform-comparison h3 {
    color: #222;
    margin-bottom: 20px;
}

.platform-comparison table {
    width: 100%;
    background: transparent;
}

.platform-comparison th {
    background: #ff6b00;
    color: white;
    padding: 15px;
    font-weight: 600;
}

.platform-comparison td {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    color: #333;
}

/* Case Study Box */
.case-study {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    border: 1px solid #e9ecef;
}

.case-study h4 {
    color: #222;
    margin-bottom: 15px;
}

.case-study ul {
    color: #333;
}

/* CTA Box Improvements */
.cta-box {
    background: linear-gradient(135deg, #ff6b00 0%, #ff8533 100%);
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    margin: 50px 0;
    box-shadow: 0 10px 30px rgba(255, 107, 0, 0.3);
}

/* Image Placeholder */
.image-placeholder {
    background: #f0f0f0;
    border: 2px dashed #ccc;
    border-radius: 10px;
    padding: 20px;
    margin: 30px 0;
    text-align: center;
    color: #666;
    font-style: italic;
}

/* Pro Tips Box */
.pro-tips {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
}

.pro-tips h4 {
    color: #2e7d32;
    margin-bottom: 20px;
}

/* Timing Table */
.timing-table {
    width: 100%;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.timing-table th {
    background: #333;
    color: white;
    padding: 15px;
    text-align: left;
}

.timing-table td {
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
    color: #333;
}

.timing-table .best-time {
    background: #fff4e6;
}

/* Algorithm Stages */
.algorithm-stages {
    margin: 30px 0;
}

.algorithm-stages h4 {
    background: #ff6b00;
    color: white;
    padding: 15px 20px;
    border-radius: 10px 10px 0 0;
    margin: 0;
}

.algorithm-stages ul {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-top: none;
    border-radius: 0 0 10px 10px;
    padding: 20px 40px;
    margin: 0 0 20px 0;
}

.algorithm-stages li {
    color: #333;
    margin-bottom: 10px;
}

/* Final Message Box */
.final-message {
    background: #e3f2fd;
    border: 1px solid #90caf9;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
}

.final-message h3 {
    color: #1976d2;
    margin-bottom: 20px;
}

.final-message ul {
    color: #333;
    margin: 0;
    padding-left: 20px;
}

/* Success Quotes */
.success-quotes {
    background: #f5f5f5;
    border-left: 5px solid #ff6b00;
    padding: 20px 30px;
    margin: 30px 0;
    font-style: italic;
}

.success-quotes blockquote {
    margin: 0;
    color: #555;
    font-size: 18px;
    line-height: 1.6;
}

/* Before/After Comparison */
.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.before, .after {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.before {
    border: 2px solid #e0e0e0;
}

.after {
    border: 2px solid #4caf50;
    background: #f1f8e9;
}

.before h5, .after h5 {
    margin-bottom: 15px;
    font-size: 20px;
}

.before h5 {
    color: #666;
}

.after h5 {
    color: #2e7d32;
}

/* Responsive Updates */
@media (max-width: 768px) {
    .table-of-contents {
        padding: 20px;
    }
    
    .related-posts {
        padding: 30px 20px;
    }
    
    .before-after {
        grid-template-columns: 1fr;
    }
}

/* Additional Improvements for Blog Posts */
.algorithm-secrets {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 30px 0;
}

.algorithm-secrets h3 {
    color: #ff6b00;
    margin-bottom: 20px;
}

.fyp-criteria {
    background: white;
    padding: 25px;
    border-radius: 15px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.fyp-criteria h4 {
    color: #222;
    margin-bottom: 15px;
}

.fyp-hacks {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    margin: 20px 0;
    border: 1px solid #e9ecef;
}

.metrics-breakdown {
    background: white;
    padding: 25px;
    border-radius: 15px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.metrics-breakdown h4 {
    color: #ff6b00;
    margin-bottom: 10px;
}

.tip-box {
    background: #e8f5e9;
    border: 2px solid #4caf50;
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
}

.tip-box h4 {
    color: #2e7d32;
    margin-bottom: 10px;
}

.tip-box p {
    color: #333;
    margin: 0;
}

/* Share button styles */
.share-kakao {
    background: #fee500;
    color: #000;
    border-color: #fee500;
}

.share-facebook {
    background: #1877f2;
    color: white;
    border-color: #1877f2;
}

.share-twitter {
    background: #1da1f2;
    color: white;
    border-color: #1da1f2;
}

.share-link {
    background: #6c757d;
    color: white;
    border-color: #6c757d;
}

/* Warning styles */
.warning {
    color: #d32f2f;
    font-size: 14px;
    margin-top: 10px;
}

/* Example hooks */
.example-hooks {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.example-hooks h5 {
    color: #333;
    margin-bottom: 10px;
}

/* Timeline example */
.timeline-example {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.timeline-example h4 {
    color: #333;
    margin-bottom: 15px;
}

/* Music strategy */
.music-strategy {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Text optimization */
.text-optimization {
    margin: 20px 0;
}

.text-optimization h4 {
    color: #333;
    margin-bottom: 15px;
}

/* Highlight row in tables */
.highlight {
    background: #fff4e6 !important;
    font-weight: 600;
}

/* Total row in tables */
.total {
    background: #e8f5e9;
    font-weight: 700;
}

/* Mega viral */
.mega-viral {
    background: linear-gradient(135deg, #fff4e6 0%, #ffe0cc 100%);
    border: 2px solid #ff6b00;
}

/* Genre timing */
.genre-timing {
    background: white;
    padding: 25px;
    border-radius: 15px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Upload timing */
.upload-timing {
    margin: 30px 0;
}

/* Hashtag strategy */
.hashtag-strategy {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    margin: 20px 0;
}

.hashtag-example {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* AB test results */
.ab-test-results {
    margin: 20px 0;
}

.ab-test-results .winner {
    background: #e8f5e9;
    font-weight: 700;
}

/* Comment strategies */
.comment-strategies {
    margin: 20px 0;
}

.strategy-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.strategy-item h5 {
    color: #ff6b00;
    margin-bottom: 10px;
}

/* Visual and audio optimization */
.visual-optimization,
.audio-optimization {
    margin: 20px 0;
}

/* Profile optimization */
.profile-optimization {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
}

/* Share strategies */
.share-strategies,
.like-strategies,
.follow-conversion {
    background: white;
    padding: 25px;
    border-radius: 15px;
    margin: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Formula application */
.formula-application {
    margin: 30px 0;
}

/* Golden rules detail */
.golden-rules-detail {
    margin: 30px 0;
}

/* Timing tips */
.timing-tips {
    background: #e3f2fd;
    padding: 25px;
    border-radius: 15px;
    margin: 30px 0;
}

.timing-tips h3 {
    color: #1976d2;
    margin-bottom: 15px;
}

/* Hashtag tools */
.hashtag-tools {
    margin: 20px 0;
}

/* Failure analysis */
.failure-analysis {
    background: #ffebee;
    padding: 25px;
    border-radius: 15px;
    margin: 30px 0;
    border: 1px solid #ffcdd2;
}

.failure-analysis h4 {
    color: #c62828;
    margin-bottom: 15px;
}

.lesson {
    color: #2e7d32;
    font-weight: 600;
    margin-top: 15px;
}

/* Synergy effects */
.synergy-effects {
    margin: 30px 0;
}

/* Time comparison table */
.time-comparison {
    margin: 20px 0;
}

/* Growth acceleration */
.growth-acceleration {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
}

/* Real results */
.real-results {
    margin: 30px 0;
}

.result-summary {
    font-size: 24px;
    text-align: center;
    color: #ff6b00;
    margin: 20px 0;
}

/* Final tip */
.final-tip {
    background: #fff4e6;
    border: 2px solid #ff6b00;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
}

.final-tip h3 {
    color: #ff6b00;
    margin-bottom: 15px;
}

/* Tip item */
.tip-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.tip-item h5 {
    color: #ff6b00;
    margin-bottom: 10px;
}

/* Conclusion section */
.conclusion {
    margin-top: 60px;
}

/* Post CTA subtext */
.cta-subtext {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 10px;
}