/* Casino Card Plugin - Compact CSS */

.ccp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.ccp-card {
    background: #ffffff;
    border: 3px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.ccp-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Header */
.ccp-header {
    display: grid;
    grid-template-columns: 2fr 120px;
    gap: 12px;
    margin-bottom: 10px;
}

.ccp-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ccp-title {
    font-size: 20px;
    font-weight: 700;
    color: #1d2327;
    margin: 0;
    line-height: 1.2;
}

.ccp-rating {
    display: flex;
    align-items: center;
    gap: 6px;
}

.ccp-stars {
    display: flex;
    gap: 1px;
    font-size: 16px;
}

.star-full {
    color: #ffd700;
}

.star-half {
    color: #ffd700;
}

.star-empty {
    color: #ddd;
}

.ccp-rating-text {
    font-size: 13px;
    font-weight: 600;
    color: #666;
}

.ccp-signup-offer {
    font-size: 12px;
    font-weight: 700;
    color: #28a745;
    background: #e7f5ec;
    padding: 4px 8px;
    border-radius: 4px;
    margin-top: 6px;
    border: 1px solid #28a745;
    line-height: 1.3;
}

.ccp-logo-link {
    display: block;
    text-decoration: none;
}

.ccp-logo {
    width: 120px;
    height: 120px;
    background: transparent;
    border-radius: 6px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.ccp-logo-link:hover .ccp-logo {
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    transform: translateY(-2px);
    border-color: #28a745;
}

.ccp-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Meta Row - License and Review side by side under image */
.ccp-meta-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-bottom: 8px;
    align-items: center;
}

.ccp-license-compact {
    font-size: 12px;
    font-style: italic;
    color: #666;
    padding: 0;
    background: transparent;
}

.ccp-review-link {
    font-size: 11px;
    font-weight: 600;
    color: #0073aa;
    text-decoration: none;
    white-space: nowrap;
}

.ccp-review-link:hover {
    text-decoration: underline;
}

/* Description */
.ccp-description {
    margin-bottom: 8px;
}

.ccp-description p {
    color: #444;
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
}

/* Badges & Payments - No backgrounds, just borders */
.ccp-badges-payments {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 10px;
}

.ccp-badge,
.ccp-payment {
    background: transparent;
    color: #666;
    font-size: 9px;
    padding: 3px 6px;
    border-radius: 3px;
    font-weight: 600;
    border: 1px solid #ddd;
    line-height: 1.2;
}

.ccp-payment {
    background: transparent;
    color: #0277bd;
    border: none;
    padding: 0;
}

.ccp-payment img {
    height: 24px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Pros & Cons */
.ccp-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 12px;
}

.ccp-pros,
.ccp-cons {
    background: transparent;
    border-radius: 4px;
    padding: 8px;
    border: 1px solid #e8e8e8;
}

.ccp-pros h4,
.ccp-cons h4 {
    font-size: 10px;
    font-weight: 700;
    margin: 0 0 6px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ccp-pros h4 {
    color: #28a745;
}

.ccp-cons h4 {
    color: #dc3545;
}

.ccp-pros ul,
.ccp-cons ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ccp-pros li,
.ccp-cons li {
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 4px;
    padding-left: 14px;
    position: relative;
}

.ccp-pros li {
    color: #2d2d2d;
}

.ccp-cons li {
    color: #888;
}

.ccp-pros li:last-child,
.ccp-cons li:last-child {
    margin-bottom: 0;
}

.ccp-pros li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1e7e34;
    font-weight: bold;
    font-size: 12px;
}

.ccp-cons li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #e57373;
    font-weight: bold;
    font-size: 12px;
}

/* Footer */
.ccp-footer {
    margin-top: 12px;
}

.ccp-button {
    display: inline-block;
    background: #28a745;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

.ccp-button:hover {
    background: #218838;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    color: #ffffff;
    text-decoration: none;
}

.ccp-legal {
    margin-top: 12px;
    font-size: 9px;
    line-height: 1.3;
    color: #888;
    text-align: left;
}

/* Mobile */
@media (max-width: 768px) {
    .ccp-grid {
        grid-template-columns: 1fr;
    }
    
    .ccp-card {
        padding: 12px;
    }
    
    .ccp-header {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 10px;
    }
    
    .ccp-logo {
        margin: 0 auto;
        width: 100px;
        height: 100px;
    }
    
    .ccp-left {
        align-items: center;
    }
    
    .ccp-rating {
        justify-content: center;
    }
    
    .ccp-meta-row {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4px;
        margin-bottom: 10px;
    }
    
    .ccp-license-compact {
        font-size: 11px;
    }
    
    .ccp-pros-cons {
        grid-template-columns: 1fr;
    }
    
    .ccp-button {
        display: block;
        text-align: center;
    }
}
