/* Home Page Redesigned - Matching ai-news.html Style */

/* Hero Section Specific */
.home-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #ffa95c 100%);
    padding: 140px 0 100px;
}

.home-hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .home-hero h1 {
        font-size: 2.75rem;
    }
}

/* Highlight Card for Trending */
.highlight-card {
    position: relative;
}

.highlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, #ff6a00, #ff9500);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Stats Section Redesigned */
.portal-stats-redesigned {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 80px 0;
    color: white;
}

.portal-stats-redesigned .stats-row {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

.portal-stats-redesigned .portal-stat {
    text-align: center;
}

.portal-stats-redesigned .stat-number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #667eea 0%, #f093fb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'JetBrains Mono', monospace;
}

.portal-stats-redesigned .stat-desc {
    display: block;
    font-size: 1rem;
    color: #94a3b8;
    margin-top: 8px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .portal-stats-redesigned .stats-row {
        gap: 40px;
    }
    
    .portal-stats-redesigned .stat-number {
        font-size: 2.5rem;
    }
}

/* Newsletter Section */
.newsletter-section {
    padding: 80px 0;
    background: #ffffff;
}

.newsletter-box {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 24px;
    padding: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 48px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.newsletter-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.newsletter-content p {
    color: #64748b;
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    min-width: 420px;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 24px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
    transition: all 0.2s;
    background: white;
}

.newsletter-form input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.newsletter-form button {
    padding: 16px 32px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.4);
}

@media (max-width: 768px) {
    .newsletter-box {
        flex-direction: column;
        text-align: center;
        padding: 32px;
    }
    
    .newsletter-form {
        min-width: unset;
        width: 100%;
        flex-direction: column;
    }
}

/* Gaming Prominent Card Styling */
.gaming-prominent {
    position: relative;
}

.gaming-prominent::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #ec4899, #f97316, #ec4899);
    border-radius: 18px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gaming-prominent:hover::before {
    opacity: 1;
}

.gaming-prominent:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(236, 72, 153, 0.25);
}

/* Gaming Featured Card */
.gaming-featured {
    position: relative;
}

.gaming-featured .featured-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2) 0%, transparent 100%);
    pointer-events: none;
}

/* Gaming highlight in news-highlights */
.news-highlights .highlight {
    transition: transform 0.2s ease;
}

.news-highlights .highlight:hover {
    transform: translateY(-2px);
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .newsletter-section {
        background: #0f172a;
    }
    
    .newsletter-box {
        background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
        border-color: #334155;
    }
    
    .newsletter-content h3 {
        color: #f1f5f9;
    }
    
    .newsletter-content p {
        color: #94a3b8;
    }
    
    .newsletter-form input {
        background: #0f172a;
        border-color: #334155;
        color: #f1f5f9;
    }
}
