
:root{--bg:#0b0f18;--card:#101726;--text:#eaf1ff;--muted:#96a3ba;--edge:#1a2540;--accent:#46e8ff;--accent2:#9d6bff;}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);color:var(--text);font-family:Inter,system-ui,Arial,sans-serif}
a{color:var(--accent);text-decoration:none}
.header{display:flex;gap:14px;align-items:center;padding:18px 22px;border-bottom:1px solid var(--edge);background:linear-gradient(180deg,#0f1420 0,#0b0f18 100%)}
.logo{width:42px;height:42px;border-radius:10px;background:radial-gradient(circle at 20% 20%, var(--accent), transparent 40%),radial-gradient(circle at 80% 80%, var(--accent2), transparent 35%);box-shadow:0 0 22px #46e8ff55,0 0 34px #9d6bff33}
.title{font-weight:800;letter-spacing:.5px}
.row{display:flex;gap:10px}
.btn{display:inline-block;padding:10px 14px;border-radius:10px;border:1px solid var(--edge);background:#0f1624;color:var(--text);cursor:pointer}
.btn:hover{box-shadow:0 0 12px #46e8ff44}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;max-width:1200px;margin:0 auto;padding:22px}
.card{background:var(--card);border:1px solid var(--edge);border-radius:16px;overflow:hidden;box-shadow:0 10px 24px #0006}
.card h3{margin:10px 0 6px 0;padding:0 14px}
.card p{padding:0 14px 12px;color:var(--muted);margin:0}
.hero{padding:22px 22px;border-bottom:1px solid var(--edge);background:radial-gradient(600px 200px at 20% -10%, #46e8ff22, transparent 60%),radial-gradient(600px 200px at 90% -20%, #9d6bff22, transparent 60%)}
.category-card{position:relative;overflow:hidden;border-radius:16px;background:var(--card);border:1px solid var(--edge)}
.category-card img{width:100%;height:180px;object-fit:cover;display:block;filter:saturate(1.05) contrast(1.05)}
.category-card .overlay{position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%, #0008 100%);pointer-events:none}
.category-card .title{position:absolute;left:16px;top:12px;font-weight:800;text-shadow:0 0 12px #46e8ff77}
.category-card .action{position:absolute;left:16px;bottom:14px}
.category-card:hover{box-shadow:0 0 0 1px #46e8ff55, 0 0 38px #46e8ff33, 0 0 60px #9d6bff22}
.table{width:100%;border-collapse:collapse}
.table th,.table td{padding:10px;border-bottom:1px solid var(--edge);text-align:left}
.footer{padding:18px 22px;border-top:1px solid var(--edge);color:var(--muted)}
.legal{font-size:12px; color:#8ea0bd; margin-top:6px}
.input{width:100%;padding:10px;border-radius:10px;border:1px solid var(--edge);background:#0f1624;color:var(--text)}
/* --- Item images --- */

/* Thumbnails in category grid */
.item-thumb {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    margin: 10px auto 12px auto; /* center nicely */
}

/* Full item page images */
.item-image {
    max-width: 320px;
    max-height: 320px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    display: block;
    margin: 20px auto;
}


/* === HOME HERO GRID ========================================= */

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.hero-card {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    cursor: pointer;
    isolation: isolate;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    transform: translateY(0);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.hero-card img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: saturate(1.1) contrast(1.05);
}

.hero-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75) 0%,
        rgba(0, 0, 0, 0.25) 35%,
        transparent 100%
    );
    pointer-events: none;
}

.hero-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7);
    filter: brightness(1.03);
}

.hero-label {
    position: absolute;
    inset-inline: 1.4rem;
    bottom: 1.4rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.hero-title {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #e5f4ff;
    text-shadow: 0 0 18px rgba(0, 255, 255, 0.65);
}

.hero-sub {
    font-size: 0.9rem;
    color: rgba(220, 235, 255, 0.85);
}

/* Slightly different glow per category (optional but cool) */
.hero-card-games .hero-title { text-shadow: 0 0 18px rgba(88, 188, 255, 0.9); }
.hero-card-electronics .hero-title { text-shadow: 0 0 18px rgba(0, 255, 214, 0.9); }
.hero-card-collectibles .hero-title { text-shadow: 0 0 18px rgba(0, 196, 255, 0.9); }
.hero-card-fashion .hero-title { text-shadow: 0 0 18px rgba(255, 0, 200, 0.9); }
.hero-card-home .hero-title { text-shadow: 0 0 18px rgba(0, 192, 255, 0.9); }

/* === FEATURED STRIP ========================================= */

.featured-strip {
    margin-top: 1rem;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #cfe8ff;
    opacity: 0.9;
}

.featured-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.featured-card {
    flex: 1 1 180px;
    max-width: 220px;
    border-radius: 1rem;
    background: radial-gradient(circle at top left, rgba(0, 255, 255, 0.12), rgba(4, 10, 30, 0.95));
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.55);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
}

.featured-thumb {
    border-radius: 0.8rem;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #050816;
}

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

.featured-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.featured-name {
    font-size: 0.9rem;
    font-weight: 500;
}

.featured-price {
    font-size: 0.95rem;
    font-weight: 600;
    color: #5cf2ff;
}
