.details-container {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.game-image {
    width: 180px;
    height: auto;
    border: 1px solid #ccc;
    border-radius: 6px;
    object-fit: contain;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.details-text {
    max-width: 500px;
}

.details-text h1 {
    margin-top: 0;
    font-size: 26px;
    color: #d32222;
}

.details-text p {
    margin: 6px 0;
}
body { font-family: 'Inter', system-ui, sans-serif; }
        .main-container { max-width: 800px; margin: auto; }
        .main-image { text-align: center; margin-bottom: 20px; }
        .main-image img { max-width: 100%; max-height: 350px; border-radius: 8px; box-shadow: 0 0 10px rgba(0,0,0,0.1); object-fit: contain; }
        .details-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-bottom: 24px; }
        .details-grid p { margin: 0; padding: 8px; background: #f9f9f9; border-radius: 6px; }
        .details-box { background: #f9f9f9; border-radius: 10px; padding: 1rem 1.5rem; margin-bottom: 20px; box-shadow: 0 0 8px rgba(0,0,0,0.05); }
        .details-box h3 { margin-top: 0; font-size: 1.2em; }

        .extra-images { text-align: center; margin-top: 20px; }
        .extra-image-wrapper {
            position: relative;
            display: inline-block;
            margin: 10px;
        }
        .extra-image-wrapper img {
            max-width: 100px;
            max-height: 150px;
            border-radius: 6px;
            margin: 8px;
            box-shadow: 0 0 5px rgba(0,0,0,0.1);
            display: block;
        }
        .delete-icon-form {
            position: absolute;
            top: 4px;
            right: 4px;
            margin: 0;
            padding: 0;
        }

        .delete-icon-button {
            background: none;
            border: none;
            color: #c62828;
            font-size: 14px;
            cursor: pointer;
            padding: 0;
            margin: 0;
            line-height: 1;
            display: inline;
            opacity: 0.7;
        }

        .delete-icon-button:hover {
            opacity: 1;
            color: #a31818;
        }

        .admin-links { text-align: center; margin-top: 30px; }
        .admin-links a { margin: 0 10px; color: #c00; text-decoration: none; font-weight: bold; }
        .admin-links a:hover { text-decoration: underline; }

#modalBody {
  overflow-y: auto;
  max-height: 80vh;
}
