
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #f8fafc;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    background-attachment: fixed;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header and Footer Spaces */
.header-space,
.footer-space {
    height: 80px;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(248, 250, 252, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(248, 250, 252, 0.6);
    font-size: 14px;
    position: relative;
}

.header-space::before {
    content: "Header space - Add your navigation here";
}

.footer-space {
    border-bottom: none;
    border-top: 1px solid rgba(248, 250, 252, 0.1);
    margin-top: 120px;
}

.footer-space::before {
    content: "Footer space - Add your footer content here";
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 160px);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255, 215, 0, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(138, 43, 226, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 8px 24px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1));
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50px;
    color: #ffd700;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffd700 50%, #f8fafc 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: rgba(248, 250, 252, 0.8);
    max-width: 600px;
    margin: 0 auto 48px;
    font-weight: 300;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 48px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffd700;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(248, 250, 252, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Featured Section */
.featured-section {
    padding: 80px 0;
    background: rgba(15, 15, 35, 0.5);
    backdrop-filter: blur(20px);
}

.featured-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 48px;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.featured-article::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
    opacity: 0.5;
}

.featured-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #1a1a2e;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.featured-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #f8fafc;
    line-height: 1.2;
}

.featured-excerpt {
    color: rgba(248, 250, 252, 0.8);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

.featured-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.author-name {
    display: block;
    font-weight: 600;
    color: #f8fafc;
}

.author-title {
    display: block;
    font-size: 0.9rem;
    color: rgba(248, 250, 252, 0.6);
}

.read-time {
    color: rgba(248, 250, 252, 0.6);
    font-size: 0.9rem;
}

.featured-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #1a1a2e;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.featured-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3);
}

.featured-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(138, 43, 226, 0.1));
}

/* Blog Section */
.blog-section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 16px;
}

.section-subtitle {
    color: rgba(248, 250, 252, 0.7);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    margin-bottom: 80px;
}

/* Blog Cards */
.blog-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    backdrop-filter: blur(20px);
}

.blog-card:hover {
    transform: translateY(-12px);
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 32px 64px rgba(0, 0, 0, 0.3);
}

.card-header {
    position: relative;
}

.blog-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.2), rgba(255, 215, 0, 0.1));
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 16px;
}

.bookmark-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.bookmark-btn:hover {
    background: #ffd700;
    transform: scale(1.1);
}

.bookmark-btn.bookmarked {
    background: #ffd700;
    color: #1a1a2e;
}

.reading-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    width: 0%;
    transition: width 0.3s ease;
}

.blog-content {
    padding: 32px;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.blog-category {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1));
    color: #ffd700;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.blog-date {
    color: rgba(248, 250, 252, 0.6);
    font-size: 0.9rem;
}

.blog-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #f8fafc;
    line-height: 1.3;
}

.blog-summary {
    color: rgba(248, 250, 252, 0.8);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* Expandable Content */
.blog-expanded {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.blog-expanded.active {
    max-height: 500px;
    opacity: 1;
    margin-bottom: 24px;
}

.blog-excerpt {
    color: rgba(248, 250, 252, 0.7);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.blog-highlights {
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.blog-highlights h4 {
    color: #ffd700;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-highlights ul {
    list-style: none;
    padding: 0;
}

.blog-highlights li {
    color: rgba(248, 250, 252, 0.8);
    font-size: 0.9rem;
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
}

.blog-highlights li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #ffd700;
    font-weight: bold;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(248, 250, 252, 0.8);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.tag:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    color: #ffd700;
}

/* Card Footer */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.read-more-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 2px solid rgba(255, 215, 0, 0.3);
    color: #ffd700;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.read-more-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: #ffd700;
    transform: translateY(-2px);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.read-more-btn.expanded .btn-icon {
    transform: rotate(180deg);
}

.interaction-buttons {
    display: flex;
    gap: 12px;
}

.like-btn,
.share-btn,
.comment-btn {
    background: none;
    border: none;
    color: rgba(248, 250, 252, 0.6);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.like-btn:hover,
.share-btn:hover,
.comment-btn:hover {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
}

.like-btn.liked {
    color: #ff6b6b;
}

.like-btn.liked i {
    color: #ff6b6b;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(138, 43, 226, 0.1));
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 24px;
    padding: 48px;
    text-align: center;
    margin-bottom: 80px;
    backdrop-filter: blur(20px);
}

.newsletter-icon {
    font-size: 3rem;
    color: #ffd700;
    margin-bottom: 16px;
}

.newsletter-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #f8fafc;
    margin-bottom: 8px;
}

.newsletter-content p {
    color: rgba(248, 250, 252, 0.7);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.newsletter-form {
    display: flex;
    max-width: 400px;
    margin: 0 auto;
    gap: 12px;
}

.newsletter-input {
    flex: 1;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: #f8fafc;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    border-color: #ffd700;
    background: rgba(255, 255, 255, 0.1);
}

.newsletter-input::placeholder {
    color: rgba(248, 250, 252, 0.5);
}

.newsletter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #1a1a2e;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(255, 215, 0, 0.3);
}

/* View All Button */
.view-more-container {
    text-align: center;
}

.view-all-btn {
    position: relative;
    background: transparent;
    border: 2px solid #ffd700;
    color: #ffd700;
    padding: 20px 48px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.btn-background {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.view-all-btn:hover .btn-background {
    left: 0;
}

.view-all-btn:hover {
    color: #1a1a2e;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .featured-article {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-stats {
        gap: 32px;
    }
    
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .featured-article {
        padding: 32px 24px;
    }
    
    .featured-title {
        font-size: 2rem;
    }
    
    .blog-section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 60px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .blog-content {
        padding: 24px;
    }
    
    .card-footer {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    
    .interaction-buttons {
        justify-content: center;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 16px;
    }
    
    .newsletter-section {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .blog-image {
        height: 220px;
    }
    
    .blog-title {
        font-size: 1.3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .view-all-btn {
        padding: 16px 32px;
        font-size: 1rem;
    }
    
    .featured-btn {
        padding: 14px 24px;
    }
}

/* Loading and Animation States */
.loading {
    opacity: 0;
    transform: translateY(30px);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
button:focus,
input:focus {
    outline: 2px solid #ffd700;
    outline-offset: 2px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #ffd700;
}