/* =========================
   SEARCH
========================= */

.az-search {
    position: relative;
    width: 260px;
}

.az-search input {
    width: 100%;
}


/* =========================
   HERO
========================= */

.az-hero {
    position: relative;

    height: 380px;

    border-radius: 32px;

    overflow: hidden;

    background: #111827;
}

.az-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.az-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(90deg,
            rgba(0, 0, 0, .78),
            rgba(0, 0, 0, .22));
}

.az-hero-content {
    position: absolute;

    top: 50%;
    left: 48px;

    transform: translateY(-50%);

    max-width: 480px;

    color: #fff;
}

.az-hero-content h1 {
    font-size: 52px;
    line-height: 1.05;

    margin-bottom: 14px;
}

.az-hero-content p {
    color: #e5e7eb;

    margin-bottom: 24px;

    line-height: 1.6;
}

/* =========================
   GAME CARDS
========================= */

.az-game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.az-game-card {
    position: relative;

    background: #fff;

    border-radius: 24px;

    overflow: hidden;

    border: 1px solid var(--border);

    box-shadow: var(--shadow);

    transition: .25s ease;
}

.az-game-card:hover {
    transform: translateY(-4px);
}

.az-game-card img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.az-game-info {
    padding: 16px;
}

.az-game-info h3 {
    font-size: 16px;
    margin-bottom: 6px;
}

.az-game-info p {
    color: var(--muted);
    font-size: 13px;
}

/* =========================
   FOOTER
========================= */

.az-footer {
    margin-top: 70px;

    background: #fff;

    border-top: 1px solid var(--border);

    padding: 42px 0 24px;
}

.az-footer-container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.az-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 34px;
}

.az-footer-box h3 {
    margin-bottom: 16px;
}

.az-footer-box a,
.az-footer-box p {
    display: block;

    color: var(--muted);

    margin-bottom: 10px;
}

/* =========================
   DESKTOP MARKETPLACE POLISH
========================= */

@media (min-width: 769px) {

    body {
        background:
            radial-gradient(circle at top left,
                rgba(124, 58, 237, .08),
                transparent 35%),
            #f6f3eb;
    }



    .az-page {
        width: min(1120px, 90%);
    }

    .az-hero {
        height: 360px;
        box-shadow:
            0 24px 60px rgba(15, 23, 42, .18);
    }

    .az-hero-content h1 {
        font-size: 48px;
    }

    .az-game-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }

    .az-game-card {
        display: grid;
        grid-template-columns: 96px 1fr;
        align-items: center;

        min-height: 110px;
    }

    .az-game-card img {
        width: 96px;
        height: 96px;
        border-radius: 20px;
        margin-left: 12px;
    }

    .az-game-info {
        padding: 14px 16px;
    }

    .az-game-info h3 {
        font-size: 16px;
    }

    .az-game-info p {
        font-size: 13px;
    }
}

@media (min-width: 769px) {
    .az-hero {
        margin-top: 28px;
        height: 330px;
    }

    .az-hero-content {
        left: 44px;
        top: 50%;
    }
}

@media (min-width: 769px) {
    .az-section {
        margin-top: 34px;
    }

    .az-section-head {
        margin-bottom: 14px;
    }

    .az-section-head h2 {
        font-size: 24px;
    }

    .az-section-head p {
        font-size: 13px;
    }

    .az-game-grid {
        gap: 14px;
    }

    .az-game-card {
        min-height: 92px;
        border-radius: 18px;
    }

    .az-game-card img {
        width: 72px;
        height: 72px;
        border-radius: 14px;
        margin-left: 12px;
    }

    .az-game-info {
        padding: 12px 14px;
    }

    .az-game-info h3 {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .az-game-info p {
        font-size: 12px;
    }
}

@media (min-width: 769px) {
    .az-page {
        width: min(1200px, 92%);
    }

    .az-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}