/* ===========================================================
   PART 2: LOTTERY GRID STYLES
   =========================================================== */

.llc-lottery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.llc-lottery-card {
    background: #f6eff9;
    border-radius: 24px;
    padding: 16px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.llc-lottery-card img {
    width: 100%;
    border-radius: 20px;
    display: block;
}

/* Overlap Timer */
.llc-timer {
    background: #eae4ef;
    border-radius: 16px;
    padding: 12px 14px;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin: -30px auto 16px;
    width: 92%;
    font-size: 13px;
    font-weight: 700;
    z-index: 2;
    position: relative;
}

.llc-timer span {
    position: relative;
    padding: 0 6px;
    white-space: nowrap;
}

.llc-timer span:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: -6px;
    color: #aaa;
}

.llc-lottery-card h3 {
    text-align: center;
    min-height: 4.5em;
    font-size: 18px;
    font-weight: 800;
    margin: 12px 0 8px;
    line-height: 1.3;
}

.llc-pill {
    display: none;
}

.llc-lottery-grid .llc-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
    margin: 20px 0 -10px 0 !important;
}

.llc-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
}

.llc-enter-btn {
    background: #d1a1ff;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    color: #000;
}

@media (max-width: 1024px) {
    .llc-lottery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .llc-lottery-grid {
        grid-template-columns: 1fr;
    }
}