/* Blog Hero Section - matching generator-hero structure */
.generator-hero {
    background: linear-gradient(135deg, #0A0A0A 0%, #1A1A1A 100%);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.generator-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 70%, rgba(220, 20, 60, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(255, 215, 0, 0.1) 0%, transparent 50%);
    animation: float-bg 20s ease-in-out infinite;
}

@keyframes float-bg {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(-5%, -5%) scale(1.05); }
    50% { transform: translate(5%, -5%) scale(1.1); }
    75% { transform: translate(5%, 5%) scale(1.05); }
}

.generator-hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.generator-hero-title {
    font-size: clamp(3rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.9) 50%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: title-glow 3s ease-in-out infinite;
}

@keyframes title-glow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
}

.generator-hero-subtitle {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Breadcrumb */
.breadcrumb {
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: white;
}

/* Article Meta */
.article-meta {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
    flex-wrap: wrap;
    justify-content: center;
}

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

.blog-content {
    padding: 3rem 0;
    background: var(--bg-light);
}

.blog-content .container {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2rem;
}

.blog-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #DC143C, #FFD700, #DC143C);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

.blog-card:hover::before {
    opacity: 1;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 215, 0, 0.2);
    box-shadow: 0 20px 40px rgba(220, 20, 60, 0.1);
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.blog-card.featured {
    border-left: 4px solid #DC143C;
}

/* New Blog Card Structure */
.blog-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.blog-card-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #DC143C, #FFD700);
    border-radius: 1rem;
    flex-shrink: 0;
}

.blog-card-meta {
    flex: 1;
}

.blog-card-author,
.blog-card-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.25rem;
}

.blog-card-author i,
.blog-card-date i {
    width: 16px;
    height: 16px;
    color: #FFD700;
}

.blog-card-body {
    color: rgba(255, 255, 255, 0.95);
}

.blog-card-title {
    color: #FFD700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 600;
}

.blog-card-excerpt {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.blog-date {
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
}

.blog-category {
    background: var(--bg-light);
    color: var(--text-light);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
}

.blog-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.blog-card h3 {
    font-size: 1.25rem;
    margin: 1.5rem 0 1rem;
    color: var(--text-dark);
}

.blog-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.read-more {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.read-more:hover {
    transform: translateX(4px);
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.sidebar-widget h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 0.75rem;
}

.category-list a {
    color: var(--text-light);
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    border-radius: calc(var(--border-radius) / 2);
    transition: all 0.3s ease;
}

.category-list a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 1rem;
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: var(--bg-light);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.tag:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

.cta-widget {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.cta-widget h3 {
    color: white;
}

.cta-widget p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.cta-widget .btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-bottom: 0.75rem;
}

.cta-widget .btn:last-child {
    margin-bottom: 0;
}

/* Blog Footer Section */
.blog-footer {
    background: linear-gradient(135deg, rgba(28, 28, 36, 0.98), rgba(17, 17, 25, 0.98));
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    border-top: 2px solid rgba(255, 215, 0, 0.2);
}

/* Footer Container Styling for Blog Page */
.footer-container {
    background: linear-gradient(135deg, rgba(28, 28, 36, 0.98), rgba(17, 17, 25, 0.98));
    padding-top: 3rem;
    margin-top: 4rem;
    border-top: 3px solid rgba(255, 215, 0, 0.3);
}

.newsletter {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.05), rgba(255, 215, 0, 0.03));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 1.5rem;
    padding: 3rem;
    margin: 0 auto 3rem;
    max-width: 800px;
    text-align: center;
}

.newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #FFD700;
    font-family: 'Playfair Display', serif;
}

.newsletter p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

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

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 0.75rem;
    font-size: 1rem;
    color: white;
    transition: all 0.3s;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form input:focus {
    outline: none;
    border-color: #FFD700;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}

@media (max-width: 1024px) {
    .blog-content .container {
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
    }
}

/* Article Content Styles */
.article-content {
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #333;
}

.article-content h2 {
    font-size: 1.875rem;
    margin: 2rem 0 1rem;
    color: #222;
}

.article-content h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 0.75rem;
    color: #333;
}

.article-content p {
    margin-bottom: 1.25rem;
}

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

.article-content li {
    margin-bottom: 0.5rem;
}

.article-content strong {
    color: #222;
    font-weight: 600;
}

/* Article Footer */
.article-footer {
    max-width: 800px;
    margin: 3rem auto;
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.article-tags h3,
.article-share h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: #333;
}

/* Premium CTA Card Styles */
.cta-card-premium {
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.15), rgba(255, 215, 0, 0.08)) !important;
    border: 2px solid rgba(255, 215, 0, 0.3) !important;
    border-radius: 1.5rem !important;
    padding: 2rem !important;
    position: relative;
    overflow: hidden;
}

.cta-card-premium::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 70%);
    animation: shimmer-rotate 8s linear infinite;
    pointer-events: none;
}

@keyframes shimmer-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.cta-button-primary {
    background: linear-gradient(135deg, #DC143C, #FF69B4);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
}

.cta-button-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(220, 20, 60, 0.4);
}

.cta-button-primary:hover::before {
    left: 100%;
}

.cta-button-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.cta-button-secondary:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.5);
    color: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.2);
}

/* Share Buttons */
.share-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.share-btn {
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.share-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Related Articles */
.related-articles {
    max-width: 1200px;
    margin: 4rem auto 0;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(220, 20, 60, 0.05), rgba(255, 215, 0, 0.03));
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.related-articles h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #FFD700;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

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

.related-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem;
    border-radius: 1rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.related-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #DC143C, #FFD700, #DC143C);
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

.related-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 15px 30px rgba(220, 20, 60, 0.15);
}

.related-card:hover::before {
    opacity: 1;
}

.related-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-family: 'Playfair Display', serif;
}

.related-card h3 a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s;
}

.related-card h3 a:hover {
    color: #FFA500;
}

.related-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 1.75rem;
    }
    
    .blog-card h2 {
        font-size: 1.25rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }
    
    .blog-sidebar {
        grid-template-columns: 1fr;
    }
    
    .article-footer {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .share-btn {
        width: 100%;
    }
}