/* ============================================
   HERO FEATURED ARTICLE SECTION
   Clean, modern design with mobile responsiveness
   ============================================ */

.hero-featured-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: var(--space-3xl) var(--space-lg);
    min-height: 600px;
}

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

.loading-hero {
    text-align: center;
    padding: 100px 20px;
    color: var(--text-secondary);
}

/* Hero Featured Article Card */
.hero-featured-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 500px;
    border: 1px solid var(--border-color);
}

.hero-featured-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-lg), 0 0 20px rgba(247, 147, 26, 0.3);
    border-color: var(--primary-orange);
}

/* Hero Image Container */
.hero-image-container {
    position: relative;
    overflow: hidden;
    background: var(--bg-tertiary);
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-speed);
}

.hero-featured-card:hover .hero-image-container img {
    transform: scale(1.05);
}

/* Hero Category Badge */
.hero-category-badge {
    position: absolute;
    top: 24px;
    left: 24px;
    padding: 8px 16px;
    background: rgba(59, 130, 246, 0.95);
    color: white;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    backdrop-filter: blur(10px);
}

/* Category-specific badge colors */
.hero-category-badge[data-category="bitcoin"] {
    background: rgba(247, 147, 26, 0.95);
}

.hero-category-badge[data-category="ethereum"] {
    background: rgba(98, 126, 234, 0.95);
}

.hero-category-badge[data-category="defi"] {
    background: rgba(0, 212, 170, 0.95);
}

.hero-category-badge[data-category="nft"] {
    background: rgba(157, 76, 221, 0.95);
}

.hero-category-badge[data-category="regulation"] {
    background: rgba(99, 102, 241, 0.95);
}

/* Just Published Badge */
.hero-just-published {
    position: absolute;
    top: 24px;
    right: 24px;
    padding: 8px 16px;
    background: var(--gradient-primary);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    animation: pulse 2s ease-in-out infinite;
    box-shadow: var(--shadow-glow-orange);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Hero Content Container */
.hero-content-container {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-label {
    font-family: var(--font-heading);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    color: var(--primary-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-md);
}

.hero-article-title {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: var(--font-extrabold);
    color: var(--text-primary);
    line-height: var(--leading-tight);
    margin-bottom: var(--space-lg);
}

.hero-article-excerpt {
    font-family: var(--font-body);
    font-size: var(--text-lg);
    color: var(--text-secondary);
    line-height: var(--leading-normal);
    margin-bottom: var(--space-xl);
}

.hero-article-meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--text-sm);
    color: var(--text-tertiary);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-color);
}

.hero-meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.hero-meta-dot {
    width: 4px;
    height: 4px;
    background: var(--text-tertiary);
    border-radius: 50%;
}

.hero-read-more {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    padding: var(--space-md) var(--space-xl);
    background: var(--gradient-primary);
    color: white;
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    border-radius: 8px;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.hero-read-more:hover {
    transform: translateX(4px) translateY(-2px);
    box-shadow: 0 0 20px rgba(247, 147, 26, 0.4), 0 4px 16px rgba(0, 0, 0, 0.3);
}

.hero-read-more:active {
    transform: translateX(2px) translateY(0);
}

.hero-read-more::after {
    content: '→';
    font-size: 20px;
    transition: transform 0.2s ease;
}

.hero-read-more:hover::after {
    transform: translateX(6px);
}

/* ============================================
   RESPONSIVE DESIGN - TABLET
   ============================================ */

@media (max-width: 1024px) {
    .hero-featured-section {
        padding: var(--space-2xl) var(--space-lg);
        min-height: auto;
    }

    .hero-featured-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-image-container {
        height: 350px;
    }

    .hero-content-container {
        padding: var(--space-xl);
    }

    .hero-article-title {
        font-size: var(--text-3xl);
    }

    .hero-article-excerpt {
        font-size: var(--text-base);
    }
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE
   ============================================ */

@media (max-width: 768px) {
    .hero-featured-section {
        padding: var(--space-lg) var(--space-md);
    }

    .hero-featured-card {
        border-radius: 8px;
    }

    .hero-image-container {
        height: 250px;
    }

    .hero-category-badge,
    .hero-just-published {
        top: var(--space-md);
        left: var(--space-md);
        padding: var(--space-xs) var(--space-sm);
        font-size: var(--text-xs);
    }

    .hero-just-published {
        left: auto;
        right: var(--space-md);
    }

    .hero-content-container {
        padding: var(--space-lg) var(--space-lg);
    }

    .hero-label {
        font-size: var(--text-xs);
        margin-bottom: var(--space-sm);
    }

    .hero-article-title {
        font-size: var(--text-2xl);
        margin-bottom: var(--space-md);
    }

    .hero-article-excerpt {
        font-size: var(--text-base);
        line-height: var(--leading-normal);
        margin-bottom: var(--space-lg);
    }

    .hero-article-meta {
        flex-wrap: wrap;
        font-size: var(--text-xs);
        padding-top: var(--space-md);
    }

    .hero-read-more {
        width: 100%;
        justify-content: center;
        padding: var(--space-sm) var(--space-lg);
        font-size: var(--text-base);
        margin-top: var(--space-lg);
    }
}

/* ============================================
   TOUCH IMPROVEMENTS FOR MOBILE
   ============================================ */

@media (max-width: 768px) {
    /* Increase touch target sizes */
    .hero-featured-card {
        -webkit-tap-highlight-color: transparent;
    }

    .hero-read-more {
        min-height: 48px; /* Apple recommended touch target */
        touch-action: manipulation;
    }

    /* Disable hover effects on touch devices */
    @media (hover: none) {
        .hero-featured-card:hover {
            transform: none;
        }

        .hero-featured-card:hover .hero-image-container img {
            transform: none;
        }

        .hero-read-more:hover {
            transform: none;
        }

        .hero-read-more:hover::after {
            transform: none;
        }
    }
}

/* ============================================
   LOADING STATE
   ============================================ */

.loading-hero p {
    font-family: var(--font-body);
    font-size: var(--text-base);
    animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}
