/* Çekiliş Container */
.lottery-container {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* Çekiliş Grid */
.lottery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* Çekiliş Kartı */
.lottery-card {
    background-color: var(--accent-color);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lottery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Çekiliş Resmi */
.lottery-image {
    position: relative;
    height: 200px;
}

.lottery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.time-left {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Çekiliş İçeriği */
.lottery-content {
    padding: 1.5rem;
}

.lottery-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.lottery-content p {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Çekiliş Bilgileri */
.lottery-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.lottery-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.lottery-info i {
    color: var(--primary-color);
}

/* Çekiliş Butonları */
.lottery-join-btn,
.lottery-joined-btn,
.lottery-winners-btn {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.lottery-join-btn {
    background: var(--gradient-green);
    color: var(--secondary-color);
}

.lottery-join-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.lottery-joined-btn {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    cursor: not-allowed;
}

.lottery-winners-btn {
    background: linear-gradient(45deg, #FF9800, #F57C00);
    color: #fff;
}

.lottery-winners-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
}

.lottery-btn {
    display: none;
}

/* Geçmiş Çekilişler */
.past-lotteries .lottery-card {
    opacity: 0.7;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .lottery-container {
        padding: 0 1rem;
    }

    .lottery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .lottery-image {
        height: 150px;
    }
}