﻿/* =========================
   🌌 GLOBAL BACKGROUND
========================= */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', 'Poppins', sans-serif;
    background: radial-gradient(circle at top, #1a1a2e, #0f0f1a 60%, #050510);
    color: #fff;
}

/* overlay */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(0,255,255,0.08), transparent 40%),
        radial-gradient(circle at 80% 30%, rgba(255,0,150,0.08), transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(0,255,120,0.05), transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* =========================
   CARD
========================= */
.neon-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
    color: #fff;
    transition: 0.3s;
}

.neon-card:hover {
    transform: translateY(-5px) scale(1.02);
}

/* =========================
   TITLE
========================= */
.neon-title {
    text-align: center;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 5px #00e5ff, 0 0 10px #ff00ff;
}

/* =========================
   IMAGE
========================= */
.image-wrapper {
    overflow: hidden;
    border-radius: 10px;
}

.image-wrapper img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: 0.3s;
}

.image-wrapper img:hover {
    transform: scale(1.08);
}

/* =========================
   BUTTON
========================= */
.neon-btn {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #00e5ff, #ff00ff);
    border: none;
    transition: 0.25s;
    text-decoration: none;
}

.neon-btn:hover {
    transform: scale(1.05);
}

.save-btn {
    background: linear-gradient(135deg, #00c853, #009624);
}

.cancel-btn {
    background: linear-gradient(135deg, #ffcc00, #b38600);
    color: #000;
}

/* =========================
   ALERT
========================= */
.alert-neon {
    background: #fff;
    color: #000;
    border: 2px solid #000;
    padding: 12px;
    border-radius: 8px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
    .image-wrapper img {
        height: 180px;
    }
}

/* ========================= 🌌 GLOBAL BACKGROUND ========================= */ body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', 'Poppins', sans-serif; /* nền manga cyber nhẹ, không chói */
    background: radial-gradient(circle at top, #1a1a2e, #0f0f1a 60%, #050510);
    color: #fff; /* chữ mặc định */
}
    /* overlay nhẹ cho đẹp */

    body::before {
        content: "";
        position: fixed;
        inset: 0;
        background: radial-gradient(circle at 20% 20%, rgba(0, 255, 255, 0.08), transparent 40%), radial-gradient(circle at 80% 30%, rgba(255, 0, 150, 0.08), transparent 40%), radial-gradient(circle at 50% 80%, rgba(0, 255, 120, 0.05), transparent 50%);
        pointer-events: none;
        z-index: -1;
    }
/* ========================= 📚 TITLE ========================= */

.neon-title, .neon-text {
    text-align: center;
    font-weight: bold;
    letter-spacing: 2px;
    color: #ffffff;
    text-shadow: 0 0 5px #00e5ff, 0 0 10px #ff00ff;
}
/* ========================= 🃏 CARD ========================= */

.neon-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 0 15px rgba(0,0,0,0.4);
    color: #fff;
    transition: 0.3s ease;
}

    .neon-card:hover {
        transform: translateY(-5px) scale(1.02);
    }
/* ========================= 🖼 IMAGE ========================= */

.image-wrapper {
    overflow: hidden;
    border-radius: 10px;
}

    .image-wrapper img {
        width: 100%;
        height: 220px;
        object-fit: cover;
        transition: 0.3s ease;
    }

        .image-wrapper img:hover {
            transform: scale(1.08);
        }
/* ========================= 🔘 BUTTONS ========================= */

.neon-btn {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #00e5ff, #ff00ff);
    border: none;
    transition: 0.25s;
}

    .neon-btn:hover {
        transform: scale(1.05);
    }
/* delete */

.delete-btn {
    background: linear-gradient(135deg, #ff4d4d, #b30000);
}
/* buy */

.buy-btn {
    background: linear-gradient(135deg, #00c853, #009624);
}
/* ========================= 📢 ALERT (FIX QUAN TRỌNG) 👉 CHỮ ĐEN RÕ RÀNG ========================= */

.alert-neon {
    background: #ffffff; /* nền trắng */
    border: 2px solid #000;
    color: #000; /* ⭐ CHỮ MÀU ĐEN */
    font-weight: bold;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
/* ========================= 📱 RESPONSIVE ========================= */ @media (max-width: 768px) {
    .image-wrapper img {
        height: 180px;
    }
}

.description-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: rgba(255,255,255,0.9);
    border: 2px solid #000;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.image-box img {
    width: 250px;
    height: 350px;
    object-fit: cover;
    border: 2px solid #000;
    border-radius: 8px;
}

.info-box {
    flex: 1;
    color: #000;
    font-family: 'Segoe UI', sans-serif;
}

.description-text {
    margin-top: 10px;
    line-height: 1.6;
    font-size: 1rem;
}

.manga-title {
    text-align: center;
    font-weight: bold;
}

<style > /* Card tổng thể */ .neon-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.85), rgba(240,240,240,0.85));
    border: 2px solid #111;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    color: #000;
}
/* Tiêu đề */

.neon-title {
    font-family: 'Press Start 2P', monospace;
    color: #000;
    text-shadow: 0 0 5px #fff, 0 0 10px #fff;
}
/* Hình ảnh */

.image-wrapper {
    height: 150px;
    overflow: hidden;
    border-radius: 10px;
    border: 2px solid #000;
    box-shadow: inset 0 0 5px #000;
    margin-bottom: 10px;
}

    .image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s;
    }

        .image-wrapper img:hover {
            transform: scale(1.05);
        }
/* Nút chung */

.neon-btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    color: #000;
    border: 2px solid #000;
    font-weight: bold;
    background-color: rgba(255,255,255,0.85);
    border-radius: 8px;
    text-decoration: none;
    text-shadow: 0 0 3px #fff;
    font-family: 'Press Start 2P', monospace;
    transition: all 0.3s;
    cursor: pointer;
}

    .neon-btn:hover {
        background-color: #e0e0e0;
        transform: scale(1.05);
    }
/* Nút Save */

.save-btn {
    background-color: #66cc66;
    border-color: #339933;
    color: white;
    text-shadow: none;
}

    .save-btn:hover {
        background-color: #339933;
        color: #fff;
    }
/* Nút Cancel */

.cancel-btn {
    background-color: #ffcc00;
    border-color: #b38600;
    color: #000;
}

    .cancel-btn:hover {
        background-color: #e6b800;
        color: #000;
    }