/*
Theme Name: The Curiosity Post
Theme URI: https://thecuriositypost.com
Author: Your Name
Author URI: https://thecuriositypost.com
Description: A modern, beautiful WordPress theme for The Curiosity Post blog. Features engaging layouts, smooth animations, and a focus on readability.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: curiosity-post
Tags: blog, two-columns, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ===================================
   CSS Variables - Brand Colors
=================================== */
:root {
    --primary-orange: #f97316;
    --primary-orange-dark: #ea580c;
    --dark-slate: #1e293b;
    --dark-bg: #0f172a;
    --medium-gray: #64748b;
    --light-gray: #94a3b8;
    --accent-teal: #0891b2;
    --accent-teal-light: #06b6d4;
    --light-bg: #f8fafc;
    --highlight-gold: #fbbf24;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-light: #64748b;
}

/* ===================================
   Reset & Base Styles
=================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===================================
   Typography
=================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

a {
    color: var(--primary-orange);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-orange-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   Layout Containers
=================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   Header Styles
=================================== */
.site-header {
    background: linear-gradient(135deg, var(--dark-slate) 0%, var(--dark-bg) 100%);
    padding: 15px 0;
    border-bottom: 3px solid var(--primary-orange);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.site-branding {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.site-logo {
    font-size: 26px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.8px;
    line-height: 1;
}

.logo-curiosity {
    color: var(--primary-orange);
}

.site-tagline {
    font-size: 9px;
    color: var(--light-gray);
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-top: 4px;
    font-weight: 500;
}

/* ===================================
   Navigation
=================================== */
.main-navigation {
    display: flex;
    gap: 35px;
    align-items: center;
}

.main-navigation a {
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-navigation a:hover,
.main-navigation a.current-menu-item {
    color: var(--primary-orange);
}

.main-navigation a.current-menu-item::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-orange);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: var(--primary-orange);
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
}

/* ===================================
   Hero Section
=================================== */
.hero-section {
    background: linear-gradient(135deg, var(--accent-teal) 0%, var(--accent-teal-light) 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: radial-gradient(circle, white 1px, transparent 1px);
    background-size: 30px 30px;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 56px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: inline-block;
    padding: 16px 40px;
    background: var(--primary-orange);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
}

.hero-cta:hover {
    background: var(--primary-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(249, 115, 22, 0.6);
}

/* ===================================
   Content Areas
=================================== */
.content-area {
    padding: 60px 0;
    background: var(--light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 16px;
}

/* ===================================
   Article Grid
=================================== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* ===================================
   Article Cards
=================================== */
.article-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.article-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    position: relative;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 25px;
}

.article-category {
    display: inline-block;
    padding: 6px 12px;
    background: #fef3c7;
    color: #92400e;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.article-title {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.4;
}

.article-title a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: var(--primary-orange);
}

.article-excerpt {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--light-gray);
}

.read-more {
    color: var(--primary-orange);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--primary-orange-dark);
}

/* ===================================
   Single Post Styles
=================================== */
.post-header {
    background: linear-gradient(135deg, var(--dark-slate) 0%, var(--dark-bg) 100%);
    padding: 60px 40px;
    text-align: center;
    color: var(--white);
}

.post-category {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-orange);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.post-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--white);
}

.entry-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--white);
}

.post-meta-info {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    color: var(--light-gray);
    font-size: 14px;
    flex-wrap: wrap;
}

.post-meta-info a {
    color: var(--light-gray);
    text-decoration: none;
}

.post-meta-info a:hover {
    color: var(--primary-orange);
}

.post-content-wrapper {
    background: var(--light-bg);
    padding: 60px 20px;
    min-height: 400px;
}

.post-content-area {
    max-width: 800px;
    margin: -60px auto 0;
    position: relative;
    z-index: 1;
}

.post-featured-image {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    margin-bottom: 40px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content,
.entry-content {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
}

.post-content h2,
.entry-content h2 {
    color: var(--text-primary);
    font-size: 32px;
    margin: 40px 0 20px;
    font-weight: 700;
}

.post-content h3,
.entry-content h3 {
    color: var(--text-primary);
    font-size: 24px;
    margin: 30px 0 15px;
    font-weight: 600;
}

.post-content p,
.entry-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 17px;
}

.post-content blockquote,
.entry-content blockquote {
    border-left: 4px solid var(--primary-orange);
    padding: 20px 30px;
    background: #fef3c7;
    margin: 30px 0;
    font-style: italic;
    color: #92400e;
    border-radius: 4px;
}

.post-content ul,
.post-content ol,
.entry-content ul,
.entry-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
    color: var(--text-secondary);
}

.post-content li,
.entry-content li {
    margin-bottom: 10px;
    line-height: 1.8;
}

