/* index.css */
.index-hero {
    text-align: center;
    padding: 80px 20px 40px;
    margin-bottom: 20px;
}
.index-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #fff;
}
.index-hero .highlight {
    background: linear-gradient(135deg, #f43f5e, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.index-hero p {
    font-size: 1.2rem;
    color: #94a3b8;
}

/* Post Grid */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}
.card {
    background: var(--glass-bg, rgba(30,41,59,0.7));
    border: 1px solid var(--glass-border, rgba(255,255,255,0.08));
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    border-color: rgba(99, 102, 241, 0.4);
}
.card-img {
    height: 180px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.card-content {
    padding: 24px;
    flex-grow: 1;
}
.card-rating {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 12px;
}
.card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #fff;
}
.card p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.6;
}
