/* Zavian Casino Listing v2 — casino.ca-style layout
   Palette: bg #FFFCF6, text #313131, accent #F9C976, green #2ecc71
   Fonts: Lexend (headings), DM Sans (body)
*/

.zcl-wrap {
    max-width: 920px;
    margin: 2rem auto;
    font-family: 'DM Sans', sans-serif;
    color: #313131;
}

.zcl-header {
    margin-bottom: 1.5rem;
}

.zcl-header h2 {
    font-family: 'Lexend', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #313131;
    margin: 0;
    font-style: italic;
}

/* ─── Card ─── */

.zcl-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.zcl-card {
    display: grid;
    grid-template-columns: 36px 100px 1fr auto auto auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 0 1rem;
    background: #fff;
    border: 1px solid #e0dcd4;
    border-radius: 14px;
    padding: 1.1rem 1.25rem;
    position: relative;
    transition: box-shadow 0.2s ease;
}

.zcl-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Rank */
.zcl-rank-col {
    grid-row: 1;
    grid-column: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zcl-rank {
    width: 26px;
    height: 26px;
    background: #F9C976;
    color: #313131;
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(249, 201, 118, 0.35);
}

/* Logo column */
.zcl-logo-col {
    grid-row: 1;
    grid-column: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.zcl-logo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e8e4dc;
}

.zcl-logo-placeholder {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #313131 0%, #555 100%);
    color: #F9C976;
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e8e4dc;
}

.zcl-badge {
    background: #2ecc71;
    color: #fff;
    font-family: 'Lexend', sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

/* Info column */
.zcl-info-col {
    grid-row: 1;
    grid-column: 3;
    min-width: 0;
}

.zcl-name {
    font-family: 'Lexend', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #313131;
    margin: 0 0 0.15rem;
}

.zcl-established {
    font-size: 0.78rem;
    color: #888;
    margin-bottom: 0.25rem;
}

.zcl-rating {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.zcl-star {
    color: #F9C976;
    font-size: 0.9rem;
}

.zcl-rating-num {
    font-family: 'Lexend', sans-serif;
    font-weight: 700;
    font-size: 0.82rem;
    color: #313131;
}

.zcl-rating-label {
    font-size: 0.78rem;
    color: #888;
}

/* Bonus column */
.zcl-bonus-col {
    grid-row: 1;
    grid-column: 4;
    text-align: center;
    padding: 0 0.75rem;
}

.zcl-bonus-text {
    font-weight: 700;
    font-size: 0.9rem;
    color: #2ecc71;
    line-height: 1.35;
}

/* Stats column */
.zcl-stats-col {
    grid-row: 1;
    grid-column: 5;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 130px;
}

.zcl-stat {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: #555;
}

.zcl-stat-check {
    color: #2ecc71;
    font-size: 0.75rem;
    font-weight: 700;
}

/* CTA column */
.zcl-cta-col {
    grid-row: 1;
    grid-column: 6;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    min-width: 110px;
}

/* Promo code button */
.zcl-promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #fff;
    border: 1.5px dashed #bbb;
    border-radius: 6px;
    padding: 0.3rem 0.65rem;
    cursor: pointer;
    font-size: 0.75rem;
    color: #555;
    transition: border-color 0.2s;
    font-family: 'DM Sans', sans-serif;
}

.zcl-promo-btn:hover {
    border-color: #F9C976;
}

.zcl-promo-icon {
    font-size: 0.8rem;
}

/* CTA button */
.zcl-btn {
    display: inline-block;
    background: #2ecc71;
    color: #fff;
    font-family: 'Lexend', sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    padding: 0.55rem 1.25rem;
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    text-align: center;
    min-width: 100px;
}

.zcl-btn:hover {
    background: #27ae60;
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
    color: #fff;
    text-decoration: none;
}

/* More info toggle */
.zcl-more-toggle {
    background: none;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0.3rem 0.75rem;
    font-size: 0.75rem;
    color: #666;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    transition: border-color 0.2s;
}

.zcl-more-toggle:hover {
    border-color: #999;
}

.zcl-more-arrow {
    font-size: 0.6rem;
    display: inline-block;
    transition: transform 0.2s;
}

.zcl-more-arrow.open {
    transform: rotate(180deg);
}

/* Expandable info */
.zcl-more-info {
    grid-column: 1 / -1;
    grid-row: 2;
    padding: 0.75rem 1rem;
    margin-top: 0.75rem;
    border-top: 1px solid #eee;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.6;
}

.zcl-more-info p {
    margin: 0 0 0.5rem;
}

.zcl-more-info ul {
    margin: 0.25rem 0;
    padding-left: 1.25rem;
}

/* Disclaimer */
.zcl-disclaimer {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.72rem;
    color: #999;
    line-height: 1.5;
}

/* ─── Responsive ─── */

@media (max-width: 900px) {
    .zcl-card {
        grid-template-columns: 30px 72px 1fr;
        grid-template-rows: auto auto auto auto;
        gap: 0.5rem 0.75rem;
        padding: 1rem;
    }

    .zcl-rank-col { grid-row: 1; grid-column: 1; }
    .zcl-logo-col { grid-row: 1 / 3; grid-column: 2; }
    .zcl-info-col { grid-row: 1; grid-column: 3; }

    .zcl-bonus-col {
        grid-row: 2;
        grid-column: 3;
        text-align: left;
        padding: 0;
    }

    .zcl-stats-col {
        grid-row: 3;
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
        padding-top: 0.5rem;
        border-top: 1px solid #f0ece4;
    }

    .zcl-cta-col {
        grid-row: 4;
        grid-column: 1 / -1;
        flex-direction: row;
        justify-content: center;
        gap: 0.5rem;
        padding-top: 0.5rem;
    }

    .zcl-more-info {
        grid-row: 5;
    }
}

@media (max-width: 480px) {
    .zcl-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .zcl-rank-col {
        grid-column: 1;
        justify-content: flex-start;
    }

    .zcl-logo-col { grid-column: 1; }
    .zcl-info-col { grid-column: 1; }
    .zcl-bonus-col {
        grid-column: 1;
        text-align: center;
        padding: 0;
    }
    .zcl-stats-col {
        grid-column: 1;
        justify-content: center;
    }
    .zcl-cta-col {
        grid-column: 1;
        flex-direction: column;
    }

    .zcl-btn {
        display: block;
        width: 100%;
    }

    .zcl-header h2 {
        font-size: 1.3rem;
    }
}
