/* Pools Grid */
.pools-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    width: 100%;
    margin-top: 20px;
}

@media (min-width: 768px) {
    .pools-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.pool-card {
    background: white;
    border-radius: 16px;
    /* overflow: hidden; Removed to allow badge to pop out */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
    position: relative;
    transition: transform 0.2s;
}

.pool-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.pool-card.featured {
    border: 2px solid #25D366;
    /* Green border */
    position: relative;
    z-index: 1;
    /* Ensure it sits above if needed */
}

.best-seller-badge {
    position: absolute;
    top: -14px;
    /* Adjusted slightly */
    left: 50%;
    transform: translateX(-50%);
    background: #dc2626;
    /* Red for high visibility */
    color: white;
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 20;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.pool-header {
    background: #5dae66;
    /* Muted Green */
    color: white;
    padding: 12px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-top-left-radius: 14px;
    /* Match card radius minus border */
    border-top-right-radius: 14px;
}

.clover-icon {
    font-size: 1.2rem;
}

.pool-body {
    padding: 20px;
    text-align: center;
}

.pool-prize {
    font-size: 1.5rem;
    color: #0284c7;
    /* Blue */
    font-weight: 700;
    margin-bottom: 4px;
}

.pool-subtitle {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
}

.pool-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 16px 0;
    border-top: 1px dashed #cbd5e1;
}

.pool-info {
    font-size: 0.9rem;
    color: #334155;
    line-height: 1.5;
}

.pool-numbers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
}

.pool-numbers span {
    background: #0284c7;
    /* Blue */
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.pool-chance {
    font-size: 1rem;
    color: #0284c7;
    font-weight: 600;
}

.pool-footer-info {
    font-size: 1rem;
    color: #334155;
    margin-bottom: 20px;
    line-height: 1.6;
}

.pool-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 24px;
    border-radius: 100px;
    /* Fully rounded */
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    /* Green Gradient */
    color: white;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    animation: pulse 2s infinite;
}

.pool-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
    opacity: 1;
    /* Override previous opacity hover */
}

/* Override specific colors to use the main green theme */
.btn-orange,
.btn-blue {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
}

.btn-disabled {
    background: white !important;
    color: #94a3b8 !important;
    border: 1px solid #cbd5e1;
    cursor: not-allowed;
    animation: none;
    box-shadow: none;
}

.btn-disabled:hover {
    opacity: 1;
    transform: none;
    box-shadow: none;
}