body {
    margin: 0;
    padding: 0;
    font-family: "Montserrat", sans-serif;
    background: #0d0d0d;
    color: white;
}

header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #000, #1a1a1a);
    border-bottom: 2px solid gold;
}

h1 {
    font-size: 3rem;
    letter-spacing: 3px;
    color: gold;
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.8;
}

section {
    padding: 30px;
    max-width: 800px;
    margin: auto;
}

input, textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    background: #111;
    border: 1px solid gold;
    color: white;
    border-radius: 5px;
    font-size: 1rem;
}

textarea {
    height: 100px;
    resize: none;
}

button {
    width: 100%;
    padding: 12px;
    background: gold;
    color: black;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
    transition: 0.3s;
}

button:hover {
    background: #e6c200;
}

.hidden {
    display: none !important;
}

#items-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.item-card {
    background: #111;
    border: 1px solid gold;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
}

.item-card:hover {
    transform: scale(1.03);
    box-shadow: 0 0 15px gold;
}

.item-card img {
    width: 100%;
    border-radius: 10px;
    border: 1px solid gold;
}

.item-card h3 {
    margin: 10px 0 5px;
    color: gold;
}

.buy-btn {
    background: gold;
    color: black;
}

.delete-btn {
    background: #ff4444;
    color: white;
    margin-top: 10px;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #111;
    padding: 20px;
    border: 2px solid gold;
    border-radius: 10px;
    width: 300px;
    text-align: center;
}

.cancel {
    background: #444;
    color: white;
}