.post-content a,
.entry-content a {
    color: var(--primary-orange);
    font-weight: 600;
    text-decoration: underline;
}

.post-content img,
.entry-content img {
    border-radius: 12px;
    margin: 30px 0;
    max-width: 100%;
    height: auto;
}

/* ===================================
   Sidebar Styles
=================================== */
.content-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.widget-title {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 700;
    border-bottom: 3px solid var(--primary-orange);
    padding-bottom: 10px;
}

.sidebar-post {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-post:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.sidebar-post-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    flex-shrink: 0;
    overflow: hidden;
}

.sidebar-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-post-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 5px;
}

.sidebar-post-title a {
    color: var(--text-primary);
    text-decoration: none;
}

.sidebar-post-title a:hover {
    color: var(--primary-orange);
}

.sidebar-post-date {
    font-size: 12px;
    color: var(--light-gray);
}

/* Tag Cloud */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-cloud a {
    padding: 8px 16px;
    background: #f1f5f9;
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-cloud a:hover {
    background: var(--primary-orange);
    color: var(--white);
}

/* ===================================
   Footer Styles
=================================== */
.site-footer {
    background: var(--dark-slate);
    padding: 50px 0 30px;
    color: #e2e8f0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    max-width: 1400px;
    margin: 0 auto 40px;
    padding: 0 60px;
}

.footer-about h3 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 24px;
}

.footer-curiosity {
    color: var(--primary-orange);
}

.footer-about p {
    color: var(--light-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: #334155;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary-orange);
    transform: translateY(-3px);
}

.footer-links h4 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--light-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-orange);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #334155;
    color: var(--medium-gray);
    font-size: 14px;
}

/* ===================================
   Pagination
=================================== */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.pagination a,
.pagination span {
    padding: 10px 18px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination a:hover,
.pagination .current {
    background: var(--primary-orange);
    color: var(--white);
    border-color: var(--primary-orange);
}

/* ===================================
   Responsive Design
=================================== */
@media (max-width: 1024px) {
    .header-inner,
    .footer-grid {
        padding: 0 30px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .content-with-sidebar {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        order: 2;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 20px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-navigation {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
    }
    
    .main-navigation.active {
        display: flex;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .post-title {
        font-size: 32px;
    }
    
    .post-content {
        padding: 30px 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   Utility Classes
=================================== */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.mb-20 { margin-bottom: 20px; }
.mt-40 { margin-top: 40px; }
.mb-40 { margin-bottom: 40px; }

/* ===================================
   WORLD-CLASS FRONT PAGE STYLES
   The Curiosity Post - Epic Homepage
=================================== */

/* Epic Hero Section with Animated Background */
.hero-epic {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0891b2 100%);
}

.hero-animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #f97316 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #06b6d4 0%, transparent 70%);
    bottom: -300px;
    right: -300px;
    animation-delay: 5s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #fbbf24 0%, transparent 70%);
    top: 50%;
    right: 10%;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -50px) scale(1.1); }
    50% { transform: translate(-30px, 50px) scale(0.9); }
    75% { transform: translate(30px, 30px) scale(1.05); }
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 90% 60%, rgba(255,255,255,0.3), transparent);
    background-size: 200% 200%;
    animation: particles 20s linear infinite;
}

@keyframes particles {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-50px, -50px); }
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 40px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 30px;
    animation: fadeInDown 1s ease-out;
}

.badge-icon {
    font-size: 18px;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
}

.hero-title-epic {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #ffffff 0%, #f97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle-epic {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-cta-group {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    animation: fadeInUp 1s ease-out 0.6s both;
    flex-wrap: wrap;
}

.hero-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: #f97316;
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 40px rgba(249, 115, 22, 0.4);
}

.hero-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(249, 115, 22, 0.6);
    background: #ea580c;
}

.hero-cta-primary svg {
    transition: transform 0.3s ease;
}

.hero-cta-primary:hover svg {
    transform: translateX(5px);
}

.hero-cta-secondary {
    display: inline-flex;
    align-items: center;
    padding: 18px 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #f97316;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: bounce 2s ease-in-out infinite;
}

.scroll-icon {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    position: relative;
}

.scroll-icon::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0%, 100% { transform: translate(-50%, 0); opacity: 1; }
    50% { transform: translate(-50%, 15px); opacity: 0; }
}

@keyframes bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 10px); }
}

/* Featured Spotlight Section */
.featured-spotlight {
    padding: 100px 0;
    background: #f8fafc;
}

.spotlight-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #fbbf24 0%, #f97316 100%);
    color: white;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.spotlight-icon {
    font-size: 16px;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spotlight-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.spotlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
}

.spotlight-image {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.spotlight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.spotlight-card:hover .spotlight-image img {
    transform: scale(1.05);
}

.spotlight-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-icon {
    font-size: 120px;
}

.spotlight-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.5), transparent);
}

