.landing-main {
    min-height: calc(100vh - 8rem);
    padding: 2.5rem 0 4rem;
    background:
        radial-gradient(circle at 88% 8%, rgba(139, 92, 246, .12), transparent 28rem),
        var(--gray-50);
}

.landing-hero {
    max-width: 760px;
    margin: 0 auto 2rem;
    text-align: center;
}

.landing-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: .75rem;
    color: var(--primary);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.landing-hero h1 {
    margin-bottom: .75rem;
    color: #130e1d;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.12;
}

.landing-hero p {
    max-width: 650px;
    margin: 0 auto;
    color: var(--gray-600);
    font-size: 1rem;
}

.landing-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem;
    margin-top: 1.35rem;
}

.landing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 1120px;
    margin: 0 auto;
}

.landing-card {
    display: flex;
    flex-direction: column;
    min-height: 170px;
    padding: 1.25rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .9);
    box-shadow: var(--shadow-sm);
}

.landing-card-icon {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    margin-bottom: .85rem;
    border-radius: .8rem;
    background: var(--primary-50);
    color: var(--primary);
    font-size: 1.15rem;
}

.landing-card h2,
.landing-card h3 {
    margin-bottom: .4rem;
    color: #130e1d;
    font-family: var(--font-display);
    font-size: 1.05rem;
}

.landing-card p {
    color: var(--gray-600);
    font-size: .85rem;
}

.landing-card-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-top: auto;
    padding-top: 1rem;
    color: var(--primary);
    font-size: .8rem;
    font-weight: 700;
    text-decoration: none;
}

.landing-card-link:hover { color: var(--primary-dark); }

.landing-section {
    max-width: 1120px;
    margin: 2.5rem auto 0;
}

.landing-section-title {
    margin-bottom: 1rem;
    color: #130e1d;
    font-family: var(--font-display);
    font-size: 1.35rem;
}

.landing-panel {
    padding: 1.35rem;
    border: 1px solid rgba(109, 40, 217, .14);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(109, 40, 217, .08), rgba(255, 255, 255, .96));
}

.landing-list {
    display: grid;
    gap: .7rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.landing-list li {
    display: flex;
    gap: .65rem;
    align-items: flex-start;
    color: var(--gray-700);
    font-size: .9rem;
}

.landing-list i {
    flex: 0 0 auto;
    margin-top: .2rem;
    color: var(--success);
}

.shop-directory-card {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Ranked shop directory cards */
.shops-directory-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 1120px;
    margin: 0 auto;
}

.shop-rank-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(109, 40, 217, .12);
    border-radius: 1rem;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 10px 26px rgba(35, 18, 66, .08);
    transition: transform .2s ease, box-shadow .2s ease;
}

.shop-rank-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(35, 18, 66, .14);
}

.shop-rank-banner {
    position: relative;
    height: 94px;
    overflow: hidden;
    background: linear-gradient(135deg, #312e81, #06b6d4);
}

.shop-rank-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 24%, rgba(15, 23, 42, .5));
}

.shop-rank-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-rank-number {
    position: absolute;
    top: .55rem;
    left: .55rem;
    z-index: 1;
    display: grid;
    width: 1.65rem;
    height: 1.65rem;
    place-items: center;
    border: 1px solid rgba(255,255,255,.55);
    border-radius: 50%;
    background: rgba(15, 23, 42, .62);
    color: white;
    font-size: .7rem;
    font-weight: 800;
}

.shop-rank-body {
    display: grid;
    grid-template-columns: 2.55rem minmax(0, 1fr);
    gap: .65rem;
    padding: .9rem .7rem .7rem;
}

.shop-rank-logo {
    width: 2.55rem;
    height: 2.55rem;
    margin-top: 0;
    border: 3px solid rgba(255,255,255,.95);
    border-radius: .7rem;
    background: white;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .14);
    object-fit: cover;
}

.shop-rank-copy {
    min-width: 0;
}

.shop-rank-copy h2 {
    margin: 0 0 .18rem;
    overflow: hidden;
    font-size: .88rem;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-rank-copy p {
    display: -webkit-box;
    min-height: 2.35em;
    margin: 0;
    overflow: hidden;
    color: var(--gray-600);
    font-size: .7rem;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.shop-rank-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .35rem;
    padding: 0 .7rem .7rem;
    color: var(--gray-500);
    font-size: .68rem;
}

.shop-rank-meta strong {
    color: var(--gray-800);
}

.shop-trust-check {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    max-width: 100%;
    padding: .22rem .42rem;
    border-radius: 999px;
    font-size: .62rem;
    font-weight: 800;
    white-space: nowrap;
}

.shop-trust-check i { font-size: .68rem; }
.shop-trust-check.tier-premium { color: #8a5a00; background: #fff3c4; }
.shop-trust-check.tier-trusted { color: #087443; background: #d9fbe8; }
.shop-trust-check.tier-rising { color: #075985; background: #dff4ff; }
.shop-trust-check.tier-low { color: #9a6400; background: #fff4cf; }

.shops-directory-status {
    grid-column: 1 / -1;
    padding: 2rem 1rem;
    text-align: center;
    color: var(--gray-600);
}

.shop-directory-logo {
    display: grid;
    width: 3.5rem;
    height: 3.5rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 1rem;
    background: var(--gradient-1);
    color: white;
    font-size: 1.3rem;
}

.shop-directory-copy { flex: 1; }

.shop-directory-copy h2 { margin-bottom: .2rem; }

.shop-directory-copy p { margin: 0; }

@media (max-width: 760px) {
    .shops-directory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .75rem;
    }

    .shop-rank-card {
        border-radius: .75rem;
    }
    .landing-main { padding-top: 1.5rem; }
    .landing-grid { grid-template-columns: 1fr; }
    .landing-card { min-height: 0; }
    .shops-directory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .75rem;
    }
    .shop-rank-banner { height: 68px; }
    .shop-rank-body {
        grid-template-columns: 1fr;
        gap: .35rem;
        padding: .7rem .5rem .5rem;
    }
    .shop-rank-logo {
        width: 2.2rem;
        height: 2.2rem;
        margin-top: 0;
    }
    .shop-rank-copy h2 { font-size: .68rem; }
    .shop-rank-copy p { min-height: 3.8em; font-size: .6rem; }
    .shop-rank-meta {
        align-items: flex-start;
        flex-direction: column;
        padding: 0 .5rem .5rem;
        font-size: .58rem;
    }
    .shop-trust-check {
        align-self: flex-start;
        font-size: .53rem;
    }
}