/* ═══════════════════════════════════════════════════════════════════════════
   WoW Tools Manager — Stylesheet (Pill Redesign)
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
    --wow-primary: #111111;
    --wow-card-bg: #f8f8f8;
    --wow-border: #111111;
    --wow-radius: 28px;
    --wow-transition: 0.3s cubic-bezier(.4,0,.2,1);
    --wow-text: #000000;
}

/* ── Container ────────────────────────────────────────────────────────────── */
.wow-grid-container {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

/* ── Search Bar (Subtle Update) ────────────────────────────────────────────── */
.wow-search-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    padding: 12px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #eee;
}

.wow-search-input {
    flex: 1;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    background: #f5f5f5;
    border-radius: 12px;
}

.wow-filter-select {
    border: 1px solid #eee;
    padding: 12px 20px;
    border-radius: 12px;
    background: #fff;
}

/* ── Grid ──────────────────────────────────────────────────────────────────── */
.wow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 30px;
}

/* ── Pill Card ─────────────────────────────────────────────────────────────── */
.wow-card {
    aspect-ratio: 4 / 5.2; /* Tall rectangle */
    background: var(--wow-card-bg);
    border: 1px solid var(--wow-border);
    border-radius: var(--wow-radius);
    transition: all var(--wow-transition);
    overflow: hidden;
    position: relative;
}

.wow-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background: #ffffff;
}

.wow-card__link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.wow-card__inner {
    padding: 30px 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    box-sizing: border-box;
}

.wow-card__badges {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
    z-index: 5;
}

.wow-card__badge {
    background: #fff;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    border: 1px solid #111;
    text-transform: uppercase;
    box-shadow: 3px 3px 0px #111;
}

.wow-card__badge--using, .wow-card__badge--affiliate {
    font-size: 14px;
    padding: 4px;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wow-card__logo-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px;
    min-height: 120px;
}

.wow-card__logo {
    max-width: 100%;
    max-height: 100px;
    height: auto;
    width: auto;
    object-fit: contain;
}

.wow-card__logo-placeholder {
    width: 70px;
    height: 70px;
    background: #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    color: #fff;
}

.wow-card__content {
    width: 100%;
    text-align: center;
    padding-top: 15px;
}

.wow-card__title {
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--wow-text);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.wow-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-bottom: 20px;
}

.wow-card__tag {
    font-size: 11px;
    color: #777;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 6px;
    white-space: nowrap;
}

.wow-card__actions {
    width: 100%;
    margin-top: auto;
}

.wow-card__btn-visit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1.5px solid #000;
}

.wow-card__btn-visit:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.icon-visit {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* ── Mobile ────────────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .wow-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }
    .wow-card__title {
        font-size: 16px;
    }
}

/* ── Load More ─────────────────────────────────────────────────────────────── */
.wow-load-more-wrap {
    text-align: center;
    margin-top: 50px;
}

.wow-load-more-btn {
    padding: 16px 48px;
    border-radius: 50px;
    border: 1.5px solid #000;
    background: transparent;
    color: #000;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.wow-load-more-btn:hover {
    background: #000;
    color: #fff;
}