.spotlight-content {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.spotlight-category {
    display: inline-block;
    padding: 6px 16px;
    background: #fef3c7;
    color: #92400e;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.spotlight-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.spotlight-title a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.spotlight-title a:hover {
    color: #f97316;
}

.spotlight-excerpt {
    font-size: 16px;
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 30px;
}

.spotlight-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    font-size: 14px;
    color: #94a3b8;
    flex-wrap: wrap;
}

.meta-author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-author img {
    border-radius: 50%;
}

.meta-divider {
    color: #cbd5e1;
}

.spotlight-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #f97316;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.spotlight-read-more:hover {
    gap: 12px;
}

.spotlight-read-more svg {
    transition: transform 0.3s ease;
}

.spotlight-read-more:hover svg {
    transform: translateX(5px);
}

/* Modern Section Headers */
.section-header-modern {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: 50px;
    color: #f97316;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.label-icon {
    font-size: 18px;
}

/* Latest Articles Section */
.latest-articles-section {
    padding: 100px 0;
}

.article-wrapper {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.articles-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.articles-grid-modern .article-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.articles-grid-modern .article-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* View All Button */
.homepage-pagination {
    text-align: center;
    margin-top: 60px;
}

.view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 40px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.3);
    position: relative;
    overflow: hidden;
}

.view-all-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.view-all-btn:hover::before {
    left: 100%;
}

.view-all-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(249, 115, 22, 0.5);
}

.view-all-btn svg {
    transition: transform 0.3s ease;
}

.view-all-btn:hover svg {
    transform: translateX(5px);
}

/* Modern Categories Showcase */
.categories-showcase {
    padding: 100px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.categories-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 20% 50%, rgba(249, 115, 22, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
}

.categories-showcase .container-wide {
    position: relative;
    z-index: 1;
}

.categories-showcase .section-title {
    color: white;
}

.categories-showcase .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.categories-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.category-card-modern {
    position: relative;
    padding: 50px 30px;
    border-radius: 20px;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

.category-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease;
}

.category-card-modern:hover::before {
    opacity: 0;
}

.category-card-modern:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.category-icon-modern {
    font-size: 64px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    transition: transform 0.5s ease;
}

.category-card-modern:hover .category-icon-modern {
    transform: scale(1.2) rotate(10deg);
}

.category-name-modern {
    font-size: 24px;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.category-count-modern {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 2;
    margin: 0;
}

.category-arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.category-card-modern:hover .category-arrow {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(5px);
}

/* Newsletter CTA Section */
.newsletter-cta-section {
    padding: 100px 0;
    background: #f8fafc;
}

.newsletter-cta-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 60px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(249, 115, 22, 0.3);
    position: relative;
    overflow: hidden;
}

.newsletter-cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.newsletter-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
}

.newsletter-title {
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.newsletter-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.newsletter-form-inline {
    display: flex;
    max-width: 500px;
    margin: 0 auto 20px;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.newsletter-input {
    flex: 1;
    padding: 18px 25px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
}

.newsletter-submit {
    padding: 18px 35px;
    background: #1e293b;
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.newsletter-submit:hover {
    background: #0f172a;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.newsletter-privacy {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .spotlight-card {
        grid-template-columns: 1fr;
    }
    
    .spotlight-image {
        height: 400px;
    }
    
    .spotlight-content {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .hero-title-epic {
        font-size: 48px;
    }
    
    .hero-subtitle-epic {
        font-size: 18px;
    }
    
    .hero-cta-group {
        flex-direction: column;
    }
    
    .hero-cta-primary,
    .hero-cta-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-divider {
        width: 60%;
        height: 1px;
    }
    
    .spotlight-title {
        font-size: 28px;
    }
    
    .spotlight-content {
        padding: 30px;
    }
    
    .articles-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .categories-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .category-card-modern {
        padding: 30px 20px;
    }
    
    .category-icon-modern {
        font-size: 48px;
    }
    
    .newsletter-cta-card {
        padding: 50px 30px;
    }
    
    .newsletter-title {
        font-size: 32px;
    }
    
    .newsletter-form-inline {
        flex-direction: column;
    }
    
    .newsletter-input,
    .newsletter-submit {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-epic {
        min-height: 90vh;
    }
    
    .hero-title-epic {
        font-size: 36px;
    }
    
    .hero-content-wrapper {
        padding: 0 20px;
    }
    
    .categories-grid-modern {
        grid-template-columns: 1fr;
    }
}

/* Performance Optimizations */
.hero-animated-bg,
.hero-particles {
    will-change: transform;
}

.article-card,
.category-card-modern,
.spotlight-card {
    will-change: transform;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation for Articles */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.article-card {
    animation: fadeInScale 0.5s ease-out;
}