/* ---------- Global Reset ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: radial-gradient(circle at top, #141028, #07060f);
    color: #f1eaff;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* ---------- Navbar ---------- */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 8px;

    background: rgba(20,16,40,0.85);
    backdrop-filter: blur(10px);

    border-bottom: 1px solid #2d1f55;
}

.navbar div {
    display: flex;
    align-items: center;
    gap: 14px;
}

.navbar img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, #7c3aed, #c026d3);
}

.navbar h3 {
    font-weight: 650;
    letter-spacing: 0.6px;
}

/* ---------- Buttons Base ---------- */

button {
    cursor: pointer;
    border: none;
    font-weight: 650;
    transition: all 0.25s ease;
}

#highlighted-btns-cont {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 16px;
}
/* ---------- ALL GAMES (Purple Core) ---------- */

.highlighted-btns:first-child {
    padding: 10px 20px;
    border-radius: 12px;

    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;

    box-shadow: 0 0 18px rgba(168,85,247,0.45);
}

.highlighted-btns:first-child:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 0 28px rgba(168,85,247,0.75);
}

/* ---------- RANDOM GAME (Electric Contrast) ---------- */

.highlighted-btns:last-child {
    padding: 10px 20px;
    border-radius: 12px;

    background: linear-gradient(135deg, #06b6d4, #22d3ee);
    color: #041014;

    box-shadow: 0 0 18px rgba(34,211,238,0.45);
}

.highlighted-btns:last-child:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 0 28px rgba(34,211,238,0.75);
}

/* ---------- Sections ---------- */

.cat-cont {
    padding: 16px 8px;
}

.header-and-button-cont {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.header-and-button-cont h3 {
    font-size: 1.1rem;
    font-weight: 650;
    color: #eeeeee;
}

/* ---------- See All Button ---------- */

.see-all-btn {
    padding: 6px 14px;
    border-radius: 10px;

    background: #1a1535;
    color: #eeeeee;
    
    font-size: 1rem;
    
    border: 1px solid #342a6b;
}

.see-all-btn:hover {
    background: #241d4d;
    color: #ffffff;
}

/* ---------- Game Grid ---------- */

.game-list-cont {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 24px;
}

/* ---------- Example Game Card ---------- */

.game-card {
    height: 130px;
    border-radius: 16px;

    background: linear-gradient(145deg, #18122b, #231a44);
    border: 1px solid #32276b;

    transition: all 0.28s ease;
    position: relative;
    overflow: hidden;
}

/* subtle glow sweep */
.game-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(168,85,247,0.25), transparent);
    opacity: 0;
    transition: 0.4s;
}

.game-card:hover::after {
    opacity: 1;
}

.game-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #8b5cf6;
    box-shadow: 0 12px 35px rgba(124,58,237,0.35);
}