/* Slots Grid - [slots] shortcode */

.wm-slots-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Filters */
.wm-slots-filters {
    margin-bottom: 24px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 8px;
}

.wm-slots-letters {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 12px;
}

.wm-letter-link {
    display: inline-block;
    padding: 4px 8px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    border-radius: 4px;
    background: #fff;
    border: 1px solid #ddd;
    transition: background 0.15s, color 0.15s;
}

.wm-letter-link:hover,
.wm-letter-link.active {
    background: #2c3e50;
    color: #fff;
    border-color: #2c3e50;
}

.wm-slots-vol-filter {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.wm-slots-vol-filter label {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    margin-right: 4px;
}

.wm-vol-link {
    display: inline-block;
    padding: 4px 12px;
    font-size: 13px;
    color: #555;
    text-decoration: none;
    border-radius: 4px;
    background: #fff;
    border: 1px solid #ddd;
    transition: background 0.15s, color 0.15s;
}

.wm-vol-link:hover,
.wm-vol-link.active {
    background: #2c3e50;
    color: #fff;
    border-color: #2c3e50;
}

.wm-slots-count {
    margin: 8px 0 0;
    font-size: 13px;
    color: #888;
}

/* Card Grid */
.wm-slots-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.wm-slot-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.wm-slot-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.wm-slot-thumb {
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #f0f0f0;
}

.wm-slot-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wm-slot-nothumb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    font-size: 48px;
    font-weight: 700;
}

.wm-slot-info {
    padding: 12px;
}

.wm-slot-title {
    margin: 0 0 8px;
    font-size: 15px;
    line-height: 1.3;
}

.wm-slot-title a {
    color: #1a1a1a;
    text-decoration: none;
}

.wm-slot-title a:hover {
    color: #2c3e50;
}

/* Stats */
.wm-slot-stats {
    display: flex;
    gap: 6px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.wm-slot-rtp {
    display: inline-block;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    color: #fff;
}

.rtp-high { background: #27ae60; }
.rtp-mid { background: #f39c12; }
.rtp-low { background: #e74c3c; }

.wm-slot-vol {
    display: inline-block;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    background: #ecf0f1;
    color: #555;
}

.vol-low { background: #d5f5e3; color: #1e8449; }
.vol-medium { background: #fef9e7; color: #b7950b; }
.vol-high { background: #fadbd8; color: #c0392b; }

/* Details */
.wm-slot-details {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 12px;
    color: #777;
    margin-bottom: 6px;
}

.wm-slot-details span {
    white-space: nowrap;
}

/* Feature badges */
.wm-slot-badges {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.wm-slot-badge {
    display: inline-block;
    padding: 1px 6px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 3px;
    background: #eef2ff;
    color: #4338ca;
}

/* Responsive */
@media (max-width: 1024px) {
    .wm-slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .wm-slots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .wm-slots-letters {
        gap: 2px;
    }
    .wm-letter-link {
        padding: 3px 6px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .wm-slots-grid {
        grid-template-columns: 1fr;
    }
}

/* Status badges on cards */
.wm-slot-card {
    position: relative;
}
.wm-slot-status-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.wm-slot-status-badge.discontinued {
    background: #e74c3c;
    color: #fff;
}
.wm-slot-status-badge.table-game {
    background: #3498db;
    color: #fff;
}
.wm-slot-discontinued {
    opacity: 0.7;
}
.wm-slot-table-game {
    opacity: 0.85;
}
