/* ==========================================================================
   Casino Starter — Bonus / Promo Code Card Styles
   ========================================================================== */

/* --- Promo Code Card (Yellow highlight) --- */
.promo-card {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    background: linear-gradient(135deg, #fff8e1 0%, #fff3d6 100%);
    border: 2px solid var(--color-cta);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
    transition: box-shadow var(--transition-base);
    text-decoration: none;
    color: var(--color-text);
}

.promo-card:hover {
    box-shadow: var(--shadow-md);
    color: var(--color-text);
}

.promo-card__logo {
    width: 120px;
    height: 50px;
    object-fit: contain;
    flex-shrink: 0;
}

.promo-card__content {
    flex: 1;
}

.promo-card__title {
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    font-weight: var(--weight-bold);
    color: var(--color-text);
    margin-bottom: var(--space-xs);
    line-height: var(--leading-tight);
}

.promo-card__code {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    background: var(--color-white);
    border: 2px dashed var(--color-cta);
    border-radius: var(--radius-sm);
    padding: 0.35rem 0.75rem;
    font-family: var(--font-mono);
    font-size: var(--text-base);
    font-weight: var(--weight-bold);
    letter-spacing: 1.5px;
    color: var(--color-primary);
}

.promo-card__cta {
    flex-shrink: 0;
}

/* --- Promo Cards Grid --- */
.promo-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

/* --- Bonus Detail Page --- */
.bonus-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
    padding: var(--space-2xl) 0;
    margin-bottom: var(--space-xl);
}

.bonus-hero__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
}

.bonus-hero__logo {
    width: 200px;
    height: 80px;
    object-fit: contain;
    background: var(--color-white);
    padding: var(--space-md);
    border-radius: var(--radius-md);
}

/* Pack logos are 400×200 tiles with their own background: no white plate */
.bonus-hero__logo--tile {
    width: 220px;
    height: auto;
    aspect-ratio: 2 / 1;
    padding: 0;
    background: transparent;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.bonus-hero__info {
    flex: 1;
}

.bonus-hero__title {
    font-size: var(--text-3xl);
    font-weight: var(--weight-extrabold);
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.bonus-hero__amount {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: var(--weight-extrabold);
    color: var(--color-cta);
    margin-bottom: var(--space-sm);
}

.bonus-hero__meta {
    display: flex;
    flex-wrap: wrap;               /* whole items wrap, never the text inside one */
    row-gap: var(--space-xs);
    column-gap: var(--space-lg);
    font-size: var(--text-sm);
    opacity: 0.9;
}

.bonus-hero__meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    white-space: nowrap;
}

/* Payment Methods & Licenses rows */
.bonus-hero__taxonomy {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: var(--space-sm);
    font-size: var(--text-sm);
}

.bonus-hero__taxonomy svg {
    opacity: 0.7;
    flex-shrink: 0;
}

.bonus-hero__tax-tag {
    display: inline-block;
    padding: 2px 10px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 100px;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.15s;
}

.bonus-hero__tax-tag:hover {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.bonus-hero__tax-tag--license {
    border-color: rgba(var(--color-success-rgb, 40, 167, 69), 0.5);
    background: rgba(var(--color-success-rgb, 40, 167, 69), 0.15);
}

.bonus-hero__cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

/* --- Casino List (wrapper for casino cards); spacing between blocks: casino-item.css --- */
.casino-list__title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: var(--weight-bold);
    margin-bottom: var(--space-lg);
}

.casino-list__items {
    display: flex;
    flex-direction: column;
}

.casino-list__item--hidden:not(.is-shown) {
    display: none;
}
